Skip to content

build(deps-dev): bump vitest from 4.1.11 to 5.0.2 in the vitest group across 1 directory - #81

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

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

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 27, 2026 •

Copy link
Copy Markdown
Contributor

Bumps the vitest group with 1 update in the / directory: vitest.

Updates vitest from 4.1.11 to 5.0.2

Release notes

Sourced from vitest's releases.

v5.0.2

   🐞 Bug Fixes

    View changes on GitHub

v5.0.1

   🚀 Features

   🐞 Bug Fixes

... (truncated)

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Sep 27, 2026
@dependabot dependabot Bot changed the title build(deps-dev): bump vitest from 4.1.11 to 5.0.1 in the vitest group build(deps-dev): bump vitest from 4.1.11 to 5.0.1 in the vitest group across 1 directory Sep 27, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/vitest-35be175f02 branch 7 times, most recently from 9f3ce54 to c2da82c Compare September 27, 2026 10:40
@CallumHoward

Copy link
Copy Markdown
Owner

Holding this until @testing-library/jest-dom ships vitest 5 types (testing-library/jest-dom#742, open).

CI fails for two reasons:

  1. The group only bumped vitest; @vitest/coverage-v8 stayed on ^4.1.11, so the new pnpm peers check step fails. Both 5.0.1 versions were published together, so this looks like a Dependabot grouping miss.
  2. With peers aligned, tsc fails with TS2428. Vitest 5's Assertion gained a second type parameter (Assertion<R extends void | Promise<void> = void, T = unknown>), and both vitest-setup.ts and jest-dom 7.0.1's types/vitest.d.ts still declare the old shape.

A working prototype (all checks pass, 21/21 tests) needs:

  • @vitest/coverage-v8 → ^5.0.1
  • vitest-setup.ts: interface Assertion<R extends void | Promise<void> = void, T = unknown>
  • A pnpm patch of jest-dom 7.0.1 making the same change in types/vitest.d.ts, plus a patchedDependencies entry

Patching a third-party .d.ts is fragile, so I'd rather wait for the upstream release than carry the patch.

@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/vitest-35be175f02 branch from c2da82c to 103ed1c Compare September 28, 2026 03:27
@CallumHoward
CallumHoward requested a balanced review from Copilot October 2, 2026 17:38

Copilot AI 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.

Copilot review overview

🟡 Changes recommended

The coverage provider remains on Vitest 4 and will fail CI’s peer-dependency check.

Review effort: Balanced
Findings: 1 High severity

Open (1)
What changed in this PR

Upgrades Vitest from 4.1.11 to 5.0.1.

Changes:

  • Updates the Vitest dependency.
  • Refreshes Vitest’s lockfile dependency graph.
File Description
package.json Bumps Vitest to 5.0.1.
pnpm-lock.yaml Resolves Vitest 5 dependencies.
Files not reviewed (1)
  • pnpm-lock.yaml: Generated file

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread package.json Outdated
"typescript": "npm:@typescript/typescript6@^6.0.2",
"vite": "^8.3.0",
"vitest": "^4.1.11",
"vitest": "^5.0.1",
@dependabot dependabot Bot changed the title build(deps-dev): bump vitest from 4.1.11 to 5.0.1 in the vitest group across 1 directory build(deps-dev): bump vitest from 4.1.11 to 5.0.2 in the vitest group across 1 directory Oct 2, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/vitest-35be175f02 branch from 103ed1c to 21e5bb4 Compare October 2, 2026 22:56
Bumps the vitest group with 1 update in the / directory: [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest).


Updates `vitest` from 4.1.11 to 5.0.2
- [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.2/packages/vitest)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/vitest-35be175f02 branch from 21e5bb4 to a74bab1 Compare October 2, 2026 23:09
@dependabot @github

dependabot Bot commented on behalf of github Oct 4, 2026

Copy link
Copy Markdown
Contributor Author

Looks like vitest is no longer updatable, so this is no longer needed.

@dependabot dependabot Bot closed this Oct 4, 2026
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/vitest-35be175f02 branch October 4, 2026 01:34
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.

2 participants