Skip to content

fix(deps): bump vite to ^6.4.2 (path-traversal CVE)#210

Open
ahoy-jon wants to merge 1 commit into
mainfrom
fix/vite-cve-path-traversal
Open

fix(deps): bump vite to ^6.4.2 (path-traversal CVE)#210
ahoy-jon wants to merge 1 commit into
mainfrom
fix/vite-cve-path-traversal

Conversation

@ahoy-jon
Copy link
Copy Markdown
Contributor

Summary

  • Bumps vite from ^5.1.4^6.4.2 to patch the path-traversal in optimized deps .map handling advisory. The 5.x line received no backport.
  • Bumps @scala-js/vite-plugin-scalajs from 1.0.0^1.1.0 — v1.1.0 declares vite "4.1.4 - 7" peer compat (1.0.0 only declared ^4.1.4).

Test plan

  • npm install resolves cleanly
  • npm run dev boots the Vite dev server and serves the site
  • npm run build produces a working dist/
  • npm run preview serves the production build

Vite <=6.4.1 returns any .map file (incl. outside project root) via
dev server. Bumps @scala-js/vite-plugin-scalajs to ^1.1.0 for vite 6/7
peer-dep compat.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant