Skip to content

Bump vitest from 4.1.8 to 5.0.0 - #346

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

Bump vitest from 4.1.8 to 5.0.0#346
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/vitest-4.1.10

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 13, 2026

Copy link
Copy Markdown
Contributor

Bumps vitest from 4.1.8 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


Note

Medium Risk
Major Vitest upgrade can change test outcomes (default mock clearing and other v5 breaking changes) and may require Node 22.12+ where engines still allow Node 20.

Overview
Upgrades Vitest from ^4.1.8 to ^5.0.0 in the repo root and packages/api, with a refreshed pnpm-lock.yaml that resolves Vitest 5 and its updated transitive graph (slimmer @vitest/* surface, bumped helpers like tinybench/std-env, and lockfile churn such as dropped standalone rollup/vite entries tied to the old Vitest install).

No application or Vitest config files change in this PR—the existing root test script and packages/api/vitest.config.ts stay as-is. Reviewers should treat this as a major test-runner bump: Vitest 5 brings documented breaking behavior (e.g. mocks cleared before each test by default, stricter async assertions, config/reporting path changes) and declares Node ^22.12.0 || ^24.0.0 || >=26.0.0, which may conflict with the repo’s current engines.node cap (>=20.16.0 <24) if CI or devs still run Node 20.

Reviewed by Cursor Bugbot for commit e7d004b. Bugbot is set up for automated code reviews on this repo. Configure here.

@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Aug 13, 2026
@dependabot
dependabot Bot requested a review from aamoghS as a code owner August 13, 2026 12:44
@github-actions

Copy link
Copy Markdown
Contributor

@dependabot merge

@github-actions

github-actions Bot commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

Scorecard details
PackageVersionScoreDetails
npm/@jridgewell/sourcemap-codec 1.6.0 UnknownUnknown
npm/@vitest/mocker 5.0.0 UnknownUnknown
npm/@vitest/spy 5.0.0 UnknownUnknown
npm/es-module-lexer 2.3.2 🟢 4.7
Details
CheckScoreReason
Packaging⚠️ -1packaging workflow not detected
Maintained🟢 1020 commit(s) and 7 issue activity found in the last 90 days -- score normalized to 10
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
Code-Review🟢 4Found 12/30 approved changesets -- score normalized to 4
Binary-Artifacts🟢 10no binaries found in the repo
Pinned-Dependencies⚠️ 0dependency not pinned by hash detected -- score normalized to 0
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
License🟢 10license file detected
Signed-Releases⚠️ -1no releases found
Branch-Protection⚠️ -1internal error: error during branchesHandler.setup: internal error: some github tokens can't read classic branch protection rules: https://github.com/ossf/scorecard-action/blob/main/docs/authentication/fine-grained-auth-token.md
Security-Policy⚠️ 0security policy file not detected
Fuzzing⚠️ 0project is not fuzzed
SAST⚠️ 0SAST tool is not run on all commits -- score normalized to 0
npm/expect-type 1.4.0 🟢 5.1
Details
CheckScoreReason
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Maintained🟢 79 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 7
Packaging⚠️ -1packaging workflow not detected
Pinned-Dependencies⚠️ 1dependency not pinned by hash detected -- score normalized to 1
Code-Review🟢 3Found 10/27 approved changesets -- score normalized to 3
Binary-Artifacts🟢 10no binaries found in the repo
Security-Policy🟢 10security policy file detected
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
Fuzzing⚠️ 0project is not fuzzed
License🟢 9license file detected
Signed-Releases⚠️ -1no releases found
Branch-Protection🟢 6branch protection is not maximal on development and all release branches
SAST⚠️ 0SAST tool is not run on all commits -- score normalized to 0
npm/magic-string 1.2.3 🟢 4.5
Details
CheckScoreReason
Packaging⚠️ -1packaging workflow not detected
Maintained🟢 1027 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
Code-Review🟢 7Found 21/30 approved changesets -- score normalized to 7
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Binary-Artifacts🟢 10no binaries found in the repo
Pinned-Dependencies⚠️ 0dependency not pinned by hash detected -- score normalized to 0
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Security-Policy⚠️ 0security policy file not detected
License🟢 10license file detected
Fuzzing⚠️ 0project is not fuzzed
Signed-Releases⚠️ -1no releases found
Branch-Protection⚠️ 0branch protection not enabled on development/release branches
SAST⚠️ 0SAST tool is not run on all commits -- score normalized to 0
npm/obug 2.1.4 UnknownUnknown
npm/picomatch 4.0.7 🟢 6.7
Details
CheckScoreReason
Maintained🟢 1029 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 10
Packaging⚠️ -1packaging workflow not detected
Code-Review🟢 3Found 6/16 approved changesets -- score normalized to 3
Token-Permissions🟢 10GitHub workflow tokens follow principle of least privilege
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Binary-Artifacts🟢 10no binaries found in the repo
Pinned-Dependencies🟢 6dependency not pinned by hash detected -- score normalized to 6
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Fuzzing⚠️ 0project is not fuzzed
License🟢 10license file detected
Signed-Releases⚠️ -1no releases found
Branch-Protection⚠️ 0branch protection not enabled on development/release branches
Security-Policy🟢 10security policy file detected
SAST🟢 6SAST tool is not run on all commits -- score normalized to 6
npm/std-env 4.2.0 UnknownUnknown
npm/tinybench 6.1.4 UnknownUnknown
npm/tinyexec 1.3.0 UnknownUnknown
npm/tinyglobby 0.2.17 UnknownUnknown
npm/vitest 5.0.0 UnknownUnknown
npm/vitest ^5.0.0 UnknownUnknown

Scanned Files

  • packages/api/package.json
  • pnpm-lock.yaml

@dependabot @github

dependabot Bot commented on behalf of github Aug 17, 2026

Copy link
Copy Markdown
Contributor Author

Dependabot can't parse your pnpm-lock.yaml. Because of this, Dependabot cannot update this pull request.

@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/vitest-4.1.10 branch from 09a22a2 to 0071282 Compare August 18, 2026 19:56
@github-actions

Copy link
Copy Markdown
Contributor

@dependabot merge

@cursor cursor Bot 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.

Stale Bugbot comment from a previous run.

Comment thread pnpm-lock.yaml

xlsx@https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz:
resolution: {integrity: sha512-oLDq3jw7AcLqKWH2AhCpVTZl8mf6X2YReP+Neh0SJUzV/BdZYjth94tG5toiMB1PPrYtxOCfaoUCkvtuH+3AJA==, tarball: https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz}
resolution: {tarball: https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lockfile drops xlsx integrity

Medium Severity

Updating vitest rewrote the lockfile and removed the integrity hash from the remote xlsx tarball resolution. With pnpm@10.33.2, installs can proceed without verifying that CDN package. On newer pnpm, --frozen-lockfile installs may fail with ERR_PNPM_MISSING_TARBALL_INTEGRITY.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 0071282. Configure here.

@dependabot @github

dependabot Bot commented on behalf of github Sep 6, 2026

Copy link
Copy Markdown
Contributor Author

Dependabot tried to update this pull request, but something went wrong. We're looking into it, but in the meantime you can retry the update by commenting @dependabot recreate.

Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) from 4.1.8 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
  dependency-version: 4.1.10
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title Bump vitest from 4.1.8 to 4.1.10 Bump vitest from 4.1.8 to 5.0.0 Sep 6, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/vitest-4.1.10 branch from 0071282 to e7d004b Compare September 6, 2026 19:29
@github-actions

github-actions Bot commented Sep 6, 2026

Copy link
Copy Markdown
Contributor

@dependabot merge

@cursor cursor Bot 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.

Cursor Bugbot has reviewed your changes using default effort and found 2 potential issues.

There are 3 total unresolved issues (including 1 from previous review).

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit e7d004b. Configure here.

Comment thread package.json
"devDependencies": {
"turbo": "^2.9.14",
"vitest": "^4.1.8"
"vitest": "^5.0.0"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Vitest 5 needs Node 22

High Severity

vitest 5 requires Node ^22.12.0, but the repo still targets Node 20: engines is >=20.16.0 <24, .nvmrc pins 20, and the test workflow runs node-version: "20". pnpm test on the documented and CI Node version is unsupported and will fail.

Additional Locations (2)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit e7d004b. Configure here.

Comment thread package.json
"devDependencies": {
"turbo": "^2.9.14",
"vitest": "^4.1.8"
"vitest": "^5.0.0"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing required Vite peer

High Severity

vitest 5 lists vite@^7.3.5 as a required peer, but vite was dropped from the lockfile and is not a direct dependency. With auto-install-peers=false, the leftover pnpm override does not install it, so vitest cannot resolve vite and the suite cannot start.

Additional Locations (2)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit e7d004b. Configure here.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants