vite 7.1.9 → 7.1.10
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/dist/client/client.mjs +20 -7
- package/dist/node/chunks/{dep-Chhhsdoe.js → dep-B0GuR2De.js} +227 -366
- package/dist/node/chunks/{dep-DrqJEUj9.js → dep-B0biTXWL.js} +12 -23
- package/dist/node/chunks/{dep-D6Kf1CgD.js → dep-B6cO9KC8.js} +1 -1
- package/dist/node/chunks/{dep-CCSnTAeo.js → dep-BRReGxEs.js} +3 -6
- package/dist/node/chunks/{dep-ifi-OWiW.js → dep-BhuufcWm.js} +1 -1
- package/dist/node/chunks/{dep-iA2HHN2w.js → dep-Cl2Q94Oy.js} +1 -1
- package/dist/node/chunks/dep-D5ktuZSi.js +4 -0
- package/dist/node/chunks/{dep-BcOQquCi.js → dep-F8pfeHm9.js} +1 -1
- package/dist/node/cli.js +10 -13
- package/dist/node/index.d.ts +3 -3
- package/dist/node/index.js +1 -1
- package/dist/node/module-runner.js +3 -4
- package/package.json +6 -6
- package/dist/node/chunks/dep-DAJvlA4P.js +0 -4
|
@@ -1043,8 +1043,7 @@ var require_topologicalSort = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
1043
1043
|
const TEMPORARY_MARKER = 1;
|
|
1044
1044
|
function createError(node, graph) {
|
|
1045
1045
|
const er = /* @__PURE__ */ new Error("Nondeterministic import's order");
|
|
1046
|
-
|
|
1047
|
-
er.nodes = [node, relatedNode];
|
|
1046
|
+
er.nodes = [node, graph[node].find((relatedNode) => graph[relatedNode].indexOf(node) > -1)];
|
|
1048
1047
|
return er;
|
|
1049
1048
|
}
|
|
1050
1049
|
function walkGraph(node, graph, state, result, strict) {
|
|
@@ -1160,8 +1159,7 @@ var require_src$3 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postc
|
|
|
1160
1159
|
parent = parent.parent;
|
|
1161
1160
|
}
|
|
1162
1161
|
const { selector: selector$1 } = declaration.parent;
|
|
1163
|
-
|
|
1164
|
-
addImportToGraph(importPath, parentRule, graph, visited);
|
|
1162
|
+
addImportToGraph(importPath, `_${parentIndexes}${selector$1}`, graph, visited);
|
|
1165
1163
|
importDecls[importPath] = declaration;
|
|
1166
1164
|
imports[importPath] = imports[importPath] || {};
|
|
1167
1165
|
tmpSymbols = symbols.split(/\s+/).map((s) => {
|
|
@@ -1174,13 +1172,10 @@ var require_src$3 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postc
|
|
|
1174
1172
|
declaration.value = values.join(", ");
|
|
1175
1173
|
});
|
|
1176
1174
|
const importsOrder = topologicalSort(graph, failOnWrongOrder);
|
|
1177
|
-
if (importsOrder instanceof Error) {
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
word: "composes"
|
|
1182
|
-
});
|
|
1183
|
-
}
|
|
1175
|
+
if (importsOrder instanceof Error) throw importDecls[importsOrder.nodes.find((importPath) => importDecls.hasOwnProperty(importPath))].error("Failed to resolve order of composed modules " + importsOrder.nodes.map((importPath) => "`" + importPath + "`").join(", ") + ".", {
|
|
1176
|
+
plugin: "postcss-modules-extract-imports",
|
|
1177
|
+
word: "composes"
|
|
1178
|
+
});
|
|
1184
1179
|
let lastImportRule;
|
|
1185
1180
|
importsOrder.forEach((path$2) => {
|
|
1186
1181
|
const importedSymbols = imports[path$2];
|
|
@@ -1631,12 +1626,10 @@ var require_generic_names = /* @__PURE__ */ __commonJS({ "../../node_modules/.pn
|
|
|
1631
1626
|
*/
|
|
1632
1627
|
return function generate(localName, filepath) {
|
|
1633
1628
|
var name = pattern.replace(/\[local\]/gi, localName);
|
|
1634
|
-
|
|
1635
|
-
var loaderOptions = {
|
|
1629
|
+
return interpolateName({ resourcePath: filepath }, name, {
|
|
1636
1630
|
content: hashPrefix + path.relative(context, filepath).replace(/\\/g, "/") + "\0" + localName,
|
|
1637
1631
|
context
|
|
1638
|
-
};
|
|
1639
|
-
return interpolateName(loaderContext, name, loaderOptions).replace(new RegExp("[^a-zA-Z0-9\\-_\xA0-]", "g"), "-").replace(/^((-?[0-9])|--)/, "_$1");
|
|
1632
|
+
}).replace(new RegExp("[^a-zA-Z0-9\\-_\xA0-]", "g"), "-").replace(/^((-?[0-9])|--)/, "_$1");
|
|
1640
1633
|
};
|
|
1641
1634
|
};
|
|
1642
1635
|
}) });
|
|
@@ -2922,8 +2915,7 @@ var require_attribute = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/p
|
|
|
2922
2915
|
var _proto = Attribute$1.prototype;
|
|
2923
2916
|
_proto.getQuotedValue = function getQuotedValue(options) {
|
|
2924
2917
|
if (options === void 0) options = {};
|
|
2925
|
-
var
|
|
2926
|
-
var cssescopts = CSSESC_QUOTE_OPTIONS[quoteMark];
|
|
2918
|
+
var cssescopts = CSSESC_QUOTE_OPTIONS[this._determineQuoteMark(options)];
|
|
2927
2919
|
return (0, _cssesc["default"])(this._value, cssescopts);
|
|
2928
2920
|
};
|
|
2929
2921
|
_proto._determineQuoteMark = function _determineQuoteMark(options) {
|
|
@@ -5246,8 +5238,7 @@ var require_src$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postc
|
|
|
5246
5238
|
if (atRule.params) atRule.params = atRule.params.split("to").map((item) => {
|
|
5247
5239
|
const selector$1 = item.trim().slice(1, -1).trim();
|
|
5248
5240
|
if (!/^\s*:local\s*\((.+?)\)\s*$/.exec(selector$1)) return `(${selector$1})`;
|
|
5249
|
-
|
|
5250
|
-
return `(${traverseNode(parsedSelector).toString()})`;
|
|
5241
|
+
return `(${traverseNode(selectorParser().astSync(selector$1)).toString()})`;
|
|
5251
5242
|
}).join(" to ");
|
|
5252
5243
|
});
|
|
5253
5244
|
const exportedNames = Object.keys(exports$1);
|
|
@@ -5425,8 +5416,7 @@ var require_scoping = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/pos
|
|
|
5425
5416
|
function generateScopedNameDefault(name, filename, css) {
|
|
5426
5417
|
const i$1 = css.indexOf(`.${name}`);
|
|
5427
5418
|
const lineNumber = css.substr(0, i$1).split(/[\r\n]/).length;
|
|
5428
|
-
|
|
5429
|
-
return `_${name}_${hash$1}_${lineNumber}`;
|
|
5419
|
+
return `_${name}_${(0, _stringHash.default)(css).toString(36).substr(0, 5)}_${lineNumber}`;
|
|
5430
5420
|
}
|
|
5431
5421
|
function getScopedNameGenerator(generateScopedName, hashPrefix) {
|
|
5432
5422
|
const scopedNameGenerator = generateScopedName || generateScopedNameDefault;
|
|
@@ -5489,8 +5479,7 @@ var require_pluginFactory = /* @__PURE__ */ __commonJS({ "../../node_modules/.pn
|
|
|
5489
5479
|
const pluginList = getDefaultPluginsList(opts, inputFile);
|
|
5490
5480
|
const resultPluginIndex = result.processor.plugins.findIndex((plugin$1) => isOurPlugin(plugin$1));
|
|
5491
5481
|
if (resultPluginIndex === -1) throw new Error("Plugin missing from options.");
|
|
5492
|
-
const
|
|
5493
|
-
const loader = getLoader(opts, loaderPlugins);
|
|
5482
|
+
const loader = getLoader(opts, [...result.processor.plugins.slice(0, resultPluginIndex), ...pluginList]);
|
|
5494
5483
|
const fetcher = async (file, relativeTo, depTrace) => {
|
|
5495
5484
|
const unquoteFile = (0, _unquote.default)(file);
|
|
5496
5485
|
return loader.fetch.call(loader, unquoteFile, relativeTo, depTrace);
|
|
@@ -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-B0GuR2De.js";
|
|
3
3
|
|
|
4
4
|
export { createBuilder, resolveBuildPlugins };
|
|
@@ -4503,8 +4503,7 @@ var Parser = class {
|
|
|
4503
4503
|
}
|
|
4504
4504
|
if (!token.location) return;
|
|
4505
4505
|
const siblings = this.treeAdapter.getChildNodes(parent);
|
|
4506
|
-
const
|
|
4507
|
-
const textNode = siblings[textNodeIdx - 1];
|
|
4506
|
+
const textNode = siblings[(beforeElement ? siblings.lastIndexOf(beforeElement) : siblings.length) - 1];
|
|
4508
4507
|
if (this.treeAdapter.getNodeSourceCodeLocation(textNode)) {
|
|
4509
4508
|
const { endLine, endCol, endOffset } = token.location;
|
|
4510
4509
|
this.treeAdapter.updateNodeSourceCodeLocation(textNode, {
|
|
@@ -4719,8 +4718,7 @@ var Parser = class {
|
|
|
4719
4718
|
}
|
|
4720
4719
|
/** @protected */
|
|
4721
4720
|
_isSpecialElement(element, id) {
|
|
4722
|
-
|
|
4723
|
-
return SPECIAL_ELEMENTS[ns].has(id);
|
|
4721
|
+
return SPECIAL_ELEMENTS[this.treeAdapter.getNamespaceURI(element)].has(id);
|
|
4724
4722
|
}
|
|
4725
4723
|
/** @internal */
|
|
4726
4724
|
onCharacter(token) {
|
|
@@ -5207,8 +5205,7 @@ function aaRecreateElementFromEntry(p, elementEntry) {
|
|
|
5207
5205
|
return newElement;
|
|
5208
5206
|
}
|
|
5209
5207
|
function aaInsertLastNodeInCommonAncestor(p, commonAncestor, lastElement) {
|
|
5210
|
-
const
|
|
5211
|
-
const tid = getTagID(tn);
|
|
5208
|
+
const tid = getTagID(p.treeAdapter.getTagName(commonAncestor));
|
|
5212
5209
|
if (p._isElementCausesFosterParenting(tid)) p._fosterParentElement(lastElement);
|
|
5213
5210
|
else {
|
|
5214
5211
|
const ns = p.treeAdapter.getNamespaceURI(commonAncestor);
|
|
@@ -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-B0GuR2De.js";
|
|
3
3
|
|
|
4
4
|
export { optimizeDeps };
|
|
@@ -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-B0GuR2De.js";
|
|
3
3
|
|
|
4
4
|
export { resolveConfig };
|
|
@@ -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-B0GuR2De.js";
|
|
3
3
|
|
|
4
4
|
export { createServer };
|
package/dist/node/cli.js
CHANGED
|
@@ -459,8 +459,7 @@ var CAC = class extends EventEmitter {
|
|
|
459
459
|
}
|
|
460
460
|
}
|
|
461
461
|
for (const key of Object.keys(parsed)) if (key !== "_") {
|
|
462
|
-
|
|
463
|
-
setDotProp(options, keys, parsed[key]);
|
|
462
|
+
setDotProp(options, key.split("."), parsed[key]);
|
|
464
463
|
setByType(options, transforms);
|
|
465
464
|
}
|
|
466
465
|
return {
|
|
@@ -568,7 +567,7 @@ const convertBase = (v) => {
|
|
|
568
567
|
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
568
|
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
569
|
filterDuplicateOptions(options);
|
|
571
|
-
const { createServer } = await import("./chunks/dep-
|
|
570
|
+
const { createServer } = await import("./chunks/dep-F8pfeHm9.js");
|
|
572
571
|
try {
|
|
573
572
|
const server = await createServer({
|
|
574
573
|
root,
|
|
@@ -624,10 +623,10 @@ cli.command("[root]", "start dev server").alias("serve").alias("dev").option("--
|
|
|
624
623
|
});
|
|
625
624
|
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
625
|
filterDuplicateOptions(options);
|
|
627
|
-
const { createBuilder } = await import("./chunks/dep-
|
|
626
|
+
const { createBuilder } = await import("./chunks/dep-B6cO9KC8.js");
|
|
628
627
|
const buildOptions = cleanGlobalCLIOptions(cleanBuilderCLIOptions(options));
|
|
629
628
|
try {
|
|
630
|
-
|
|
629
|
+
await (await createBuilder({
|
|
631
630
|
root,
|
|
632
631
|
base: options.base,
|
|
633
632
|
mode: options.mode,
|
|
@@ -637,8 +636,7 @@ cli.command("build [root]", "build for production").option("--target <target>",
|
|
|
637
636
|
clearScreen: options.clearScreen,
|
|
638
637
|
build: buildOptions,
|
|
639
638
|
...options.app ? { builder: {} } : {}
|
|
640
|
-
};
|
|
641
|
-
await (await createBuilder(inlineConfig, null)).buildApp();
|
|
639
|
+
}, null)).buildApp();
|
|
642
640
|
} catch (e) {
|
|
643
641
|
createLogger(options.logLevel).error(import_picocolors.default.red(`error during build:\n${e.stack}`), { error: e });
|
|
644
642
|
process.exit(1);
|
|
@@ -648,18 +646,17 @@ cli.command("build [root]", "build for production").option("--target <target>",
|
|
|
648
646
|
});
|
|
649
647
|
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
648
|
filterDuplicateOptions(options);
|
|
651
|
-
const { resolveConfig } = await import("./chunks/dep-
|
|
652
|
-
const { optimizeDeps } = await import("./chunks/dep-
|
|
649
|
+
const { resolveConfig } = await import("./chunks/dep-Cl2Q94Oy.js");
|
|
650
|
+
const { optimizeDeps } = await import("./chunks/dep-BhuufcWm.js");
|
|
653
651
|
try {
|
|
654
|
-
|
|
652
|
+
await optimizeDeps(await resolveConfig({
|
|
655
653
|
root,
|
|
656
654
|
base: options.base,
|
|
657
655
|
configFile: options.config,
|
|
658
656
|
configLoader: options.configLoader,
|
|
659
657
|
logLevel: options.logLevel,
|
|
660
658
|
mode: options.mode
|
|
661
|
-
}, "serve");
|
|
662
|
-
await optimizeDeps(config, options.force, true);
|
|
659
|
+
}, "serve"), options.force, true);
|
|
663
660
|
} catch (e) {
|
|
664
661
|
createLogger(options.logLevel).error(import_picocolors.default.red(`error when optimizing deps:\n${e.stack}`), { error: e });
|
|
665
662
|
process.exit(1);
|
|
@@ -667,7 +664,7 @@ cli.command("optimize [root]", "pre-bundle dependencies (deprecated, the pre-bun
|
|
|
667
664
|
});
|
|
668
665
|
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
666
|
filterDuplicateOptions(options);
|
|
670
|
-
const { preview } = await import("./chunks/dep-
|
|
667
|
+
const { preview } = await import("./chunks/dep-D5ktuZSi.js");
|
|
671
668
|
try {
|
|
672
669
|
const server = await preview({
|
|
673
670
|
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.
|
|
320
|
+
//#region ../../node_modules/.pnpm/http-proxy-3@1.22.0/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.
|
|
492
|
+
//#region ../../node_modules/.pnpm/http-proxy-3@1.22.0/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 };
|
|
@@ -2463,7 +2463,7 @@ interface ViteDevServer {
|
|
|
2463
2463
|
*/
|
|
2464
2464
|
watcher: FSWatcher;
|
|
2465
2465
|
/**
|
|
2466
|
-
*
|
|
2466
|
+
* WebSocket server with `send(payload)` method
|
|
2467
2467
|
*/
|
|
2468
2468
|
ws: WebSocketServer;
|
|
2469
2469
|
/**
|
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-B0GuR2De.js";
|
|
3
3
|
import { parseAst, parseAstAsync } from "rollup/parseAst";
|
|
4
4
|
import { version as esbuildVersion } from "esbuild";
|
|
5
5
|
|
|
@@ -100,10 +100,9 @@ for (let i = 0; i < chars.length; i++) {
|
|
|
100
100
|
}
|
|
101
101
|
function decodeInteger(reader, relative) {
|
|
102
102
|
let value = 0, shift = 0, integer = 0;
|
|
103
|
-
do
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
} while (integer & 32);
|
|
103
|
+
do
|
|
104
|
+
integer = charToInt[reader.next()], value |= (integer & 31) << shift, shift += 5;
|
|
105
|
+
while (integer & 32);
|
|
107
106
|
let shouldNegate = value & 1;
|
|
108
107
|
return value >>>= 1, shouldNegate && (value = -2147483648 | -value), relative + value;
|
|
109
108
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vite",
|
|
3
|
-
"version": "7.1.
|
|
3
|
+
"version": "7.1.10",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Evan You",
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"@jridgewell/trace-mapping": "^0.3.31",
|
|
85
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.43",
|
|
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",
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
"@types/escape-html": "^1.0.4",
|
|
93
93
|
"@types/pnpapi": "^0.0.5",
|
|
94
94
|
"artichokie": "^0.4.2",
|
|
95
|
-
"baseline-browser-mapping": "^2.8.
|
|
95
|
+
"baseline-browser-mapping": "^2.8.16",
|
|
96
96
|
"cac": "^6.7.14",
|
|
97
97
|
"chokidar": "^3.6.0",
|
|
98
98
|
"connect": "^3.7.0",
|
|
@@ -107,8 +107,8 @@
|
|
|
107
107
|
"escape-html": "^1.0.3",
|
|
108
108
|
"estree-walker": "^3.0.3",
|
|
109
109
|
"etag": "^1.8.1",
|
|
110
|
-
"host-validation-middleware": "^0.1.
|
|
111
|
-
"http-proxy-3": "^1.
|
|
110
|
+
"host-validation-middleware": "^0.1.2",
|
|
111
|
+
"http-proxy-3": "^1.22.0",
|
|
112
112
|
"launch-editor-middleware": "^2.11.1",
|
|
113
113
|
"lightningcss": "^1.30.2",
|
|
114
114
|
"magic-string": "^0.30.19",
|
|
@@ -125,7 +125,7 @@
|
|
|
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.
|
|
128
|
+
"rolldown": "^1.0.0-beta.43",
|
|
129
129
|
"rolldown-plugin-dts": "^0.16.11",
|
|
130
130
|
"rollup-plugin-license": "^3.6.0",
|
|
131
131
|
"sass": "^1.93.2",
|