vite 7.2.4 → 7.2.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.
@@ -1,7 +1,7 @@
1
- import { t as __commonJS } from "./chunk.js";
1
+ import { t as __commonJSMin } from "./chunk.js";
2
2
 
3
3
  //#region ../../node_modules/.pnpm/postcss-value-parser@4.2.0/node_modules/postcss-value-parser/lib/parse.js
4
- var require_parse = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-value-parser@4.2.0/node_modules/postcss-value-parser/lib/parse.js": ((exports, module) => {
4
+ var require_parse = /* @__PURE__ */ __commonJSMin(((exports, module) => {
5
5
  var openParentheses = "(".charCodeAt(0);
6
6
  var closeParentheses = ")".charCodeAt(0);
7
7
  var singleQuote = "'".charCodeAt(0);
@@ -229,11 +229,11 @@ var require_parse = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postc
229
229
  }
230
230
  return stack[0].nodes;
231
231
  };
232
- }) });
232
+ }));
233
233
 
234
234
  //#endregion
235
235
  //#region ../../node_modules/.pnpm/postcss-value-parser@4.2.0/node_modules/postcss-value-parser/lib/walk.js
236
- var require_walk = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-value-parser@4.2.0/node_modules/postcss-value-parser/lib/walk.js": ((exports, module) => {
236
+ var require_walk = /* @__PURE__ */ __commonJSMin(((exports, module) => {
237
237
  module.exports = function walk$1(nodes, cb, bubble) {
238
238
  var i, max, node, result;
239
239
  for (i = 0, max = nodes.length; i < max; i += 1) {
@@ -243,11 +243,11 @@ var require_walk = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcs
243
243
  if (bubble) cb(node, i, nodes);
244
244
  }
245
245
  };
246
- }) });
246
+ }));
247
247
 
248
248
  //#endregion
249
249
  //#region ../../node_modules/.pnpm/postcss-value-parser@4.2.0/node_modules/postcss-value-parser/lib/stringify.js
250
- var require_stringify = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-value-parser@4.2.0/node_modules/postcss-value-parser/lib/stringify.js": ((exports, module) => {
250
+ var require_stringify = /* @__PURE__ */ __commonJSMin(((exports, module) => {
251
251
  function stringifyNode(node, custom) {
252
252
  var type = node.type;
253
253
  var value = node.value;
@@ -277,11 +277,11 @@ var require_stringify = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/p
277
277
  return stringifyNode(nodes, custom);
278
278
  }
279
279
  module.exports = stringify$1;
280
- }) });
280
+ }));
281
281
 
282
282
  //#endregion
283
283
  //#region ../../node_modules/.pnpm/postcss-value-parser@4.2.0/node_modules/postcss-value-parser/lib/unit.js
284
- var require_unit = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-value-parser@4.2.0/node_modules/postcss-value-parser/lib/unit.js": ((exports, module) => {
284
+ var require_unit = /* @__PURE__ */ __commonJSMin(((exports, module) => {
285
285
  var minus = "-".charCodeAt(0);
286
286
  var plus = "+".charCodeAt(0);
287
287
  var dot = ".".charCodeAt(0);
@@ -345,11 +345,11 @@ var require_unit = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcs
345
345
  unit: value.slice(pos)
346
346
  };
347
347
  };
348
- }) });
348
+ }));
349
349
 
350
350
  //#endregion
351
351
  //#region ../../node_modules/.pnpm/postcss-value-parser@4.2.0/node_modules/postcss-value-parser/lib/index.js
352
- var require_lib = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-value-parser@4.2.0/node_modules/postcss-value-parser/lib/index.js": ((exports, module) => {
352
+ var require_lib = /* @__PURE__ */ __commonJSMin(((exports, module) => {
353
353
  var parse = require_parse();
354
354
  var walk = require_walk();
355
355
  var stringify = require_stringify();
@@ -371,7 +371,7 @@ var require_lib = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss
371
371
  ValueParser.walk = walk;
372
372
  ValueParser.stringify = stringify;
373
373
  module.exports = ValueParser;
374
- }) });
374
+ }));
375
375
 
