Skip to content

chore(deps): pin fast-uri and qs to clear npm audit - #264

Merged
SebTardif merged 1 commit into
mainfrom
chore/npm-audit-fast-uri-qs
Sep 8, 2026
Merged

chore(deps): pin fast-uri and qs to clear npm audit#264
SebTardif merged 1 commit into
mainfrom
chore/npm-audit-fast-uri-qs

Conversation

@SebTardif

Copy link
Copy Markdown
Contributor

Summary

Pin transitive fast-uri and qs so the required npm audit check is green again.

Why

npm audit --audit-level=high is failing on main and on the open Dependabot PRs (#261, #262, #263). The high finding is fast-uri 3.1.5 (GHSA-5jgf-p345-68v8 and related host-confusion / SSRF advisories) pulled in by @vscode/vsce via ajv. qs 6.15.2 is a moderate finding via typed-rest-client; it is pinned in the same pass so npm audit is clean.

Production dependencies (npm audit --omit=dev) were already clean. These packages are only used by the vsce packaging toolchain.

The change

Add npm overrides (same pattern as the existing brace-expansion pin):

  • fast-uri 3.1.5 -> 3.1.7 (latest 3.x in ajv@8.20.0's ^3.0.1 range)
  • qs 6.15.2 -> 6.16.0 (in typed-rest-client's ^6.9.1 range)

Verification

  • npm audit --audit-level=high reports 0 vulnerabilities
  • npm audit reports 0 vulnerabilities
  • npm ls fast-uri qs shows fast-uri@3.1.7 overridden and qs@6.16.0 overridden
  • npm run check passed (431 tests, 7 skipped, coverage and vsce package succeeded)

Override fast-uri to 3.1.7 and qs to 6.16.0 so the required
npm audit --audit-level=high check passes. Both come from
@vscode/vsce (dev only). Production audit was already clean.

Signed-off-by: Sebastien Tardif <sebtardif@ncf.ca>
@SebTardif
SebTardif marked this pull request as ready for review September 8, 2026 03:38
@SebTardif
SebTardif enabled auto-merge (squash) September 8, 2026 03:38
@SebTardif
SebTardif merged commit ad8d753 into main Sep 8, 2026
21 checks passed
@SebTardif
SebTardif deleted the chore/npm-audit-fast-uri-qs branch September 8, 2026 03:44
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