Skip to content

chore(deps): bump vitest from 4.1.11 to 5.0.3 - #136

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

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

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 5, 2026

Copy link
Copy Markdown
Contributor

Bumps vitest from 4.1.11 to 5.0.3.

Release notes

Sourced from vitest's releases.

v5.0.3

   🐞 Bug Fixes

    View changes on GitHub

v5.0.2

   🐞 Bug Fixes

... (truncated)

Commits

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 4.1.11 to 5.0.3.
- [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/v5.0.3/packages/vitest)

---
updated-dependencies:
- dependency-name: vitest
  dependency-version: 5.0.3
  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 Oct 5, 2026
@dependabot
dependabot Bot requested a review from felipesauer as a code owner October 5, 2026 17:06
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Oct 5, 2026
@felipesauer

Copy link
Copy Markdown
Owner

Closing: vitest 5 cannot be adopted yet.

@stryker-mutator/vitest-runner (10.0.0, the latest release) breaks on vitest 5. Its per-test name filter matches nothing, so every covered mutant survives and the mutation score collapses (about 85% to 0.88% on a local run), while unit tests and v8 coverage stay green. Upstream bug: stryker-mutator/stryker-js#6210

This PR also could not pass on its own: @vitest/coverage-v8 pins the exact vitest version as a peer, and a mixed install fails ("Running mixed versions is not supported").

Semver-major updates of vitest and @vitest/* are ignored, and the two are grouped to return together, in #144. We will revisit once a vitest-runner release fixes the filter.

@dependabot @github

dependabot Bot commented on behalf of github Oct 21, 2026

Copy link
Copy Markdown
Contributor 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-5.0.3 branch October 21, 2026 01:06
felipesauer added a commit that referenced this pull request Oct 21, 2026
…bot (#144)

vitest 5 cannot be adopted yet because the Stryker vitest-runner
(10.0.0, the latest release)
breaks on it. Its per-test name filter matches nothing under vitest 5,
so every covered mutant
survives. The mutation score falls from about 85% to 0.88% on a local
run, while the unit tests
and v8 coverage stay green at 100%. Tracked upstream as
stryker-mutator/stryker-js#6210.

- Ignore semver-major updates of vitest and @vitest/* until Stryker
ships a fix.
- Group vitest and @vitest/* so minor and patch bumps arrive in one PR.
coverage-v8 requires the
exact vitest version as a peer, so separate PRs can never install or
pass, as with #134 and #136.
- Keep them out of the npm group with exclude-patterns, so grouping does
not depend on order.

Revisit once a @stryker-mutator/vitest-runner release fixes the filter.
Then drop the two ignore
entries and bump vitest and @vitest/coverage-v8 together.
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.

1 participant