Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node_version: [20, 22, 24]
node_version: [22, 24]
include:
- os: macos-latest
node_version: 24
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Next generation testing framework powered by Vite.
- Reporting Uncaught Errors
- Run your tests in the browser natively

> Vitest requires Vite >=v6.0.0 and Node >=v20.0.0
> Vitest requires Vite >=v6.4.0 and Node >=v22.12.0
```ts
import { assert, describe, expect, it } from 'vitest'
Expand Down
2 changes: 1 addition & 1 deletion docs/guide/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ bun add -D vitest
:::

:::tip
Vitest requires Vite >=v6.0.0 and Node >=v20.0.0
Vitest requires Vite >=v6.4.0 and Node >=v22.12.0
:::

It is recommended that you install a copy of `vitest` in your `package.json`, using one of the methods listed above. However, if you would prefer to run `vitest` directly, you can use `npx vitest` (the `npx` tool comes with npm and Node.js).
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"packageManager": "pnpm@10.31.0",
"description": "Next generation testing framework powered by Vite",
"engines": {
"node": "^20.0.0 || ^22.0.0 || >=24.0.0"
"node": "^22.12.0 || ^24.0.0 || >=26.0.0"
},
"scripts": {
"ci": "ni && nr typecheck && nr lint && nr build && nr test:ci",
Expand Down
8 changes: 4 additions & 4 deletions packages/vitest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
"dist"
],
"engines": {
"node": "^20.0.0 || ^22.0.0 || >=24.0.0"
"node": "^22.12.0 || ^24.0.0 || >=26.0.0"
},
"scripts": {
"build": "premove dist && rollup -c",
Expand All @@ -116,7 +116,7 @@
"peerDependencies": {
"@edge-runtime/vm": "*",
"@opentelemetry/api": "^1.9.0",
"@types/node": "^20.0.0 || ^22.0.0 || >=24.0.0",
"@types/node": "^22.0.0 || >=24.0.0",
"@vitest/browser-playwright": "workspace:*",
"@vitest/browser-preview": "workspace:*",
"@vitest/browser-webdriverio": "workspace:*",
Expand All @@ -125,7 +125,7 @@
"@vitest/ui": "workspace:*",
"happy-dom": "*",
"jsdom": "*",
"vite": "^6.0.0 || ^7.0.0 || ^8.0.0"
"vite": "^6.4.0 || ^7.0.0 || ^8.0.0"
},
"peerDependenciesMeta": {
"@edge-runtime/vm": {
Expand Down Expand Up @@ -184,7 +184,6 @@
"tinyexec": "^1.0.2",
"tinyglobby": "catalog:",
"tinyrainbow": "catalog:",
"vite": "^6.0.0 || ^7.0.0 || ^8.0.0",
"why-is-node-running": "^2.3.0"
},
"devDependencies": {
Expand Down Expand Up @@ -217,6 +216,7 @@
"prompts": "^2.4.2",
"strip-literal": "catalog:",
"tinyhighlight": "catalog:",
"vite": "^6.4.0 || ^7.0.0 || ^8.0.0",
"ws": "catalog:"
}
}
6 changes: 3 additions & 3 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading