Skip to content

chore(deps-dev): bump @vitest/coverage-v8 from 2.1.9 to 4.0.18#4

Closed
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/vitest/coverage-v8-4.0.18
Closed

chore(deps-dev): bump @vitest/coverage-v8 from 2.1.9 to 4.0.18#4
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/vitest/coverage-v8-4.0.18

Conversation

@dependabot
Copy link
Copy Markdown

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

Bumps @vitest/coverage-v8 from 2.1.9 to 4.0.18.

Release notes

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

v4.0.18

   🚀 Experimental Features

   🐞 Bug Fixes

    View changes on GitHub

v4.0.17

   🚀 Experimental Features

   🐞 Bug Fixes

... (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 2.1.9 to 4.0.18.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v4.0.18/packages/coverage-v8)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Mar 7, 2026
"@types/node": "^22.10.0",
"@types/ws": "^8.18.1",
"@vitest/coverage-v8": "^2.1.8",
"@vitest/coverage-v8": "^4.0.18",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Bug: The PR updates @vitest/coverage-v8 to a new major version (v4) but leaves vitest at v2. These packages must share the same major version to be compatible.
Severity: CRITICAL

Suggested Fix

To resolve the incompatibility, update the vitest package in package.json to a version compatible with @vitest/coverage-v8 v4, such as ^4.0.18. Both packages should share the same major version. After updating package.json, run bun install to update the bun.lock file accordingly.

Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent.
Verify if this is a real issue. If it is, propose a fix; if not, explain why it's not
valid.

Location: package.json#L62

Potential issue: The pull request upgrades `@vitest/coverage-v8` to version `^4.0.18`
while `vitest` remains at `^2.1.8`. Vitest and its related packages, like
`@vitest/coverage-v8`, are tightly coupled and require matching major versions for
compatibility. Attempting to run tests with coverage via `vitest run --coverage` will
cause a failure. The v2 `vitest` runner will be unable to initialize the v4 coverage
plugin due to breaking API changes between the major versions, which will break the
CI/CD pipeline's `coverage` job.

Did we get this right? 👍 / 👎 to inform future reviews.

@dependabot @github
Copy link
Copy Markdown
Author

dependabot bot commented on behalf of github Mar 14, 2026

Superseded by #16.

@dependabot dependabot bot closed this Mar 14, 2026
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/vitest/coverage-v8-4.0.18 branch March 14, 2026 03:32
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 javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants