chore(deps-dev): bump vitest from 1.6.1 to 4.0.18#14
chore(deps-dev): bump vitest from 1.6.1 to 4.0.18#14dependabot[bot] wants to merge 1 commit intomainfrom
Conversation
There was a problem hiding this comment.
1 issue found across 1 file
Prompt for AI agents (unresolved issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="package.json">
<violation number="1" location="package.json:69">
P1: Vitest 4.0 requires Node.js >= 20.0.0, but the project's `engines` field allows Node >= 18.0.0. This version bump will break tests for anyone running Node 18 or 19, which the project currently supports. Either bump the `engines.node` requirement to `>=20.0.0`, or keep vitest at a compatible version.
Additionally, this is a jump across three major versions (1.x → 4.x), which includes significant breaking changes to mocking behavior, coverage configuration (`coverage.all` removed), test exclusion defaults, and more. The test suite and `vitest.config.ts` should be validated against the [migration guide](https://vitest.dev/guide/migration.html).</violation>
</file>
Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.
| "tsx": "^4.7.0", | ||
| "typescript": "^5.3.0", | ||
| "vitest": "^1.2.0" | ||
| "vitest": "^4.0.18" |
There was a problem hiding this comment.
P1: Vitest 4.0 requires Node.js >= 20.0.0, but the project's engines field allows Node >= 18.0.0. This version bump will break tests for anyone running Node 18 or 19, which the project currently supports. Either bump the engines.node requirement to >=20.0.0, or keep vitest at a compatible version.
Additionally, this is a jump across three major versions (1.x → 4.x), which includes significant breaking changes to mocking behavior, coverage configuration (coverage.all removed), test exclusion defaults, and more. The test suite and vitest.config.ts should be validated against the migration guide.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At package.json, line 69:
<comment>Vitest 4.0 requires Node.js >= 20.0.0, but the project's `engines` field allows Node >= 18.0.0. This version bump will break tests for anyone running Node 18 or 19, which the project currently supports. Either bump the `engines.node` requirement to `>=20.0.0`, or keep vitest at a compatible version.
Additionally, this is a jump across three major versions (1.x → 4.x), which includes significant breaking changes to mocking behavior, coverage configuration (`coverage.all` removed), test exclusion defaults, and more. The test suite and `vitest.config.ts` should be validated against the [migration guide](https://vitest.dev/guide/migration.html).</comment>
<file context>
@@ -66,7 +66,7 @@
"tsx": "^4.7.0",
"typescript": "^5.3.0",
- "vitest": "^1.2.0"
+ "vitest": "^4.0.18"
},
"packageManager": "pnpm@10.28.2",
</file context>
Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) from 1.6.1 to 4.0.18. - [Release notes](https://github.com/vitest-dev/vitest/releases) - [Commits](https://github.com/vitest-dev/vitest/commits/v4.0.18/packages/vitest) --- updated-dependencies: - dependency-name: vitest dependency-version: 4.0.18 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
dc05982 to
90c2706
Compare
Bumps vitest from 1.6.1 to 4.0.18.
Release notes
Sourced from vitest's releases.
... (truncated)
Commits
4d3e3c6chore: release v4.0.18ea837defeat(experimental): addonModuleRunnerhook toworker.init(#9286)e057281fix: usemeta.urlincreateRequire(#9441)dd54e94chore: release v4.0.1759f92d4fix(fsModuleCache): add importers alongside importedModules (#9423)751364efix(fsModuleCache): don't store importers in cache (#9422)4b67fc2fix: typo in browser.provider error (#9394)40841fffix: handle null options inaddEventHandler#9371 (#9372)200dadbfix(pool): handle worker start failures gracefully (#9337)1500654fix(browser): supportfileParallelismon an instance (#9328)Maintainer changes
This version was pushed to npm by [GitHub Actions](https://www.npmjs.com/~GitHub Actions), a new releaser for vitest since your current version.
You can trigger a rebase of this PR 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)Summary by cubic
Upgrade
vitestto v4 (package range^4.1.0) for the latest fixes and features in our test runner. Dev-only change with no runtime impact.vitestconfig or CLI flags if deprecations appear.Written for commit 90c2706. Summary will update on new commits.