376
376
  //#endregion
377
377
  export { require_lib as t };
@@ -1,11 +1,11 @@
1
- import { i as __toESM, t as __commonJS } from "./chunk.js";
1
+ import { s as __toESM, t as __commonJSMin } from "./chunk.js";
2
2
  import { readFileSync } from "node:fs";
3
3
  import path, { resolve } from "node:path";
4
4
  import { fileURLToPath } from "node:url";
5
5
  import readline from "node:readline";
6
6
 
7
7
  //#region ../../node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.js
8
- var require_picocolors = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.js": ((exports, module) => {
8
+ var require_picocolors = /* @__PURE__ */ __commonJSMin(((exports, module) => {
9
9
  let p = process || {}, argv = p.argv || [], env = p.env || {};
10
10
  let isColorSupported = !(!!env.NO_COLOR || argv.includes("--no-color")) && (!!env.FORCE_COLOR || argv.includes("--color") || p.platform === "win32" || (p.stdout || {}).isTTY && env.TERM !== "dumb" || !!env.CI);
11
11
  let formatter = (open, close, replace = open) => (input) => {
@@ -70,7 +70,7 @@ var require_picocolors = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
70
70
  };
71
71
  module.exports = createColors();
72
72
  module.exports.createColors = createColors;
73
- }) });
73
+ }));
74
74
 
75
75
  //#endregion
76
76
  //#region src/node/constants.ts
@@ -1,8 +1,8 @@
1
- import { n as __require, t as __commonJS } from "./chunk.js";
1
+ import { i as __require, t as __commonJSMin } from "./chunk.js";
2
2
  import { t as require_lib } from "./lib.js";
3
3
 
4
4
  //#region ../../node_modules/.pnpm/postcss-import@16.1.1_postcss@8.5.6/node_modules/postcss-import/lib/format-import-prelude.js
5
- var require_format_import_prelude = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-import@16.1.1_postcss@8.5.6/node_modules/postcss-import/lib/format-import-prelude.js": ((exports, module) => {
5
+ var require_format_import_prelude = /* @__PURE__ */ __commonJSMin(((exports, module) => {
6
6
  module.exports = function formatImportPrelude$2(layer, media, supports) {
7
7
  const parts = [];
8
8
  if (typeof layer !== "undefined") {
@@ -14,11 +14,11 @@ var require_format_import_prelude = /* @__PURE__ */ __commonJS({ "../../node_mod
14
14
  if (typeof media !== "undefined") parts.push(media);
15
15
  return parts.join(" ");
16
16
  };
17
- }) });
17
+ }));
18
18
 
19
19
  //#endregion
20
20
  //#region ../../node_modules/.pnpm/postcss-import@16.1.1_postcss@8.5.6/node_modules/postcss-import/lib/base64-encoded-import.js
21
- var require_base64_encoded_import = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-import@16.1.1_postcss@8.5.6/node_modules/postcss-import/lib/base64-encoded-import.js": ((exports, module) => {
21
+ var require_base64_encoded_import = /* @__PURE__ */ __commonJSMin(((exports, module) => {
22
22
  const formatImportPrelude$1 = require_format_import_prelude();
23
23
  module.exports = function base64EncodedConditionalImport$1(prelude, conditions) {
24
24
  if (!conditions?.length) return prelude;
@@ -28,11 +28,11 @@ var require_base64_encoded_import = /* @__PURE__ */ __commonJS({ "../../node_mod
28
28
  for (const condition of conditions) params = `'data:text/css;base64,${Buffer.from(`@import ${params}`).toString("base64")}' ${formatImportPrelude$1(condition.layer, condition.media, condition.supports)}`;
29
29
  return params;
30
30
  };
31
- }) });
31
+ }));
32
32
 
33
33
  //#endregion
34
34
  //#region ../../node_modules/.pnpm/postcss-import@16.1.1_postcss@8.5.6/node_modules/postcss-import/lib/apply-conditions.js
