vite 2.7.7 → 2.8.0-beta.0
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.
Potentially problematic release.
This version of vite might be problematic. Click here for more details.
- package/CHANGELOG.md +53 -0
- package/LICENSE.md +35 -864
- package/dist/client/client.mjs +1 -1
- package/dist/client/client.mjs.map +1 -1
- package/dist/node/certificate.d.ts +2 -0
- package/dist/node/chunks/{dep-2d8e2cb1.js → dep-0ebab0df.js} +2 -2
- package/dist/node/chunks/{dep-2d8e2cb1.js.map → dep-0ebab0df.js.map} +1 -1
- package/dist/node/chunks/{dep-ac1b4bf9.js → dep-2056ae8a.js} +21 -4
- package/dist/node/chunks/dep-2056ae8a.js.map +1 -0
- package/dist/node/chunks/{dep-591fce67.js → dep-372aad6a.js} +471 -4367
- package/dist/node/chunks/dep-372aad6a.js.map +1 -0
- package/dist/node/chunks/{dep-4a9cff06.js → dep-5ad1713b.js} +14398 -26609
- package/dist/node/chunks/dep-5ad1713b.js.map +1 -0
- package/dist/node/chunks/{dep-f41a1db3.js → dep-7cd25957.js} +2 -2
- package/dist/node/chunks/{dep-f41a1db3.js.map → dep-7cd25957.js.map} +1 -1
- package/dist/node/chunks/{dep-67730f16.js → dep-920a704a.js} +8568 -17936
- package/dist/node/chunks/dep-920a704a.js.map +1 -0
- package/dist/node/cli.js +14 -12
- package/dist/node/cli.js.map +1 -1
- package/dist/node/config.d.ts +19 -0
- package/dist/node/http.d.ts +5 -1
- package/dist/node/importGlob.d.ts +5 -0
- package/dist/node/index.d.ts +42 -6
- package/dist/node/index.js +3 -2
- package/dist/node/index.js.map +1 -1
- package/dist/node/plugins/html.d.ts +3 -2
- package/dist/node/server/index.d.ts +7 -0
- package/dist/node/server/moduleGraph.d.ts +5 -5
- package/dist/node/server/send.d.ts +8 -2
- package/dist/node/utils.d.ts +1 -0
- package/package.json +15 -15
- package/src/client/client.ts +2 -0
- package/types/shims.d.ts +0 -10
- package/dist/node/chunks/dep-4a9cff06.js.map +0 -1
- package/dist/node/chunks/dep-591fce67.js.map +0 -1
- package/dist/node/chunks/dep-67730f16.js.map +0 -1
- package/dist/node/chunks/dep-ac1b4bf9.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vite",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.8.0-beta.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Evan You",
|
|
6
6
|
"description": "Native-ESM powered web dev build tool",
|
|
@@ -44,7 +44,8 @@
|
|
|
44
44
|
},
|
|
45
45
|
"//": "READ CONTRIBUTING.md to understand what to put under deps vs. devDeps!",
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"esbuild": "
|
|
47
|
+
"esbuild": "0.14.3",
|
|
48
|
+
"json5": "^2.2.0",
|
|
48
49
|
"postcss": "^8.4.5",
|
|
49
50
|
"resolve": "^1.20.0",
|
|
50
51
|
"rollup": "^2.59.0"
|
|
@@ -58,58 +59,57 @@
|
|
|
58
59
|
"@babel/types": "^7.16.0",
|
|
59
60
|
"@rollup/plugin-alias": "^3.1.8",
|
|
60
61
|
"@rollup/plugin-commonjs": "^21.0.1",
|
|
61
|
-
"@rollup/plugin-dynamic-import-vars": "^1.4.
|
|
62
|
+
"@rollup/plugin-dynamic-import-vars": "^1.4.2",
|
|
62
63
|
"@rollup/plugin-json": "^4.1.0",
|
|
63
64
|
"@rollup/plugin-node-resolve": "13.1.1",
|
|
64
65
|
"@rollup/plugin-typescript": "^8.3.0",
|
|
65
66
|
"@rollup/pluginutils": "^4.1.2",
|
|
66
67
|
"@types/convert-source-map": "^1.5.2",
|
|
68
|
+
"@types/cross-spawn": "^6.0.2",
|
|
67
69
|
"@types/debug": "^4.1.7",
|
|
68
70
|
"@types/estree": "^0.0.50",
|
|
69
71
|
"@types/etag": "^1.8.1",
|
|
70
72
|
"@types/less": "^3.0.3",
|
|
71
73
|
"@types/micromatch": "^4.0.2",
|
|
72
74
|
"@types/mime": "^2.0.3",
|
|
73
|
-
"@types/node": "^16.11.
|
|
75
|
+
"@types/node": "^16.11.17",
|
|
74
76
|
"@types/resolve": "^1.20.1",
|
|
75
77
|
"@types/sass": "~1.43.1",
|
|
76
78
|
"@types/stylus": "^0.48.36",
|
|
77
79
|
"@types/ws": "^8.2.2",
|
|
78
80
|
"@vue/compiler-dom": "^3.2.26",
|
|
79
|
-
"acorn": "^8.
|
|
80
|
-
"acorn-class-fields": "^1.0.0",
|
|
81
|
-
"acorn-static-class-features": "^1.0.0",
|
|
81
|
+
"acorn": "^8.7.0",
|
|
82
82
|
"cac": "6.7.9",
|
|
83
|
-
"chalk": "^4.1.2",
|
|
84
83
|
"chokidar": "^3.5.2",
|
|
85
84
|
"compression": "^1.7.4",
|
|
86
85
|
"connect": "^3.7.0",
|
|
87
86
|
"connect-history-api-fallback": "^1.6.0",
|
|
88
87
|
"convert-source-map": "^1.8.0",
|
|
89
88
|
"cors": "^2.8.5",
|
|
89
|
+
"cross-spawn": "^7.0.3",
|
|
90
90
|
"debug": "^4.3.3",
|
|
91
91
|
"dotenv": "^10.0.0",
|
|
92
92
|
"dotenv-expand": "^5.1.0",
|
|
93
93
|
"es-module-lexer": "^0.9.3",
|
|
94
94
|
"estree-walker": "^2.0.2",
|
|
95
95
|
"etag": "^1.8.1",
|
|
96
|
-
"execa": "^5.1.1",
|
|
97
96
|
"fast-glob": "^3.2.7",
|
|
98
97
|
"http-proxy": "^1.18.1",
|
|
99
|
-
"launch-editor-middleware": "^2.
|
|
98
|
+
"launch-editor-middleware": "^2.3.0",
|
|
100
99
|
"magic-string": "^0.25.7",
|
|
101
100
|
"micromatch": "^4.0.4",
|
|
102
|
-
"
|
|
101
|
+
"mrmime": "^1.0.0",
|
|
102
|
+
"node-forge": "^0.10.0",
|
|
103
103
|
"okie": "^1.0.1",
|
|
104
104
|
"open": "^8.4.0",
|
|
105
105
|
"periscopic": "^2.0.3",
|
|
106
|
+
"picocolors": "^1.0.0",
|
|
106
107
|
"postcss-import": "^14.0.2",
|
|
107
108
|
"postcss-load-config": "^3.1.0",
|
|
108
|
-
"postcss-modules": "^4.
|
|
109
|
+
"postcss-modules": "^4.3.0",
|
|
109
110
|
"resolve.exports": "^1.1.0",
|
|
110
111
|
"rollup-plugin-license": "^2.6.0",
|
|
111
|
-
"
|
|
112
|
-
"sirv": "^1.0.19",
|
|
112
|
+
"sirv": "^2.0.0",
|
|
113
113
|
"source-map": "^0.6.1",
|
|
114
114
|
"source-map-support": "^0.5.21",
|
|
115
115
|
"strip-ansi": "^6.0.1",
|
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
"tsconfck": "1.1.1",
|
|
118
118
|
"tslib": "^2.3.1",
|
|
119
119
|
"types": "link:./types",
|
|
120
|
-
"ws": "^8.
|
|
120
|
+
"ws": "^8.4.0"
|
|
121
121
|
},
|
|
122
122
|
"peerDependencies": {
|
|
123
123
|
"less": "*",
|
package/src/client/client.ts
CHANGED
package/types/shims.d.ts
CHANGED
|
@@ -17,16 +17,6 @@ declare module 'http-proxy' {
|
|
|
17
17
|
export = proxy
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
declare module 'acorn-class-fields' {
|
|
21
|
-
const plugin: any
|
|
22
|
-
export = plugin
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
declare module 'acorn-static-class-features' {
|
|
26
|
-
const plugin: any
|
|
27
|
-
export default plugin
|
|
28
|
-
}
|
|
29
|
-
|
|
30
20
|
declare module 'connect-history-api-fallback' {
|
|
31
21
|
const plugin: any
|
|
32
22
|
export = plugin
|