vite 5.0.0-beta.1 → 5.0.0-beta.3
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 +36 -2
- package/client.d.ts +8 -56
- package/dist/client/client.mjs.map +1 -1
- package/dist/client/env.mjs.map +1 -1
- package/dist/node/chunks/{dep-c457d7ce.js → dep-68c42983.js} +1 -1
- package/dist/node/chunks/{dep-6db0c752.js → dep-9586b1f1.js} +1 -1
- package/dist/node/chunks/{dep-e31699fa.js → dep-dc9999ab.js} +1978 -1431
- package/dist/node/cli.js +12 -8
- package/dist/node/index.d.ts +7 -58
- package/dist/node/index.js +4 -3
- package/dist/node-cjs/publicUtils.cjs +364 -82
- package/index.cjs +14 -0
- package/index.d.cts +6 -0
- package/package.json +36 -29
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.3",
|
|
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,28 +61,29 @@
|
|
|
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",
|
|
86
|
+
"acorn-import-assertions": "^1.9.0",
|
|
80
87
|
"acorn-walk": "^8.2.0",
|
|
81
88
|
"cac": "^6.7.14",
|
|
82
89
|
"chokidar": "^3.5.3",
|
|
@@ -88,8 +95,8 @@
|
|
|
88
95
|
"debug": "^4.3.4",
|
|
89
96
|
"dep-types": "link:./src/types",
|
|
90
97
|
"dotenv": "^16.3.1",
|
|
91
|
-
"dotenv-expand": "^
|
|
92
|
-
"es-module-lexer": "^1.3.
|
|
98
|
+
"dotenv-expand": "^10.0.0",
|
|
99
|
+
"es-module-lexer": "^1.3.1",
|
|
93
100
|
"escape-html": "^1.0.3",
|
|
94
101
|
"estree-walker": "^3.0.3",
|
|
95
102
|
"etag": "^1.8.1",
|
|
@@ -97,31 +104,31 @@
|
|
|
97
104
|
"http-proxy": "^1.18.1",
|
|
98
105
|
"json-stable-stringify": "^1.0.2",
|
|
99
106
|
"launch-editor-middleware": "^2.6.0",
|
|
100
|
-
"lightningcss": "^1.
|
|
101
|
-
"magic-string": "^0.30.
|
|
107
|
+
"lightningcss": "^1.22.0",
|
|
108
|
+
"magic-string": "^0.30.3",
|
|
102
109
|
"micromatch": "^4.0.5",
|
|
103
|
-
"mlly": "^1.4.
|
|
110
|
+
"mlly": "^1.4.2",
|
|
104
111
|
"mrmime": "^1.0.1",
|
|
105
112
|
"okie": "^1.0.1",
|
|
106
113
|
"open": "^8.4.2",
|
|
107
114
|
"parse5": "^7.1.2",
|
|
108
|
-
"periscopic": "^
|
|
115
|
+
"periscopic": "^4.0.2",
|
|
109
116
|
"picocolors": "^1.0.0",
|
|
110
117
|
"picomatch": "^2.3.1",
|
|
111
118
|
"postcss-import": "^15.1.0",
|
|
112
119
|
"postcss-load-config": "^4.0.1",
|
|
113
120
|
"postcss-modules": "^6.0.0",
|
|
114
121
|
"resolve.exports": "^2.0.2",
|
|
115
|
-
"rollup-plugin-license": "^3.0
|
|
122
|
+
"rollup-plugin-license": "^3.1.0",
|
|
116
123
|
"sirv": "^2.0.3",
|
|
117
124
|
"source-map-support": "^0.5.21",
|
|
118
125
|
"strip-ansi": "^7.1.0",
|
|
119
126
|
"strip-literal": "^1.3.0",
|
|
120
|
-
"tsconfck": "^
|
|
121
|
-
"tslib": "^2.6.
|
|
127
|
+
"tsconfck": "^3.0.0-next.8",
|
|
128
|
+
"tslib": "^2.6.2",
|
|
122
129
|
"types": "link:./types",
|
|
123
|
-
"ufo": "^1.
|
|
124
|
-
"ws": "^8.
|
|
130
|
+
"ufo": "^1.3.0",
|
|
131
|
+
"ws": "^8.14.2"
|
|
125
132
|
},
|
|
126
133
|
"peerDependencies": {
|
|
127
134
|
"@types/node": "^18.0.0 || >=20.0.0",
|