vite 5.1.5 → 5.1.7
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/dist/node/chunks/{dep-WMYkPWs9.js → dep-a4OR5kR_.js} +1 -1
- package/dist/node/chunks/{dep-G-px366b.js → dep-k5wXcrSr.js} +317 -228
- package/dist/node/chunks/{dep-OHeF5w5D.js → dep-qw1-Ctro.js} +1 -1
- package/dist/node/cli.js +5 -5
- package/dist/node/index.d.ts +5 -5
- package/dist/node/index.js +2 -2
- package/dist/node/runtime.d.ts +2 -2
- package/dist/node/runtime.js +40 -37
- package/dist/node/{types.d-AKzkD8vd.d.ts → types.d-FdqQ54oU.d.ts} +18 -15
- package/dist/node-cjs/publicUtils.cjs +5 -2
- package/package.json +7 -7
package/dist/node/cli.js
CHANGED
@@ -2,7 +2,7 @@ import path from 'node:path';
|
|
2
2
|
import fs from 'node:fs';
|
3
3
|
import { performance } from 'node:perf_hooks';
|
4
4
|
import { EventEmitter } from 'events';
|
5
|
-
import { A as colors, v as createLogger, r as resolveConfig } from './chunks/dep-
|
5
|
+
import { A as colors, v as createLogger, r as resolveConfig } from './chunks/dep-k5wXcrSr.js';
|
6
6
|
import { VERSION } from './constants.js';
|
7
7
|
import 'node:fs/promises';
|
8
8
|
import 'node:url';
|
@@ -757,7 +757,7 @@ cli
|
|
757
757
|
filterDuplicateOptions(options);
|
758
758
|
// output structure is preserved even after bundling so require()
|
759
759
|
// is ok here
|
760
|
-
const { createServer } = await import('./chunks/dep-
|
760
|
+
const { createServer } = await import('./chunks/dep-k5wXcrSr.js').then(function (n) { return n.E; });
|
761
761
|
try {
|
762
762
|
const server = await createServer({
|
763
763
|
root,
|
@@ -836,7 +836,7 @@ cli
|
|
836
836
|
.option('-w, --watch', `[boolean] rebuilds when modules have changed on disk`)
|
837
837
|
.action(async (root, options) => {
|
838
838
|
filterDuplicateOptions(options);
|
839
|
-
const { build } = await import('./chunks/dep-
|
839
|
+
const { build } = await import('./chunks/dep-k5wXcrSr.js').then(function (n) { return n.F; });
|
840
840
|
const buildOptions = cleanOptions(options);
|
841
841
|
try {
|
842
842
|
await build({
|
@@ -863,7 +863,7 @@ cli
|
|
863
863
|
.option('--force', `[boolean] force the optimizer to ignore the cache and re-bundle`)
|
864
864
|
.action(async (root, options) => {
|
865
865
|
filterDuplicateOptions(options);
|
866
|
-
const { optimizeDeps } = await import('./chunks/dep-
|
866
|
+
const { optimizeDeps } = await import('./chunks/dep-k5wXcrSr.js').then(function (n) { return n.D; });
|
867
867
|
try {
|
868
868
|
const config = await resolveConfig({
|
869
869
|
root,
|
@@ -889,7 +889,7 @@ cli
|
|
889
889
|
.option('--outDir <dir>', `[string] output directory (default: dist)`)
|
890
890
|
.action(async (root, options) => {
|
891
891
|
filterDuplicateOptions(options);
|
892
|
-
const { preview } = await import('./chunks/dep-
|
892
|
+
const { preview } = await import('./chunks/dep-k5wXcrSr.js').then(function (n) { return n.G; });
|
893
893
|
try {
|
894
894
|
const server = await preview({
|
895
895
|
root,
|
package/dist/node/index.d.ts
CHANGED
@@ -15,8 +15,8 @@ import * as url from 'node:url';
|
|
15
15
|
import { URL } from 'node:url';
|
16
16
|
import * as stream from 'node:stream';
|
17
17
|
import { Duplex, DuplexOptions } from 'node:stream';
|
18
|
-
import { F as FetchResult, H as HMRLogger } from './types.d-
|
19
|
-
export { a as FetchFunction } from './types.d-
|
18
|
+
import { F as FetchResult, H as HMRLogger } from './types.d-FdqQ54oU.js';
|
19
|
+
export { a as FetchFunction } from './types.d-FdqQ54oU.js';
|
20
20
|
import { SecureContextOptions } from 'node:tls';
|
21
21
|
import { ZlibOptions } from 'node:zlib';
|
22
22
|
import { HMRPayload, CustomPayload } from '../../types/hmrPayload.js';
|
@@ -1615,9 +1615,9 @@ interface ServerOptions extends CommonServerOptions {
|
|
1615
1615
|
*/
|
1616
1616
|
sourcemapIgnoreList?: false | ((sourcePath: string, sourcemapPath: string) => boolean);
|
1617
1617
|
}
|
1618
|
-
interface ResolvedServerOptions extends ServerOptions {
|
1618
|
+
interface ResolvedServerOptions extends Omit<ServerOptions, 'fs' | 'middlewareMode' | 'sourcemapIgnoreList'> {
|
1619
1619
|
fs: Required<FileSystemServeOptions>;
|
1620
|
-
middlewareMode:
|
1620
|
+
middlewareMode: NonNullable<ServerOptions['middlewareMode']>;
|
1621
1621
|
sourcemapIgnoreList: Exclude<ServerOptions['sourcemapIgnoreList'], false | undefined>;
|
1622
1622
|
}
|
1623
1623
|
interface FileSystemServeOptions {
|
@@ -3341,7 +3341,7 @@ interface LegacyOptions {
|
|
3341
3341
|
}
|
3342
3342
|
interface ResolvedWorkerOptions {
|
3343
3343
|
format: 'es' | 'iife';
|
3344
|
-
plugins: () => Promise<Plugin[]>;
|
3344
|
+
plugins: (bundleChain: string[]) => Promise<Plugin[]>;
|
3345
3345
|
rollupOptions: RollupOptions;
|
3346
3346
|
}
|
3347
3347
|
interface InlineConfig extends UserConfig {
|
package/dist/node/index.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
export { parseAst, parseAstAsync } from 'rollup/parseAst';
|
2
|
-
import { i as isInNodeModules, a as arraify } from './chunks/dep-
|
3
|
-
export { b as build, g as buildErrorMessage, k as createFilter, v as createLogger, c as createServer, d as defineConfig, h as fetchModule, f as formatPostcssSourceMap, x as isFileServingAllowed, l as loadConfigFromFile, y as loadEnv, j as mergeAlias, m as mergeConfig, n as normalizePath, o as optimizeDeps, e as preprocessCSS, p as preview, r as resolveConfig, z as resolveEnvPrefix, q as rollupVersion, w as searchForWorkspaceRoot, u as send, s as sortUserPlugins, t as transformWithEsbuild } from './chunks/dep-
|
2
|
+
import { i as isInNodeModules, a as arraify } from './chunks/dep-k5wXcrSr.js';
|
3
|
+
export { b as build, g as buildErrorMessage, k as createFilter, v as createLogger, c as createServer, d as defineConfig, h as fetchModule, f as formatPostcssSourceMap, x as isFileServingAllowed, l as loadConfigFromFile, y as loadEnv, j as mergeAlias, m as mergeConfig, n as normalizePath, o as optimizeDeps, e as preprocessCSS, p as preview, r as resolveConfig, z as resolveEnvPrefix, q as rollupVersion, w as searchForWorkspaceRoot, u as send, s as sortUserPlugins, t as transformWithEsbuild } from './chunks/dep-k5wXcrSr.js';
|
4
4
|
export { VERSION as version } from './constants.js';
|
5
5
|
export { version as esbuildVersion } from 'esbuild';
|
6
6
|
import { existsSync, readFileSync } from 'node:fs';
|
package/dist/node/runtime.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import { V as ViteRuntimeOptions, b as ViteModuleRunner, M as ModuleCacheMap, c as HMRClient, R as ResolvedResult, d as ViteRuntimeModuleContext } from './types.d-
|
2
|
-
export { a as FetchFunction, F as FetchResult, e as HMRConnection, H as HMRLogger, g as HMRRuntimeConnection, f as ModuleCache, S as SSRImportMetadata, h as ViteRuntimeImportMeta, s as ssrDynamicImportKey, i as ssrExportAllKey, j as ssrImportKey, k as ssrImportMetaKey, l as ssrModuleExportsKey } from './types.d-
|
1
|
+
import { V as ViteRuntimeOptions, b as ViteModuleRunner, M as ModuleCacheMap, c as HMRClient, R as ResolvedResult, d as ViteRuntimeModuleContext } from './types.d-FdqQ54oU.js';
|
2
|
+
export { a as FetchFunction, F as FetchResult, e as HMRConnection, H as HMRLogger, g as HMRRuntimeConnection, f as ModuleCache, S as SSRImportMetadata, h as ViteRuntimeImportMeta, s as ssrDynamicImportKey, i as ssrExportAllKey, j as ssrImportKey, k as ssrImportMetaKey, l as ssrModuleExportsKey } from './types.d-FdqQ54oU.js';
|
3
3
|
import '../../types/hot.js';
|
4
4
|
import '../../types/hmrPayload.js';
|
5
5
|
import '../../types/customEvent.js';
|
package/dist/node/runtime.js
CHANGED
@@ -1,13 +1,17 @@
|
|
1
1
|
const VALID_ID_PREFIX = "/@id/", NULL_BYTE_PLACEHOLDER = "__x00__";
|
2
2
|
let SOURCEMAPPING_URL = "sourceMa";
|
3
3
|
SOURCEMAPPING_URL += "ppingURL";
|
4
|
-
const
|
4
|
+
const isWindows = typeof process < "u" && process.platform === "win32";
|
5
5
|
function wrapId(id) {
|
6
6
|
return id.startsWith(VALID_ID_PREFIX) ? id : VALID_ID_PREFIX + id.replace("\0", NULL_BYTE_PLACEHOLDER);
|
7
7
|
}
|
8
8
|
function unwrapId(id) {
|
9
9
|
return id.startsWith(VALID_ID_PREFIX) ? id.slice(VALID_ID_PREFIX.length).replace(NULL_BYTE_PLACEHOLDER, "\0") : id;
|
10
10
|
}
|
11
|
+
const windowsSlashRE = /\\/g;
|
12
|
+
function slash(p) {
|
13
|
+
return p.replace(windowsSlashRE, "/");
|
14
|
+
}
|
11
15
|
const postfixRE = /[?#].*$/;
|
12
16
|
function cleanUrl(url) {
|
13
17
|
return url.replace(postfixRE, "");
|
@@ -18,7 +22,8 @@ function isPrimitive(value) {
|
|
18
22
|
function withTrailingSlash(path) {
|
19
23
|
return path[path.length - 1] !== "/" ? `${path}/` : path;
|
20
24
|
}
|
21
|
-
const
|
25
|
+
const AsyncFunction = async function() {
|
26
|
+
}.constructor, _DRIVE_LETTER_START_RE = /^[A-Za-z]:\//;
|
22
27
|
function normalizeWindowsPath(input = "") {
|
23
28
|
return input && input.replace(/\\/g, "/").replace(_DRIVE_LETTER_START_RE, (r) => r.toUpperCase());
|
24
29
|
}
|
@@ -215,7 +220,7 @@ function getOriginalPosition(map, needle) {
|
|
215
220
|
const result = originalPositionFor(map, needle);
|
216
221
|
return result.column == null ? null : result;
|
217
222
|
}
|
218
|
-
const VITE_RUNTIME_SOURCEMAPPING_REGEXP = new RegExp(`//# ${
|
223
|
+
const VITE_RUNTIME_SOURCEMAPPING_REGEXP = new RegExp(`//# ${SOURCEMAPPING_URL}=data:application/json;base64,(.+)`);
|
219
224
|
class ModuleCacheMap extends Map {
|
220
225
|
root;
|
221
226
|
constructor(root, entries) {
|
@@ -321,7 +326,7 @@ const prefixedBuiltins = /* @__PURE__ */ new Set(["node:test"]);
|
|
321
326
|
function normalizeModuleId(file, root) {
|
322
327
|
if (prefixedBuiltins.has(file))
|
323
328
|
return file;
|
324
|
-
let unixFile = file
|
329
|
+
let unixFile = slash(file).replace(/^\/@fs\//, isWindows ? "" : "/").replace(/^node:/, "").replace(/^\/+/, "/");
|
325
330
|
return unixFile.startsWith(root) && (unixFile = unixFile.slice(root.length - 1)), unixFile.replace(/^file:\//, "/");
|
326
331
|
}
|
327
332
|
class HMRContext {
|
@@ -493,6 +498,29 @@ class HMRClient {
|
|
493
498
|
};
|
494
499
|
}
|
495
500
|
}
|
501
|
+
function analyzeImportedModDifference(mod, rawId, moduleType, metadata) {
|
502
|
+
if (!metadata?.isDynamicImport && moduleType !== "module" && metadata?.importedNames?.length) {
|
503
|
+
const missingBindings = metadata.importedNames.filter((s) => !(s in mod));
|
504
|
+
if (missingBindings.length) {
|
505
|
+
const lastBinding = missingBindings[missingBindings.length - 1];
|
506
|
+
throw new SyntaxError(`[vite] Named export '${lastBinding}' not found. The requested module '${rawId}' is a CommonJS module, which may not support all module.exports as named exports.
|
507
|
+
CommonJS modules can always be imported via the default export, for example using:
|
508
|
+
|
509
|
+
import pkg from '${rawId}';
|
510
|
+
const {${missingBindings.join(", ")}} = pkg;
|
511
|
+
`);
|
512
|
+
}
|
513
|
+
}
|
514
|
+
}
|
515
|
+
function proxyGuardOnlyEsm(mod, rawId, metadata) {
|
516
|
+
return metadata?.importedNames?.length ? new Proxy(mod, {
|
517
|
+
get(mod2, prop) {
|
518
|
+
if (prop !== "then" && !(prop in mod2))
|
519
|
+
throw new SyntaxError(`[vite] The requested module '${rawId}' does not provide an export named '${prop.toString()}'`);
|
520
|
+
return mod2[prop];
|
521
|
+
}
|
522
|
+
}) : mod;
|
523
|
+
}
|
496
524
|
const ssrModuleExportsKey = "__vite_ssr_exports__", ssrImportKey = "__vite_ssr_import__", ssrDynamicImportKey = "__vite_ssr_dynamic_import__", ssrExportAllKey = "__vite_ssr_exportAll__", ssrImportMetaKey = "__vite_ssr_import_meta__", noop = () => {
|
497
525
|
}, silentConsole = {
|
498
526
|
debug: noop,
|
@@ -575,22 +603,22 @@ const sourceMapCache = {}, fileContentsCache = {}, moduleGraphs = /* @__PURE__ *
|
|
575
603
|
return result;
|
576
604
|
}
|
577
605
|
return null;
|
578
|
-
}, retrieveFileFromHandlers = createExecHandlers(retrieveFileHandlers),
|
579
|
-
let
|
606
|
+
}, retrieveFileFromHandlers = createExecHandlers(retrieveFileHandlers), retrieveSourceMapFromHandlers = createExecHandlers(retrieveSourceMapHandlers);
|
607
|
+
let overridden = !1;
|
580
608
|
const originalPrepare = Error.prepareStackTrace;
|
581
609
|
function resetInterceptor(runtime, options) {
|
582
|
-
moduleGraphs.delete(runtime.moduleCache), options.retrieveFile && retrieveFileHandlers.delete(options.retrieveFile), options.retrieveSourceMap && retrieveSourceMapHandlers.delete(options.retrieveSourceMap), moduleGraphs.size === 0 && (Error.prepareStackTrace = originalPrepare,
|
610
|
+
moduleGraphs.delete(runtime.moduleCache), options.retrieveFile && retrieveFileHandlers.delete(options.retrieveFile), options.retrieveSourceMap && retrieveSourceMapHandlers.delete(options.retrieveSourceMap), moduleGraphs.size === 0 && (Error.prepareStackTrace = originalPrepare, overridden = !1);
|
583
611
|
}
|
584
612
|
function interceptStackTrace(runtime, options = {}) {
|
585
|
-
return
|
613
|
+
return overridden || (Error.prepareStackTrace = prepareStackTrace, overridden = !0), moduleGraphs.add(runtime.moduleCache), options.retrieveFile && retrieveFileHandlers.add(options.retrieveFile), options.retrieveSourceMap && retrieveSourceMapHandlers.add(options.retrieveSourceMap), () => resetInterceptor(runtime, options);
|
586
614
|
}
|
587
615
|
function supportRelativeURL(file, url) {
|
588
616
|
if (!file)
|
589
617
|
return url;
|
590
|
-
const dir = posixDirname(file
|
618
|
+
const dir = posixDirname(slash(file)), match = /^\w+:\/\/[^/]*/.exec(dir);
|
591
619
|
let protocol = match ? match[0] : "";
|
592
620
|
const startPath = dir.slice(protocol.length);
|
593
|
-
return protocol && /^\/\w:/.test(startPath) ? (protocol += "/", protocol + posixResolve(
|
621
|
+
return protocol && /^\/\w:/.test(startPath) ? (protocol += "/", protocol + slash(posixResolve(startPath, url))) : protocol + posixResolve(startPath, url);
|
594
622
|
}
|
595
623
|
function getRuntimeSourceMap(position) {
|
596
624
|
for (const moduleCache of moduleGraphs) {
|
@@ -622,7 +650,7 @@ function retrieveSourceMapURL(source) {
|
|
622
650
|
}
|
623
651
|
const reSourceMap = /^data:application\/json[^,]+base64,/;
|
624
652
|
function retrieveSourceMap(source) {
|
625
|
-
const urlAndMap =
|
653
|
+
const urlAndMap = retrieveSourceMapFromHandlers(source);
|
626
654
|
if (urlAndMap)
|
627
655
|
return urlAndMap;
|
628
656
|
let sourceMappingURL = retrieveSourceMapURL(source);
|
@@ -847,7 +875,7 @@ class ViteRuntime {
|
|
847
875
|
normalizeEntryUrl(url) {
|
848
876
|
if (url[0] === ".")
|
849
877
|
return url;
|
850
|
-
url.startsWith("file://") && (url = url.slice(isWindows ? 8 : 7)), url = url
|
878
|
+
url.startsWith("file://") && (url = url.slice(isWindows ? 8 : 7)), url = slash(url);
|
851
879
|
const _root = this.options.root, root = _root[_root.length - 1] === "/" ? _root : `${_root}/`;
|
852
880
|
return url.startsWith(root) ? url.slice(root.length - 1) : url[0] === "/" ? url : wrapId(url);
|
853
881
|
}
|
@@ -968,31 +996,6 @@ function exportAll(exports, sourceModule) {
|
|
968
996
|
}
|
969
997
|
}
|
970
998
|
}
|
971
|
-
function analyzeImportedModDifference(mod, rawId, moduleType, metadata) {
|
972
|
-
if (!metadata?.isDynamicImport && moduleType !== "module" && metadata?.importedNames?.length) {
|
973
|
-
const missingBindings = metadata.importedNames.filter((s) => !(s in mod));
|
974
|
-
if (missingBindings.length) {
|
975
|
-
const lastBinding = missingBindings[missingBindings.length - 1];
|
976
|
-
throw new SyntaxError(`[vite] Named export '${lastBinding}' not found. The requested module '${rawId}' is a CommonJS module, which may not support all module.exports as named exports.
|
977
|
-
CommonJS modules can always be imported via the default export, for example using:
|
978
|
-
|
979
|
-
import pkg from '${rawId}';
|
980
|
-
const {${missingBindings.join(", ")}} = pkg;
|
981
|
-
`);
|
982
|
-
}
|
983
|
-
}
|
984
|
-
}
|
985
|
-
function proxyGuardOnlyEsm(mod, rawId, metadata) {
|
986
|
-
return metadata?.importedNames?.length ? new Proxy(mod, {
|
987
|
-
get(mod2, prop) {
|
988
|
-
if (prop !== "then" && !(prop in mod2))
|
989
|
-
throw new SyntaxError(`[vite] The requested module '${rawId}' does not provide an export named '${prop.toString()}'`);
|
990
|
-
return mod2[prop];
|
991
|
-
}
|
992
|
-
}) : mod;
|
993
|
-
}
|
994
|
-
const AsyncFunction = async function() {
|
995
|
-
}.constructor;
|
996
999
|
class ESModulesRunner {
|
997
1000
|
async runViteModule(context, code) {
|
998
1001
|
await new AsyncFunction(
|
@@ -58,6 +58,22 @@ declare class HMRClient {
|
|
58
58
|
private fetchUpdate;
|
59
59
|
}
|
60
60
|
|
61
|
+
interface DefineImportMetadata {
|
62
|
+
/**
|
63
|
+
* Imported names before being transformed to `ssrImportKey`
|
64
|
+
*
|
65
|
+
* import foo, { bar as baz, qux } from 'hello'
|
66
|
+
* => ['default', 'bar', 'qux']
|
67
|
+
*
|
68
|
+
* import * as namespace from 'world
|
69
|
+
* => undefined
|
70
|
+
*/
|
71
|
+
importedNames?: string[];
|
72
|
+
}
|
73
|
+
interface SSRImportBaseMetadata extends DefineImportMetadata {
|
74
|
+
isDynamicImport?: boolean;
|
75
|
+
}
|
76
|
+
|
61
77
|
interface SourceMapLike {
|
62
78
|
version: number;
|
63
79
|
mappings?: string;
|
@@ -132,17 +148,8 @@ interface InterceptorOptions {
|
|
132
148
|
retrieveSourceMap?: RetrieveSourceMapHandler;
|
133
149
|
}
|
134
150
|
|
135
|
-
interface
|
136
|
-
|
137
|
-
* Imported names before being transformed to `ssrImportKey`
|
138
|
-
*
|
139
|
-
* import foo, { bar as baz, qux } from 'hello'
|
140
|
-
* => ['default', 'bar', 'qux']
|
141
|
-
*
|
142
|
-
* import * as namespace from 'world
|
143
|
-
* => undefined
|
144
|
-
*/
|
145
|
-
importedNames?: string[];
|
151
|
+
interface SSRImportMetadata extends SSRImportBaseMetadata {
|
152
|
+
entrypoint?: boolean;
|
146
153
|
}
|
147
154
|
interface HMRRuntimeConnection extends HMRConnection {
|
148
155
|
/**
|
@@ -151,10 +158,6 @@ interface HMRRuntimeConnection extends HMRConnection {
|
|
151
158
|
*/
|
152
159
|
onUpdate(callback: (payload: HMRPayload) => void): void;
|
153
160
|
}
|
154
|
-
interface SSRImportMetadata extends DefineImportMetadata {
|
155
|
-
isDynamicImport?: boolean;
|
156
|
-
entrypoint?: boolean;
|
157
|
-
}
|
158
161
|
interface ViteRuntimeImportMeta extends ImportMeta {
|
159
162
|
url: string;
|
160
163
|
env: ImportMetaEnv;
|
@@ -3524,7 +3524,7 @@ function mergeConfigRecursively(defaults, overrides, rootPath) {
|
|
3524
3524
|
continue;
|
3525
3525
|
}
|
3526
3526
|
if (Array.isArray(existing) || Array.isArray(value)) {
|
3527
|
-
merged[key] = [...arraify(existing
|
3527
|
+
merged[key] = [...arraify(existing), ...arraify(value)];
|
3528
3528
|
continue;
|
3529
3529
|
}
|
3530
3530
|
if (isObject$1(existing) && isObject$1(value)) {
|
@@ -4383,9 +4383,12 @@ class Mappings {
|
|
4383
4383
|
|
4384
4384
|
addEdit(sourceIndex, content, loc, nameIndex) {
|
4385
4385
|
if (content.length) {
|
4386
|
+
const contentLengthMinusOne = content.length - 1;
|
4386
4387
|
let contentLineEnd = content.indexOf('\n', 0);
|
4387
4388
|
let previousContentLineEnd = -1;
|
4388
|
-
|
4389
|
+
// Loop through each line in the content and add a segment, but stop if the last line is empty,
|
4390
|
+
// else code afterwards would fill one line too many
|
4391
|
+
while (contentLineEnd >= 0 && contentLengthMinusOne > contentLineEnd) {
|
4389
4392
|
const segment = [this.generatedCodeColumn, sourceIndex, loc.line, loc.column];
|
4390
4393
|
if (nameIndex >= 0) {
|
4391
4394
|
segment.push(nameIndex);
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "vite",
|
3
|
-
"version": "5.1.
|
3
|
+
"version": "5.1.7",
|
4
4
|
"type": "module",
|
5
5
|
"license": "MIT",
|
6
6
|
"author": "Evan You",
|
@@ -80,9 +80,9 @@
|
|
80
80
|
"fsevents": "~2.3.3"
|
81
81
|
},
|
82
82
|
"devDependencies": {
|
83
|
-
"@ampproject/remapping": "^2.
|
84
|
-
"@babel/parser": "^7.
|
85
|
-
"@jridgewell/trace-mapping": "^0.3.
|
83
|
+
"@ampproject/remapping": "^2.3.0",
|
84
|
+
"@babel/parser": "^7.24.0",
|
85
|
+
"@jridgewell/trace-mapping": "^0.3.25",
|
86
86
|
"@rollup/plugin-alias": "^5.1.0",
|
87
87
|
"@rollup/plugin-commonjs": "^25.0.7",
|
88
88
|
"@rollup/plugin-dynamic-import-vars": "^2.1.2",
|
@@ -113,7 +113,7 @@
|
|
113
113
|
"http-proxy": "^1.18.1",
|
114
114
|
"launch-editor-middleware": "^2.6.1",
|
115
115
|
"lightningcss": "^1.24.0",
|
116
|
-
"magic-string": "^0.30.
|
116
|
+
"magic-string": "^0.30.8",
|
117
117
|
"micromatch": "^4.0.5",
|
118
118
|
"mlly": "^1.6.1",
|
119
119
|
"mrmime": "^2.0.0",
|
@@ -129,12 +129,12 @@
|
|
129
129
|
"resolve.exports": "^2.0.2",
|
130
130
|
"rollup-plugin-dts": "^6.1.0",
|
131
131
|
"rollup-plugin-esbuild": "^6.1.1",
|
132
|
-
"rollup-plugin-license": "^3.
|
132
|
+
"rollup-plugin-license": "^3.3.1",
|
133
133
|
"sirv": "^2.0.4",
|
134
134
|
"source-map-support": "^0.5.21",
|
135
135
|
"strip-ansi": "^7.1.0",
|
136
136
|
"strip-literal": "^2.0.0",
|
137
|
-
"tsconfck": "^3.0.
|
137
|
+
"tsconfck": "^3.0.3",
|
138
138
|
"tslib": "^2.6.2",
|
139
139
|
"types": "link:./types",
|
140
140
|
"ufo": "^1.4.0",
|