feat: update @socketsecurity/socket-patch to v1.2.0#1030
Merged
Conversation
Update socket-patch dependency from v1.0.0 to v1.2.0, which includes: - Progress spinner for scan command - Improved test coverage This update addresses reviewer feedback in depscan PR #16387 regarding the socket-patch version mismatch. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
3 tasks
mtorp
approved these changes
Jan 12, 2026
jdalton
added a commit
that referenced
this pull request
Jan 12, 2026
BREAKING CHANGE: Replace custom built-in patch implementation with external @socketsecurity/socket-patch package, following the same integration pattern as Coana and SFW. Changes: - Add socket-patch@1.2.0 to external-tools.json - Create socket-patch spawn utility (src/utils/socket-patch/spawn.mts) - Add SOCKET_CLI_SOCKET_PATCH_LOCAL_PATH environment variable support - Replace 30+ custom patch files with simple wrapper that delegates to socket-patch - Move old custom implementation to patch-old/ for reference - Add INLINED_SOCKET_CLI_SOCKET_PATCH_VERSION to env constants BREAKING CHANGE: External tool version getters now throw errors instead of returning empty strings when versions are missing from external-tools.json. This affects getCoanaVersion(), getSwfVersion(), and getSocketPatchVersion(). Benefits: - Consistent external tool integration pattern across CLI - Reduces maintenance burden (socket-patch maintained separately) - Users get socket-patch updates without CLI releases - Simplified codebase (~30 files → 1 wrapper) Ported from v1.x commits: - 44655ac: Use @socketsecurity/socket-patch for patch command (#987) - dfe019d: feat: update @socketsecurity/socket-patch to v1.2.0 (#1030)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Update socket-patch dependency from v1.0.0 to v1.2.0, which includes:
This update addresses reviewer feedback in depscan PR #16387 regarding the socket-patch version mismatch.
Note
Publishes a new release with dependency update.
@socketsecurity/socket-patchfrom1.0.0to1.2.0(adds progress spinner for scan command; improved test coverage)package.jsonversion to1.1.57and adds corresponding entry toCHANGELOG.mdpnpm-lock.yamlto reflect the new dependency versionWritten by Cursor Bugbot for commit dcb8fd0. Configure here.