Skip to content

Commit 7abe854

Browse files
authored
feat!: support Vite 6 (#7026)
1 parent 82c2e24 commit 7abe854

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

packages/vite-node/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
"dist"
7575
],
7676
"engines": {
77-
"node": "^18.0.0 || >=20.0.0"
77+
"node": "^18.0.0 || ^20.0.0 || >=22.0.0"
7878
},
7979
"scripts": {
8080
"build": "rimraf dist && rollup -c",
@@ -86,7 +86,7 @@
8686
"debug": "^4.3.7",
8787
"es-module-lexer": "^1.5.4",
8888
"pathe": "^1.1.2",
89-
"vite": "^5.0.0"
89+
"vite": "^5.0.0 || ^6.0.0"
9090
},
9191
"devDependencies": {
9292
"@jridgewell/trace-mapping": "^0.3.25",

packages/vitest/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,15 +115,15 @@
115115
"dist"
116116
],
117117
"engines": {
118-
"node": "^18.0.0 || >=20.0.0"
118+
"node": "^18.0.0 || ^20.0.0 || >=22.0.0"
119119
},
120120
"scripts": {
121121
"build": "rimraf dist && rollup -c",
122122
"dev": "NODE_OPTIONS=\"--max-old-space-size=8192\" rollup -c --watch -m inline"
123123
},
124124
"peerDependencies": {
125125
"@edge-runtime/vm": "*",
126-
"@types/node": "^18.0.0 || >=20.0.0",
126+
"@types/node": "^18.0.0 || ^20.0.0 || >=22.0.0",
127127
"@vitest/browser": "workspace:*",
128128
"@vitest/ui": "workspace:*",
129129
"happy-dom": "*",
@@ -167,7 +167,7 @@
167167
"tinyexec": "^0.3.1",
168168
"tinypool": "^1.0.2",
169169
"tinyrainbow": "^1.2.0",
170-
"vite": "^5.0.0",
170+
"vite": "^5.0.0 || ^6.0.0",
171171
"vite-node": "workspace:*",
172172
"why-is-node-running": "^2.3.0"
173173
},

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy