Skip to content

fix(deps): bump vite to 7.3.2 (security)#1168

Merged
jdalton merged 2 commits intomainfrom
fix/vite-security
Apr 6, 2026
Merged

fix(deps): bump vite to 7.3.2 (security)#1168
jdalton merged 2 commits intomainfrom
fix/vite-security

Conversation

@jdalton
Copy link
Copy Markdown
Contributor

@jdalton jdalton commented Apr 6, 2026

Summary

  • Bumps vite from 7.1.12 to 7.3.2 to address security vulnerabilities
  • Updated catalog entry in pnpm-workspace.yaml and regenerated lockfile
  • Temporarily added vite to minimumReleaseAgeExclude during install (removed after lockfile generation)

Test plan

  • CI passes (note: 2 pre-existing test failures in test/unit/utils/socket/json.test.mts also fail on main)
  • Verify no runtime regressions from vite upgrade

Note

Medium Risk
Upgrades core build tooling (vite and its esbuild dependency), which can affect local dev and CI build behavior even though it doesn’t change application runtime code.

Overview
Updates the workspace toolchain by bumping vite from 7.1.12 to 7.3.2 in pnpm-workspace.yaml and regenerating pnpm-lock.yaml accordingly.

As part of the lockfile refresh, esbuild is updated to 0.27.4 (including new platform-specific @esbuild/* entries), and vitest’s vite peer references are aligned to the new version.

Reviewed by Cursor Bugbot for commit e08fb3a. Configure here.

vi.mock auto-mocking of node: built-ins fails intermittently with
vitest threads pool + sharding in CI. Switch to vi.spyOn which works
reliably. Source files updated to access fs methods via the default
import (fs.existsSync) so spies can intercept them.
@jdalton jdalton merged commit 93bd4bf into main Apr 6, 2026
11 of 13 checks passed
@jdalton jdalton deleted the fix/vite-security branch April 6, 2026 23:17
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.

2 participants