Skip to content

build(deps-dev): upgrade vitest to v5 - #232

Merged
dsanders11 merged 1 commit into
mainfrom
vitest-5
Sep 23, 2026
Merged

dsanders11 merged 1 commit into
mainfrom
vitest-5

Conversation

@claude

@claude claude Bot commented Sep 23, 2026

Copy link
Copy Markdown
Contributor

Requested by David Sanders · Slack thread

This bumps vitest and @vitest/coverage-v8 to ^5.0.1. That also fixes the existing peer mismatch between coverage-v8 4.1.2 and vitest 4.1.11. Vitest 5 lists vite as a required peer instead of a dependency, so I added vite as a devDependency at ^8.0.16, the version already in the lockfile. I also moved @types/node from ~22.10.7 to ~22.12.0. The old version didn't satisfy vite's @types/node peer range, and 22.12 matches the repo's engines floor and .nvmrc. No test or config changes were needed. Lint, build, docs:ci and test:ci all pass locally on Linux with Node 22 (81 passed, 2 skipped, the same as main).

🤖 Generated with Claude Code

https://claude.ai/code/session_01N2vvE5XzurMvQfsX7Vz7bF


Generated by Claude Code

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01N2vvE5XzurMvQfsX7Vz7bF
@claude
claude Bot requested a review from a team as a code owner September 23, 2026 21:33
@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatednpm/​@​vitest/​coverage-v8@​4.1.2 ⏵ 5.0.19910079 +198 -1100
Updatednpm/​vitest@​4.1.11 ⏵ 5.0.198 +110079 +198100
Updatednpm/​@​types/​node@​22.10.10 ⏵ 22.12.0100 +110081 +196100
Addednpm/​vite@​8.0.16991008296100

View full report

@claude claude Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good — mechanical devDependency version bump (vitest/coverage-v8 4→5, @ types/node 22.10.7→22.12.0, plus new vite ^8.0.16 peer devDependency), with yarn.lock regenerated consistently. Checked package.json/yarn.lock diff: peer ranges line up (vitest@ 5.0.1 requires vite ^6.4.0||^7.0.0||^8.0.0 and @ types/node ^22.0.0||>=24.0.0, both satisfied), and the @ types/node version matches .nvmrc (22.12) and the engines field. No source or test files changed.

Extended reasoning...

Change is limited to package.json and yarn.lock: a devDependency major-version bump for vitest/@ vitest/coverage-v8 with an added vite peer devDependency, plus a matching @ types/node minor bump; yarn.lock diff reflects the expected transitive shifts. No security-sensitive code paths are touched (test tooling only), and the resulting peer dependency ranges are mutually satisfied, which is what decided approve over defer for this small, self-contained config change.

@dsanders11
dsanders11 enabled auto-merge (squash) September 23, 2026 21:53
@dsanders11
dsanders11 merged commit 41d0f92 into main Sep 23, 2026
13 checks passed
@dsanders11
dsanders11 deleted the vitest-5 branch September 23, 2026 21:57
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.

3 participants