35
- var require_apply_conditions = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-import@16.1.1_postcss@8.5.6/node_modules/postcss-import/lib/apply-conditions.js": ((exports, module) => {
35
+ var require_apply_conditions = /* @__PURE__ */ __commonJSMin(((exports, module) => {
36
36
  const base64EncodedConditionalImport = require_base64_encoded_import();
37
37
  module.exports = function applyConditions$1(bundle, atRule) {
38
38
  const firstImportStatementIndex = bundle.findIndex((stmt) => stmt.type === "import");
@@ -104,11 +104,11 @@ var require_apply_conditions = /* @__PURE__ */ __commonJS({ "../../node_modules/
104
104
  delete stmt.node;
105
105
  });
106
106
  };
107
- }) });
107
+ }));
108
108
 
109
109
  //#endregion
110
110
  //#region ../../node_modules/.pnpm/postcss-import@16.1.1_postcss@8.5.6/node_modules/postcss-import/lib/apply-raws.js
111
- var require_apply_raws = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-import@16.1.1_postcss@8.5.6/node_modules/postcss-import/lib/apply-raws.js": ((exports, module) => {
111
+ var require_apply_raws = /* @__PURE__ */ __commonJSMin(((exports, module) => {
112
112
  module.exports = function applyRaws$1(bundle) {
113
113
  bundle.forEach((stmt, index) => {
114
114
  if (index === 0) return;
@@ -119,11 +119,11 @@ var require_apply_raws = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
119
119
  } else if (stmt.type === "nodes") stmt.nodes[0].raws.before = stmt.nodes[0].raws.before || "\n";
120
120
  });
121
121
  };
122
- }) });
122
+ }));
123
123
 
124
124
  //#endregion
125
125
  //#region ../../node_modules/.pnpm/postcss-import@16.1.1_postcss@8.5.6/node_modules/postcss-import/lib/apply-styles.js
126
- var require_apply_styles = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-import@16.1.1_postcss@8.5.6/node_modules/postcss-import/lib/apply-styles.js": ((exports, module) => {
126
+ var require_apply_styles = /* @__PURE__ */ __commonJSMin(((exports, module) => {
127
127
  module.exports = function applyStyles$1(bundle, styles) {
128
128
  styles.nodes = [];
129
129
  bundle.forEach((stmt) => {
@@ -140,11 +140,11 @@ var require_apply_styles = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnp
140
140
  });
141
141
  });
142
142
  };
143
- }) });
143
+ }));
144
144
 
145
145
  //#endregion
146
146
  //#region ../../node_modules/.pnpm/postcss-import@16.1.1_postcss@8.5.6/node_modules/postcss-import/lib/data-url.js
147
- var require_data_url = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-import@16.1.1_postcss@8.5.6/node_modules/postcss-import/lib/data-url.js": ((exports, module) => {
147
+ var require_data_url = /* @__PURE__ */ __commonJSMin(((exports, module) => {
148
148
  const anyDataURLRegexp = /^data:text\/css(?:;(base64|plain))?,/i;
149
149
  const base64DataURLRegexp = /^data:text\/css;base64,/i;
150
150
  const plainDataURLRegexp = /^data:text\/css;plain,/i;
@@ -160,11 +160,11 @@ var require_data_url = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/po
160
160
  isValid,
161
161
  contents
162
162
  };
163
- }) });
163
+ }));
164
164
 
165
165
  //#endregion
166
166
  //#region ../../node_modules/.pnpm/postcss-import@16.1.1_postcss@8.5.6/node_modules/postcss-import/lib/parse-statements.js
167
- var require_parse_statements = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-import@16.1.1_postcss@8.5.6/node_modules/postcss-import/lib/parse-statements.js": ((exports, module) => {
167
+ var require_parse_statements = /* @__PURE__ */ __commonJSMin(((exports, module) => {
168
168
  const valueParser = require_lib();
169
169
  const { stringify } = valueParser;
170
170
  module.exports = function parseStatements$1(result, styles, conditions, from) {
@@ -286,11 +286,11 @@ var require_parse_statements = /* @__PURE__ */ __commonJS({ "../../node_modules/
286
286
  from
287
287
  };
288
288
  }
289
- }) });
289
+ }));
290
290
 
