chore: resolve Dependabot security alerts#21
Conversation
Resolves all 10 open Dependabot alerts (1 critical, 4 high, 5 moderate) via `npm audit fix` (non-force). All affected packages are dev/transitive dependencies; the only production dependency (ws) is unaffected. No direct dependency versions changed in package.json — fixes applied to the lockfile only, so there is zero risk of breaking-change to the published SDK API. Key bumps: vitest 4.1.9 (critical), vite 8.x, rollup >=4.59.0, picomatch 4.0.4, postcss 8.5.15, js-yaml 4.2.0, brace-expansion 5.0.6. Gate: tsc --noEmit clean, 400 tests pass, build clean, lint 0 errors. npm audit: found 0 vulnerabilities. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
Important Review skippedReview was skipped due to path filters ⛔ Files ignored due to path filters (1)
CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Resolves all 10 open Dependabot alerts (1 critical, 4 high, 5 moderate) in the Node SDK.
Summary
Every vulnerable package is a development or transitive dependency. The only production dependency,
ws, is unaffected. All fixes were applied vianpm audit fix(non---force) and land entirely inpackage-lock.json—package.jsonis unchanged, so there is zero risk of a breaking change to the published SDK API.Alerts addressed
(
picomatchalso carried a second ReDoS advisory, GHSA-c2c7-rcm5-vvqj, resolved by the same 4.0.4 bump.brace-expansionwas bumped to 5.0.6 as part of the transitive update.)Deferred for human review: none. No major-version bump of a direct dependency was required —
vitest ^4.0.16already permitted the patched 4.1.x line, and all other bumps were transitive.Verification gate (all green)
npx tsc --noEmit— cleannpm test— 400 passed, 1 skipped (26 files)npm run build— clean (ESM + CJS)npm run lint— 0 errors (12 pre-existingno-explicit-anywarnings, unrelated)Final
npm audit🤖 Generated with Claude Code