Repository navigation
Bump @vitest/mocker and vitest - #6
Closed
dependabot[bot] wants to merge 1 commit into
Closed
dependabot[bot] wants to merge 1 commit into
dependabot[bot] wants to merge 1 commit into
Conversation
Bumps [@vitest/mocker](https://github.com/vitest-dev/vitest/tree/HEAD/packages/mocker) to 5.0.0 and updates ancestor dependency [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest). These dependencies need to be updated together. Updates `@vitest/mocker` 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/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: 5.0.0 dependency-type: indirect - dependency-name: vitest dependency-version: 5.0.0 dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 66f0d74. Configure here.
| "tsx": "^4.19.0", | ||
| "typescript": "^5.6.0", | ||
| "vitest": "^2.1.0" | ||
| "vitest": "^5.0.0" |
There was a problem hiding this comment.
Vitest 5 requires Node 22
High Severity
vitest 5.0.0 requires Node.js 22.12 or later, but engines still allows Node 20.10+ and CI runs npm test on Node 20. The TypeScript test job will fail to start, so the suite never runs on the project's supported runtime.
Additional Locations (1)
Reviewed by Cursor Bugbot for commit 66f0d74. Configure here.
Author
|
Looks like these dependencies are up-to-date now, so this is no longer needed. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Bumps @vitest/mocker to 5.0.0 and updates ancestor dependency vitest. These dependencies need to be updated together.
Updates
@vitest/mockerfrom 2.1.9 to 5.0.0Release notes
Sourced from @vitest/mocker's releases.
... (truncated)
Commits
f441c6fchore: release v5.0.0 (#11130)897f51fchore: release v5.0.0-rc.4 (#11107)7db80dcchore: release v5.0.0-rc.3 (#11089)732df2cfix(deps): update all non-major dependencies (#11043)1e9f80eperf(vm): don't prewarm modules the worker never requests (#11033)af83d1bchore: release v5.0.0-rc.2 (#10976)8ff9b9afix(mocker): restrict redirect mocks to the fs allowlist (#10972)65263d7fix(deps): update all non-major dependencies (#10966)a7fa111chore: release v5.0.0-rc.1 (#10920)0553851chore: add Knip checks (#10847)Maintainer changes
This version was pushed to npm by GitHub Actions, a new releaser for
@vitest/mockersince your current version.Updates
vitestfrom 2.1.9 to 5.0.0Release notes
Sourced from vitest's releases.
... (truncated)
Commits
f441c6fchore: release v5.0.0 (#11130)d46a747fix: treat test.describe as a suite during static collection (#11128)584cf30fix: add a warning if inline project has duplicate plugins due to unexpected ...f08ce4bfix: apply queued mocks from doMock() in queue order (fixes #10706) (#11127)897f51fchore: release v5.0.0-rc.4 (#11107)1339b06chore(deps): update all non-major dependencies (#11104)51e9494feat!: parse files statically in vitest list by default (#11088)2122ffdfix: propagate --maxWorkers to projects (#11102)dc10f5ffix(browser): report the action error when a task times out (#11101)d4fe198feat: promote clearCache out of experimental (#11086)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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill 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.
Note
Medium Risk
Major test-runner upgrade with new Node/Vite engine requirements;
engines.nodeis unchanged, so Node 20 environments may fail until engines or CI are aligned.Overview
Upgrades the devDependency
vitestfrom^2.1.0to^5.0.0inpackage.jsonand refreshespackage-lock.jsonaccordingly. The lockfile shift pulls in Vitest 5’s toolchain (e.g. Vite 8, rolldown instead of Rollup for bundling, updated chai / @vitest/mocker). No test sources or Vitest config files are changed in this PR.CI and local
npm teststill runvitest runagainsttests/covenant.test.ts, which only uses standarddescribe/it/expectAPIs. Reviewers should confirm tests pass on a Node version Vitest 5 supports (Vitest 5 expects Node ^22.12 or newer per the resolved package metadata), which is stricter than the package’s currentengines.nodeof>=20.10.0.Reviewed by Cursor Bugbot for commit 66f0d74. Bugbot is set up for automated code reviews on this repo. Configure here.