diff --git a/packages/vite-node/package.json b/packages/vite-node/package.json index dcd54174e7e2..cb27669af11f 100644 --- a/packages/vite-node/package.json +++ b/packages/vite-node/package.json @@ -74,7 +74,7 @@ "*.mjs" ], "engines": { - "node": ">=v14.18.0" + "node": "^18.0.0 || >=20.0.0" }, "scripts": { "build": "rimraf dist && rollup -c", diff --git a/packages/vitest/package.json b/packages/vitest/package.json index 82f6413d529e..7c85ff2c45e8 100644 --- a/packages/vitest/package.json +++ b/packages/vitest/package.json @@ -98,7 +98,7 @@ "*.cjs" ], "engines": { - "node": ">=v14.18.0" + "node": "^18.0.0 || >=20.0.0" }, "scripts": { "build": "rimraf dist && rollup -c", @@ -107,7 +107,7 @@ }, "peerDependencies": { "@edge-runtime/vm": "*", - "@types/node": ">= 14", + "@types/node": "^18.0.0 || >=20.0.0", "@vitest/browser": "*", "@vitest/ui": "*", "happy-dom": "*", diff --git a/packages/ws-client/package.json b/packages/ws-client/package.json index feeb29127bf6..3ca5e220a1a6 100644 --- a/packages/ws-client/package.json +++ b/packages/ws-client/package.json @@ -30,7 +30,7 @@ "*.mjs" ], "engines": { - "node": ">=v14.18.0" + "node": "^18.0.0 || >=20.0.0" }, "scripts": { "build": "rimraf dist && rollup -c", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 710c98d44cf5..b1bb06f49a9f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1329,7 +1329,7 @@ importers: packages/vitest: dependencies: '@types/node': - specifier: '>= 14' + specifier: '^18.0.0 || >=20.0.0' version: 18.16.19 '@vitest/browser': specifier: '*'