🚨 [security] [app] Update vite 5.2.9 → 5.2.14 (patch) #130
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.
🚨 Your current dependencies have known security vulnerabilities 🚨
This dependency update fixes known security vulnerabilities. Please see the details below and assess their impact carefully. We recommend to merge and deploy this as soon as possible!
Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ vite (5.2.9 → 5.2.14) · Repo · Changelog
Security Advisories 🚨
🚨 Vite's `server.fs.deny` is bypassed when using `?import&raw`
🚨 Vite DOM Clobbering gadget found in vite bundled scripts that leads to XSS
Release Notes
5.2.14
5.2.13
5.2.12
5.2.11
5.2.10
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 73 commits:
release: v5.2.14
fix: avoid DOM Clobbering gadget in `getRelativeUrlFromDocument` (#18115)
fix: fs raw query (#18112)
release: v5.2.13
fix: backport to 5.2 (#17411)
chore: fix release diff tag detection (#17331)
release: v5.2.12
chore(deps): remove unused deps (#17329)
fix(css): only use files the current bundle contains (#16684)
fix(optimizer): log dependencies added by plugins (#16729)
chore: move to eslint flat config (#16743)
fix(css): handle lightningcss compiled css in Deno (#17301)
fix(deps): update all non-major dependencies (#17321)
fix(hmr): normalize the path info (#14255)
docs: add comment in create project guide (#16321)
docs: deprecate server.hot (#16741)
chore: skip github releases for alpha (#16733)
chore(deps): update all non-major dependencies (#16722)
fix: mention `build.rollupOptions.output.manualChunks` instead of `build.rollupOutput.manualChunks` (#16721)
fix(css): page reload was not happening with .css?raw (#16455)
docs: correct proxy shorthand example (#15938)
fix(css): avoid generating empty JS files when JS files becomes empty but has CSS files imported (#16078)
chore: patch http-proxy compatible with node22 (#16655)
docs: add meta `og:site_name` & update `og:title` (#16672)
fix(hmr): trigger page reload when calling invalidate on root module (#16636)
test: fix flaky test fail (#16667)
chore(deps): update dependency execa to v9 (#16662)
fix(build): make SystemJSWrapRE match lazy (#16633)
docs: update `announcing-vite5.md` and `announcing-vite5-1.md` (#16646)
fix(deps): update all non-major dependencies (#16660)
chore(deps): update pnpm/action-setup action to v4 (#16663)
chore(deps): update @shikijs/vitepress-twoslash to 1.5.0 (#16637)
fix(error-logging): rollup errors weren't displaying id and codeframe (#16540)
chore(deps): update dependency conventional-changelog-cli to v5 (#16604)
fix(logger): truncate log over 5000 characters long (#16581)
release: plugin-legacy@5.4.0
docs: add custom event types docs (#16609)
docs: update manifest example (#16620)
chore(create-vite): update IDE support instructions in helloworld components (#16605)
test: don't skip unicode related tests anymore (#16339)
fix(deps): update all non-major dependencies (#16603)
fix(sourcemap): improve sourcemap compatibility for vue2 (#16594)
docs: add cute logo
docs: revert SF meetup promo
release: v5.2.11
feat: improve dynamic import variable failure error message (#16519)
fix(ssr): handle class declaration and expression name scoping (#16569)
fix(ssr): handle function expression name scoping (#16563)
docs(static-deploy): add criteria comment (#16568)
docs(static-deploy): add xmit deployment guide (#16441)
chore(npmrc): set `package-manager-strict` to false (#16565)
fix(deps): update all non-major dependencies (#16549)
fix: scripts and styles were missing from built HTML on Windows (#16421)
fix(preload): skip preload for non-static urls (#16556)
chore: update `CONTRIBUTING.md` (#16465)
feat(plugin-legacy): support `additionalModernPolyfills` (#16514)
docs(env): clarify env are statically replaced (#16553)
ci: test on Node.js 22 (#16545)
fix: dynamic-import-vars plugin normalize path issue (#16518)
fix(deps): update all non-major dependencies (#16488)
fix(dev): watch publicDir explicitly to include it outside the root (#16502)
docs(legacy): update `modernTargets` option default value description (#16491)
release: v5.2.10
revert: perf: use workspace root for fs cache (#15712) (#16476)
chore: add bun to bug report (#16459)
docs: twoslash cut does not take effect (#16466)
fix: don't add outDirs to watch.ignored if emptyOutDir is false (#16453)
feat: show warning if root is in build.outDir (#16454)
fix: add base to virtual html (#16442)
feat: write cspNonce to style tags (#16419)
fix: adjust esm syntax judgment logic (#16436)
fix(cspNonce): don't overwrite existing nonce values (#16415)
chore(deps): update dependency eslint-plugin-n to v17 (#16381)
🗑️ @sveltejs/vite-plugin-svelte (removed)
🗑️ @sveltejs/vite-plugin-svelte-inspector (removed)
🗑️ deepmerge (removed)
🗑️ svelte-hmr (removed)
🗑️ vitefu (removed)
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with
@depfu rebase
.All Depfu comment commands