chore(deps): upgrade to vite 8 (+ laravel-vite-plugin 3)#47
Merged
Conversation
Bumps vite ^7.2.4 -> ^8.1.5 and its required peer laravel-vite-plugin ^2.0.1 -> ^3.1.3 (2.x only supports vite 7). Other vite peers (@vitejs/plugin-react, @tailwindcss/vite, vitest 4) already allow vite 8. Also clears the last open advisory: esbuild GHSA-g7r4-m6w7-qqqr (vite 8 uses esbuild 0.28.x) -> npm audit now 0 vulnerabilities. vite.config.ts unchanged. Verified: production build green (manifest + chunks), vite 8.1.5 dev server boots with laravel plugin 3.1.3, vitest 28/28 green, npm audit clean. Supersedes #42 (which bumped vite alone and would break on the laravel-vite-plugin peer). Co-Authored-By: Claude Opus 4.8 (1M context) <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
Upgrades the build toolchain to vite 8, superseding Dependabot #42 (which bumped vite alone and would have broken on the
laravel-vite-pluginpeer).vite^7.2.4 → ^8.1.5laravel-vite-plugin^2.0.1 → ^3.1.3 — required: 2.x pinsvite ^7.0.0; 3.x pinsvite ^8.0.0@vitejs/plugin-react5.x,@tailwindcss/vite4.3.x,vitest4.x.vite.config.tsneeded no changes.Also fixes the last security alert
The remaining low-severity esbuild advisory (GHSA-g7r4-m6w7-qqqr) was pinned by vite 7. vite 8 uses esbuild 0.28.x, so
npm auditis now 0 vulnerabilities. This clears the 12th/last of the alerts we set out to fix.Verification
ddev npm run build— green (valid manifest + chunked assets, incl. WorldMap).VITE v8.1.5 readywithLARAVEL … plugin v3.1.3, no errors.ddev npm run test:js(vitest) — 28 passed.ddev npm audit— 0 vulnerabilities.Closes #42.
🤖 Generated with Claude Code