Skip to content

chore(deps): resolve Dependabot alerts in dev dependencies - #7

Merged
cmaranes merged 1 commit into
mainfrom
chore/deps-audit
Oct 22, 2026
Merged

cmaranes merged 1 commit into
mainfrom
chore/deps-audit

Conversation

@cmaranes

@cmaranes cmaranes commented Oct 22, 2026 •

Copy link
Copy Markdown
Owner

Resolves all 7 open Dependabot alerts. They are all in dev dependencies (lint and test tooling). The extension has no runtime dependencies and vsce leaves dev dependencies out of the .vsix, so users of 0.1.0 / 0.1.1 were never exposed.

Alert Package Pulled in by Fix
high ×3, medium brace-expansion < 5.0.12 minimatch (mocha, c8, eslint) npm audit fix + override raised to ^5.0.12
high ×2 js-yaml < 4.3.2 eslint, mocha npm audit fix
high braces ≤ 3.0.3 (no patched release exists) top-level mocha@10 (via chokidar 3) and typescript-eslint@5 (via fast-glob/micromatch) removed the unused mocha@10, because @vscode/test-cli brings its own mocha@11; upgraded typescript-eslint to v8, which uses tinyglobby
low diff < 8.0.3 mocha@11 (pins ^7) inside @vscode/test-cli override diff to ^8.0.3

Side effects:

  • eslint 8.41 → 8.57.1, the minimum typescript-eslint v8 supports. It stays on the legacy .eslintrc.json; moving to ESLint 9 flat config can be a separate change.
  • @typescript-eslint/semi was removed in v8, so the core semi rule (same check) replaces it.

Test plan

  • npm audit: 0 vulnerabilities
  • npm run lint: 0 problems
  • npm test: 8/8 locally
  • Mocha's assertion diff still renders with diff@8 (Base.generateDiff checked by hand)
  • python python/test_ply_export.py passes
  • CI green on Linux, Windows and macOS (no debugger retries needed)

🤖 Generated with Claude Code

https://claude.ai/code/session_01JBDmV8VxTwVxxpuC8NMG8y

- drop the unused top-level mocha 10; @vscode/test-cli ships mocha 11
- upgrade typescript-eslint 5 -> 8 (no longer depends on braces) and
  eslint to 8.57.1; @typescript-eslint/semi was removed in v8, so the
  core semi rule takes its place
- override diff to ^8.0.3 (mocha 11 pins ^7) and raise the
  brace-expansion override to ^5.0.12
- npm audit fix for js-yaml

None of these packages ship in the vsix; the extension has no runtime
dependencies.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JBDmV8VxTwVxxpuC8NMG8y
@cmaranes
cmaranes merged commit b409305 into main Oct 22, 2026
3 checks passed
@cmaranes
cmaranes deleted the chore/deps-audit branch October 22, 2026 17:07
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