Bump vulnerable dev-dep transitives via npm overrides - #942
Merged
Conversation
Force-resolve four transitive devDependencies flagged by open
Dependabot alerts to their first patched versions:
- serialize-javascript 6.0.0 -> 7.0.5 (1 high RCE + 2 medium)
- js-yaml 4.1.0 -> 4.1.1 (medium)
- uuid 8.3.2 -> 11.1.1 (medium)
- @tootallnate/once 1.1.2 -> 2.0.1 (low)
All four are dev-only (not shipped in the .vsix); uuid and
@tootallnate/once arrive via the nyc/codecov coverage chain.
Verified: tsc compile + eslint pass; uuid@11 CommonJS interop
(require('uuid').v4) and an instrumented nyc run both work.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #942 +/- ##
=======================================
Coverage 77.77% 77.77%
=======================================
Files 1 1
Lines 9 9
=======================================
Hits 7 7
Misses 2 2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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
Force-resolves four transitive devDependencies flagged by open Dependabot alerts to their first patched versions, via npm
overrides. None of these ship in the published.vsix—uuidand@tootallnate/oncearrive through thenyc/codecovcoverage chain,serialize-javascriptvia the test/build tooling, andjs-yamlviaeslint.Also adds
.nyc_output/to.gitignore(generated bynpm run test:coverage, previously untracked).Why overrides
All four are deep transitive deps whose parents pin older major ranges (
uuidis pinned^8bynyc/teeny-request;@tootallnate/oncepinned"1"byhttp-proxy-agent@4), so they can't be lifted by bumping a direct dependency.overridesforce-resolves them while leaving the direct deps untouched.Validation
npm run compile(tsc) — passesnpm run lint(eslint) — passesuuid@11CommonJS interop:require('uuid').v4()works (the exact patternnyc/teeny-requestuse)@tootallnate/once@2loadsnyccoverage run completes successfullyThe CI
test:coveragejob is the authoritative check thatuuid@11/@tootallnate/once@2work end-to-end withnyc+codecov.Notes
mendcheck will likely stay red until the remaining (non-dev) advisories are addressed — it scans the whole tree.