291
291
  //#endregion
292
292
  //#region ../../node_modules/.pnpm/postcss-import@16.1.1_postcss@8.5.6/node_modules/postcss-import/lib/process-content.js
293
- var require_process_content = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-import@16.1.1_postcss@8.5.6/node_modules/postcss-import/lib/process-content.js": ((exports, module) => {
293
+ var require_process_content = /* @__PURE__ */ __commonJSMin(((exports, module) => {
294
294
  const path$2 = __require("path");
295
295
  let sugarss;
296
296
  module.exports = function processContent$1(result, content, filename, options, postcss) {
@@ -321,11 +321,11 @@ var require_process_content = /* @__PURE__ */ __commonJS({ "../../node_modules/.
321
321
  return runPostcss(postcss, content, filename, plugins, parsers, index);
322
322
  });
323
323
  }
324
- }) });
324
+ }));
325
325
 
326
326
  //#endregion
327
327
  //#region ../../node_modules/.pnpm/postcss-import@16.1.1_postcss@8.5.6/node_modules/postcss-import/lib/parse-styles.js
328
- var require_parse_styles = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-import@16.1.1_postcss@8.5.6/node_modules/postcss-import/lib/parse-styles.js": ((exports, module) => {
328
+ var require_parse_styles = /* @__PURE__ */ __commonJSMin(((exports, module) => {
329
329
  const path$1 = __require("path");
330
330
  const dataURL = require_data_url();
331
331
  const parseStatements = require_parse_statements();
@@ -425,11 +425,11 @@ var require_parse_styles = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnp
425
425
  return true;
426
426
  }
427
427
  module.exports = parseStyles$1;
428
- }) });
428
+ }));
429
429
 
430
430
  //#endregion
431
431
  //#region ../../node_modules/.pnpm/postcss-import@16.1.1_postcss@8.5.6/node_modules/postcss-import/index.js
432
- var require_postcss_import = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/postcss-import@16.1.1_postcss@8.5.6/node_modules/postcss-import/index.js": ((exports, module) => {
432
+ var require_postcss_import = /* @__PURE__ */ __commonJSMin(((exports, module) => {
433
433
  const path = __require("path");
434
434
  const applyConditions = require_apply_conditions();
435
435
  const applyRaws = require_apply_raws();
@@ -471,7 +471,7 @@ var require_postcss_import = /* @__PURE__ */ __commonJS({ "../../node_modules/.p
471
471
  }
472
472
  AtImport.postcss = true;
473
473
  module.exports = AtImport;
474
- }) });
474
+ }));
475
475
 
476
476
  //#endregion
477
477
  export default require_postcss_import();
package/dist/node/cli.js CHANGED
@@ -1,4 +1,4 @@
1
- import { i as __toESM } from "./chunks/chunk.js";
1
+ import { s as __toESM } from "./chunks/chunk.js";
2
2
  import { N as VERSION, R as require_picocolors, n as createLogger } from "./chunks/logger.js";
3
3
  import fs from "node:fs";
4
4
  import path from "node:path";
@@ -317,7 +317,7 @@ declare namespace Connect {
317
317
  }
318
318
  }
319
319
  //#endregion
