Skip to content

deps: bump vitest from 4.1.11 to 5.0.0 in /samples/node/token-refresh - #421

Merged
svcdevopsgit2-sa merged 2 commits into
mainfrom
dependabot/npm_and_yarn/samples/node/token-refresh/vitest-5.0.0
Sep 11, 2026
Merged

deps: bump vitest from 4.1.11 to 5.0.0 in /samples/node/token-refresh#421
svcdevopsgit2-sa merged 2 commits into
mainfrom
dependabot/npm_and_yarn/samples/node/token-refresh/vitest-5.0.0

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

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

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.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: 5.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Sep 10, 2026
@dependabot
dependabot Bot requested a review from ksroda-sa as a code owner September 10, 2026 20:28
@svcdevopsgit2-sa
svcdevopsgit2-sa enabled auto-merge (squash) September 10, 2026 20:28
vitest 5.0.0 dropped vite from its own `dependencies` and kept it only
as a non-optional peerDependency, so the Node samples — which have no
other Vite usage — could no longer start the test runner:

  Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'vite' imported from
    node_modules/vitest/dist/chunks/index.B89dZ0-N.js

Pinned to 8.2.2 to match the version the React, Vue and Angular samples
already resolve.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

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.

Pull request overview

Updates the Node token-refresh sample from Vitest 4.1.11 to 5.0.0.

Changes:

  • Adds Vite 8.2.2.
  • Refreshes transitive dependencies in the lockfile.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
samples/node/token-refresh/yarn.lock Locks the upgraded dependency graph.
samples/node/token-refresh/package.json Updates test tooling dependencies.
Suppressed comments (1)

samples/node/token-refresh/package.json:32

  • Vitest 5 declares the runtime requirement node: ^22.12.0 || ^24.0.0 || >=26.0.0, but this package has no engines constraint and the sample's README only instructs users to run yarn install. Developers on Node 20 or an older Node 22 will now get an unsupported test toolchain after following the documented setup; add the runtime constraint here and document the required Node version (or keep a Vitest version compatible with the existing prerequisite).
    "vitest": "5.0.0"

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

@svcdevopsgit2-sa
svcdevopsgit2-sa merged commit 27bd531 into main Sep 11, 2026
22 checks passed
@svcdevopsgit2-sa
svcdevopsgit2-sa deleted the dependabot/npm_and_yarn/samples/node/token-refresh/vitest-5.0.0 branch September 11, 2026 08:48
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.

4 participants