Update dev dependencies and clear all npm audit advisories#38
Merged
Conversation
All packages here are devDependencies (the extension has no runtime deps), so none of this ships in the VSIX, but it clears the Dependabot/npm audit reports. - Bump dev deps to the latest within their current major: @eslint/js, eslint 9.39, @typescript-eslint/* + typescript-eslint 8.60, typescript 5.9, @types/node 22.19, @types/mocha, @vscode/test-electron, globals. - Bump mocha 10 -> 11 (clears the high-severity serialize-javascript advisory). - Add npm `overrides` for serialize-javascript ^7.0.5 and diff ^8.0.3, since even mocha 11 still resolves vulnerable transitives; `npm audit fix --force` would instead downgrade mocha. - Add `skipLibCheck` to tsconfig: TypeScript 5.9's stricter iterator typing rejects a bundled lru-cache .d.ts (a transitive of glob). skipLibCheck is the standard fix and is part of the official VS Code extension template. `npm audit` now reports 0 vulnerabilities; compile, lint, and tests pass. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Fab-Cat
previously approved these changes
May 30, 2026
# Conflicts: # package-lock.json # package.json
Fab-Cat
approved these changes
May 30, 2026
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
Clears all npm audit advisories and brings the dev toolchain up to date. All affected packages are
devDependencies— the extension declares no runtimedependencies, so none of this ships in the published VSIX. This is purely about the build/test toolchain and the Dependabot/npm audit reports.Scope per request: security fixes + updates within current major (no eslint 10, TypeScript 6, glob 13, or @types/vscode bump).
Advisories fixed (was 5, now 0)
^7.0.5^8.0.3npm audit fix --forcewas not used — it would have downgraded mocha to 11.3.0. Even mocha 11.7.6 still resolves vulnerableserialize-javascript/diff, so those are pinned via npmoverrides.Dependency bumps (all within current major)
@eslint/js/eslint→ 9.39 ·@typescript-eslint/*+typescript-eslint→ 8.60 ·typescript→ 5.9 ·@types/node→ 22.19 ·@types/mocha→ 10.0.10 ·@vscode/test-electron→ 2.5.2 ·globals→ 15.15 ·mocha→ 11.7.6tsconfig
Added
"skipLibCheck": true. TypeScript 5.9's stricter built-in iterator typing rejects a bundledlru-cache.d.ts(a transitive ofglob) — not our code.skipLibCheckis the standard remedy and ships in the officialyo codeextension template.Verification
npm audit→ found 0 vulnerabilitiesnpm run compile✅npm run lint✅npm run test:local✅ (3 passing)Held back (per "security + safe" scope)
eslint 10 (crashes on this project's flat config — confirmed separately), TypeScript 6, glob 13, globals 17, @types/node 25, and @types/vscode 1.120 (tied to
engines.vscode). Happy to do these in a follow-up if wanted.🤖 Generated with Claude Code