Skip to content

chore(deps-dev): bump vitest from 1.6.1 to 4.1.0#39

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/vitest-4.1.0
Closed

chore(deps-dev): bump vitest from 1.6.1 to 4.1.0#39
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/vitest-4.1.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 1, 2026

Copy link
Copy Markdown
Contributor

Bumps vitest from 1.6.1 to 4.1.0.

Release notes

Sourced from vitest's releases.

v4.1.0

Vitest 4.1 is out!

This release page lists all changes made to the project during the 4.1 beta. To get a review of all the new features, read our blog post.

   🚀 Features

... (truncated)

Commits
  • 4150b91 chore: release v4.1.0
  • 1de0aa2 fix: correctly identify concurrent test during static analysis (#9846)
  • c3cac1c fix: use isAgent check, not just TTY, for watch mode (#9841)
  • eab68ba chore(deps): update all non-major dependencies (#9824)
  • 031f02a fix: allow catch/finally for async assertion (#9827)
  • 3e9e096 feat(reporters): add agent reporter to reduce ai agent token usage (#9779)
  • 0c2c013 chore: release v4.1.0-beta.6
  • 8181e06 fix: hideSkippedTests should not hide test.todo (fix #9562) (#9781)
  • a8216b0 fix: manual and redirect mock shouldn't load or transform original module...
  • 689a22a fix(browser): types of getCDPSession and cdp() (#9716)
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for vitest since your current version.


@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Jun 1, 2026
@vercel

vercel Bot commented Jun 1, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
skill-mapper Ignored Ignored Preview Jun 8, 2026 11:15am

Request Review

@coderabbitai

coderabbitai Bot commented Jun 1, 2026

Copy link
Copy Markdown

Review Change Stack

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 0a65b18d-63ba-4d05-b2ed-54446dfd649a

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
📝 Walkthrough

Walkthrough

Vitest dev dependency is updated from ^1.6.0 to ^4.1.0 in package.json, enabling use of the latest testing framework features and improvements.

Changes

Vitest version update

Layer / File(s) Summary
Vitest dependency version bump
package.json
Vitest devDependency constraint is updated from ^1.6.0 to ^4.1.0

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐰 A hop toward the testing light,
Vitest bounds from one-point-six so bright,
To four-point-one with features new,
The tests shall run—robust and true!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely summarizes the main change: updating the vitest dev dependency from version 1.6.1 to 4.1.0, which is the sole purpose of this pull request.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch dependabot/npm_and_yarn/vitest-4.1.0

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

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

📥 Commits

Reviewing files that changed from the base of the PR and between 514d547 and b3481dc.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (1)
  • package.json

Comment thread package.json
"typescript": "^5",
"vite": "^7.3.2",
"vitest": "^1.6.0"
"vitest": "^4.1.0"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major | ⚡ Quick win

🧩 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}'
done

Repository: 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.

@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/vitest-4.1.0 branch from b3481dc to 5c8e68a Compare June 8, 2026 11:12
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>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/vitest-4.1.0 branch from 5c8e68a to 6b7d239 Compare June 8, 2026 11:15
@dependabot @github

dependabot Bot commented on behalf of github Jun 8, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #42.

@dependabot dependabot Bot closed this Jun 8, 2026
@dependabot dependabot Bot deleted the dependabot/npm_and_yarn/vitest-4.1.0 branch June 8, 2026 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants