Skip to content

Commit

Permalink
fix: support Node 21
Browse files Browse the repository at this point in the history
Related #7005
  • Loading branch information
sheremet-va committed Dec 2, 2024
1 parent 81ed45b commit 92f7a2a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/vite-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
"dist"
],
"engines": {
"node": "^18.0.0 || ^20.0.0 || >=22.0.0"
"node": "^18.0.0 || >=20.0.0"
},
"scripts": {
"build": "rimraf dist && rollup -c",
Expand Down
4 changes: 2 additions & 2 deletions packages/vitest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,15 +115,15 @@
"dist"
],
"engines": {
"node": "^18.0.0 || ^20.0.0 || >=22.0.0"
"node": "^18.0.0 || >=20.0.0"
},
"scripts": {
"build": "rimraf dist && rollup -c",
"dev": "NODE_OPTIONS=\"--max-old-space-size=8192\" rollup -c --watch -m inline"
},
"peerDependencies": {
"@edge-runtime/vm": "*",
"@types/node": "^18.0.0 || ^20.0.0 || >=22.0.0",
"@types/node": "^18.0.0 || >=20.0.0",
"@vitest/browser": "workspace:*",
"@vitest/ui": "workspace:*",
"happy-dom": "*",
Expand Down

0 comments on commit 92f7a2a

Please sign in to comment.