Skip to content

Upgrade Socket SDK to v4 and sync Claude Code version#1183

Merged
John-David Dalton (jdalton) merged 5 commits intomainfrom
feat/bump-sdk-v4
Apr 10, 2026
Merged

Upgrade Socket SDK to v4 and sync Claude Code version#1183
John-David Dalton (jdalton) merged 5 commits intomainfrom
feat/bump-sdk-v4

Conversation

@jdalton
Copy link
Copy Markdown
Contributor

@jdalton John-David Dalton (jdalton) commented Apr 10, 2026

What changed

  • @socketsecurity/sdk bumped from 3.4.1 to 4.0.0 — adds checkMalware() API for integrated malware detection
  • @anthropic-ai/claude-code bumped from 2.1.92 to 2.1.98 to match installed version
  • Updated minimumReleaseAgeExclude pin accordingly

Why

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 (from 3.4.1) and syncs @anthropic-ai/claude-code to 2.1.98.

Refreshes pnpm-lock.yaml accordingly, including updated transitive resolution for @socketregistry/packageurl-js, and adjusts pnpm-workspace.yaml minimumReleaseAgeExclude/catalog entries to match the new versions.

Reviewed by Cursor Bugbot for commit be013e6. Configure here.

…de-code to 2.1.98

SDK v4 adds checkMalware() for integrated malware detection.
Claude Code bumped to match installed version.
@socket-security
Copy link
Copy Markdown

socket-security bot commented Apr 10, 2026

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatednpm/​@​anthropic-ai/​claude-code@​2.1.92 ⏵ 2.1.987710086 +110070
Updatednpm/​@​socketsecurity/​sdk@​3.4.1 ⏵ 4.0.0100100100100100

View full report

SDK v4 removed deprecated getSupportedScanFiles(). The replacement
getSupportedFiles(orgSlug) requires an org parameter. Updated all
type references from getReportSupportedFiles to getSupportedFiles.
@socket-security-staging
Copy link
Copy Markdown

socket-security-staging bot commented Apr 10, 2026

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatednpm/​@​anthropic-ai/​claude-code@​2.1.92 ⏵ 2.1.98100 +110086 +110070
Updatednpm/​@​socketsecurity/​sdk@​3.4.1 ⏵ 4.0.0100100100100100

View full report

@jdalton John-David Dalton (jdalton) merged commit f49df6e into main Apr 10, 2026
13 checks passed
@jdalton John-David Dalton (jdalton) deleted the feat/bump-sdk-v4 branch April 10, 2026 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants