fix(deps): update all dependencies and resolve 26 security vulnerabilities - #35
Merged
Conversation
…ities Resolves all open Dependabot alerts (2 critical, 12 high, 8 moderate, 4 low): - Remove vitest (unused, tests run on jest) - source of both critical RCE advisories via the vite/postcss chain - Replace unmaintained npm-run-all with npm-run-all2 (same run-s binary) - fixes critical shell-quote advisory - Bump yaml to ^2.9.0 - fixes moderate stack-overflow CVE in runtime dep - Bump commander to ^14 (not 15, which requires node >=22.12 while CI and consumers run node 20) - Major dev dependency updates: eslint 10, jest 30, commitlint 21, lint-staged 16, typedoc 0.28, prettier 3.9 - Add typescript as explicit devDependency (build runs tsc but it was only installed transitively); remove deprecated @types/eslint__js stub - mta.yaml: quote style reformat from prettier 3.9 npm audit: 0 vulnerabilities. Verified: build, jest, eslint, prettier, CLI smoke test. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…ovenance Mirror the proven deployment setup from cds-ts-dispatcher/cds-ts-repository (both failed their first post-purge publish in July 2026 and were fixed): - node 20.x -> 22.x with npm cache in build and publish jobs - npm install -> npm ci in build job - publish job: add id-token: write for OIDC, publish with --provenance - tighten top-level permissions to contents: read - document the Dec 2025 npm classic-token purge / org-level NPM_ORG_TOKEN sync-mta-version last published 2025-03 with the pre-purge token setup; without this the publish would likely fail like the siblings' first attempts. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.
Summary
Resolves all 26 open Dependabot alerts (2 critical, 12 high, 8 moderate, 4 low) —
npm auditnow reports 0 vulnerabilities.Structural fixes (beyond version bumps)
vitest— source of both critical RCE advisories (via the vite/postcss chain) and completely unused: tests run on jest.npm-run-allwithnpm-run-all2(^8.0.4) — unmaintained since 2018 and carried the critical shell-quote advisory. Maintained fork ships the identicalrun-sbinary, so all scripts work unchanged.typescript(^5.9.3) as explicit devDependency — the build runstscbut typescript was never declared, only installed transitively by luck. Also removed the deprecated@types/eslint__jsstub.Runtime dependencies
Dev dependencies (majors)
eslint 10.8 + typescript-eslint 8.66 · jest 30.4 + ts-jest 29.4 + @types/jest 30 · commitlint 21 (drops vulnerable inquirer/tmp chain) · lint-staged 16.4 (drops vulnerable yaml) · typedoc 0.28 (drops vulnerable markdown-it) · prettier 3.9.6 · husky 9.1.7
mta.yamlhas a one-line quote-style reformat from prettier 3.9.Verification
npm audit— 0 vulnerabilitiesnpm run build(tsc 5.9.3)npm test(jest 30)npm run check(eslint 10 + prettier 3.9)node dist/cli.js --helpworks on commander 14Note for maintainers
Node 20 reached EOL in April 2026. Bumping CI (
deployment.yamlusesnode-version: '20.x') to node 22 LTS would unlock commander 15 and @types/node 24+ in a follow-up.🤖 Generated with Claude Code