vite 7.2.6 → 8.0.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.
- package/LICENSE.md +33 -44
- package/dist/client/client.mjs +4 -4
- package/dist/node/chunks/build.js +1 -1
- package/dist/node/chunks/config.js +3 -35969
- package/dist/node/chunks/logger.js +7 -11
- package/dist/node/chunks/node.js +35583 -0
- package/dist/node/chunks/optimizer.js +1 -1
- package/dist/node/chunks/preview.js +1 -1
- package/dist/node/chunks/server.js +1 -1
- package/dist/node/cli.js +2 -2
- package/dist/node/index.d.ts +160 -39
- package/dist/node/index.js +2 -28
- package/dist/node/internal.d.ts +2 -0
- package/dist/node/internal.js +3 -0
- package/package.json +14 -21
- package/types/customEvent.d.ts +1 -1
- package/types/hot.d.ts +1 -1
- package/types/importMeta.d.ts +2 -2
- package/types/internal/esbuildOptions.d.ts +28 -0
- package/types/internal/rollupTypeCompat.d.ts +24 -0
- package/types/metadata.d.ts +6 -1
- package/dist/node/chunks/config2.js +0 -4
- package/types/package.json +0 -4
package/LICENSE.md
CHANGED
|
@@ -127,15 +127,11 @@ Repository: https://github.com/rolldown/rolldown
|
|
|
127
127
|
|
|
128
128
|
---------------------------------------
|
|
129
129
|
|
|
130
|
-
## @rollup/plugin-alias, @rollup/plugin-
|
|
130
|
+
## @rollup/plugin-alias, @rollup/plugin-dynamic-import-vars, @rollup/pluginutils
|
|
131
131
|
License: MIT
|
|
132
132
|
By: Johannes Stein
|
|
133
133
|
Repository: https://github.com/rollup/plugins
|
|
134
134
|
|
|
135
|
-
License: MIT
|
|
136
|
-
By: Rich Harris
|
|
137
|
-
Repository: https://github.com/rollup/plugins
|
|
138
|
-
|
|
139
135
|
License: MIT
|
|
140
136
|
By: LarsDenBakker
|
|
141
137
|
Repository: https://github.com/rollup/plugins
|
|
@@ -351,38 +347,6 @@ Repository: https://github.com/paulmillr/chokidar
|
|
|
351
347
|
|
|
352
348
|
---------------------------------------
|
|
353
349
|
|
|
354
|
-
## commondir, shell-quote
|
|
355
|
-
License: MIT
|
|
356
|
-
By: James Halliday
|
|
357
|
-
Repositories: http://github.com/substack/node-commondir, http://github.com/ljharb/shell-quote
|
|
358
|
-
|
|
359
|
-
> The MIT License
|
|
360
|
-
>
|
|
361
|
-
> Copyright (c) 2013 James Halliday (mail@substack.net)
|
|
362
|
-
>
|
|
363
|
-
> Permission is hereby granted, free of charge,
|
|
364
|
-
> to any person obtaining a copy of this software and
|
|
365
|
-
> associated documentation files (the "Software"), to
|
|
366
|
-
> deal in the Software without restriction, including
|
|
367
|
-
> without limitation the rights to use, copy, modify,
|
|
368
|
-
> merge, publish, distribute, sublicense, and/or sell
|
|
369
|
-
> copies of the Software, and to permit persons to whom
|
|
370
|
-
> the Software is furnished to do so,
|
|
371
|
-
> subject to the following conditions:
|
|
372
|
-
>
|
|
373
|
-
> The above copyright notice and this permission notice
|
|
374
|
-
> shall be included in all copies or substantial portions of the Software.
|
|
375
|
-
>
|
|
376
|
-
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
377
|
-
> EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
|
378
|
-
> OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
379
|
-
> IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR
|
|
380
|
-
> ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
381
|
-
> TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
382
|
-
> SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
383
|
-
|
|
384
|
-
---------------------------------------
|
|
385
|
-
|
|
386
350
|
## connect
|
|
387
351
|
License: MIT
|
|
388
352
|
By: TJ Holowaychuk, Douglas Christopher Wilson, Jonathan Ong, Tim Caswell
|
|
@@ -1023,13 +987,6 @@ Repository: https://github.com/micromatch/is-glob
|
|
|
1023
987
|
|
|
1024
988
|
---------------------------------------
|
|
1025
989
|
|
|
1026
|
-
## is-reference
|
|
1027
|
-
License: MIT
|
|
1028
|
-
By: Rich Harris
|
|
1029
|
-
Repository: https://github.com/Rich-Harris/is-reference
|
|
1030
|
-
|
|
1031
|
-
---------------------------------------
|
|
1032
|
-
|
|
1033
990
|
## isexe, which
|
|
1034
991
|
License: ISC
|
|
1035
992
|
By: Isaac Z. Schlueter
|
|
@@ -1817,6 +1774,38 @@ Repository: https://github.com/kevva/shebang-command
|
|
|
1817
1774
|
|
|
1818
1775
|
---------------------------------------
|
|
1819
1776
|
|
|
1777
|
+
## shell-quote
|
|
1778
|
+
License: MIT
|
|
1779
|
+
By: James Halliday
|
|
1780
|
+
Repository: http://github.com/ljharb/shell-quote
|
|
1781
|
+
|
|
1782
|
+
> The MIT License
|
|
1783
|
+
>
|
|
1784
|
+
> Copyright (c) 2013 James Halliday (mail@substack.net)
|
|
1785
|
+
>
|
|
1786
|
+
> Permission is hereby granted, free of charge,
|
|
1787
|
+
> to any person obtaining a copy of this software and
|
|
1788
|
+
> associated documentation files (the "Software"), to
|
|
1789
|
+
> deal in the Software without restriction, including
|
|
1790
|
+
> without limitation the rights to use, copy, modify,
|
|
1791
|
+
> merge, publish, distribute, sublicense, and/or sell
|
|
1792
|
+
> copies of the Software, and to permit persons to whom
|
|
1793
|
+
> the Software is furnished to do so,
|
|
1794
|
+
> subject to the following conditions:
|
|
1795
|
+
>
|
|
1796
|
+
> The above copyright notice and this permission notice
|
|
1797
|
+
> shall be included in all copies or substantial portions of the Software.
|
|
1798
|
+
>
|
|
1799
|
+
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
1800
|
+
> EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
|
1801
|
+
> OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
1802
|
+
> IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR
|
|
1803
|
+
> ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
1804
|
+
> TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
1805
|
+
> SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
1806
|
+
|
|
1807
|
+
---------------------------------------
|
|
1808
|
+
|
|
1820
1809
|
## sirv
|
|
1821
1810
|
License: MIT
|
|
1822
1811
|
By: Luke Edwards
|
package/dist/client/client.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "@vite/env";
|
|
2
2
|
|
|
3
|
-
//#region \0@oxc-project+runtime@0.
|
|
3
|
+
//#region \0@oxc-project+runtime@0.101.0/helpers/typeof.js
|
|
4
4
|
function _typeof(o) {
|
|
5
5
|
"@babel/helpers - typeof";
|
|
6
6
|
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o$1) {
|
|
@@ -11,7 +11,7 @@ function _typeof(o) {
|
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
//#endregion
|
|
14
|
-
//#region \0@oxc-project+runtime@0.
|
|
14
|
+
//#region \0@oxc-project+runtime@0.101.0/helpers/toPrimitive.js
|
|
15
15
|
function toPrimitive(t, r) {
|
|
16
16
|
if ("object" != _typeof(t) || !t) return t;
|
|
17
17
|
var e = t[Symbol.toPrimitive];
|
|
@@ -24,14 +24,14 @@ function toPrimitive(t, r) {
|
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
//#endregion
|
|
27
|
-
//#region \0@oxc-project+runtime@0.
|
|
27
|
+
//#region \0@oxc-project+runtime@0.101.0/helpers/toPropertyKey.js
|
|
28
28
|
function toPropertyKey(t) {
|
|
29
29
|
var i = toPrimitive(t, "string");
|
|
30
30
|
return "symbol" == _typeof(i) ? i : i + "";
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
//#endregion
|
|
34
|
-
//#region \0@oxc-project+runtime@0.
|
|
34
|
+
//#region \0@oxc-project+runtime@0.101.0/helpers/defineProperty.js
|
|
35
35
|
function _defineProperty(e, r, t) {
|
|
36
36
|
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
37
37
|
value: t,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "./logger.js";
|
|
2
|
-
import { A as
|
|
2
|
+
import { A as builderOptionsDefaults, B as resolveUserExternal, D as ChunkMetadataMap, E as BuildEnvironment, F as resolveBuildEnvironmentOptions, H as toOutputFilePathInHtml, I as resolveBuildOutputs, L as resolveBuildPlugins, M as createToImportMetaURLBasedRelativeRuntime, N as injectEnvironmentToHooks, O as build, P as onRollupLog, R as resolveBuilderOptions, U as toOutputFilePathInJS, V as toOutputFilePathInCss, W as toOutputFilePathWithoutRuntime, j as createBuilder, k as buildEnvironmentOptionsDefaults, z as resolveLibFilename } from "./node.js";
|
|
3
3
|
|
|
4
4
|
export { createBuilder, resolveBuildPlugins };
|