Skip to content

chore(deps): bump vitest from 1.6.1 to 4.0.18#11

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

chore(deps): bump vitest from 1.6.1 to 4.0.18#11
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/vitest-4.0.18

Conversation

@dependabot
Copy link
Copy Markdown

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

Bumps vitest from 1.6.1 to 4.0.18.

Release notes

Sourced from vitest'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 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](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) from 1.6.1 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/vitest)

---
updated-dependencies:
- dependency-name: vitest
  dependency-version: 4.0.18
  dependency-type: direct:development
  update-type: version-update:semver-major
...

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

dependabot bot commented on behalf of github Mar 9, 2026

Labels

The following labels could not be found: dependencies. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@dependabot dependabot bot requested a review from unbraind as a code owner March 9, 2026 04:19
Comment on lines 69 to +72
"globals": "^16.4.0",
"ts-node": "^10.9.2",
"typescript": "^5.9.3",
"vitest": "^1.6.0"
"vitest": "^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 vitest package is upgraded to v4, but the @vitest/coverage-v8 package remains at v1. These major versions are incompatible and will cause a runtime error.
Severity: HIGH

Suggested Fix

Upgrade @vitest/coverage-v8 to a version compatible with vitest v4, for instance, to ^4.0.18. After updating package.json, regenerate the lock file (e.g., by running bun install) to apply the changes and resolve the dependency conflict.

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#L69-L72

Potential issue: The upgrade of `vitest` to version `^4.0.18` while leaving
`@vitest/coverage-v8` pinned at `1.6.0` introduces a major version incompatibility. The
coverage package has a strict peer dependency on `vitest` version `1.6.0`. Due to
incompatible internal APIs between `vitest` v4 and `@vitest/coverage-v8` v1, any attempt
to run tests with coverage, such as via the `test:coverage` script, will result in a
runtime failure. The lock file has not been updated, ensuring these conflicting versions
will be installed together, breaking the test coverage workflow for developers and CI.

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

@dependabot @github
Copy link
Copy Markdown
Author

dependabot bot commented on behalf of github Mar 16, 2026

Superseded by #18.

@dependabot dependabot bot closed this Mar 16, 2026
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/vitest-4.0.18 branch March 16, 2026 04:17
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.

0 participants