Skip to content

chore(deps): fix dependency security alerts in pnpm lockfiles - #68

Merged
EastSun5566 merged 1 commit into
developfrom
chore/fix-dependency-alerts
Nov 27, 2026
Merged

EastSun5566 merged 1 commit into
developfrom
chore/fix-dependency-alerts

Conversation

@EastSun5566

Copy link
Copy Markdown
Contributor

Replaces the closed Dependabot PRs #42, #45, #46 and #47. They targeted package-lock.json, which no longer exists since the move to pnpm.

nodejs/

  • Raise the axios floor to ^1.20.0, the first version with all advisory fixes. The lockfile resolves 1.21.1, which also updates follow-redirects and form-data.
  • Update the other dependencies within their existing ranges. Ranges in package.json are unchanged.
  • msw stays at 2.7.3: newer 2.x versions depend on an ESM-only package that the current Jest setup cannot load.
  • Add pnpm.overrides for three transitive dev dependencies pinned to an exact vulnerable version. Each override is a patch in the same major version:
    • compression 1.8.2, via serve
    • js-yaml 4.3.2, via @hey-api/openapi-ts
    • minimatch 9.0.9, via typescript-eslint

examples/

  • Refresh both lockfiles within the existing ranges: axios 1.21.1, follow-redirects 1.16.3, form-data 4.0.6, lodash 4.18.1 and moment 2.31.0.

Still open (dev only, needs a major upgrade):

  • @faker-js/faker 7 → 10
  • glob, via rimraf 4
  • minimatch 11, via typescript-eslint 6

pnpm audit in nodejs/ goes from 96 findings to these 3.

Checks run locally (pnpm 10.33.2):

  • install --frozen-lockfile, check:generated, typecheck, lint, build and docs:build all pass.
  • 122 of 122 tests pass.
  • examples/nodejs imports the client. examples/book-mode-conference has 7 existing type errors, the same count as with the develop lockfile.

🤖 Generated with Claude Code

- Raise the axios floor to ^1.20.0 (lock resolves 1.21.1)
- Update other dependencies within their existing ranges, except msw
- Override exact-pinned transitive versions: compression 1.8.2, js-yaml 4.3.2, minimatch 9.0.9
- Refresh the example lockfiles (axios, follow-redirects, form-data, lodash, moment)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@EastSun5566
EastSun5566 merged commit bcf88dd into develop Nov 27, 2026
2 checks passed
@EastSun5566
EastSun5566 deleted the chore/fix-dependency-alerts branch November 27, 2026 16:40
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.

1 participant