build(deps-dev): upgrade vitest to v5 - #139
Conversation
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01N2vvE5XzurMvQfsX7Vz7bF
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
There was a problem hiding this comment.
Looks good, straightforward dev-dependency bump. Reviewed package.json (vitest v4→v5, new vite ^8.0.16 devDependency, @ types/node bumped to ~22.12.0) and confirmed yarn.lock changes are consistent with these version bumps with no production dependency or source code changes.
Extended reasoning...
The diff touches only package.json and yarn.lock: three devDependency changes (@ types/node 22.10.7→22.12.0, vitest ^4.1.2→^5.0.1, new vite ^8.0.16) with the lockfile regenerated to match. No production dependencies, application code, auth, or security-sensitive surfaces are touched. The change is small, mechanical, and matches the PR description exactly, so a human need not review it.
Requested by David Sanders · Slack thread
This upgrades vitest from v4 to 5.0.1. Vitest 5 makes
vitea required peer instead of a dependency, soviteis now listed as a devDependency (^8.0.16, the version previously in the lockfile). With vite as a direct dependency, yarn also flagged that@types/node~22.10.7does not satisfy the^22.12.0 || >=24.0.0range vite and vitest ask for, so it moves to~22.12.0, which matches the package'sengines.nodefloor. No test or config changes were needed; lint, build, typecheck, and all 16 tests pass locally on Linux, including the ones against the downloaded Electron binaries.🤖 Generated with Claude Code
https://claude.ai/code/session_01N2vvE5XzurMvQfsX7Vz7bF
Generated by Claude Code