vite 5.0.0-beta.2 → 5.0.0-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +29 -2
- package/dist/client/client.mjs.map +1 -1
- package/dist/client/env.mjs.map +1 -1
- package/dist/node/chunks/{dep-82f73734.js → dep-69dc786c.js} +548 -545
- package/dist/node/chunks/{dep-13ae786e.js → dep-a86a117b.js} +1 -1
- package/dist/node/chunks/{dep-5c5f3875.js → dep-ae1dfb84.js} +1 -1
- package/dist/node/cli.js +11 -7
- package/dist/node/index.d.ts +20 -57
- package/dist/node/index.js +3 -2
- package/dist/node-cjs/publicUtils.cjs +110 -78
- package/index.cjs +14 -0
- package/index.d.cts +6 -0
- package/package.json +33 -27
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vite",
|
|
3
|
-
"version": "5.0.0-beta.
|
|
3
|
+
"version": "5.0.0-beta.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Evan You",
|
|
@@ -20,9 +20,14 @@
|
|
|
20
20
|
"types": "./dist/node/index.d.ts",
|
|
21
21
|
"exports": {
|
|
22
22
|
".": {
|
|
23
|
-
"
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
"import": {
|
|
24
|
+
"types": "./dist/node/index.d.ts",
|
|
25
|
+
"default": "./dist/node/index.js"
|
|
26
|
+
},
|
|
27
|
+
"require": {
|
|
28
|
+
"types": "./index.d.cts",
|
|
29
|
+
"default": "./index.cjs"
|
|
30
|
+
}
|
|
26
31
|
},
|
|
27
32
|
"./client": {
|
|
28
33
|
"types": "./client.d.ts"
|
|
@@ -38,6 +43,7 @@
|
|
|
38
43
|
"dist",
|
|
39
44
|
"client.d.ts",
|
|
40
45
|
"index.cjs",
|
|
46
|
+
"index.d.cts",
|
|
41
47
|
"types"
|
|
42
48
|
],
|
|
43
49
|
"engines": {
|
|
@@ -55,27 +61,27 @@
|
|
|
55
61
|
"funding": "https://github.com/vitejs/vite?sponsor=1",
|
|
56
62
|
"//": "READ CONTRIBUTING.md to understand what to put under deps vs. devDeps!",
|
|
57
63
|
"dependencies": {
|
|
58
|
-
"esbuild": "^0.
|
|
59
|
-
"postcss": "^8.4.
|
|
60
|
-
"rollup": "^3.
|
|
64
|
+
"esbuild": "^0.19.3",
|
|
65
|
+
"postcss": "^8.4.30",
|
|
66
|
+
"rollup": "^3.29.2"
|
|
61
67
|
},
|
|
62
68
|
"optionalDependencies": {
|
|
63
|
-
"fsevents": "~2.3.
|
|
69
|
+
"fsevents": "~2.3.3"
|
|
64
70
|
},
|
|
65
71
|
"devDependencies": {
|
|
66
72
|
"@ampproject/remapping": "^2.2.1",
|
|
67
|
-
"@babel/parser": "^7.22.
|
|
68
|
-
"@babel/types": "^7.22.
|
|
69
|
-
"@jridgewell/trace-mapping": "^0.3.
|
|
70
|
-
"@rollup/plugin-alias": "^
|
|
71
|
-
"@rollup/plugin-commonjs": "^25.0.
|
|
72
|
-
"@rollup/plugin-dynamic-import-vars": "^2.0.
|
|
73
|
+
"@babel/parser": "^7.22.16",
|
|
74
|
+
"@babel/types": "^7.22.19",
|
|
75
|
+
"@jridgewell/trace-mapping": "^0.3.19",
|
|
76
|
+
"@rollup/plugin-alias": "^5.0.0",
|
|
77
|
+
"@rollup/plugin-commonjs": "^25.0.4",
|
|
78
|
+
"@rollup/plugin-dynamic-import-vars": "^2.0.5",
|
|
73
79
|
"@rollup/plugin-json": "^6.0.0",
|
|
74
|
-
"@rollup/plugin-node-resolve": "15.1
|
|
75
|
-
"@rollup/plugin-typescript": "^11.1.
|
|
76
|
-
"@rollup/pluginutils": "^5.0.
|
|
80
|
+
"@rollup/plugin-node-resolve": "15.2.1",
|
|
81
|
+
"@rollup/plugin-typescript": "^11.1.3",
|
|
82
|
+
"@rollup/pluginutils": "^5.0.4",
|
|
77
83
|
"@types/escape-html": "^1.0.2",
|
|
78
|
-
"@types/pnpapi": "^0.0.
|
|
84
|
+
"@types/pnpapi": "^0.0.3",
|
|
79
85
|
"acorn": "^8.10.0",
|
|
80
86
|
"acorn-import-assertions": "^1.9.0",
|
|
81
87
|
"acorn-walk": "^8.2.0",
|
|
@@ -89,8 +95,8 @@
|
|
|
89
95
|
"debug": "^4.3.4",
|
|
90
96
|
"dep-types": "link:./src/types",
|
|
91
97
|
"dotenv": "^16.3.1",
|
|
92
|
-
"dotenv-expand": "^
|
|
93
|
-
"es-module-lexer": "^1.3.
|
|
98
|
+
"dotenv-expand": "^10.0.0",
|
|
99
|
+
"es-module-lexer": "^1.3.1",
|
|
94
100
|
"escape-html": "^1.0.3",
|
|
95
101
|
"estree-walker": "^3.0.3",
|
|
96
102
|
"etag": "^1.8.1",
|
|
@@ -98,10 +104,10 @@
|
|
|
98
104
|
"http-proxy": "^1.18.1",
|
|
99
105
|
"json-stable-stringify": "^1.0.2",
|
|
100
106
|
"launch-editor-middleware": "^2.6.0",
|
|
101
|
-
"lightningcss": "^1.
|
|
102
|
-
"magic-string": "^0.30.
|
|
107
|
+
"lightningcss": "^1.22.0",
|
|
108
|
+
"magic-string": "^0.30.3",
|
|
103
109
|
"micromatch": "^4.0.5",
|
|
104
|
-
"mlly": "^1.4.
|
|
110
|
+
"mlly": "^1.4.2",
|
|
105
111
|
"mrmime": "^1.0.1",
|
|
106
112
|
"okie": "^1.0.1",
|
|
107
113
|
"open": "^8.4.2",
|
|
@@ -113,16 +119,16 @@
|
|
|
113
119
|
"postcss-load-config": "^4.0.1",
|
|
114
120
|
"postcss-modules": "^6.0.0",
|
|
115
121
|
"resolve.exports": "^2.0.2",
|
|
116
|
-
"rollup-plugin-license": "^3.0
|
|
122
|
+
"rollup-plugin-license": "^3.1.0",
|
|
117
123
|
"sirv": "^2.0.3",
|
|
118
124
|
"source-map-support": "^0.5.21",
|
|
119
125
|
"strip-ansi": "^7.1.0",
|
|
120
126
|
"strip-literal": "^1.3.0",
|
|
121
127
|
"tsconfck": "^3.0.0-next.8",
|
|
122
|
-
"tslib": "^2.6.
|
|
128
|
+
"tslib": "^2.6.2",
|
|
123
129
|
"types": "link:./types",
|
|
124
|
-
"ufo": "^1.
|
|
125
|
-
"ws": "^8.
|
|
130
|
+
"ufo": "^1.3.0",
|
|
131
|
+
"ws": "^8.14.2"
|
|
126
132
|
},
|
|
127
133
|
"peerDependencies": {
|
|
128
134
|
"@types/node": "^18.0.0 || >=20.0.0",
|