Upgrade Socket SDK to v4 and sync Claude Code version#1183
Merged
John-David Dalton (jdalton) merged 5 commits intomainfrom Apr 10, 2026
Merged
Upgrade Socket SDK to v4 and sync Claude Code version#1183John-David Dalton (jdalton) merged 5 commits intomainfrom
John-David Dalton (jdalton) merged 5 commits intomainfrom
Conversation
…de-code to 2.1.98 SDK v4 adds checkMalware() for integrated malware detection. Claude Code bumped to match installed version.
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
SDK v4 removed deprecated getSupportedScanFiles(). The replacement getSupportedFiles(orgSlug) requires an org parameter. Updated all type references from getReportSupportedFiles to getSupportedFiles.
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Bill Li (billxinli)
approved these changes
Apr 10, 2026
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.
What changed
@socketsecurity/sdkbumped from 3.4.1 to 4.0.0 — addscheckMalware()API for integrated malware detection@anthropic-ai/claude-codebumped from 2.1.92 to 2.1.98 to match installed versionminimumReleaseAgeExcludepin accordinglyWhy
SDK v4 replaces hand-rolled API calls with a single
checkMalware()method that handles both single-dep and batch requests automatically. This is used by the check-new-deps hook (separate PR).Note
Medium Risk
Upgrades a core dependency (
@socketsecurity/sdk) across the workspace to a new major version (and associated transitive/engine constraints), which may introduce breaking API/runtime changes despite being lockfile-only.Overview
Updates workspace dependency pins to
@socketsecurity/sdk@4.0.0(from3.4.1) and syncs@anthropic-ai/claude-codeto2.1.98.Refreshes
pnpm-lock.yamlaccordingly, including updated transitive resolution for@socketregistry/packageurl-js, and adjustspnpm-workspace.yamlminimumReleaseAgeExclude/catalog entries to match the new versions.Reviewed by Cursor Bugbot for commit be013e6. Configure here.