chore(deps-dev): bump vitest from 1.6.1 to 4.1.0#39
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
|
Important Review skippedBot user detected. To trigger a single review, invoke the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
📝 WalkthroughWalkthroughVitest dev dependency is updated from ChangesVitest version update
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@package.json`:
- Line 102: Update package.json to align the `@vitest/`* package versions with the
vitest major v4 release: bump the dependencies/devDependencies entries for
"`@vitest/browser`", "`@vitest/coverage-v8`", and "`@vitest/ui`" to match the vitest
^4.x version (same major/minor as "vitest": "^4.1.0") so peerDependency
resolution is satisfied; locate and update the entries for "`@vitest/browser`",
"`@vitest/coverage-v8`", and "`@vitest/ui`" in package.json to the corresponding v4
version range that matches "vitest" (e.g., ^4.1.0) and then run the package
manager to reinstall or update lockfile.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro Plus
Run ID: 0c75f915-9d85-4be6-9656-c41a94d39aaf
⛔ Files ignored due to path filters (1)
pnpm-lock.yamlis excluded by!**/pnpm-lock.yaml
📒 Files selected for processing (1)
package.json
| "typescript": "^5", | ||
| "vite": "^7.3.2", | ||
| "vitest": "^1.6.0" | ||
| "vitest": "^4.1.0" |
There was a problem hiding this comment.
🧩 Analysis chain
🏁 Script executed:
#!/bin/bash
# Verify peer compatibility between installed vitest and `@vitest/`* versions in package.json.
# Read-only checks only.
set -euo pipefail
echo "== Local package.json versions =="
python - <<'PY'
import json
with open("package.json") as f:
p = json.load(f)
dev = p.get("devDependencies", {})
for k in ["vitest", "`@vitest/browser`", "`@vitest/coverage-v8`", "`@vitest/ui`"]:
print(f"{k}: {dev.get(k)}")
PY
echo
echo "== npm registry peerDependencies (latest 4.1.0 tags) =="
for pkg in vitest `@vitest/browser` `@vitest/coverage-v8` `@vitest/ui`; do
echo "-- $pkg@4.1.0 --"
curl -s "https://registry.npmjs.org/${pkg}/4.1.0" | jq '{name, version, peerDependencies}'
doneRepository: forbiddenlink/skill-mapper
Length of output: 1124
Align @vitest/* versions with vitest major (v4)
package.json pins vitest to ^4.1.0 while @vitest/browser, @vitest/coverage-v8, and @vitest/ui are still on ^1.6.0 (Lines 87–89 vs 102). vitest@4.1.0 declares a peerDependency on @vitest/ui: "4.1.0", so this version skew can break peer resolution and test:ui / test:coverage.
Suggested fix
- "`@vitest/browser`": "^1.6.0",
- "`@vitest/coverage-v8`": "^1.6.0",
- "`@vitest/ui`": "^1.6.0",
+ "`@vitest/browser`": "^4.1.0",
+ "`@vitest/coverage-v8`": "^4.1.0",
+ "`@vitest/ui`": "^4.1.0",
"vitest": "^4.1.0"🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@package.json` at line 102, Update package.json to align the `@vitest/`* package
versions with the vitest major v4 release: bump the dependencies/devDependencies
entries for "`@vitest/browser`", "`@vitest/coverage-v8`", and "`@vitest/ui`" to match
the vitest ^4.x version (same major/minor as "vitest": "^4.1.0") so
peerDependency resolution is satisfied; locate and update the entries for
"`@vitest/browser`", "`@vitest/coverage-v8`", and "`@vitest/ui`" in package.json to
the corresponding v4 version range that matches "vitest" (e.g., ^4.1.0) and then
run the package manager to reinstall or update lockfile.
b3481dc to
5c8e68a
Compare
Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) from 1.6.1 to 4.1.0. - [Release notes](https://github.com/vitest-dev/vitest/releases) - [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md) - [Commits](https://github.com/vitest-dev/vitest/commits/v4.1.0/packages/vitest) --- updated-dependencies: - dependency-name: vitest dependency-version: 4.1.0 dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com>
5c8e68a to
6b7d239
Compare
|
Superseded by #42. |
Bumps vitest from 1.6.1 to 4.1.0.
Release notes
Sourced from vitest's releases.
... (truncated)
Commits
4150b91chore: release v4.1.01de0aa2fix: correctly identify concurrent test during static analysis (#9846)c3cac1cfix: use isAgent check, not just TTY, for watch mode (#9841)eab68bachore(deps): update all non-major dependencies (#9824)031f02afix: allow catch/finally for async assertion (#9827)3e9e096feat(reporters): addagentreporter to reduce ai agent token usage (#9779)0c2c013chore: release v4.1.0-beta.68181e06fix:hideSkippedTestsshould not hidetest.todo(fix #9562) (#9781)a8216b0fix: manual and redirect mock shouldn'tloadortransformoriginal module...689a22afix(browser): types ofgetCDPSessionandcdp()(#9716)Maintainer changes
This version was pushed to npm by GitHub Actions, a new releaser for vitest since your current version.