chore(deps): bump vite to ^7.3.2 to close 3 advisories#28
Merged
Conversation
Resolves 3 advisories surfaced by `npm audit --omit=dev`: - vite (high) — path traversal in optimized-deps `.map` (GHSA-4w7w-66w2-5vf9), `server.fs.deny` bypass via queries (GHSA-v2wj-q39q-566r), arbitrary file read via dev-server WS (GHSA-p9ff-h696-f583). - picomatch 4.0.3 → 4.0.4 (transitive via vite/fdir/tinyglobby) — POSIX class method injection (GHSA-3v7f-55p6-f55p) + extglob ReDoS (GHSA-c2c7-rcm5-vvqj). - postcss 8.5.6 → 8.5.12 (transitive via vite) — `</style>` XSS in CSS stringify output (GHSA-qx2v-qp2m-jg93). Verified: `npm audit --omit=dev` reports 0 vulnerabilities; `npm run test` passes (29 files, 503 tests). E2E suite (`test:e2e`) was reproduced both pre-bump and post-bump with identical "Timed out waiting for step 1" failures across all PDF/Image specs — pre-existing, not introduced here. Tracked separately. All affected packages are dev/build tooling that doesn't ship in the Tauri binary; the patches still matter for any contributor running `npm run dev` because vite's dev server is exposed. Co-Authored-By: Claude Opus 4.7 <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
Bumps
vitefrom^7.0.4to^7.3.2to close 3 advisories surfaced bynpm audit --omit=dev.vitepicomatchpostcssAfter this change:
npm audit --omit=devreports 0 vulnerabilities.Test plan
npm run test— 29 files, 503 tests, all passnpm audit --omit=dev— 0 findings (was 3)npm ci && npm run testto confirm reproducibleE2E (
test:e2e) was attempted; failed withTimed out waiting for step 1across all PDF/Image specs. Pre-existing — same failures reproduce with this PR reverted. Not blocking; tracked separately.Security notes (R015)
npm run devso the patches matter for contributors.@tailwindcss/vitelives independenciesrather thandevDependencies, which is why prod-scope audit even sees these tools — hygiene issue worth filing separately, not a bump-introduced one.🤖 Generated with Claude Code