Skip to content

fix: bump transitive deps to patch multiple CVEs - #15

Merged
guidodinello merged 1 commit into
mainfrom
fix/dependabot-security-updates
Sep 6, 2026
Merged

fix: bump transitive deps to patch multiple CVEs#15
guidodinello merged 1 commit into
mainfrom
fix/dependabot-security-updates

Conversation

@guidodinello

Copy link
Copy Markdown
Owner

Summary

  • Closes alerts #113 (@humanfs/node), #112 (postcss-selector-parser), and patches several more CVEs pnpm audit found beyond the currently-open Dependabot alert list (tar, shell-quote, tmp, adm-zip, uuid, node-forge, js-yaml, ws, rollup, flatted, defu, ajv, @babel/runtime, nanoid, cross-spawn, postcss, fflate).
  • Adds pnpm.overrides entries for each, bounded to the same major version already in use where a same-major patch exists.

Deliberately NOT fixed here

  • vite (#85, #87) and vitest (#111): both fixes require crossing a major boundary (vite 5→6+, and vitest's very first patched 4.1.0 already requires vite ^6/7/8) that this repo's wxt@0.19.9 / @sveltejs/vite-plugin-svelte@4.0.0-next.7 don't support. Verified empirically: forcing the vite override alone resolved everything to vite@7.3.6 and broke wxt prepare with an ESM/import.meta error. Fixing these needs a wxt major upgrade — separate, riskier work, not a one-line override.
  • extract-zip (#109): no patched version exists at all (GHSA-jmr9-qjv8-65gv). It's wxt's own publish-time tooling dependency (wxt > publish-browser-extension > extract-zip), not used at build/runtime. Left as accepted risk.

Verification

  • pnpm install — clean, no peer-dependency warnings
  • pnpm build — succeeds
  • pnpm run check (svelte-check) — 0 errors, 0 warnings
  • pnpm test — 38/38 tests passing
  • Repo's own pre-commit hook (build + check via lint-staged) also ran clean on commit

Adds pnpm overrides for tar, shell-quote, tmp, adm-zip, uuid,
node-forge, js-yaml, ws, rollup, flatted, defu, ajv, @babel/runtime,
nanoid, cross-spawn, postcss, postcss-selector-parser, @humanfs/node,
and fflate. Closes alerts #113, #112.

Deliberately NOT included: vite (#85, #87), vitest (#111), esbuild.
Their fixes require crossing a major version boundary
(vite 5->6, vitest 4.0->4.1 which itself requires vite 6+) that
wxt@0.19.9 and @sveltejs/vite-plugin-svelte@4.0.0-next.7 don't
support -- forcing it via override breaks the build (verified: vite
override alone resolved everything to vite@7.3.6 and broke `wxt
prepare` with an ESM/import.meta error). Needs a wxt major upgrade
instead, tracked separately.

extract-zip (#109) has no patched version at all
(GHSA-jmr9-qjv8-65gv) -- publish-time-only dev tooling, left as
accepted risk.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings September 6, 2026 22:02

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@guidodinello
guidodinello merged commit 672115b into main Sep 6, 2026
3 checks passed
@guidodinello
guidodinello deleted the fix/dependabot-security-updates branch September 6, 2026 22:38
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.

2 participants