Skip to content

deps(dashboard): vitest 4, closing the one critical alert in the queue - #92

Closed
blitzcrieg1 wants to merge 1 commit into
masterfrom
deps/vitest-4
Closed

deps(dashboard): vitest 4, closing the one critical alert in the queue#92
blitzcrieg1 wants to merge 1 commit into
masterfrom
deps/vitest-4

Conversation

@blitzcrieg1

Copy link
Copy Markdown
Owner

Replaces #68.

Dependabot proposed this and could not land it. Its lockfile went stale against master twice while other merges moved underneath it, and both CI runs failed at npm ci with a sync error rather than on anything to do with vitest:

npm error `npm ci` can only install packages when your package.json and
package-lock.json are in sync.
npm error Missing: esbuild@0.28.2 from lock file

A third rebase would have raced the same way, so this does the upgrade directly.

It is the only critical in the queue

The advisory needs 3.2.6 or later; this goes to 4.1.11.

Worth stating plainly: it was never reachable here. The CVE requires the Vitest UI server to be listening, which it is not during vitest run in CI or locally. Closing it is hygiene, not incident response.

Verified

  • 99 tests pass, unchanged. No test file needed editing
  • tsc --noEmit clean
  • lint clean
  • static export builds both routes

One warning it surfaces

@vitejs/plugin-react now warns its esbuild options are deprecated in favour of oxc. That is the plugin's problem, it is a warning rather than a failure, and Dependabot has a plugin bump open that can carry the fix.

🤖 Generated with Claude Code

Dependabot #68 proposed this and could not land it. Its lockfile went stale
against master twice while other merges moved underneath it, and both CI runs
failed at `npm ci` on a sync error rather than on anything to do with vitest.
Rebasing a third time would have raced the same way, so this does the upgrade
directly.

It is the only critical in the alert queue. The advisory needs 3.2.6 or later
and this goes to 4.1.11. Worth noting it was never reachable here: the CVE
requires the Vitest UI server to be listening, which it is not during `vitest
run` in CI or locally.

99 tests pass unchanged, no test file needed editing. tsc clean, lint clean,
static export builds.

@vitejs/plugin-react now warns that its `esbuild` options are deprecated in
favour of `oxc`. That is the plugin's problem rather than ours and it is a
warning, not a failure. Dependabot has a plugin bump open; it can carry the fix.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@blitzcrieg1

Copy link
Copy Markdown
Owner Author

Closing in favour of #90, which is strictly better.

Mine did vitest 2.1.9 to 4.1.11. #90 does that plus @vitejs/plugin-react 4.7.0 to 6.1.0, which fixes the deprecation warning my own PR description flagged as "the plugin's problem" and left for a future bump. It also widens the vite constraint to ^8.

Same critical alert closed, one fewer warning, one fewer PR.

@github-actions github-actions Bot locked and limited conversation to collaborators Aug 22, 2026
@blitzcrieg1
blitzcrieg1 deleted the deps/vitest-4 branch August 22, 2026 20:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant