Skip to content

chore(deps): bump @vitest/coverage-v8 from 2.1.9 to 4.1.7#42

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

chore(deps): bump @vitest/coverage-v8 from 2.1.9 to 4.1.7#42
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/vitest/coverage-v8-4.1.7

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github May 21, 2026

Copy link
Copy Markdown

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

Release notes

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

v4.1.7

   🐞 Bug Fixes

    View changes on GitHub

v4.1.6

   🐞 Bug Fixes

   🏎 Performance

    View changes on GitHub

v4.1.5

   🚀 Experimental Features

   🐞 Bug Fixes

    View changes on GitHub

v4.1.4

   🚀 Experimental Features

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by 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.1.7.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v4.1.7/packages/coverage-v8)

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

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

dependabot Bot commented on behalf of github May 21, 2026

Copy link
Copy Markdown
Author

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 a team as a code owner May 21, 2026 12:05
@github-actions github-actions Bot added size/XS PR size: XS dependencies-changed This PR modifies dependency files labels May 21, 2026
@github-actions

Copy link
Copy Markdown

Dependency Changes Detected

This PR modifies dependency files. Please review whether these changes are intentional.

Changed files:

  • package.json

Maintainer checklist:

  • Confirm dependency changes are intentional
  • Review package delta if lockfile changed

@lml2468 lml2468 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 [COMMENT — self-review] Needs coordination before merge.

@vitest/coverage-v8 2.1.9 → 4.1.7:

✅ Correct direction — v4.1.7 requires vitest: 4.1.7 as peer dependency.

🟡 Peer dependency chain: @vitest/coverage-v8@4.1.7 requires vitest@4.1.7 exactly. The repo is currently on vitest@2.1.9. This PR alone will produce an unmet peer dependency warning/error at runtime.

Required merge order:

  1. Upgrade vitest to 4.1.7 (not yet in any open PR)
  2. Upgrade vite to 8.x (PR #41) — vitest 4 supports vite ^6||^7||^8
  3. Merge #42 together with the above

🔵 Also note: vitest 4 + coverage-v8 4 requires Node ≥ 20 (already met — CI runs Node 18 and 20; consider dropping Node 18 if it becomes a constraint).

Do not merge standalone. Part of the same coordinated batch as PR #41.

@Jerry-Xin Jerry-Xin 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.

This PR is in scope, but it breaks clean installs by upgrading only the Vitest coverage provider to v4 while leaving the test runner on v2.

🔴 Blocking

🔴 Critical — @vitest/coverage-v8@4.1.7 requires vitest@4.1.7, but the project still depends on vitest@^2.1.9. This makes npm ci fail with ERESOLVE could not resolve, so fresh installs and CI will be blocked before tests can run. See package.json and package.json. The lockfile also records the incompatible peer requirement at package-lock.json while keeping vitest at 2.1.9 at package-lock.json.

💬 Non-blocking

None.

✅ Highlights

The PR only touches dev dependency metadata and is relevant to the repository’s existing test:coverage workflow.

Verification: npm ci fails with a peer dependency conflict between @vitest/coverage-v8@4.1.7 and vitest@2.1.9.

@lml2468 lml2468 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

[CHANGES_REQUESTED] Independent cross-review. Same pattern as PR #44.

🔴 Blocking: CI red — peer dependency mismatch

While resolving: @vitest/coverage-v8@4.1.7
Found: vitest@2.1.9
Could not resolve dependency:
peer vitest@"4.1.7" from @vitest/coverage-v8@4.1.7

@vitest/coverage-v8 bumped from 2.x to 4.x, but vitest itself is still at ^2.1.9. Coverage-v8 has a strict peer dependency on the exact matching vitest version (peer vitest@"4.1.7").

Required fix: Either:

  1. Bump vitest to 4.x alongside @vitest/coverage-v8, OR
  2. Close and configure Dependabot grouping:
    groups:
      vitest:
        patterns:
          - "vitest"
          - "@vitest/*"

Same Dependabot partial-group problem as PR #44 (react). These packages must move together.

@github-actions

github-actions Bot commented Jun 5, 2026

Copy link
Copy Markdown

This pull request has been automatically marked as stale due to inactivity. Please add an update or it will be closed.

@github-actions github-actions Bot added the stale label Jun 5, 2026
@github-actions

Copy link
Copy Markdown

Closing due to inactivity. If you believe this PR should be revived, please open a new issue or contact a maintainer.

@github-actions github-actions Bot closed this Jun 12, 2026
@dependabot @github

dependabot Bot commented on behalf of github Jun 12, 2026

Copy link
Copy Markdown
Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot Bot deleted the dependabot/npm_and_yarn/vitest/coverage-v8-4.1.7 branch June 12, 2026 07:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies-changed This PR modifies dependency files size/XS PR size: XS stale

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants