Skip to content

build(deps): bump @vitest/mocker and vitest in /app - #209

Closed
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/app/multi-27d25d0ce1
Closed

build(deps): bump @vitest/mocker and vitest in /app#209
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/app/multi-27d25d0ce1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 9, 2026

Copy link
Copy Markdown

Removes @vitest/mocker. It's no longer used after updating ancestor dependency vitest. These dependencies need to be updated together.

Removes @vitest/mocker

Updates vitest from 2.1.9 to 5.0.0

Release notes

Sourced from vitest's releases.

v5.0.0

Vitest 5 is officially out! This release focuses on performance and brings a lot of new features while fixing long-standing bugs. See our blog post for the official announcement.

   🚨 Breaking Changes

... (truncated)

Commits
  • f441c6f chore: release v5.0.0 (#11130)
  • d46a747 fix: treat test.describe as a suite during static collection (#11128)
  • 584cf30 fix: add a warning if inline project has duplicate plugins due to unexpected ...
  • f08ce4b fix: apply queued mocks from doMock() in queue order (fixes #10706) (#11127)
  • 897f51f chore: release v5.0.0-rc.4 (#11107)
  • 1339b06 chore(deps): update all non-major dependencies (#11104)
  • 51e9494 feat!: parse files statically in vitest list by default (#11088)
  • 2122ffd fix: propagate --maxWorkers to projects (#11102)
  • dc10f5f fix(browser): report the action error when a task times out (#11101)
  • d4fe198 feat: promote clearCache out of experimental (#11086)
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for vitest since your current version.


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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Removes [@vitest/mocker](https://github.com/vitest-dev/vitest/tree/HEAD/packages/mocker). It's no longer used after updating ancestor dependency [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest). These dependencies need to be updated together.


Removes `@vitest/mocker`

Updates `vitest` from 2.1.9 to 5.0.0
- [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.0/packages/vitest)

---
updated-dependencies:
- dependency-name: "@vitest/mocker"
  dependency-version:
  dependency-type: indirect
- dependency-name: vitest
  dependency-version: 5.0.0
  dependency-type: direct:development
...

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 Sep 9, 2026

@obvious-autobuild-staging obvious-autobuild-staging Bot 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.

Obvious Code Review

Verdict: COMMENT

Summary

  • Blocker: 1
  • High: 1
  • Medium: 0

npm ci fails on this PR's lockfile — npm arborist crashes (TypeError: Cannot read properties of null (reading 'edgesOut') in #loadPeerSet) while resolving node_modules/vitest on npm 10.8.2 / Node 20.20.2, the same toolchain CI uses. Reproduced locally on the PR head; master installs clean on the same machine. The repo's ci job on this PR is already failing at the same step (13s). Root cause: vitest 5.0.0 declares a non-optional peer vite ^6.4.0 || ^7.0.0 || ^8.0.0 while the repo pins vite ^5.4.11. vitest 5.0.0 additionally requires Node ^22.12.0 || ^24.0.0 || >=26.0.0 (CI pins Node 20). Treat vitest 2 → 5 as a coordinated toolchain bump (vite + Node + suite migration), not a standalone dependabot bump.


View full review in Obvious

Comment thread app/package-lock.json
"typescript-eslint": "^8.18.0",
"vite": "^5.4.11",
"vitest": "^2.1.8"
"vitest": "^5.0.0"

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.

Blocker · reliability — This lockfile cannot install. npm ci exits 1 on npm 10.8.2 / Node 20.20.2 (the toolchain CI uses) with an arborist crash — TypeError: Cannot read properties of null (reading 'edgesOut') in #loadPeerSet, resolving node_modules/vitest; master installs clean on the same machine. The lockfile encodes vitest 5.0.0's non-optional vite ^6.4.0 || ^7.0.0 || ^8.0.0 peer against the repo's pinned vite ^5.4.11 — an internally inconsistent tree, and the repo's ci job on this PR already fails at this step. Regenerate against a version set that resolves (npm 10, Node 20), or close in favor of a coordinated bump; verify with npm ci && npm test.

Comment thread app/package.json
"typescript-eslint": "^8.18.0",
"vite": "^5.4.11",
"vitest": "^2.1.8"
"vitest": "^5.0.0"

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.

High · reliability — vitest 5.0.0 is incompatible with the pinned toolchain: it requires Node ^22.12.0 || ^24.0.0 || >=26.0.0 (CI pins node-version: 20, @types/node is ^20) and vite ^6.4.0+ (this repo pins vite ^5.4.11). A 2 → 5 jump also needs test/config migration this diff doesn't include (the vitest config still lives in vite.config.ts's test block; all 346 tests are untouched). Scope the bump to the latest compatible release on the current toolchain, or land vitest 5 as a coordinated PR: vite ^6/^7, CI Node 22, matching @types/node, and a green full suite.

@dboskovic dboskovic closed this Sep 9, 2026
@dependabot @github

dependabot Bot commented on behalf of github Sep 9, 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 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/app/multi-27d25d0ce1 branch September 9, 2026 22:39
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