Skip to content

chore: pin transitive deps to close Dependabot vulnerability alerts - #10

Merged
guidodinello merged 1 commit into
mainfrom
chore/deps-security-update
Aug 18, 2026
Merged

chore: pin transitive deps to close Dependabot vulnerability alerts#10
guidodinello merged 1 commit into
mainfrom
chore/deps-security-update

Conversation

@guidodinello

Copy link
Copy Markdown
Owner

Summary

  • Same wxt build-tool-chain issue as smart-clippy: force-resolve old transitive tar/shell-quote/tmp/adm-zip/uuid/node-forge/js-yaml/ws/rollup/flatted/defu/ajv/@babel-runtime/nanoid/cross-spawn/postcss to patched versions, each capped to the major already in use
  • Bumped vite and happy-dom directly (patched release within existing semver range)
  • vitest stays pinned at 4.0.16 — bumping to the patched 4.1.10 widens its vite peer range to also accept ^5, which let pnpm dedupe it onto the build's vite@5.4.21 instead of a separate vite@7.x, and 5.4.21 lacks the ./module-runner export subpath vitest needs internally (every test run failed at startup). Left open, documented in PENDING.md.
  • All of this is devDependency tooling (wxt CLI / vite dev server / vitest) — nothing here ships in the built extension

Verified

  • pnpm run build, check, lint, format:check all green
  • Full test suite (38 tests) passes
  • pnpm audit --prod=false: 78 → 32 findings

Left open (tracked in PENDING.md)

  • minimatch / brace-expansion / picomatch / yaml each coexist at two major lines — a plain override would force both onto one version and risk breaking the consumer still on the older major
  • vitest 4.1.0+ (see above)
  • vite's last couple advisories need vite 6/7 for the build instance too, which @sveltejs/vite-plugin-svelte@4 doesn't support
  • esbuild's fix (>=0.25) breaks wxt's chrome87/firefox78 destructuring transpile target
  • extract-zip has no patched release at all yet

🤖 Generated with Claude Code

Same fix as smart-clippy (same wxt-based tool chain): force-resolve
tar/shell-quote/tmp/adm-zip/uuid/node-forge/js-yaml/ws/rollup/flatted/defu/
ajv/@babel-runtime/nanoid/cross-spawn/postcss to patched versions via
overrides, each capped to the major line already in use so an older
consumer doesn't get silently jumped a major. Also bumped vite and
happy-dom directly (both had a patched release within their existing
semver range).

vitest stays pinned at 4.0.16 rather than bumping to the patched 4.1.10:
4.1.10's vite peer range widened to also accept ^5, which let pnpm dedupe
vitest onto the build's vite@5.4.21 instead of a separate vite@7.x — and
5.4.21 doesn't expose the `./module-runner` export subpath vitest needs
internally, so every test run failed at startup. Left as a residual,
documented in PENDING.md.

All of this is devDependency build/test tooling (wxt CLI, vite dev server,
vitest) — nothing here ships in the built extension.

Verified: build, check, lint, format:check, and the full test suite (38
tests) all pass. pnpm audit: 78 -> 32 findings.
Copilot AI lite review requested due to automatic review settings August 18, 2026 00:48

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 enabled auto-merge (squash) August 18, 2026 00:50
@guidodinello
guidodinello merged commit 6f5532a into main Aug 18, 2026
3 checks passed
@guidodinello
guidodinello deleted the chore/deps-security-update branch August 18, 2026 00:51
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