Skip to content

chore(deps): upgrade Vite 5 → 8 (+ @vitejs/plugin-react 6) — security - #21

Merged
sathyaprakash000 merged 1 commit into
mainfrom
chore/vite-8-upgrade
May 25, 2026
Merged

chore(deps): upgrade Vite 5 → 8 (+ @vitejs/plugin-react 6) — security#21
sathyaprakash000 merged 1 commit into
mainfrom
chore/vite-8-upgrade

Conversation

@sathyaprakash000

@sathyaprakash000 sathyaprakash000 commented May 25, 2026

Copy link
Copy Markdown
Contributor

What & why

Resolves the two overlapping Dependabot PRs (#2, #3) that both tried to bump Vite to ^8.0.14 to clear the esbuild dev-server advisory (GHSA-67mh-4wv8-2f99). Both failed CI because Dependabot bumped only vite — Vite 8 requires @vitejs/plugin-react v5+.

This does the major upgrade deliberately and together:

  • vite ^5.3.3^8.0.14
  • @vitejs/plugin-react ^4.3.1^6.0.2
  • vitest already ^4.1.7 (Vite 8 compatible — no change)

Verification (local)

  • npm install0 vulnerabilities (esbuild advisory cleared)
  • npm run build → clean (Rolldown-based Vite 8)
  • npm run test:unit51/51 pass (3 files)

Supersedes #2 and #3.

Dependabot opened two overlapping PRs (#2, #3) bumping vite to ^8.0.14 to clear
the esbuild dev-server advisory (GHSA-67mh-4wv8-2f99), but both broke the build
because Vite 8 needs a matching @vitejs/plugin-react v5+. Do the major upgrade
deliberately: bump vite ^8.0.14 AND @vitejs/plugin-react ^6.0.2 together.

Verified locally: npm install (0 vulnerabilities), npm run build (clean,
Rolldown-based), npm run test:unit (51/51 pass). vitest was already ^4.1.7
(Vite 8 compatible).

Supersedes #2 and #3.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Signed-off-by: KingArthur000 <sathyaprakashelango@gmail.com>
@sathyaprakash000
sathyaprakash000 merged commit 966d3f0 into main May 25, 2026
11 checks passed
@sathyaprakash000
sathyaprakash000 deleted the chore/vite-8-upgrade branch May 25, 2026 05:12
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