fix(frontend): upgrade vite to 8.0.8 and resolve esbuild security vulnerability#19
Open
lzw-git-all wants to merge 1 commit intolibrae8226:masterfrom
Open
fix(frontend): upgrade vite to 8.0.8 and resolve esbuild security vulnerability#19lzw-git-all wants to merge 1 commit intolibrae8226:masterfrom
lzw-git-all wants to merge 1 commit intolibrae8226:masterfrom
Conversation
…nerability - Upgraded vite from 5.4.21 to 8.0.8 - Upgraded @vitejs/plugin-react from 4.7.0 to 6.0.1 - Upgraded postcss from 8.5.8 to 8.5.9 - Added "type": "module" to package.json (fix Node.js warning) - Changed rollupOptions to rolldownOptions (Vite 8 bundler change) - Changed manualChunks from object to function form (Rolldown requirement) - Fixed 2 moderate security vulnerabilities (esbuild GHSA-67mh-4wv8-2f99) Verified: build succeeds, chunks split correctly (vendor, xterm) Co-Authored-By: Claude <noreply@anthropic.com>
Owner
Test ResultsTested this PR locally on WSL2 (Node.js v24.14.0) — build fails with a fatal error:
For reference, the original Vite 5 build completes successfully in ~11s on the same machine. Additional concerns:
Leaving this open for now. A more conservative path would be upgrading to Vite 6.x first and verifying the build on the target platform. |
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
Test plan
🤖 Generated with Claude Code