320
- //#region ../../node_modules/.pnpm/http-proxy-3@1.22.0/node_modules/http-proxy-3/dist/lib/http-proxy/index.d.ts
320
+ //#region ../../node_modules/.pnpm/http-proxy-3@1.22.0_patch_hash=d89dff5a0afc2cb277080ad056a3baf7feeeeac19144878abc17f4c91ad89095_ms@2.1.3/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.22.0/node_modules/http-proxy-3/dist/lib/http-proxy/passes/ws-incoming.d.ts
492
+ //#region ../../node_modules/.pnpm/http-proxy-3@1.22.0_patch_hash=d89dff5a0afc2cb277080ad056a3baf7feeeeac19144878abc17f4c91ad89095_ms@2.1.3/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 };
@@ -3654,14 +3654,51 @@ declare function resolveEnvPrefix({
3654
3654
  //#region src/node/plugins/manifest.d.ts
3655
3655
  type Manifest = Record<string, ManifestChunk>;
3656
3656
  interface ManifestChunk {
3657
+ /**
3658
+ * The input file name of this chunk / asset if known
3659
+ */
3657
3660
  src?: string;
3661
+ /**
3662
+ * The output file name of this chunk / asset
3663
+ */
3658
3664
  file: string;
3665
+ /**
3666
+ * The list of CSS files imported by this chunk
3667
+ *
3668
+ * This field is only present in JS chunks.
3669
+ */
3659
3670
  css?: string[];
3671
+ /**
3672
+ * The list of asset files imported by this chunk, excluding CSS files
3673
+ *
3674
+ * This field is only present in JS chunks.
3675
+ */
3660
3676
  assets?: string[];
3677
+ /**
3678
+ * Whether this chunk or asset is an entry point
3679
+ */
3661
3680
  isEntry?: boolean;
3681
+ /**
3682
+ * The name of this chunk / asset if known
3683
+ */
3662
3684
  name?: string;
3685
+ /**
3686
+ * Whether this chunk is a dynamic entry point
3687
+ *
3688
+ * This field is only present in JS chunks.
3689
+ */
3663
3690
  isDynamicEntry?: boolean;
3691
+ /**
3692
+ * The list of statically imported chunks by this chunk
3693
+ *
3694
+ * The values are the keys of the manifest. This field is only present in JS chunks.
3695
+ */
3664
3696
  imports?: string[];
3697
+ /**
3698
+ * The list of dynamically imported chunks by this chunk
3699
+ *
3700
+ * The values are the keys of the manifest. This field is only present in JS chunks.
3701
+ */
3665
3702
  dynamicImports?: string[];
3666
3703
  }
3667
3704
  //#endregion
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vite",
3
- "version": "7.2.4",
3
+ "version": "7.2.7",
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.95.0",
86
86
  "@polka/compression": "^1.0.0-next.25",
87
- "@rolldown/pluginutils": "^1.0.0-beta.50",
87
+ "@rolldown/pluginutils": "^1.0.0-beta.52",
88
88
  "@rollup/plugin-alias": "^5.1.1",
89
89
  "@rollup/plugin-commonjs": "^29.0.0",
90
90
  "@rollup/plugin-dynamic-import-vars": "2.1.4",
@@ -92,14 +92,14 @@
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.28",
95
+ "baseline-browser-mapping": "^2.8.32",
96
96
  "cac": "^6.7.14",
97
97
  "chokidar": "^3.6.0",
98
98
  "connect": "^3.7.0",
99
99
  "convert-source-map": "^2.0.0",
100
100
  "cors": "^2.8.5",
101
101
  "cross-spawn": "^7.0.6",
102
- "debug": "^4.4.3",
102
+ "obug": "^1.0.2",
103
103
  "dotenv": "^17.2.3",
104
104
  "dotenv-expand": "^12.0.3",
105
105
  "es-module-lexer": "^1.7.0",
@@ -124,10 +124,10 @@
124
124
  "postcss-modules": "^6.0.1",
125
125
  "premove": "^4.0.0",
126
126
  "resolve.exports": "^2.0.3",
127
- "rolldown": "^1.0.0-beta.50",
128
- "rolldown-plugin-dts": "^0.17.8",
127
+ "rolldown": "^1.0.0-beta.52",
128
+ "rolldown-plugin-dts": "^0.18.1",
129
129
  "rollup-plugin-license": "^3.6.0",
130
- "sass": "^1.94.0",
130
+ "sass": "^1.94.2",
131
131
  "sass-embedded": "^1.93.3",
132
132
  "sirv": "^3.0.2",
133
133
  "strip-literal": "^3.1.0",