Skip to content

chore(deps-dev): bump vitest from 4.1.11 to 5.0.5 - #161

Merged
anbo-de merged 3 commits into
mainfrom
dependabot/npm_and_yarn/vitest-5.0.5
Oct 26, 2026
Merged

anbo-de merged 3 commits into
mainfrom
dependabot/npm_and_yarn/vitest-5.0.5

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps vitest from 4.1.11 to 5.0.5.

Release notes

Sourced from vitest's releases.

v5.0.5

   🐞 Bug Fixes

    View changes on GitHub

v5.0.4

   🚀 Features

   🐞 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.5.
- [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.5/packages/vitest)

---
updated-dependencies:
- dependency-name: vitest
  dependency-version: 5.0.5
  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 20, 2026
@anbo-de

anbo-de commented Oct 20, 2026

Copy link
Copy Markdown
Member

@dependabot rebase

@dependabot @github

dependabot Bot commented on behalf of github Oct 20, 2026

Copy link
Copy Markdown
Contributor Author

Looks like this PR is already up-to-date with main! If you'd still like to recreate it from scratch, overwriting any edits, you can request @dependabot recreate.

…5 with it

The conflict was in package-lock.json only (main got the npm-minor-patch
group #160). The lock file is regenerated with npm from main's lock file.

vitest 5.0.5 and @vitest/coverage-v8 5.0.5 require each other at exactly
the same version (peer dependencies), so neither update installs alone:
this branch now carries both, and #162 is included here.
Vitest 5 made its assertion types generic over <R, T> and no longer
derives them from Jest's global jest.Matchers. @testing-library/jest-dom
7.0.1 only augments those older shapes, so toBeInTheDocument and the other
matchers still work at runtime but are missing from the types, and
`tsc -b` (npm run build) failed with 898 TS2339 errors in test files.

src/types/jest-dom-vitest.d.ts adds them to Vitest's Matchers interface,
its documented extension point for custom matchers. Remove it once
jest-dom augments Matchers itself.
@anbo-de

anbo-de commented Oct 20, 2026

Copy link
Copy Markdown
Member

Conflict resolved and made installable (no merge yet):

  • Merged main (the conflict was only package-lock.json after chore(deps): bump the npm-minor-patch group with 20 updates #160); the lock file is regenerated with npm from main's.
  • Includes chore(deps-dev): bump @vitest/coverage-v8 from 4.1.11 to 5.0.5 #162: vitest 5.0.5 and @vitest/coverage-v8 5.0.5 require each other at exactly the same version, so neither PR installs on its own. This branch carries both.
  • Vitest 5 changed its assertion types to Assertion<R, T> and no longer derives them from jest.Matchers; @testing-library/jest-dom 7.0.1 still augments the old shapes, so npm run build (tsc -b) failed with 898 TS2339 errors in test files (toBeInTheDocument etc.). New src/types/jest-dom-vitest.d.ts adds the jest-dom matchers to Vitest's Matchers interface (documented in src/types/README.adoc); remove it once jest-dom supports Vitest 5.

Local check on 5be44fd: npm ci, npm run build, npm run lint, npm run test:coverage (259 files, 2,941 tests, coverage gates met) and the CI depcheck step all pass.

@anbo-de
anbo-de merged commit f097c7d into main Oct 26, 2026
10 checks passed
anbo-de added a commit that referenced this pull request Oct 26, 2026
chore(deps-dev): vitest 5, @vitest/coverage-v8 5 and vite-plugin-pwa 2 (#161, #162, #158)
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/vitest-5.0.5 branch October 26, 2026 21:10
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