vite 7.1.7 → 7.1.9
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/README.md +1 -1
- package/bin/openChrome.js +1 -1
- package/dist/client/client.mjs +5 -5
- package/dist/node/chunks/{dep-H0AnFej7.js → dep-BcOQquCi.js} +1 -1
- package/dist/node/chunks/{dep-Bm2ujbhY.js → dep-Chhhsdoe.js} +174 -139
- package/dist/node/chunks/{dep-CAc8-XM0.js → dep-D6Kf1CgD.js} +1 -1
- package/dist/node/chunks/dep-DAJvlA4P.js +4 -0
- package/dist/node/chunks/{dep-D8ZQhg7-.js → dep-DrqJEUj9.js} +1 -1
- package/dist/node/chunks/{dep-BbmkDZt5.js → dep-iA2HHN2w.js} +1 -1
- package/dist/node/chunks/{dep-BRWmquJk.js → dep-ifi-OWiW.js} +1 -1
- package/dist/node/cli.js +5 -5
- package/dist/node/index.d.ts +2 -2
- package/dist/node/index.js +1 -1
- package/dist/node/module-runner.js +6 -5
- package/package.json +14 -14
- package/dist/node/chunks/dep-BFcSm8xQ.js +0 -4
package/README.md
CHANGED
package/bin/openChrome.js
CHANGED
|
@@ -3,7 +3,7 @@ Copyright (c) 2015-present, Facebook, Inc.
|
|
|
3
3
|
|
|
4
4
|
This source code is licensed under the MIT license found in the
|
|
5
5
|
LICENSE file at
|
|
6
|
-
https://github.com/
|
|
6
|
+
https://github.com/facebook/create-react-app/blob/main/LICENSE
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
/* global Application */
|
package/dist/client/client.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "@vite/env";
|
|
2
2
|
|
|
3
|
-
//#region
|
|
3
|
+
//#region \0@oxc-project+runtime@0.93.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
|
|
14
|
+
//#region \0@oxc-project+runtime@0.93.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
|
|
27
|
+
//#region \0@oxc-project+runtime@0.93.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
|
|
34
|
+
//#region \0@oxc-project+runtime@0.93.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,
|
|
@@ -226,7 +226,7 @@ var HMRClient = class {
|
|
|
226
226
|
};
|
|
227
227
|
|
|
228
228
|
//#endregion
|
|
229
|
-
//#region ../../node_modules/.pnpm/nanoid@5.1.
|
|
229
|
+
//#region ../../node_modules/.pnpm/nanoid@5.1.6/node_modules/nanoid/non-secure/index.js
|
|
230
230
|
let urlAlphabet = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
|
|
231
231
|
let nanoid = (size = 21) => {
|
|
232
232
|
let id = "";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "./dep-SmwnYDP9.js";
|
|
2
|
-
import { _createServer, createServer, createServerCloseFn, resolveServerOptions, restartServerWithUrls, serverConfigDefaults } from "./dep-
|
|
2
|
+
import { _createServer, createServer, createServerCloseFn, resolveServerOptions, restartServerWithUrls, serverConfigDefaults } from "./dep-Chhhsdoe.js";
|
|
3
3
|
|
|
4
4
|
export { createServer };
|
|
@@ -2888,6 +2888,13 @@ function partialEncodeURIPath(uri) {
|
|
|
2888
2888
|
const postfix = filePath !== uri ? uri.slice(filePath.length) : "";
|
|
2889
2889
|
return filePath.replaceAll("%", "%25") + postfix;
|
|
2890
2890
|
}
|
|
2891
|
+
function decodeURIIfPossible(input) {
|
|
2892
|
+
try {
|
|
2893
|
+
return decodeURI(input);
|
|
2894
|
+
} catch {
|
|
2895
|
+
return;
|
|
2896
|
+
}
|
|
2897
|
+
}
|
|
2891
2898
|
const sigtermCallbacks = /* @__PURE__ */ new Set();
|
|
2892
2899
|
const parentSigtermCallback = async (signal, exitCode) => {
|
|
2893
2900
|
await Promise.all([...sigtermCallbacks].map((cb) => cb(signal, exitCode)));
|
|
@@ -6480,10 +6487,11 @@ async function reloadOnTsconfigChange(server, changedFile) {
|
|
|
6480
6487
|
}
|
|
6481
6488
|
|
|
6482
6489
|
//#endregion
|
|
6483
|
-
//#region ../../node_modules/.pnpm/artichokie@0.4.
|
|
6490
|
+
//#region ../../node_modules/.pnpm/artichokie@0.4.2/node_modules/artichokie/dist/index.js
|
|
6484
6491
|
const AsyncFunction = async function() {}.constructor;
|
|
6485
6492
|
const codeToDataUrl = (code) => `data:application/javascript,${encodeURIComponent(code + "\n//# sourceURL=[worker-eval(artichokie)]")}`;
|
|
6486
6493
|
const viteSsrDynamicImport = "__vite_ssr_dynamic_import__";
|
|
6494
|
+
const stackBlitzImport = "𝐢𝐦𝐩𝐨𝐫𝐭";
|
|
6487
6495
|
var Worker$1 = class {
|
|
6488
6496
|
/** @internal */
|
|
6489
6497
|
_isModule;
|
|
@@ -6718,7 +6726,7 @@ function genWorkerCode(fn, isModule, waitTimeout, parentFunctions) {
|
|
|
6718
6726
|
});
|
|
6719
6727
|
return { call: call$1 };
|
|
6720
6728
|
};
|
|
6721
|
-
const fnString = fn.toString().replaceAll(viteSsrDynamicImport, "import");
|
|
6729
|
+
const fnString = fn.toString().replaceAll(stackBlitzImport, "import").replaceAll(viteSsrDynamicImport, "import");
|
|
6722
6730
|
return `
|
|
6723
6731
|
${isModule ? "import { parentPort, receiveMessageOnPort, workerData } from 'worker_threads'" : "const { parentPort, receiveMessageOnPort, workerData } = require('worker_threads')"}
|
|
6724
6732
|
${isModule ? "import { performance } from 'node:perf_hooks'" : "const { performance } = require('node:perf_hooks')"}
|
|
@@ -6750,7 +6758,7 @@ parentPort.on('message', async (args) => {
|
|
|
6750
6758
|
})
|
|
6751
6759
|
`;
|
|
6752
6760
|
}
|
|
6753
|
-
const importRe = /\bimport\s*\(
|
|
6761
|
+
const importRe = /\bimport\s*\(/g;
|
|
6754
6762
|
const internalImportName = "__artichokie_local_import__";
|
|
6755
6763
|
var FakeWorker = class {
|
|
6756
6764
|
/** @internal */
|
|
@@ -6777,7 +6785,7 @@ var FakeWorker = class {
|
|
|
6777
6785
|
stop() {}
|
|
6778
6786
|
};
|
|
6779
6787
|
function genFakeWorkerArgsAndCode(fn, declareRequire, parentFunctions) {
|
|
6780
|
-
const fnString = fn.toString().replace(importRe, `${internalImportName}(`).replaceAll(viteSsrDynamicImport, internalImportName);
|
|
6788
|
+
const fnString = fn.toString().replace(importRe, `${internalImportName}(`).replaceAll(stackBlitzImport, internalImportName).replaceAll(viteSsrDynamicImport, internalImportName);
|
|
6781
6789
|
return [
|
|
6782
6790
|
...declareRequire ? ["require"] : [],
|
|
6783
6791
|
internalImportName,
|
|
@@ -7965,7 +7973,7 @@ var require_convert_source_map = /* @__PURE__ */ __commonJS({ "../../node_module
|
|
|
7965
7973
|
}) });
|
|
7966
7974
|
|
|
7967
7975
|
//#endregion
|
|
7968
|
-
//#region ../../node_modules/.pnpm/@rolldown+pluginutils@1.0.0-beta.
|
|
7976
|
+
//#region ../../node_modules/.pnpm/@rolldown+pluginutils@1.0.0-beta.41/node_modules/@rolldown/pluginutils/dist/index.mjs
|
|
7969
7977
|
/**
|
|
7970
7978
|
* Constructs a RegExp that matches the exact string specified.
|
|
7971
7979
|
*
|
|
@@ -8436,8 +8444,8 @@ var require_src$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/lilco
|
|
|
8436
8444
|
}) });
|
|
8437
8445
|
|
|
8438
8446
|
//#endregion
|
|
8439
|
-
//#region ../../node_modules/.pnpm/postcss-load-config@6.0.1_jiti@2.5.1_postcss@8.5.6_tsx@4.20.
|
|
8440
|
-
var require_req = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-load-config@6.0.1_jiti@2.5.1_postcss@8.5.6_tsx@4.20.
|
|
8447
|
+
//#region ../../node_modules/.pnpm/postcss-load-config@6.0.1_jiti@2.5.1_postcss@8.5.6_tsx@4.20.6_yaml@2.8.1/node_modules/postcss-load-config/src/req.js
|
|
8448
|
+
var require_req = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-load-config@6.0.1_jiti@2.5.1_postcss@8.5.6_tsx@4.20.6_yaml@2.8.1/node_modules/postcss-load-config/src/req.js": ((exports, module) => {
|
|
8441
8449
|
const { createRequire: createRequire$2 } = __require("node:module");
|
|
8442
8450
|
const { fileURLToPath: fileURLToPath$1, pathToFileURL: pathToFileURL$1 } = __require("node:url");
|
|
8443
8451
|
const TS_EXT_RE = /\.[mc]?ts$/;
|
|
@@ -8479,8 +8487,8 @@ var require_req = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss
|
|
|
8479
8487
|
}) });
|
|
8480
8488
|
|
|
8481
8489
|
//#endregion
|
|
8482
|
-
//#region ../../node_modules/.pnpm/postcss-load-config@6.0.1_jiti@2.5.1_postcss@8.5.6_tsx@4.20.
|
|
8483
|
-
var require_options = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-load-config@6.0.1_jiti@2.5.1_postcss@8.5.6_tsx@4.20.
|
|
8490
|
+
//#region ../../node_modules/.pnpm/postcss-load-config@6.0.1_jiti@2.5.1_postcss@8.5.6_tsx@4.20.6_yaml@2.8.1/node_modules/postcss-load-config/src/options.js
|
|
8491
|
+
var require_options = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-load-config@6.0.1_jiti@2.5.1_postcss@8.5.6_tsx@4.20.6_yaml@2.8.1/node_modules/postcss-load-config/src/options.js": ((exports, module) => {
|
|
8484
8492
|
const req$2 = require_req();
|
|
8485
8493
|
/**
|
|
8486
8494
|
* Load Options
|
|
@@ -8514,8 +8522,8 @@ var require_options = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/pos
|
|
|
8514
8522
|
}) });
|
|
8515
8523
|
|
|
8516
8524
|
//#endregion
|
|
8517
|
-
//#region ../../node_modules/.pnpm/postcss-load-config@6.0.1_jiti@2.5.1_postcss@8.5.6_tsx@4.20.
|
|
8518
|
-
var require_plugins = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-load-config@6.0.1_jiti@2.5.1_postcss@8.5.6_tsx@4.20.
|
|
8525
|
+
//#region ../../node_modules/.pnpm/postcss-load-config@6.0.1_jiti@2.5.1_postcss@8.5.6_tsx@4.20.6_yaml@2.8.1/node_modules/postcss-load-config/src/plugins.js
|
|
8526
|
+
var require_plugins = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-load-config@6.0.1_jiti@2.5.1_postcss@8.5.6_tsx@4.20.6_yaml@2.8.1/node_modules/postcss-load-config/src/plugins.js": ((exports, module) => {
|
|
8519
8527
|
const req$1 = require_req();
|
|
8520
8528
|
/**
|
|
8521
8529
|
* Plugin Loader
|
|
@@ -8569,8 +8577,8 @@ var require_plugins = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/pos
|
|
|
8569
8577
|
}) });
|
|
8570
8578
|
|
|
8571
8579
|
//#endregion
|
|
8572
|
-
//#region ../../node_modules/.pnpm/postcss-load-config@6.0.1_jiti@2.5.1_postcss@8.5.6_tsx@4.20.
|
|
8573
|
-
var require_src = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-load-config@6.0.1_jiti@2.5.1_postcss@8.5.6_tsx@4.20.
|
|
8580
|
+
//#region ../../node_modules/.pnpm/postcss-load-config@6.0.1_jiti@2.5.1_postcss@8.5.6_tsx@4.20.6_yaml@2.8.1/node_modules/postcss-load-config/src/index.js
|
|
8581
|
+
var require_src = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-load-config@6.0.1_jiti@2.5.1_postcss@8.5.6_tsx@4.20.6_yaml@2.8.1/node_modules/postcss-load-config/src/index.js": ((exports, module) => {
|
|
8574
8582
|
const { resolve: resolve$2 } = __require("node:path");
|
|
8575
8583
|
const config$1 = require_src$1();
|
|
8576
8584
|
const loadOptions = require_options();
|
|
@@ -9949,82 +9957,50 @@ var require_js_tokens = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/j
|
|
|
9949
9957
|
}) });
|
|
9950
9958
|
|
|
9951
9959
|
//#endregion
|
|
9952
|
-
//#region ../../node_modules/.pnpm/strip-literal@3.
|
|
9960
|
+
//#region ../../node_modules/.pnpm/strip-literal@3.1.0/node_modules/strip-literal/dist/index.mjs
|
|
9953
9961
|
var import_js_tokens = /* @__PURE__ */ __toESM(require_js_tokens(), 1);
|
|
9954
|
-
|
|
9955
|
-
|
|
9956
|
-
|
|
9957
|
-
|
|
9958
|
-
|
|
9959
|
-
|
|
9960
|
-
|
|
9961
|
-
|
|
9962
|
-
|
|
9963
|
-
|
|
9964
|
-
|
|
9965
|
-
}
|
|
9966
|
-
|
|
9967
|
-
|
|
9968
|
-
|
|
9969
|
-
}
|
|
9970
|
-
|
|
9971
|
-
|
|
9972
|
-
|
|
9973
|
-
|
|
9974
|
-
|
|
9975
|
-
|
|
9976
|
-
|
|
9977
|
-
|
|
9978
|
-
|
|
9979
|
-
|
|
9980
|
-
|
|
9981
|
-
if (
|
|
9982
|
-
|
|
9983
|
-
|
|
9984
|
-
|
|
9985
|
-
|
|
9986
|
-
}
|
|
9987
|
-
}
|
|
9988
|
-
if (token.type === "RegularExpressionLiteral") {
|
|
9989
|
-
const body = token.value;
|
|
9990
|
-
if (filter$1(body)) {
|
|
9991
|
-
result += body.replace(/\/(.*)\/(\w?)$/g, (_, $1, $2) => `/${FILL.repeat($1.length)}/${$2}`);
|
|
9992
|
-
continue;
|
|
9993
|
-
}
|
|
9994
|
-
}
|
|
9995
|
-
if (token.type === "TemplateHead") {
|
|
9996
|
-
const body = token.value.slice(1, -2);
|
|
9997
|
-
if (filter$1(body)) {
|
|
9998
|
-
result += `\`${body.replace(/[^\n]/g, FILL)}\${`;
|
|
9999
|
-
continue;
|
|
10000
|
-
}
|
|
10001
|
-
}
|
|
10002
|
-
if (token.type === "TemplateTail") {
|
|
10003
|
-
const body = token.value.slice(0, -2);
|
|
10004
|
-
if (filter$1(body)) {
|
|
10005
|
-
result += `}${body.replace(/[^\n]/g, FILL)}\``;
|
|
10006
|
-
continue;
|
|
10007
|
-
}
|
|
10008
|
-
}
|
|
10009
|
-
if (token.type === "TemplateMiddle") {
|
|
10010
|
-
const body = token.value.slice(1, -2);
|
|
10011
|
-
if (filter$1(body)) {
|
|
10012
|
-
result += `}${body.replace(/[^\n]/g, FILL)}\${`;
|
|
10013
|
-
continue;
|
|
10014
|
-
}
|
|
10015
|
-
}
|
|
10016
|
-
result += token.value;
|
|
10017
|
-
}
|
|
9962
|
+
const FILL_COMMENT = " ";
|
|
9963
|
+
function stripLiteralFromToken(token, fillChar, filter$1) {
|
|
9964
|
+
if (token.type === "SingleLineComment") return FILL_COMMENT.repeat(token.value.length);
|
|
9965
|
+
if (token.type === "MultiLineComment") return token.value.replace(/[^\n]/g, FILL_COMMENT);
|
|
9966
|
+
if (token.type === "StringLiteral") {
|
|
9967
|
+
if (!token.closed) return token.value;
|
|
9968
|
+
const body = token.value.slice(1, -1);
|
|
9969
|
+
if (filter$1(body)) return token.value[0] + fillChar.repeat(body.length) + token.value[token.value.length - 1];
|
|
9970
|
+
}
|
|
9971
|
+
if (token.type === "NoSubstitutionTemplate") {
|
|
9972
|
+
const body = token.value.slice(1, -1);
|
|
9973
|
+
if (filter$1(body)) return `\`${body.replace(/[^\n]/g, fillChar)}\``;
|
|
9974
|
+
}
|
|
9975
|
+
if (token.type === "RegularExpressionLiteral") {
|
|
9976
|
+
const body = token.value;
|
|
9977
|
+
if (filter$1(body)) return body.replace(/\/(.*)\/(\w?)$/g, (_, $1, $2) => `/${fillChar.repeat($1.length)}/${$2}`);
|
|
9978
|
+
}
|
|
9979
|
+
if (token.type === "TemplateHead") {
|
|
9980
|
+
const body = token.value.slice(1, -2);
|
|
9981
|
+
if (filter$1(body)) return `\`${body.replace(/[^\n]/g, fillChar)}\${`;
|
|
9982
|
+
}
|
|
9983
|
+
if (token.type === "TemplateTail") {
|
|
9984
|
+
const body = token.value.slice(0, -2);
|
|
9985
|
+
if (filter$1(body)) return `}${body.replace(/[^\n]/g, fillChar)}\``;
|
|
9986
|
+
}
|
|
9987
|
+
if (token.type === "TemplateMiddle") {
|
|
9988
|
+
const body = token.value.slice(1, -2);
|
|
9989
|
+
if (filter$1(body)) return `}${body.replace(/[^\n]/g, fillChar)}\${`;
|
|
9990
|
+
}
|
|
9991
|
+
return token.value;
|
|
9992
|
+
}
|
|
9993
|
+
function optionsWithDefaults(options$1) {
|
|
10018
9994
|
return {
|
|
10019
|
-
|
|
10020
|
-
|
|
9995
|
+
fillChar: options$1?.fillChar ?? " ",
|
|
9996
|
+
filter: options$1?.filter ?? (() => true)
|
|
10021
9997
|
};
|
|
10022
9998
|
}
|
|
10023
9999
|
function stripLiteral(code, options$1) {
|
|
10024
|
-
|
|
10025
|
-
|
|
10026
|
-
|
|
10027
|
-
return
|
|
10000
|
+
let result = "";
|
|
10001
|
+
const _options = optionsWithDefaults(options$1);
|
|
10002
|
+
for (const token of (0, import_js_tokens.default)(code, { jsx: false })) result += stripLiteralFromToken(token, _options.fillChar, _options.filter);
|
|
10003
|
+
return result;
|
|
10028
10004
|
}
|
|
10029
10005
|
|
|
10030
10006
|
//#endregion
|
|
@@ -10047,7 +10023,8 @@ function importGlobPlugin(config$2) {
|
|
|
10047
10023
|
const globMatchers = allGlobs.map((globs) => {
|
|
10048
10024
|
const affirmed = [];
|
|
10049
10025
|
const negated = [];
|
|
10050
|
-
for (const glob$1 of globs) (glob$1[0] === "!"
|
|
10026
|
+
for (const glob$1 of globs) if (glob$1[0] === "!") negated.push(glob$1.slice(1));
|
|
10027
|
+
else affirmed.push(glob$1);
|
|
10051
10028
|
const affirmedMatcher = picomatch(affirmed);
|
|
10052
10029
|
const negatedMatcher = picomatch(negated);
|
|
10053
10030
|
return (file) => {
|
|
@@ -12131,11 +12108,11 @@ function throwFileNotFoundInOptimizedDep(id) {
|
|
|
12131
12108
|
}
|
|
12132
12109
|
|
|
12133
12110
|
//#endregion
|
|
12134
|
-
//#region ../../node_modules/.pnpm/dotenv@17.2.
|
|
12135
|
-
var require_package = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/dotenv@17.2.
|
|
12111
|
+
//#region ../../node_modules/.pnpm/dotenv@17.2.3/node_modules/dotenv/package.json
|
|
12112
|
+
var require_package = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/dotenv@17.2.3/node_modules/dotenv/package.json": ((exports, module) => {
|
|
12136
12113
|
module.exports = {
|
|
12137
12114
|
"name": "dotenv",
|
|
12138
|
-
"version": "17.2.
|
|
12115
|
+
"version": "17.2.3",
|
|
12139
12116
|
"description": "Loads environment variables from .env file",
|
|
12140
12117
|
"main": "lib/main.js",
|
|
12141
12118
|
"types": "lib/main.d.ts",
|
|
@@ -12157,8 +12134,8 @@ var require_package = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/dot
|
|
|
12157
12134
|
"dts-check": "tsc --project tests/types/tsconfig.json",
|
|
12158
12135
|
"lint": "standard",
|
|
12159
12136
|
"pretest": "npm run lint && npm run dts-check",
|
|
12160
|
-
"test": "tap run --allow-empty-coverage --disable-coverage --timeout=60000",
|
|
12161
|
-
"test:coverage": "tap run --show-full-coverage --timeout=60000 --coverage-report=text --coverage-report=lcov",
|
|
12137
|
+
"test": "tap run tests/**/*.js --allow-empty-coverage --disable-coverage --timeout=60000",
|
|
12138
|
+
"test:coverage": "tap run tests/**/*.js --show-full-coverage --timeout=60000 --coverage-report=text --coverage-report=lcov",
|
|
12162
12139
|
"prerelease": "npm test",
|
|
12163
12140
|
"release": "standard-version"
|
|
12164
12141
|
},
|
|
@@ -12194,8 +12171,8 @@ var require_package = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/dot
|
|
|
12194
12171
|
}) });
|
|
12195
12172
|
|
|
12196
12173
|
//#endregion
|
|
12197
|
-
//#region ../../node_modules/.pnpm/dotenv@17.2.
|
|
12198
|
-
var require_main$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/dotenv@17.2.
|
|
12174
|
+
//#region ../../node_modules/.pnpm/dotenv@17.2.3/node_modules/dotenv/lib/main.js
|
|
12175
|
+
var require_main$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/dotenv@17.2.3/node_modules/dotenv/lib/main.js": ((exports, module) => {
|
|
12199
12176
|
const fs$10 = __require("fs");
|
|
12200
12177
|
const path$10 = __require("path");
|
|
12201
12178
|
const os$3 = __require("os");
|
|
@@ -12205,9 +12182,12 @@ var require_main$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/dote
|
|
|
12205
12182
|
"🔐 encrypt with Dotenvx: https://dotenvx.com",
|
|
12206
12183
|
"🔐 prevent committing .env to code: https://dotenvx.com/precommit",
|
|
12207
12184
|
"🔐 prevent building .env in docker: https://dotenvx.com/prebuild",
|
|
12208
|
-
"📡
|
|
12209
|
-
"
|
|
12210
|
-
"
|
|
12185
|
+
"📡 add observability to secrets: https://dotenvx.com/ops",
|
|
12186
|
+
"👥 sync secrets across teammates & machines: https://dotenvx.com/ops",
|
|
12187
|
+
"🗂️ backup and recover secrets: https://dotenvx.com/ops",
|
|
12188
|
+
"✅ audit secrets and track compliance: https://dotenvx.com/ops",
|
|
12189
|
+
"🔄 add secrets lifecycle management: https://dotenvx.com/ops",
|
|
12190
|
+
"🔑 add access controls to secrets: https://dotenvx.com/ops",
|
|
12211
12191
|
"🛠️ run anywhere with `dotenvx run -- yourcommand`",
|
|
12212
12192
|
"⚙️ specify custom .env file path with { path: '/custom/path/.env' }",
|
|
12213
12193
|
"⚙️ enable debug logging with { debug: true }",
|
|
@@ -24096,9 +24076,10 @@ function baseMiddleware(rawBase, middlewareMode) {
|
|
|
24096
24076
|
}
|
|
24097
24077
|
|
|
24098
24078
|
//#endregion
|
|
24099
|
-
//#region ../../node_modules/.pnpm/http-proxy-3@1.21.
|
|
24100
|
-
var require_common = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/http-proxy-3@1.21.
|
|
24079
|
+
//#region ../../node_modules/.pnpm/http-proxy-3@1.21.1/node_modules/http-proxy-3/dist/lib/http-proxy/common.js
|
|
24080
|
+
var require_common = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/http-proxy-3@1.21.1/node_modules/http-proxy-3/dist/lib/http-proxy/common.js": ((exports) => {
|
|
24101
24081
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24082
|
+
exports.isSSL = void 0;
|
|
24102
24083
|
exports.setupOutgoing = setupOutgoing;
|
|
24103
24084
|
exports.setupSocket = setupSocket;
|
|
24104
24085
|
exports.getPort = getPort;
|
|
@@ -24233,8 +24214,8 @@ var require_common = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/http
|
|
|
24233
24214
|
}) });
|
|
24234
24215
|
|
|
24235
24216
|
//#endregion
|
|
24236
|
-
//#region ../../node_modules/.pnpm/http-proxy-3@1.21.
|
|
24237
|
-
var require_web_outgoing = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/http-proxy-3@1.21.
|
|
24217
|
+
//#region ../../node_modules/.pnpm/http-proxy-3@1.21.1/node_modules/http-proxy-3/dist/lib/http-proxy/passes/web-outgoing.js
|
|
24218
|
+
var require_web_outgoing = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/http-proxy-3@1.21.1/node_modules/http-proxy-3/dist/lib/http-proxy/passes/web-outgoing.js": ((exports) => {
|
|
24238
24219
|
var __createBinding$3 = exports && exports.__createBinding || (Object.create ? (function(o$1, m$2, k, k2) {
|
|
24239
24220
|
if (k2 === void 0) k2 = k;
|
|
24240
24221
|
var desc = Object.getOwnPropertyDescriptor(m$2, k);
|
|
@@ -24284,8 +24265,8 @@ var require_web_outgoing = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnp
|
|
|
24284
24265
|
exports.writeStatusCode = writeStatusCode;
|
|
24285
24266
|
const common$2 = __importStar$3(require_common());
|
|
24286
24267
|
const redirectRegex = /^201|30(1|2|7|8)$/;
|
|
24287
|
-
function removeChunked(
|
|
24288
|
-
|
|
24268
|
+
function removeChunked(_req, _res, proxyRes) {
|
|
24269
|
+
delete proxyRes.headers["transfer-encoding"];
|
|
24289
24270
|
}
|
|
24290
24271
|
function setConnection(req$4, _res, proxyRes) {
|
|
24291
24272
|
if (req$4.httpVersion === "1.0") proxyRes.headers["connection"] = req$4.headers["connection"] || "close";
|
|
@@ -24345,8 +24326,8 @@ var require_web_outgoing = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnp
|
|
|
24345
24326
|
}) });
|
|
24346
24327
|
|
|
24347
24328
|
//#endregion
|
|
24348
|
-
//#region ../../node_modules/.pnpm/follow-redirects@1.15.
|
|
24349
|
-
var require_debug = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/follow-redirects@1.15.
|
|
24329
|
+
//#region ../../node_modules/.pnpm/follow-redirects@1.15.11_debug@4.4.3/node_modules/follow-redirects/debug.js
|
|
24330
|
+
var require_debug = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/follow-redirects@1.15.11_debug@4.4.3/node_modules/follow-redirects/debug.js": ((exports, module) => {
|
|
24350
24331
|
var debug$7;
|
|
24351
24332
|
module.exports = function() {
|
|
24352
24333
|
if (!debug$7) {
|
|
@@ -24360,8 +24341,8 @@ var require_debug = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/follo
|
|
|
24360
24341
|
}) });
|
|
24361
24342
|
|
|
24362
24343
|
//#endregion
|
|
24363
|
-
//#region ../../node_modules/.pnpm/follow-redirects@1.15.
|
|
24364
|
-
var require_follow_redirects = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/follow-redirects@1.15.
|
|
24344
|
+
//#region ../../node_modules/.pnpm/follow-redirects@1.15.11_debug@4.4.3/node_modules/follow-redirects/index.js
|
|
24345
|
+
var require_follow_redirects = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/follow-redirects@1.15.11_debug@4.4.3/node_modules/follow-redirects/index.js": ((exports, module) => {
|
|
24365
24346
|
var url = __require("url");
|
|
24366
24347
|
var URL$2 = url.URL;
|
|
24367
24348
|
var http$3 = __require("http");
|
|
@@ -24791,8 +24772,8 @@ var require_follow_redirects = /* @__PURE__ */ __commonJS({ "../../node_modules/
|
|
|
24791
24772
|
}) });
|
|
24792
24773
|
|
|
24793
24774
|
//#endregion
|
|
24794
|
-
//#region ../../node_modules/.pnpm/http-proxy-3@1.21.
|
|
24795
|
-
var require_web_incoming = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/http-proxy-3@1.21.
|
|
24775
|
+
//#region ../../node_modules/.pnpm/http-proxy-3@1.21.1/node_modules/http-proxy-3/dist/lib/http-proxy/passes/web-incoming.js
|
|
24776
|
+
var require_web_incoming = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/http-proxy-3@1.21.1/node_modules/http-proxy-3/dist/lib/http-proxy/passes/web-incoming.js": ((exports) => {
|
|
24796
24777
|
var __createBinding$2 = exports && exports.__createBinding || (Object.create ? (function(o$1, m$2, k, k2) {
|
|
24797
24778
|
if (k2 === void 0) k2 = k;
|
|
24798
24779
|
var desc = Object.getOwnPropertyDescriptor(m$2, k);
|
|
@@ -24841,10 +24822,10 @@ var require_web_incoming = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnp
|
|
|
24841
24822
|
exports.stream = stream$1;
|
|
24842
24823
|
const http$2 = __importStar$2(__require("node:http"));
|
|
24843
24824
|
const https$2 = __importStar$2(__require("node:https"));
|
|
24844
|
-
const web_outgoing_1 = require_web_outgoing();
|
|
24825
|
+
const web_outgoing_1$1 = require_web_outgoing();
|
|
24845
24826
|
const common$1 = __importStar$2(require_common());
|
|
24846
24827
|
const followRedirects = __importStar$2(require_follow_redirects());
|
|
24847
|
-
const web_o = Object.values(web_outgoing_1.OUTGOING_PASSES);
|
|
24828
|
+
const web_o$1 = Object.values(web_outgoing_1$1.OUTGOING_PASSES);
|
|
24848
24829
|
const nativeAgents = {
|
|
24849
24830
|
http: http$2,
|
|
24850
24831
|
https: https$2
|
|
@@ -24917,7 +24898,7 @@ var require_web_incoming = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnp
|
|
|
24917
24898
|
(options$1.buffer || req$4).pipe(proxyReq);
|
|
24918
24899
|
proxyReq.on("response", (proxyRes) => {
|
|
24919
24900
|
server?.emit("proxyRes", proxyRes, req$4, res);
|
|
24920
|
-
if (!res.headersSent && !options$1.selfHandleResponse) for (const pass of web_o) pass(req$4, res, proxyRes, options$1);
|
|
24901
|
+
if (!res.headersSent && !options$1.selfHandleResponse) for (const pass of web_o$1) pass(req$4, res, proxyRes, options$1);
|
|
24921
24902
|
if (!res.finished) {
|
|
24922
24903
|
proxyRes.on("end", () => {
|
|
24923
24904
|
server?.emit("end", req$4, res, proxyRes);
|
|
@@ -24935,8 +24916,8 @@ var require_web_incoming = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnp
|
|
|
24935
24916
|
}) });
|
|
24936
24917
|
|
|
24937
24918
|
//#endregion
|
|
24938
|
-
//#region ../../node_modules/.pnpm/http-proxy-3@1.21.
|
|
24939
|
-
var require_ws_incoming = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/http-proxy-3@1.21.
|
|
24919
|
+
//#region ../../node_modules/.pnpm/http-proxy-3@1.21.1/node_modules/http-proxy-3/dist/lib/http-proxy/passes/ws-incoming.js
|
|
24920
|
+
var require_ws_incoming = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/http-proxy-3@1.21.1/node_modules/http-proxy-3/dist/lib/http-proxy/passes/ws-incoming.js": ((exports) => {
|
|
24940
24921
|
var __createBinding$1 = exports && exports.__createBinding || (Object.create ? (function(o$1, m$2, k, k2) {
|
|
24941
24922
|
if (k2 === void 0) k2 = k;
|
|
24942
24923
|
var desc = Object.getOwnPropertyDescriptor(m$2, k);
|
|
@@ -24989,7 +24970,9 @@ var require_ws_incoming = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm
|
|
|
24989
24970
|
const http$1 = __importStar$1(__require("node:http"));
|
|
24990
24971
|
const https$1 = __importStar$1(__require("node:https"));
|
|
24991
24972
|
const common = __importStar$1(require_common());
|
|
24973
|
+
const web_outgoing_1 = require_web_outgoing();
|
|
24992
24974
|
const log$1 = (0, __importDefault$1(require_node$1()).default)("http-proxy-3:ws-incoming");
|
|
24975
|
+
const web_o = Object.values(web_outgoing_1.OUTGOING_PASSES);
|
|
24993
24976
|
function createSocketCounter(name) {
|
|
24994
24977
|
let sockets = /* @__PURE__ */ new Set();
|
|
24995
24978
|
return ({ add, rm } = {}) => {
|
|
@@ -25007,6 +24990,17 @@ var require_ws_incoming = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm
|
|
|
25007
24990
|
}
|
|
25008
24991
|
const socketCounter = createSocketCounter("socket");
|
|
25009
24992
|
const proxySocketCounter = createSocketCounter("proxySocket");
|
|
24993
|
+
var MockResponse = class {
|
|
24994
|
+
constructor() {
|
|
24995
|
+
this.headers = {};
|
|
24996
|
+
this.statusCode = 200;
|
|
24997
|
+
this.statusMessage = "";
|
|
24998
|
+
}
|
|
24999
|
+
setHeader(key, value$1) {
|
|
25000
|
+
this.headers[key] = value$1;
|
|
25001
|
+
return this;
|
|
25002
|
+
}
|
|
25003
|
+
};
|
|
25010
25004
|
function numOpenSockets() {
|
|
25011
25005
|
return socketCounter() + proxySocketCounter();
|
|
25012
25006
|
}
|
|
@@ -25090,6 +25084,37 @@ var require_ws_incoming = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm
|
|
|
25090
25084
|
else server.emit("error", err$2, req$4, socket);
|
|
25091
25085
|
socket.destroySoon();
|
|
25092
25086
|
}
|
|
25087
|
+
proxyReq.on("response", (proxyRes) => {
|
|
25088
|
+
log$1("got non-ws HTTP response", {
|
|
25089
|
+
statusCode: proxyRes.statusCode,
|
|
25090
|
+
statusMessage: proxyRes.statusMessage
|
|
25091
|
+
});
|
|
25092
|
+
const res = new MockResponse();
|
|
25093
|
+
for (const pass of web_o) pass(req$4, res, proxyRes, options$1);
|
|
25094
|
+
let writeChunk = (chunk) => {
|
|
25095
|
+
socket.write(chunk);
|
|
25096
|
+
};
|
|
25097
|
+
if (req$4.httpVersion === "1.1" && proxyRes.headers["content-length"] === void 0) {
|
|
25098
|
+
res.headers["transfer-encoding"] = "chunked";
|
|
25099
|
+
writeChunk = (chunk) => {
|
|
25100
|
+
socket.write(chunk.length.toString(16));
|
|
25101
|
+
socket.write("\r\n");
|
|
25102
|
+
socket.write(chunk);
|
|
25103
|
+
socket.write("\r\n");
|
|
25104
|
+
};
|
|
25105
|
+
}
|
|
25106
|
+
const proxyHead = createHttpHeader(`HTTP/${req$4.httpVersion} ${proxyRes.statusCode} ${proxyRes.statusMessage}`, res.headers);
|
|
25107
|
+
if (!socket.destroyed) {
|
|
25108
|
+
socket.write(proxyHead);
|
|
25109
|
+
proxyRes.on("data", (chunk) => {
|
|
25110
|
+
writeChunk(chunk);
|
|
25111
|
+
});
|
|
25112
|
+
proxyRes.on("end", () => {
|
|
25113
|
+
writeChunk("");
|
|
25114
|
+
socket.destroySoon();
|
|
25115
|
+
});
|
|
25116
|
+
} else proxyRes.resume();
|
|
25117
|
+
});
|
|
25093
25118
|
proxyReq.end();
|
|
25094
25119
|
}
|
|
25095
25120
|
exports.WS_PASSES = {
|
|
@@ -25100,8 +25125,8 @@ var require_ws_incoming = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm
|
|
|
25100
25125
|
}) });
|
|
25101
25126
|
|
|
25102
25127
|
//#endregion
|
|
25103
|
-
//#region ../../node_modules/.pnpm/http-proxy-3@1.21.
|
|
25104
|
-
var require_http_proxy = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/http-proxy-3@1.21.
|
|
25128
|
+
//#region ../../node_modules/.pnpm/http-proxy-3@1.21.1/node_modules/http-proxy-3/dist/lib/http-proxy/index.js
|
|
25129
|
+
var require_http_proxy = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/http-proxy-3@1.21.1/node_modules/http-proxy-3/dist/lib/http-proxy/index.js": ((exports) => {
|
|
25105
25130
|
var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o$1, m$2, k, k2) {
|
|
25106
25131
|
if (k2 === void 0) k2 = k;
|
|
25107
25132
|
var desc = Object.getOwnPropertyDescriptor(m$2, k);
|
|
@@ -25307,13 +25332,11 @@ var require_http_proxy = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
25307
25332
|
}) });
|
|
25308
25333
|
|
|
25309
25334
|
//#endregion
|
|
25310
|
-
//#region ../../node_modules/.pnpm/http-proxy-3@1.21.
|
|
25311
|
-
var require_lib = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/http-proxy-3@1.21.
|
|
25335
|
+
//#region ../../node_modules/.pnpm/http-proxy-3@1.21.1/node_modules/http-proxy-3/dist/lib/index.js
|
|
25336
|
+
var require_lib = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/http-proxy-3@1.21.1/node_modules/http-proxy-3/dist/lib/index.js": ((exports) => {
|
|
25312
25337
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25313
25338
|
exports.numOpenSockets = exports.ProxyServer = void 0;
|
|
25314
25339
|
exports.createProxyServer = createProxyServer;
|
|
25315
|
-
exports.createServer = createProxyServer;
|
|
25316
|
-
exports.createProxy = createProxyServer;
|
|
25317
25340
|
const index_1 = require_http_proxy();
|
|
25318
25341
|
Object.defineProperty(exports, "ProxyServer", {
|
|
25319
25342
|
enumerable: true,
|
|
@@ -25345,10 +25368,6 @@ var require_lib = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/http-pr
|
|
|
25345
25368
|
function createProxyServer(options$1 = {}) {
|
|
25346
25369
|
return new index_1.ProxyServer(options$1);
|
|
25347
25370
|
}
|
|
25348
|
-
/**
|
|
25349
|
-
* Export the proxy "Server" as the main export.
|
|
25350
|
-
*/
|
|
25351
|
-
exports.default = index_1.ProxyServer;
|
|
25352
25371
|
}) });
|
|
25353
25372
|
|
|
25354
25373
|
//#endregion
|
|
@@ -25478,7 +25497,12 @@ function htmlFallbackMiddleware(root, spaFallback) {
|
|
|
25478
25497
|
return function viteHtmlFallbackMiddleware(req$4, _res, next) {
|
|
25479
25498
|
if (req$4.method !== "GET" && req$4.method !== "HEAD" || req$4.url === "/favicon.ico" || !(req$4.headers.accept === void 0 || req$4.headers.accept === "" || req$4.headers.accept.includes("text/html") || req$4.headers.accept.includes("*/*"))) return next();
|
|
25480
25499
|
const url$3 = cleanUrl(req$4.url);
|
|
25481
|
-
|
|
25500
|
+
let pathname;
|
|
25501
|
+
try {
|
|
25502
|
+
pathname = decodeURIComponent(url$3);
|
|
25503
|
+
} catch {
|
|
25504
|
+
return next();
|
|
25505
|
+
}
|
|
25482
25506
|
if (pathname.endsWith(".html")) {
|
|
25483
25507
|
const filePath = path.join(root, pathname);
|
|
25484
25508
|
if (fs.existsSync(filePath)) {
|
|
@@ -25879,7 +25903,8 @@ function serveStaticMiddleware(server) {
|
|
|
25879
25903
|
const cleanedUrl = cleanUrl(req$4.url);
|
|
25880
25904
|
if (cleanedUrl.endsWith("/") || path.extname(cleanedUrl) === ".html" || isInternalRequest(req$4.url) || req$4.url?.startsWith("//")) return next();
|
|
25881
25905
|
const url$3 = new URL(req$4.url, "http://example.com");
|
|
25882
|
-
const pathname =
|
|
25906
|
+
const pathname = decodeURIIfPossible(url$3.pathname);
|
|
25907
|
+
if (pathname === void 0) return next();
|
|
25883
25908
|
let redirectedPathname;
|
|
25884
25909
|
for (const { find: find$1, replacement } of server.config.resolve.alias) if (typeof find$1 === "string" ? pathname.startsWith(find$1) : find$1.test(pathname)) {
|
|
25885
25910
|
redirectedPathname = pathname.replace(find$1, replacement);
|
|
@@ -25914,7 +25939,9 @@ function serveRawFsMiddleware(server) {
|
|
|
25914
25939
|
return function viteServeRawFsMiddleware(req$4, res, next) {
|
|
25915
25940
|
if (req$4.url.startsWith(FS_PREFIX)) {
|
|
25916
25941
|
const url$3 = new URL(req$4.url, "http://example.com");
|
|
25917
|
-
|
|
25942
|
+
const pathname = decodeURIIfPossible(url$3.pathname);
|
|
25943
|
+
if (pathname === void 0) return next();
|
|
25944
|
+
let newPathname = pathname.slice(FS_PREFIX.length);
|
|
25918
25945
|
if (isWindows) newPathname = newPathname.replace(/^[A-Z]:/i, "");
|
|
25919
25946
|
url$3.pathname = encodeURI(newPathname);
|
|
25920
25947
|
req$4.url = url$3.href.slice(url$3.origin.length);
|
|
@@ -27085,19 +27112,22 @@ function serializeAttrs(attrs) {
|
|
|
27085
27112
|
function incrementIndent(indent = "") {
|
|
27086
27113
|
return `${indent}${indent[0] === " " ? " " : " "}`;
|
|
27087
27114
|
}
|
|
27088
|
-
function decodeURIIfPossible(input) {
|
|
27089
|
-
try {
|
|
27090
|
-
return decodeURI(input);
|
|
27091
|
-
} catch {
|
|
27092
|
-
return;
|
|
27093
|
-
}
|
|
27094
|
-
}
|
|
27095
27115
|
|
|
27096
27116
|
//#endregion
|
|
27097
27117
|
//#region src/node/server/middlewares/transform.ts
|
|
27098
27118
|
var import_picocolors$12 = /* @__PURE__ */ __toESM(require_picocolors(), 1);
|
|
27099
27119
|
const debugCache = createDebugger("vite:cache");
|
|
27100
27120
|
const knownIgnoreList = new Set(["/", "/favicon.ico"]);
|
|
27121
|
+
const documentFetchDests = new Set([
|
|
27122
|
+
"document",
|
|
27123
|
+
"iframe",
|
|
27124
|
+
"frame",
|
|
27125
|
+
"fencedframe"
|
|
27126
|
+
]);
|
|
27127
|
+
function isDocumentFetchDest(req$4) {
|
|
27128
|
+
const fetchDest = req$4.headers["sec-fetch-dest"];
|
|
27129
|
+
return fetchDest !== void 0 && documentFetchDests.has(fetchDest);
|
|
27130
|
+
}
|
|
27101
27131
|
const urlRE$1 = /[?&]url\b/;
|
|
27102
27132
|
const rawRE$1 = /[?&]raw\b/;
|
|
27103
27133
|
const inlineRE$2 = /[?&]inline\b/;
|
|
@@ -27112,6 +27142,10 @@ function isServerAccessDeniedForTransform(config$2, id) {
|
|
|
27112
27142
|
function cachedTransformMiddleware(server) {
|
|
27113
27143
|
return function viteCachedTransformMiddleware(req$4, res, next) {
|
|
27114
27144
|
const environment = server.environments.client;
|
|
27145
|
+
if (isDocumentFetchDest(req$4)) {
|
|
27146
|
+
res.appendHeader("Vary", "Sec-Fetch-Dest");
|
|
27147
|
+
return next();
|
|
27148
|
+
}
|
|
27115
27149
|
const ifNoneMatch = req$4.headers["if-none-match"];
|
|
27116
27150
|
if (ifNoneMatch) {
|
|
27117
27151
|
const moduleByEtag = environment.moduleGraph.getModuleByEtag(ifNoneMatch);
|
|
@@ -27132,13 +27166,13 @@ function transformMiddleware(server) {
|
|
|
27132
27166
|
const publicPath = `${publicDir.slice(root.length)}/`;
|
|
27133
27167
|
return async function viteTransformMiddleware(req$4, res, next) {
|
|
27134
27168
|
const environment = server.environments.client;
|
|
27135
|
-
if (req$4.method !== "GET" && req$4.method !== "HEAD" || knownIgnoreList.has(req$4.url)) return next();
|
|
27169
|
+
if (req$4.method !== "GET" && req$4.method !== "HEAD" || knownIgnoreList.has(req$4.url) || isDocumentFetchDest(req$4)) return next();
|
|
27136
27170
|
let url$3;
|
|
27137
27171
|
try {
|
|
27138
27172
|
url$3 = decodeURI(removeTimestampQuery(req$4.url)).replace(NULL_BYTE_PLACEHOLDER, "\0");
|
|
27139
27173
|
} catch (e$1) {
|
|
27140
27174
|
if (e$1 instanceof URIError) {
|
|
27141
|
-
server.config.logger.warn(import_picocolors$12.default.yellow(
|
|
27175
|
+
server.config.logger.warn(import_picocolors$12.default.yellow(`Malformed URI sequence in request URL: ${removeTimestampQuery(req$4.url)}`));
|
|
27142
27176
|
return next();
|
|
27143
27177
|
}
|
|
27144
27178
|
return next(e$1);
|
|
@@ -30599,7 +30633,7 @@ function createFilterForTransform(idFilter, codeFilter, cwd) {
|
|
|
30599
30633
|
async function resolvePlugins(config$2, prePlugins, normalPlugins, postPlugins) {
|
|
30600
30634
|
const isBuild = config$2.command === "build";
|
|
30601
30635
|
const isWorker = config$2.isWorker;
|
|
30602
|
-
const buildPlugins = isBuild ? await (await import("./dep-
|
|
30636
|
+
const buildPlugins = isBuild ? await (await import("./dep-D6Kf1CgD.js")).resolveBuildPlugins(config$2) : {
|
|
30603
30637
|
pre: [],
|
|
30604
30638
|
post: []
|
|
30605
30639
|
};
|
|
@@ -30919,7 +30953,7 @@ var EnvironmentPluginContainer = class {
|
|
|
30919
30953
|
}
|
|
30920
30954
|
}
|
|
30921
30955
|
if (id) {
|
|
30922
|
-
partial.id = isExternalUrl(id) ? id : normalizePath(id);
|
|
30956
|
+
partial.id = isExternalUrl(id) || id[0] === "\0" ? id : normalizePath(id);
|
|
30923
30957
|
return partial;
|
|
30924
30958
|
} else return null;
|
|
30925
30959
|
}
|
|
@@ -32193,7 +32227,7 @@ function createCachedImport(imp) {
|
|
|
32193
32227
|
};
|
|
32194
32228
|
}
|
|
32195
32229
|
const importPostcssImport = createCachedImport(() => import("./dep-CwrJo3zV.js").then(__toDynamicImportESM(1)));
|
|
32196
|
-
const importPostcssModules = createCachedImport(() => import("./dep-
|
|
32230
|
+
const importPostcssModules = createCachedImport(() => import("./dep-DrqJEUj9.js").then(__toDynamicImportESM(1)));
|
|
32197
32231
|
const importPostcss = createCachedImport(() => import("postcss"));
|
|
32198
32232
|
const preprocessorWorkerControllerCache = /* @__PURE__ */ new WeakMap();
|
|
32199
32233
|
let alwaysFakeWorkerWorkerControllerCache;
|
|
@@ -32269,7 +32303,7 @@ async function resolvePostcssConfig(config$2) {
|
|
|
32269
32303
|
postcssConfigCache.set(config$2, result);
|
|
32270
32304
|
return result;
|
|
32271
32305
|
}
|
|
32272
|
-
const cssUrlRE = /(?<!@import\s+)(?<=^|[^\w\-\u0080-\uffff])url\((\s*('[^']+'|"[^"]+")\s*|[^'")]+)\)/;
|
|
32306
|
+
const cssUrlRE = /(?<!@import\s+)(?<=^|[^\w\-\u0080-\uffff])url\((\s*('[^']+'|"[^"]+")\s*|(?:\\.|[^'")\\])+)\)/;
|
|
32273
32307
|
const cssDataUriRE = /(?<=^|[^\w\-\u0080-\uffff])data-uri\((\s*('[^']+'|"[^"]+")\s*|[^'")]+)\)/;
|
|
32274
32308
|
const importCssRE = /@import\s+(?:url\()?('[^']+\.css'|"[^"]+\.css"|[^'"\s)]+\.css)/;
|
|
32275
32309
|
const cssImageSetRE = /(?<=image-set\()((?:[\w-]{1,256}\([^)]*\)|[^)])*)(?=\))/;
|
|
@@ -32344,9 +32378,10 @@ async function doUrlReplace(rawUrl, matched, replacer, funcName = "url") {
|
|
|
32344
32378
|
unquotedUrl = rawUrl.slice(1, -1);
|
|
32345
32379
|
}
|
|
32346
32380
|
if (skipUrlReplacer(unquotedUrl)) return matched;
|
|
32381
|
+
unquotedUrl = unquotedUrl.replace(/\\(\W)/g, "$1");
|
|
32347
32382
|
let newUrl = await replacer(unquotedUrl, rawUrl);
|
|
32348
32383
|
if (newUrl === false) return matched;
|
|
32349
|
-
if (wrap$1 === "" && newUrl !== encodeURI(newUrl)) wrap$1 = "\"";
|
|
32384
|
+
if (wrap$1 === "" && (newUrl !== encodeURI(newUrl) || newUrl.includes(")"))) wrap$1 = "\"";
|
|
32350
32385
|
if (wrap$1 === "'" && newUrl.includes("'")) wrap$1 = "\"";
|
|
32351
32386
|
if (wrap$1 === "\"" && newUrl.includes("\"")) newUrl = newUrl.replace(nonEscapedDoubleQuoteRe, "\\\"");
|
|
32352
32387
|
return `${funcName}(${wrap$1}${newUrl}${wrap$1})`;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "./dep-SmwnYDP9.js";
|
|
2
|
-
import { BuildEnvironment, build, buildEnvironmentOptionsDefaults, builderOptionsDefaults, createBuilder, createToImportMetaURLBasedRelativeRuntime, injectEnvironmentToHooks, onRollupLog, resolveBuildEnvironmentOptions, resolveBuildOutputs, resolveBuildPlugins, resolveBuilderOptions, resolveLibFilename, resolveUserExternal, toOutputFilePathInCss, toOutputFilePathInHtml, toOutputFilePathInJS, toOutputFilePathWithoutRuntime } from "./dep-
|
|
2
|
+
import { BuildEnvironment, build, buildEnvironmentOptionsDefaults, builderOptionsDefaults, createBuilder, createToImportMetaURLBasedRelativeRuntime, injectEnvironmentToHooks, onRollupLog, resolveBuildEnvironmentOptions, resolveBuildOutputs, resolveBuildPlugins, resolveBuilderOptions, resolveLibFilename, resolveUserExternal, toOutputFilePathInCss, toOutputFilePathInHtml, toOutputFilePathInJS, toOutputFilePathWithoutRuntime } from "./dep-Chhhsdoe.js";
|
|
3
3
|
|
|
4
4
|
export { createBuilder, resolveBuildPlugins };
|
|
@@ -3405,7 +3405,7 @@ var require_tokenize = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/po
|
|
|
3405
3405
|
function tokenize(input) {
|
|
3406
3406
|
var tokens$1 = [];
|
|
3407
3407
|
var css = input.css.valueOf();
|
|
3408
|
-
var
|
|
3408
|
+
var length = css.length;
|
|
3409
3409
|
var offset = -1;
|
|
3410
3410
|
var line = 1;
|
|
3411
3411
|
var start = 0;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "./dep-SmwnYDP9.js";
|
|
2
|
-
import { configDefaults, defineConfig, getDefaultEnvironmentOptions, isResolvedConfig, loadConfigFromFile, resolveBaseUrl, resolveConfig, resolveDevEnvironmentOptions, sortUserPlugins } from "./dep-
|
|
2
|
+
import { configDefaults, defineConfig, getDefaultEnvironmentOptions, isResolvedConfig, loadConfigFromFile, resolveBaseUrl, resolveConfig, resolveDevEnvironmentOptions, sortUserPlugins } from "./dep-Chhhsdoe.js";
|
|
3
3
|
|
|
4
4
|
export { resolveConfig };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "./dep-SmwnYDP9.js";
|
|
2
|
-
import { addManuallyIncludedOptimizeDeps, addOptimizedDepInfo, cleanupDepsCacheStaleDirs, createIsOptimizedDepFile, createIsOptimizedDepUrl, depsFromOptimizedDepInfo, depsLogString, discoverProjectDependencies, extractExportsData, getDepsCacheDir, getOptimizedDepPath, initDepsOptimizerMetadata, isDepOptimizationDisabled, loadCachedDepOptimizationMetadata, optimizeDeps, optimizeExplicitEnvironmentDeps, optimizedDepInfoFromFile, optimizedDepInfoFromId, optimizedDepNeedsInterop, runOptimizeDeps, toDiscoveredDependencies } from "./dep-
|
|
2
|
+
import { addManuallyIncludedOptimizeDeps, addOptimizedDepInfo, cleanupDepsCacheStaleDirs, createIsOptimizedDepFile, createIsOptimizedDepUrl, depsFromOptimizedDepInfo, depsLogString, discoverProjectDependencies, extractExportsData, getDepsCacheDir, getOptimizedDepPath, initDepsOptimizerMetadata, isDepOptimizationDisabled, loadCachedDepOptimizationMetadata, optimizeDeps, optimizeExplicitEnvironmentDeps, optimizedDepInfoFromFile, optimizedDepInfoFromId, optimizedDepNeedsInterop, runOptimizeDeps, toDiscoveredDependencies } from "./dep-Chhhsdoe.js";
|
|
3
3
|
|
|
4
4
|
export { optimizeDeps };
|
package/dist/node/cli.js
CHANGED
|
@@ -568,7 +568,7 @@ const convertBase = (v) => {
|
|
|
568
568
|
cli.option("-c, --config <file>", `[string] use specified config file`).option("--base <path>", `[string] public base path (default: /)`, { type: [convertBase] }).option("-l, --logLevel <level>", `[string] info | warn | error | silent`).option("--clearScreen", `[boolean] allow/disable clear screen when logging`).option("--configLoader <loader>", `[string] use 'bundle' to bundle the config with esbuild, or 'runner' (experimental) to process it on the fly, or 'native' (experimental) to load using the native runtime (default: bundle)`).option("-d, --debug [feat]", `[string | boolean] show debug logs`).option("-f, --filter <filter>", `[string] filter debug logs`).option("-m, --mode <mode>", `[string] set env mode`);
|
|
569
569
|
cli.command("[root]", "start dev server").alias("serve").alias("dev").option("--host [host]", `[string] specify hostname`, { type: [convertHost] }).option("--port <port>", `[number] specify port`).option("--open [path]", `[boolean | string] open browser on startup`).option("--cors", `[boolean] enable CORS`).option("--strictPort", `[boolean] exit if specified port is already in use`).option("--force", `[boolean] force the optimizer to ignore the cache and re-bundle`).action(async (root, options) => {
|
|
570
570
|
filterDuplicateOptions(options);
|
|
571
|
-
const { createServer } = await import("./chunks/dep-
|
|
571
|
+
const { createServer } = await import("./chunks/dep-BcOQquCi.js");
|
|
572
572
|
try {
|
|
573
573
|
const server = await createServer({
|
|
574
574
|
root,
|
|
@@ -624,7 +624,7 @@ cli.command("[root]", "start dev server").alias("serve").alias("dev").option("--
|
|
|
624
624
|
});
|
|
625
625
|
cli.command("build [root]", "build for production").option("--target <target>", `[string] transpile target (default: 'baseline-widely-available')`).option("--outDir <dir>", `[string] output directory (default: dist)`).option("--assetsDir <dir>", `[string] directory under outDir to place assets in (default: assets)`).option("--assetsInlineLimit <number>", `[number] static asset base64 inline threshold in bytes (default: 4096)`).option("--ssr [entry]", `[string] build specified entry for server-side rendering`).option("--sourcemap [output]", `[boolean | "inline" | "hidden"] output source maps for build (default: false)`).option("--minify [minifier]", "[boolean | \"terser\" | \"esbuild\"] enable/disable minification, or specify minifier to use (default: esbuild)").option("--manifest [name]", `[boolean | string] emit build manifest json`).option("--ssrManifest [name]", `[boolean | string] emit ssr manifest json`).option("--emptyOutDir", `[boolean] force empty outDir when it's outside of root`).option("-w, --watch", `[boolean] rebuilds when modules have changed on disk`).option("--app", `[boolean] same as \`builder: {}\``).action(async (root, options) => {
|
|
626
626
|
filterDuplicateOptions(options);
|
|
627
|
-
const { createBuilder } = await import("./chunks/dep-
|
|
627
|
+
const { createBuilder } = await import("./chunks/dep-D6Kf1CgD.js");
|
|
628
628
|
const buildOptions = cleanGlobalCLIOptions(cleanBuilderCLIOptions(options));
|
|
629
629
|
try {
|
|
630
630
|
const inlineConfig = {
|
|
@@ -648,8 +648,8 @@ cli.command("build [root]", "build for production").option("--target <target>",
|
|
|
648
648
|
});
|
|
649
649
|
cli.command("optimize [root]", "pre-bundle dependencies (deprecated, the pre-bundle process runs automatically and does not need to be called)").option("--force", `[boolean] force the optimizer to ignore the cache and re-bundle`).action(async (root, options) => {
|
|
650
650
|
filterDuplicateOptions(options);
|
|
651
|
-
const { resolveConfig } = await import("./chunks/dep-
|
|
652
|
-
const { optimizeDeps } = await import("./chunks/dep-
|
|
651
|
+
const { resolveConfig } = await import("./chunks/dep-iA2HHN2w.js");
|
|
652
|
+
const { optimizeDeps } = await import("./chunks/dep-ifi-OWiW.js");
|
|
653
653
|
try {
|
|
654
654
|
const config = await resolveConfig({
|
|
655
655
|
root,
|
|
@@ -667,7 +667,7 @@ cli.command("optimize [root]", "pre-bundle dependencies (deprecated, the pre-bun
|
|
|
667
667
|
});
|
|
668
668
|
cli.command("preview [root]", "locally preview production build").option("--host [host]", `[string] specify hostname`, { type: [convertHost] }).option("--port <port>", `[number] specify port`).option("--strictPort", `[boolean] exit if specified port is already in use`).option("--open [path]", `[boolean | string] open browser on startup`).option("--outDir <dir>", `[string] output directory (default: dist)`).action(async (root, options) => {
|
|
669
669
|
filterDuplicateOptions(options);
|
|
670
|
-
const { preview } = await import("./chunks/dep-
|
|
670
|
+
const { preview } = await import("./chunks/dep-DAJvlA4P.js");
|
|
671
671
|
try {
|
|
672
672
|
const server = await preview({
|
|
673
673
|
root,
|
package/dist/node/index.d.ts
CHANGED
|
@@ -317,7 +317,7 @@ declare namespace Connect {
|
|
|
317
317
|
}
|
|
318
318
|
}
|
|
319
319
|
//#endregion
|
|
320
|
-
//#region ../../node_modules/.pnpm/http-proxy-3@1.21.
|
|
320
|
+
//#region ../../node_modules/.pnpm/http-proxy-3@1.21.1/node_modules/http-proxy-3/dist/lib/http-proxy/index.d.ts
|
|
321
321
|
interface ProxyTargetDetailed {
|
|
322
322
|
host: string;
|
|
323
323
|
port: number;
|
|
@@ -489,7 +489,7 @@ declare class ProxyServer<TIncomingMessage extends typeof http.IncomingMessage =
|
|
|
489
489
|
after: <PT extends ProxyType>(type: PT, passName: string, cb: PassFunctions<TIncomingMessage, TServerResponse, TError>[PT]) => void;
|
|
490
490
|
}
|
|
491
491
|
//#endregion
|
|
492
|
-
//#region ../../node_modules/.pnpm/http-proxy-3@1.21.
|
|
492
|
+
//#region ../../node_modules/.pnpm/http-proxy-3@1.21.1/node_modules/http-proxy-3/dist/lib/http-proxy/passes/ws-incoming.d.ts
|
|
493
493
|
declare function numOpenSockets(): number;
|
|
494
494
|
declare namespace index_d_exports {
|
|
495
495
|
export { ErrorCallback, ProxyServer, ProxyTarget, ProxyTargetUrl, ServerOptions$3 as ServerOptions, createProxyServer as createProxy, createProxyServer, createProxyServer as createServer, ProxyServer as default, numOpenSockets };
|
package/dist/node/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DEFAULT_CLIENT_CONDITIONS, DEFAULT_CLIENT_MAIN_FIELDS, DEFAULT_EXTERNAL_CONDITIONS, DEFAULT_SERVER_CONDITIONS, DEFAULT_SERVER_MAIN_FIELDS, VERSION, createLogger, defaultAllowedOrigins } from "./chunks/dep-SmwnYDP9.js";
|
|
2
|
-
import { BuildEnvironment, DevEnvironment, build, buildErrorMessage, createBuilder, createFilter, createIdResolver, createRunnableDevEnvironment, createServer, createServerHotChannel, createServerModuleRunner, createServerModuleRunnerTransport, defineConfig, fetchModule, formatPostcssSourceMap, isCSSRequest, isFileLoadingAllowed, isFileServingAllowed, isRunnableDevEnvironment, loadConfigFromFile, loadEnv, mergeAlias, mergeConfig, normalizePath, optimizeDeps, perEnvironmentPlugin, perEnvironmentState, preprocessCSS, preview, resolveConfig, resolveEnvPrefix, rollupVersion, runnerImport, searchForWorkspaceRoot, send, sortUserPlugins, ssrTransform, transformWithEsbuild } from "./chunks/dep-
|
|
2
|
+
import { BuildEnvironment, DevEnvironment, build, buildErrorMessage, createBuilder, createFilter, createIdResolver, createRunnableDevEnvironment, createServer, createServerHotChannel, createServerModuleRunner, createServerModuleRunnerTransport, defineConfig, fetchModule, formatPostcssSourceMap, isCSSRequest, isFileLoadingAllowed, isFileServingAllowed, isRunnableDevEnvironment, loadConfigFromFile, loadEnv, mergeAlias, mergeConfig, normalizePath, optimizeDeps, perEnvironmentPlugin, perEnvironmentState, preprocessCSS, preview, resolveConfig, resolveEnvPrefix, rollupVersion, runnerImport, searchForWorkspaceRoot, send, sortUserPlugins, ssrTransform, transformWithEsbuild } from "./chunks/dep-Chhhsdoe.js";
|
|
3
3
|
import { parseAst, parseAstAsync } from "rollup/parseAst";
|
|
4
4
|
import { version as esbuildVersion } from "esbuild";
|
|
5
5
|
|
|
@@ -701,12 +701,13 @@ function getModulesEntrypoints(runner, modules, visited = /* @__PURE__ */ new Se
|
|
|
701
701
|
if (visited.has(moduleId)) continue;
|
|
702
702
|
visited.add(moduleId);
|
|
703
703
|
let module = runner.evaluatedModules.getModuleById(moduleId);
|
|
704
|
-
if (
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
704
|
+
if (module) {
|
|
705
|
+
if (!module.importers.size) {
|
|
706
|
+
entrypoints.add(module.url);
|
|
707
|
+
continue;
|
|
708
|
+
}
|
|
709
|
+
for (let importer of module.importers) getModulesEntrypoints(runner, [importer], visited, entrypoints);
|
|
708
710
|
}
|
|
709
|
-
for (let importer of module.importers) getModulesEntrypoints(runner, [importer], visited, entrypoints);
|
|
710
711
|
}
|
|
711
712
|
return entrypoints;
|
|
712
713
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vite",
|
|
3
|
-
"version": "7.1.
|
|
3
|
+
"version": "7.1.9",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Evan You",
|
|
@@ -82,17 +82,17 @@
|
|
|
82
82
|
"@babel/parser": "^7.28.4",
|
|
83
83
|
"@jridgewell/remapping": "^2.3.5",
|
|
84
84
|
"@jridgewell/trace-mapping": "^0.3.31",
|
|
85
|
-
"@oxc-project/types": "0.
|
|
85
|
+
"@oxc-project/types": "0.90.0",
|
|
86
86
|
"@polka/compression": "^1.0.0-next.25",
|
|
87
|
-
"@rolldown/pluginutils": "^1.0.0-beta.
|
|
87
|
+
"@rolldown/pluginutils": "^1.0.0-beta.41",
|
|
88
88
|
"@rollup/plugin-alias": "^5.1.1",
|
|
89
89
|
"@rollup/plugin-commonjs": "^28.0.6",
|
|
90
90
|
"@rollup/plugin-dynamic-import-vars": "2.1.4",
|
|
91
91
|
"@rollup/pluginutils": "^5.3.0",
|
|
92
92
|
"@types/escape-html": "^1.0.4",
|
|
93
93
|
"@types/pnpapi": "^0.0.5",
|
|
94
|
-
"artichokie": "^0.4.
|
|
95
|
-
"baseline-browser-mapping": "^2.8.
|
|
94
|
+
"artichokie": "^0.4.2",
|
|
95
|
+
"baseline-browser-mapping": "^2.8.9",
|
|
96
96
|
"cac": "^6.7.14",
|
|
97
97
|
"chokidar": "^3.6.0",
|
|
98
98
|
"connect": "^3.7.0",
|
|
@@ -101,20 +101,20 @@
|
|
|
101
101
|
"cross-spawn": "^7.0.6",
|
|
102
102
|
"debug": "^4.4.3",
|
|
103
103
|
"dep-types": "link:./src/types",
|
|
104
|
-
"dotenv": "^17.2.
|
|
104
|
+
"dotenv": "^17.2.3",
|
|
105
105
|
"dotenv-expand": "^12.0.3",
|
|
106
106
|
"es-module-lexer": "^1.7.0",
|
|
107
107
|
"escape-html": "^1.0.3",
|
|
108
108
|
"estree-walker": "^3.0.3",
|
|
109
109
|
"etag": "^1.8.1",
|
|
110
110
|
"host-validation-middleware": "^0.1.1",
|
|
111
|
-
"http-proxy-3": "^1.21.
|
|
111
|
+
"http-proxy-3": "^1.21.1",
|
|
112
112
|
"launch-editor-middleware": "^2.11.1",
|
|
113
|
-
"lightningcss": "^1.30.
|
|
113
|
+
"lightningcss": "^1.30.2",
|
|
114
114
|
"magic-string": "^0.30.19",
|
|
115
115
|
"mlly": "^1.8.0",
|
|
116
116
|
"mrmime": "^2.0.1",
|
|
117
|
-
"nanoid": "^5.1.
|
|
117
|
+
"nanoid": "^5.1.6",
|
|
118
118
|
"open": "^10.2.0",
|
|
119
119
|
"parse5": "^8.0.0",
|
|
120
120
|
"pathe": "^2.0.3",
|
|
@@ -125,13 +125,13 @@
|
|
|
125
125
|
"postcss-modules": "^6.0.1",
|
|
126
126
|
"premove": "^4.0.0",
|
|
127
127
|
"resolve.exports": "^2.0.3",
|
|
128
|
-
"rolldown": "^1.0.0-beta.
|
|
129
|
-
"rolldown-plugin-dts": "^0.16.
|
|
128
|
+
"rolldown": "^1.0.0-beta.41",
|
|
129
|
+
"rolldown-plugin-dts": "^0.16.11",
|
|
130
130
|
"rollup-plugin-license": "^3.6.0",
|
|
131
|
-
"sass": "^1.93.
|
|
132
|
-
"sass-embedded": "^1.93.
|
|
131
|
+
"sass": "^1.93.2",
|
|
132
|
+
"sass-embedded": "^1.93.2",
|
|
133
133
|
"sirv": "^3.0.2",
|
|
134
|
-
"strip-literal": "^3.
|
|
134
|
+
"strip-literal": "^3.1.0",
|
|
135
135
|
"terser": "^5.44.0",
|
|
136
136
|
"tsconfck": "^3.1.6",
|
|
137
137
|
"types": "link:./types",
|