fix: bump transitive deps to patch multiple CVEs - #15
Merged
Conversation
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>
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
pnpm auditfound 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).pnpm.overridesentries for each, bounded to the same major version already in use where a same-major patch exists.Deliberately NOT fixed here
wxt@0.19.9/@sveltejs/vite-plugin-svelte@4.0.0-next.7don't support. Verified empirically: forcing the vite override alone resolved everything tovite@7.3.6and brokewxt preparewith an ESM/import.metaerror. Fixing these needs awxtmajor upgrade — separate, riskier work, not a one-line override.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 warningspnpm build— succeedspnpm run check(svelte-check) — 0 errors, 0 warningspnpm test— 38/38 tests passing