Skip to content

fix: remove unused runtime dependency npm (Dependabot #105) - #102

Merged
Serhioromano merged 1 commit into
mainfrom
fix/remove-npm-dependency
Aug 11, 2026
Merged

fix: remove unused runtime dependency npm (Dependabot #105)#102
Serhioromano merged 1 commit into
mainfrom
fix/remove-npm-dependency

Conversation

@Serhioromano

Copy link
Copy Markdown
Owner

Fixes Dependabot alert #105 (GHSA-rgw5-rvv9-x895, high severity DoS).

The runtime dependency npm@11.18.0 bundles brace-expansion@5.0.7, which is vulnerable (first patched version 5.0.9). npm is never imported in the extension code, so removing it:

  • eliminates the vulnerable brace-expansion from package-lock.json (1764 lines removed)
  • shrinks the published VSIX (npm package is ~10 MB)
  • removes a dead runtime dependency that keeps generating Dependabot alerts (tar, sigstore, undici bumps were all pulling npm along)

Verified: npm run compile, npm run lint (only pre-existing warnings), npm run esbuild all pass.

…ce-expansion

The npm@11.18.0 runtime dependency bundles brace-expansion@5.0.7
(GHSA-rgw5-rvv9-x895, high severity DoS). npm is never imported in the
extension code, so removing it drops the entire vulnerable subtree from
package-lock.json and shrinks the published VSIX.
@Serhioromano
Serhioromano merged commit 55e6666 into main Aug 11, 2026
1 check passed
@Serhioromano
Serhioromano deleted the fix/remove-npm-dependency branch August 11, 2026 10:43
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