Upgrade vite 5 → 6 (esbuild 0.25) for dev-server CVE fixes - #3
Merged
Conversation
Clears the 4 remaining Dependabot alerts, all dev-server-only (not present in the deployed nginx-served build): - esbuild GHSA-67mh-4wv8-2f99 (dev server accepts cross-origin requests) via esbuild 0.21 -> 0.25.12, pulled by vite 6 - vite GHSA-4w7w-66w2-5vf9 (path traversal in optimized-deps .map handling) - vite GHSA-fx2h-pf6j-xcff, GHSA-v6wh-96g9-6wx3 (Windows-only fs.deny bypass and launch-editor NTLMv2 disclosure) vite ^5.4.8 -> ^6.4.3, @vitejs/plugin-react ^4.3.1 -> ^4.7.0. Both vite configs use stable APIs; no config changes needed. npm audit reports 0 vulnerabilities. Verified: npm run build (SPA) and npm run build:app (viewer bundle) both pass; vite 6 dev server boots and the app loads, opens a checkpoint, and renders the image tiles + cell points with no console errors. 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.
Clears the 4 remaining Dependabot alerts — all dev-server-only (the deployed image serves the static nginx build, so the vite dev server never runs in prod):
.maphandlingserver.fs.denybypass (Windows-only)Changes
vite^5.4.8→^6.4.3,@vitejs/plugin-react^4.3.1→^4.7.0vite.config.ts,vite.app.config.ts) use stable APIs — no config changes needed.Verification
npm audit: 0 vulnerabilitiesnpm run build(SPA) andnpm run build:app(viewer bundle →dist-app/viewer/1.1.2/app.js) both pass🤖 Generated with Claude Code