Skip to content

Bump @vitest/coverage-v8 from 3.2.4 to 4.1.1#267

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/vitest/coverage-v8-4.1.1
Open

Bump @vitest/coverage-v8 from 3.2.4 to 4.1.1#267
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/vitest/coverage-v8-4.1.1

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 23, 2026

Bumps @vitest/coverage-v8 from 3.2.4 to 4.1.1.

Release notes

Sourced from @​vitest/coverage-v8's releases.

v4.1.1

   🚀 Features

   🐞 Bug Fixes

    View changes on GitHub

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
Maintainer changes

This version was pushed to npm by [GitHub Actions](https://www.npmjs.com/~GitHub Actions), a new releaser for @​vitest/coverage-v8 since your current version.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8) from 3.2.4 to 4.1.1.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v4.1.1/packages/coverage-v8)

---
updated-dependencies:
- dependency-name: "@vitest/coverage-v8"
  dependency-version: 4.1.1
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@coderabbitai
Copy link

coderabbitai bot commented Mar 23, 2026

📝 Walkthrough

Summary by CodeRabbit

  • Chores
    • Updated development dependencies to maintain compatibility with the latest testing infrastructure.

Walkthrough

The @vitest/coverage-v8 dev dependency in package.json is updated from version ^3.2.4 to ^4.1.1. This change updates the Vitest coverage tool (v8 engine) to a newer major version, affecting the package version available during test coverage runs. The change consists of a single line modification in the dependencies configuration.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The PR description is a Dependabot-generated update that includes release notes and commit details, but does not follow the repository's required description template with 'Changes' and 'Checklist' sections. Add a 'Changes' section describing the update and a 'Checklist' with the required items (label selection, documentation/tests verification) as specified in the repository template.
✅ Passed checks (2 passed)
Check name Status Explanation
Title check ✅ Passed The title 'Bump @vitest/coverage-v8 from 3.2.4 to 4.1.1' directly and clearly describes the main change: updating a dev dependency with specific version numbers.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ 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/coverage-v8-4.1.1

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

Copy link

@coderabbitai coderabbitai bot left a comment

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 the current code and only fix it if needed.

Inline comments:
In `@package.json`:
- Line 52: package.json currently lists `@vitest/coverage-v8`@4.1.1 which requires
vitest@4.1.1 while vitest is still pinned to 3.2.4; update the dependency pair
to be compatible by either bumping "vitest" to "^4.1.1" to match
"@vitest/coverage-v8" or downgrading "@vitest/coverage-v8" to a 3.x release
(e.g., "^3.2.4"); edit the dependencies/devDependencies entries for "vitest" and
"@vitest/coverage-v8" in package.json so their major versions align, then run
npm/yarn install and verify tests run.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository: lokalise/coderabbit/.coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 68aa6788-be38-4e0a-a6e9-be71d048be4d

📥 Commits

Reviewing files that changed from the base of the PR and between 040e31f and c2eea6e.

📒 Files selected for processing (1)
  • package.json

"@types/node": "^25.0.2",
"@types/tmp": "^0.2.6",
"@vitest/coverage-v8": "^3.2.4",
"@vitest/coverage-v8": "^4.1.1",
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Description: Check peerDependencies of `@vitest/coverage-v8`@4.1.1 to verify vitest version requirements

# Fetch package metadata and extract peerDependencies
curl -s https://registry.npmjs.org/@vitest/coverage-v8/4.1.1 | jq '{
  version: .version,
  peerDependencies: .peerDependencies,
  engines: .engines
}'

Repository: lokalise/node-core

Length of output: 188


🌐 Web query:

vitest v4 coverage-v8 compatibility requirements with vitest v3

💡 Result:

  • @vitest/coverage-v8 is version-locked to Vitest (exact match), not just “compatible by major”.

    • @vitest/coverage-v8@3.0.8 declares peerDependencies: "vitest": "3.0.8" (and optional @vitest/browser: "3.0.8"). [1]
    • @vitest/coverage-v8@4.1.0 declares peerDependencies: "vitest": "4.1.0" (and optional @vitest/browser: "4.1.0"). [2]
      Implication: You generally can’t use a v4 coverage-v8 with Vitest v3 (or vice‑versa) without peer-dep conflicts; install the same version as your vitest.
  • If you upgrade from Vitest v3 → v4, expect coverage output changes (even with the same v8 provider). Vitest v4’s V8 coverage remapping logic changed and can affect reported results. [3]

  • Extra requirement when moving to Vitest v4: Vitest 4.0.0 requires Node ^20 || ^22 || >=24. [4]

Sources:
[1] @vitest/coverage-v8@3.0.8 package.json (peerDependencies) [1]
[2] @vitest/coverage-v8@4.1.0 package.json (peerDependencies) [2]
[3] Vitest Migration Guide (v4 V8 coverage changes) [3]
[4] vitest@4.0.0 package.json (engines.node) [4]


Resolve version incompatibility: @vitest/coverage-v8@4.1.1 requires vitest@4.1.1.

The coverage plugin @vitest/coverage-v8@4.1.1 (line 52) declares an exact peer dependency on vitest@4.1.1, but the main package (line 58) remains at vitest@3.2.4. This version mismatch will cause peer dependency conflicts and break test coverage functionality.

Upgrade vitest to ^4.1.1 to match the coverage plugin, or revert the coverage plugin to ^3.2.4.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@package.json` at line 52, package.json currently lists
`@vitest/coverage-v8`@4.1.1 which requires vitest@4.1.1 while vitest is still
pinned to 3.2.4; update the dependency pair to be compatible by either bumping
"vitest" to "^4.1.1" to match "@vitest/coverage-v8" or downgrading
"@vitest/coverage-v8" to a 3.x release (e.g., "^3.2.4"); edit the
dependencies/devDependencies entries for "vitest" and "@vitest/coverage-v8" in
package.json so their major versions align, then run npm/yarn install and verify
tests run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants