@voidzero-dev/vite-plus-core 0.2.1 → 0.2.2

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.
Files changed (66) hide show
  1. package/LICENSE +175 -30
  2. package/dist/rolldown/cli.mjs +25 -14
  3. package/dist/rolldown/config.d.mts +1 -1
  4. package/dist/rolldown/config.mjs +2 -2
  5. package/dist/rolldown/experimental-index.d.mts +15 -5
  6. package/dist/rolldown/experimental-index.mjs +23 -17
  7. package/dist/rolldown/filter-index.d.mts +1 -1
  8. package/dist/rolldown/index.d.mts +2 -2
  9. package/dist/rolldown/index.mjs +4 -4
  10. package/dist/rolldown/parallel-plugin-worker.mjs +5 -4
  11. package/dist/rolldown/parallel-plugin.d.mts +1 -1
  12. package/dist/rolldown/parse-ast-index.d.mts +1 -1
  13. package/dist/rolldown/parse-ast-index.mjs +1 -1
  14. package/dist/rolldown/plugins-index.d.mts +3 -3
  15. package/dist/rolldown/plugins-index.mjs +2 -2
  16. package/dist/rolldown/shared/{binding-DgGsNpT9.d.mts → binding-B1q9aYT-.d.mts} +65 -142
  17. package/dist/rolldown/shared/{binding-CfwqjDbP.mjs → binding-BmkJW3Wy.mjs} +39 -35
  18. package/dist/rolldown/shared/{bindingify-input-options--chmbDhw.mjs → bindingify-input-options-Cmm60vfj.mjs} +1330 -1331
  19. package/dist/rolldown/shared/{constructors-Bx1tSad6.d.mts → constructors-2i1T9YcF.d.mts} +3 -4
  20. package/dist/rolldown/shared/{constructors-DnT9y_13.mjs → constructors-CE6zZSUt.mjs} +2 -5
  21. package/dist/rolldown/shared/{define-config-ChOOV2QZ.d.mts → define-config-BBz954-q.d.mts} +2 -2
  22. package/dist/rolldown/shared/{error-C0TrL0_H.mjs → error-BlQ0-ek7.mjs} +1 -1
  23. package/dist/rolldown/shared/{load-config-BXgGQtnA.mjs → load-config-CVVMWSlg.mjs} +1 -1
  24. package/dist/rolldown/shared/{normalize-string-or-regex-DGbe3BlX.mjs → normalize-string-or-regex-BYkbbGqQ.mjs} +1 -1
  25. package/dist/rolldown/shared/{parse-26ORR8fZ.mjs → parse-Dphnedsw.mjs} +2 -2
  26. package/dist/rolldown/shared/{prompt-DV1XbtjC.mjs → prompt-Bgj-uEyc.mjs} +5 -5
  27. package/dist/rolldown/shared/{resolve-tsconfig-D3YLh9ff.mjs → resolve-tsconfig-CdIAR1Eb.mjs} +2 -2
  28. package/dist/rolldown/shared/{rolldown-DpXXI00f.mjs → rolldown-Bnp916iM.mjs} +1 -1
  29. package/dist/rolldown/shared/{rolldown-build-D8R4Zzfy.mjs → rolldown-build-Cs2iVJuw.mjs} +24 -56
  30. package/dist/rolldown/shared/{transform-C-XSNVrd.d.mts → transform-CEmFsvJW.d.mts} +1 -1
  31. package/dist/rolldown/shared/{watch-D5Zm0Vsz.mjs → watch-ECGr-_QS.mjs} +4 -4
  32. package/dist/rolldown/utils-index.d.mts +3 -3
  33. package/dist/rolldown/utils-index.mjs +6 -6
  34. package/dist/tsdown/{build-B_nvJe4A-BkmlHYK-.js → build-B_nvJe4A-CcOht0gr.js} +30 -96
  35. package/dist/tsdown/debug-DLdR-9XB-CDf7D82m.js +250 -0
  36. package/dist/tsdown/{detect-B97OSl92-B5bcx_Ya.js → detect-B97OSl92-kGHGL-qU.js} +1 -1
  37. package/dist/tsdown/{dist-4h5bgYzo.js → dist-580owkGv.js} +30 -25
  38. package/dist/tsdown/general-Cp4NiJNK-BYPTHEzb.js +97 -0
  39. package/dist/tsdown/index-types.d.ts +197 -7
  40. package/dist/tsdown/index.js +3 -3
  41. package/dist/tsdown/internal-CUXleGMS.js +3 -0
  42. package/dist/tsdown/{main-BMtwTklr.js → main-BlTcyuFi.js} +2 -341
  43. package/dist/tsdown/npm_entry_picomatch.cjs +4 -2
  44. package/dist/tsdown/npm_entry_semver_functions_coerce.cjs +5 -1
  45. package/dist/tsdown/{resolver-DtsKFXi2-DQOmVgSY.js → resolver-DtsKFXi2-B8Z3WwZh.js} +1 -1
  46. package/dist/tsdown/run.js +4 -3
  47. package/dist/tsdown/src-njF8VL4a.js +622 -0
  48. package/dist/tsdown/target-CqeSqtms-ZU1Gv6-M.js +79 -0
  49. package/dist/tsdown/{tsc-15OYetCl.js → tsc-CsN85f7a.js} +3 -3
  50. package/dist/tsdown/{tsc-context-DfwSQt2q.js → tsc-context-CX_GXdyS.js} +2 -2
  51. package/dist/tsdown/tsdown-css.js +874 -0
  52. package/dist/tsdown/tsdown-exe.js +949 -0
  53. package/dist/vite/client/client.mjs +7 -9
  54. package/dist/vite/client.d.ts +3 -0
  55. package/dist/vite/node/chunks/build.js +27 -34
  56. package/dist/vite/node/chunks/dist.js +23 -23
  57. package/dist/vite/node/chunks/dist2.js +3 -3
  58. package/dist/vite/node/chunks/logger.js +4 -4
  59. package/dist/vite/node/chunks/node.js +12354 -11629
  60. package/dist/vite/node/chunks/postcss-import.js +10 -10
  61. package/dist/vite/node/cli.js +3 -3
  62. package/dist/vite/node/index.d.ts +139 -14
  63. package/dist/vite/node/index.js +1 -1
  64. package/dist/vite/node/module-runner.js +4 -4
  65. package/dist/vite/types/importGlob.d.ts +48 -6
  66. package/package.json +14 -20
@@ -1,14 +1,14 @@
1
1
  import "@vite/env";
2
- //#region ../../node_modules/.pnpm/nanoid@5.1.11/node_modules/nanoid/non-secure/index.js
2
+ //#region ../../node_modules/.pnpm/nanoid@5.1.16/node_modules/nanoid/non-secure/index.js
3
3
  let urlAlphabet = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
4
4
  let nanoid = (size = 21) => {
5
5
  let id = "";
6
6
  let i = size | 0;
7
- while (i--) id += urlAlphabet[Math.random() * 64 | 0];
7
+ while (i-- > 0) id += urlAlphabet[Math.random() * 64 | 0];
8
8
  return id;
9
9
  };
10
10
  //#endregion
11
- //#region \0@oxc-project+runtime@0.135.0/helpers/esm/typeof.js
11
+ //#region \0@oxc-project+runtime@0.138.0/helpers/esm/typeof.js
12
12
  function _typeof(o) {
13
13
  "@babel/helpers - typeof";
14
14
  return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
@@ -18,7 +18,7 @@ function _typeof(o) {
18
18
  }, _typeof(o);
19
19
  }
20
20
  //#endregion
21
- //#region \0@oxc-project+runtime@0.135.0/helpers/esm/toPrimitive.js
21
+ //#region \0@oxc-project+runtime@0.138.0/helpers/esm/toPrimitive.js
22
22
  function toPrimitive(t, r) {
23
23
  if ("object" != _typeof(t) || !t) return t;
24
24
  var e = t[Symbol.toPrimitive];
@@ -30,13 +30,13 @@ function toPrimitive(t, r) {
30
30
  return ("string" === r ? String : Number)(t);
31
31
  }
32
32
  //#endregion
33
- //#region \0@oxc-project+runtime@0.135.0/helpers/esm/toPropertyKey.js
33
+ //#region \0@oxc-project+runtime@0.138.0/helpers/esm/toPropertyKey.js
34
34
  function toPropertyKey(t) {
35
35
  var i = toPrimitive(t, "string");
36
36
  return "symbol" == _typeof(i) ? i : i + "";
37
37
  }
38
38
  //#endregion
39
- //#region \0@oxc-project+runtime@0.135.0/helpers/esm/defineProperty.js
39
+ //#region \0@oxc-project+runtime@0.138.0/helpers/esm/defineProperty.js
40
40
  function _defineProperty(e, r, t) {
41
41
  return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
42
42
  value: t,
@@ -1208,9 +1208,7 @@ function updateStyle(id, content) {
1208
1208
  }
1209
1209
  function removeStyle(id) {
1210
1210
  if (linkSheetsMap.has(id)) {
1211
- document.querySelectorAll(`link[rel="stylesheet"][data-vite-dev-id]`).forEach((el) => {
1212
- if (el.getAttribute("data-vite-dev-id") === id) el.remove();
1213
- });
1211
+ document.querySelectorAll(`link[rel="stylesheet"][data-vite-dev-id="${CSS.escape(id)}"]`).forEach((el) => el.remove());
1214
1212
  linkSheetsMap.delete(id);
1215
1213
  }
1216
1214
  const style = sheetsMap.get(id);
@@ -204,6 +204,9 @@ declare module '*.wasm?init' {
204
204
  export default initWasm
205
205
  }
206
206
 
207
+ // wasm (ESM integration)
208
+ declare module '*.wasm' {}
209
+
207
210
  // web worker
208
211
  declare module '*?worker' {
209
212
  const workerConstructor: {
@@ -1,6 +1,6 @@
1
1
  import { B as __commonJSMin, H as __require } from "./logger.js";
2
2
  import { t as require_lib } from "./lib.js";
3
- //#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.15/node_modules/postcss-modules/build/fs.js
3
+ //#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.16/node_modules/postcss-modules/build/fs.js
4
4
  var require_fs = /* @__PURE__ */ __commonJSMin(((exports) => {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.getFileSystem = getFileSystem;
@@ -22,7 +22,7 @@ var require_fs = /* @__PURE__ */ __commonJSMin(((exports) => {
22
22
  }
23
23
  }));
24
24
  //#endregion
25
- //#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.15/node_modules/postcss-modules/build/unquote.js
25
+ //#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.16/node_modules/postcss-modules/build/unquote.js
26
26
  var require_unquote = /* @__PURE__ */ __commonJSMin(((exports) => {
27
27
  Object.defineProperty(exports, "__esModule", { value: true });
28
28
  exports.default = unquote;
@@ -35,7 +35,7 @@ var require_unquote = /* @__PURE__ */ __commonJSMin(((exports) => {
35
35
  }
36
36
  }));
37
37
  //#endregion
38
- //#region ../../node_modules/.pnpm/icss-utils@5.1.0_postcss@8.5.15/node_modules/icss-utils/src/replaceValueSymbols.js
38
+ //#region ../../node_modules/.pnpm/icss-utils@5.1.0_postcss@8.5.16/node_modules/icss-utils/src/replaceValueSymbols.js
39
39
  var require_replaceValueSymbols = /* @__PURE__ */ __commonJSMin(((exports, module) => {
40
40
  const matchValueName = /[$]?[\w-]+/g;
41
41
  const replaceValueSymbols = (value, replacements) => {
@@ -52,7 +52,7 @@ var require_replaceValueSymbols = /* @__PURE__ */ __commonJSMin(((exports, modul
52
52
  module.exports = replaceValueSymbols;
53
53
  }));
54
54
  //#endregion
55
- //#region ../../node_modules/.pnpm/icss-utils@5.1.0_postcss@8.5.15/node_modules/icss-utils/src/replaceSymbols.js
55
+ //#region ../../node_modules/.pnpm/icss-utils@5.1.0_postcss@8.5.16/node_modules/icss-utils/src/replaceSymbols.js
56
56
  var require_replaceSymbols = /* @__PURE__ */ __commonJSMin(((exports, module) => {
57
57
  const replaceValueSymbols = require_replaceValueSymbols();
58
58
  const replaceSymbols = (css, replacements) => {
@@ -65,7 +65,7 @@ var require_replaceSymbols = /* @__PURE__ */ __commonJSMin(((exports, module) =>
65
65
  module.exports = replaceSymbols;
66
66
  }));
67
67
  //#endregion
68
- //#region ../../node_modules/.pnpm/icss-utils@5.1.0_postcss@8.5.15/node_modules/icss-utils/src/extractICSS.js
68
+ //#region ../../node_modules/.pnpm/icss-utils@5.1.0_postcss@8.5.16/node_modules/icss-utils/src/extractICSS.js
69
69
  var require_extractICSS = /* @__PURE__ */ __commonJSMin(((exports, module) => {
70
70
  const importPattern = /^:import\(("[^"]*"|'[^']*'|[^"']+)\)$/;
71
71
  const balancedQuotes = /^("[^"]*"|'[^']*'|[^"']+)$/;
@@ -119,7 +119,7 @@ var require_extractICSS = /* @__PURE__ */ __commonJSMin(((exports, module) => {
119
119
  module.exports = extractICSS;
120
120
  }));
121
121
  //#endregion
122
- //#region ../../node_modules/.pnpm/icss-utils@5.1.0_postcss@8.5.15/node_modules/icss-utils/src/createICSSRules.js
122
+ //#region ../../node_modules/.pnpm/icss-utils@5.1.0_postcss@8.5.16/node_modules/icss-utils/src/createICSSRules.js
123
123
  var require_createICSSRules = /* @__PURE__ */ __commonJSMin(((exports, module) => {
124
124
  const createImports = (imports, postcss, mode = "rule") => {
125
125
  return Object.keys(imports).map((path) => {
@@ -163,7 +163,7 @@ var require_createICSSRules = /* @__PURE__ */ __commonJSMin(((exports, module) =
163
163
  module.exports = createICSSRules;
164
164
  }));
165
165
  //#endregion
166
- //#region ../../node_modules/.pnpm/icss-utils@5.1.0_postcss@8.5.15/node_modules/icss-utils/src/index.js
166
+ //#region ../../node_modules/.pnpm/icss-utils@5.1.0_postcss@8.5.16/node_modules/icss-utils/src/index.js
167
167
  var require_src$4 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
168
168
  module.exports = {
169
169
  replaceValueSymbols: require_replaceValueSymbols(),
@@ -173,7 +173,7 @@ var require_src$4 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
173
173
  };
174
174
  }));
175
175
  //#endregion
176
- //#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.15/node_modules/postcss-modules/build/Parser.js
176
+ //#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.16/node_modules/postcss-modules/build/Parser.js
177
177
  var require_Parser = /* @__PURE__ */ __commonJSMin(((exports) => {
178
178
  Object.defineProperty(exports, "__esModule", { value: true });
179
179
  exports.default = void 0;
@@ -241,7 +241,7 @@ var require_Parser = /* @__PURE__ */ __commonJSMin(((exports) => {
241
241
  exports.default = Parser;
242
242
  }));
243
243
  //#endregion
244
- //#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.15/node_modules/postcss-modules/build/saveJSON.js
244
+ //#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.16/node_modules/postcss-modules/build/saveJSON.js
245
245
  var require_saveJSON = /* @__PURE__ */ __commonJSMin(((exports) => {
246
246
  Object.defineProperty(exports, "__esModule", { value: true });
247
247
  exports.default = saveJSON;
@@ -256,16 +256,6 @@ var require_saveJSON = /* @__PURE__ */ __commonJSMin(((exports) => {
256
256
  //#endregion
257
257
  //#region ../../node_modules/.pnpm/lodash.camelcase@4.3.0/node_modules/lodash.camelcase/index.js
258
258
  var require_lodash_camelcase = /* @__PURE__ */ __commonJSMin(((exports, module) => {
259
- /**
260
- * lodash (Custom Build) <https://lodash.com/>
261
- * Build: `lodash modularize exports="npm" -o ./`
262
- * Copyright jQuery Foundation and other contributors <https://jquery.org/>
263
- * Released under MIT license <https://lodash.com/license>
264
- * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
265
- * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
266
- */
267
- /** Used as references for various `Number` constants. */
268
- var INFINITY = Infinity;
269
259
  /** `Object#toString` result references. */
270
260
  var symbolTag = "[object Symbol]";
271
261
  /** Used to match words composed of alphanumeric characters. */
@@ -668,7 +658,7 @@ var require_lodash_camelcase = /* @__PURE__ */ __commonJSMin(((exports, module)
668
658
  if (typeof value == "string") return value;
669
659
  if (isSymbol(value)) return symbolToString ? symbolToString.call(value) : "";
670
660
  var result = value + "";
671
- return result == "0" && 1 / value == -INFINITY ? "-0" : result;
661
+ return result == "0" && 1 / value == -Infinity ? "-0" : result;
672
662
  }
673
663
  /**
674
664
  * Casts `array` to a slice if it's needed.
@@ -893,7 +883,7 @@ var require_lodash_camelcase = /* @__PURE__ */ __commonJSMin(((exports, module)
893
883
  module.exports = camelCase;
894
884
  }));
895
885
  //#endregion
896
- //#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.15/node_modules/postcss-modules/build/localsConvention.js
886
+ //#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.16/node_modules/postcss-modules/build/localsConvention.js
897
887
  var require_localsConvention = /* @__PURE__ */ __commonJSMin(((exports) => {
898
888
  Object.defineProperty(exports, "__esModule", { value: true });
899
889
  exports.makeLocalsConventionReducer = makeLocalsConventionReducer;
@@ -933,7 +923,7 @@ var require_localsConvention = /* @__PURE__ */ __commonJSMin(((exports) => {
933
923
  }
934
924
  }));
935
925
  //#endregion
936
- //#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.15/node_modules/postcss-modules/build/FileSystemLoader.js
926
+ //#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.16/node_modules/postcss-modules/build/FileSystemLoader.js
937
927
  var require_FileSystemLoader = /* @__PURE__ */ __commonJSMin(((exports) => {
938
928
  Object.defineProperty(exports, "__esModule", { value: true });
939
929
  exports.default = void 0;
@@ -1018,7 +1008,7 @@ var require_FileSystemLoader = /* @__PURE__ */ __commonJSMin(((exports) => {
1018
1008
  exports.default = FileSystemLoader;
1019
1009
  }));
1020
1010
  //#endregion
1021
- //#region ../../node_modules/.pnpm/postcss-modules-extract-imports@3.1.0_postcss@8.5.15/node_modules/postcss-modules-extract-imports/src/topologicalSort.js
1011
+ //#region ../../node_modules/.pnpm/postcss-modules-extract-imports@3.1.0_postcss@8.5.16/node_modules/postcss-modules-extract-imports/src/topologicalSort.js
1022
1012
  var require_topologicalSort = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1023
1013
  const PERMANENT_MARKER = 2;
1024
1014
  const TEMPORARY_MARKER = 1;
@@ -1057,7 +1047,7 @@ var require_topologicalSort = /* @__PURE__ */ __commonJSMin(((exports, module) =
1057
1047
  module.exports = topologicalSort;
1058
1048
  }));
1059
1049
  //#endregion
1060
- //#region ../../node_modules/.pnpm/postcss-modules-extract-imports@3.1.0_postcss@8.5.15/node_modules/postcss-modules-extract-imports/src/index.js
1050
+ //#region ../../node_modules/.pnpm/postcss-modules-extract-imports@3.1.0_postcss@8.5.16/node_modules/postcss-modules-extract-imports/src/index.js
1061
1051
  var require_src$3 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1062
1052
  const topologicalSort = require_topologicalSort();
1063
1053
  const matchImports = /^(.+?)\s+from\s+(?:"([^"]+)"|'([^']+)'|(global))$/;
@@ -1152,10 +1142,13 @@ var require_src$3 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1152
1142
  declaration.value = values.join(", ");
1153
1143
  });
1154
1144
  const importsOrder = topologicalSort(graph, failOnWrongOrder);
1155
- 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(", ") + ".", {
1156
- plugin: "postcss-modules-extract-imports",
1157
- word: "composes"
1158
- });
1145
+ if (importsOrder instanceof Error) {
1146
+ const importPath = importsOrder.nodes.find((importPath) => importDecls.hasOwnProperty(importPath));
1147
+ throw importDecls[importPath].error("Failed to resolve order of composed modules " + importsOrder.nodes.map((importPath) => "`" + importPath + "`").join(", ") + ".", {
1148
+ plugin: "postcss-modules-extract-imports",
1149
+ word: "composes"
1150
+ });
1151
+ }
1159
1152
  let lastImportRule;
1160
1153
  importsOrder.forEach((path) => {
1161
1154
  const importedSymbols = imports[path];
@@ -4563,7 +4556,7 @@ var require_dist = /* @__PURE__ */ __commonJSMin(((exports, module) => {
4563
4556
  module.exports = exports.default;
4564
4557
  }));
4565
4558
  //#endregion
4566
- //#region ../../node_modules/.pnpm/postcss-modules-local-by-default@4.2.0_postcss@8.5.15/node_modules/postcss-modules-local-by-default/src/index.js
4559
+ //#region ../../node_modules/.pnpm/postcss-modules-local-by-default@4.2.0_postcss@8.5.16/node_modules/postcss-modules-local-by-default/src/index.js
4567
4560
  var require_src$2 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
4568
4561
  const selectorParser = require_dist();
4569
4562
  const valueParser = require_lib();
@@ -4961,7 +4954,7 @@ var require_src$2 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
4961
4954
  module.exports.postcss = true;
4962
4955
  }));
4963
4956
  //#endregion
4964
- //#region ../../node_modules/.pnpm/postcss-modules-scope@3.2.1_postcss@8.5.15/node_modules/postcss-modules-scope/src/index.js
4957
+ //#region ../../node_modules/.pnpm/postcss-modules-scope@3.2.1_postcss@8.5.16/node_modules/postcss-modules-scope/src/index.js
4965
4958
  var require_src$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
4966
4959
  const selectorParser = require_dist();
4967
4960
  const hasOwnProperty = Object.prototype.hasOwnProperty;
@@ -5141,7 +5134,7 @@ var require_string_hash = /* @__PURE__ */ __commonJSMin(((exports, module) => {
5141
5134
  module.exports = hash;
5142
5135
  }));
5143
5136
  //#endregion
5144
- //#region ../../node_modules/.pnpm/postcss-modules-values@4.0.0_postcss@8.5.15/node_modules/postcss-modules-values/src/index.js
5137
+ //#region ../../node_modules/.pnpm/postcss-modules-values@4.0.0_postcss@8.5.16/node_modules/postcss-modules-values/src/index.js
5145
5138
  var require_src = /* @__PURE__ */ __commonJSMin(((exports, module) => {
5146
5139
  const ICSSUtils = require_src$4();
5147
5140
  const matchImports = /^(.+?|\([\s\S]+?\))\s+from\s+("[^"]*"|'[^']*'|[\w-]+)$/;
@@ -5228,7 +5221,7 @@ var require_src = /* @__PURE__ */ __commonJSMin(((exports, module) => {
5228
5221
  module.exports.postcss = true;
5229
5222
  }));
5230
5223
  //#endregion
5231
- //#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.15/node_modules/postcss-modules/build/scoping.js
5224
+ //#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.16/node_modules/postcss-modules/build/scoping.js
5232
5225
  var require_scoping = /* @__PURE__ */ __commonJSMin(((exports) => {
5233
5226
  Object.defineProperty(exports, "__esModule", { value: true });
5234
5227
  exports.behaviours = void 0;
@@ -5290,7 +5283,7 @@ var require_scoping = /* @__PURE__ */ __commonJSMin(((exports) => {
5290
5283
  }
5291
5284
  }));
5292
5285
  //#endregion
5293
- //#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.15/node_modules/postcss-modules/build/pluginFactory.js
5286
+ //#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.16/node_modules/postcss-modules/build/pluginFactory.js
5294
5287
  var require_pluginFactory = /* @__PURE__ */ __commonJSMin(((exports) => {
5295
5288
  Object.defineProperty(exports, "__esModule", { value: true });
5296
5289
  exports.makePlugin = makePlugin;
@@ -5364,7 +5357,7 @@ var require_pluginFactory = /* @__PURE__ */ __commonJSMin(((exports) => {
5364
5357
  }
5365
5358
  }));
5366
5359
  //#endregion
5367
- //#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.15/node_modules/postcss-modules/build/index.js
5360
+ //#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.16/node_modules/postcss-modules/build/index.js
5368
5361
  var require_build = /* @__PURE__ */ __commonJSMin(((exports, module) => {
5369
5362
  var _fs = __require("fs");
5370
5363
  var _fs2 = require_fs();
@@ -1,5 +1,5 @@
1
1
  //#region ../../node_modules/.pnpm/parse5@8.0.1/node_modules/parse5/dist/common/unicode.js
2
- const UNDEFINED_CODE_POINTS = new Set([
2
+ const UNDEFINED_CODE_POINTS = /* @__PURE__ */ new Set([
3
3
  65534,
4
4
  65535,
5
5
  131070,
@@ -323,7 +323,7 @@ function getTokenAttr(token, attrName) {
323
323
  }
324
324
  //#endregion
325
325
  //#region ../../node_modules/.pnpm/entities@8.0.0/node_modules/entities/dist/decode-codepoint.js
326
- const decodeMap = new Map([
326
+ const decodeMap = /* @__PURE__ */ new Map([
327
327
  [0, 65533],
328
328
  [128, 8364],
329
329
  [130, 8218],
@@ -1038,7 +1038,7 @@ var TAG_ID;
1038
1038
  TAG_ID[TAG_ID["WBR"] = 122] = "WBR";
1039
1039
  TAG_ID[TAG_ID["XMP"] = 123] = "XMP";
1040
1040
  })(TAG_ID || (TAG_ID = {}));
1041
- const TAG_NAME_TO_ID = new Map([
1041
+ const TAG_NAME_TO_ID = /* @__PURE__ */ new Map([
1042
1042
  [TAG_NAMES.A, TAG_ID.A],
1043
1043
  [TAG_NAMES.ADDRESS, TAG_ID.ADDRESS],
1044
1044
  [TAG_NAMES.ANNOTATION_XML, TAG_ID.ANNOTATION_XML],
@@ -1169,7 +1169,7 @@ function getTagID(tagName) {
1169
1169
  }
1170
1170
  const $ = TAG_ID;
1171
1171
  const SPECIAL_ELEMENTS = {
1172
- [NS.HTML]: new Set([
1172
+ [NS.HTML]: /* @__PURE__ */ new Set([
1173
1173
  $.ADDRESS,
1174
1174
  $.APPLET,
1175
1175
  $.AREA,
@@ -1252,7 +1252,7 @@ const SPECIAL_ELEMENTS = {
1252
1252
  $.WBR,
1253
1253
  $.XMP
1254
1254
  ]),
1255
- [NS.MATHML]: new Set([
1255
+ [NS.MATHML]: /* @__PURE__ */ new Set([
1256
1256
  $.MI,
1257
1257
  $.MO,
1258
1258
  $.MN,
@@ -1260,7 +1260,7 @@ const SPECIAL_ELEMENTS = {
1260
1260
  $.MTEXT,
1261
1261
  $.ANNOTATION_XML
1262
1262
  ]),
1263
- [NS.SVG]: new Set([
1263
+ [NS.SVG]: /* @__PURE__ */ new Set([
1264
1264
  $.TITLE,
1265
1265
  $.FOREIGN_OBJECT,
1266
1266
  $.DESC
@@ -1269,7 +1269,7 @@ const SPECIAL_ELEMENTS = {
1269
1269
  [NS.XML]: /* @__PURE__ */ new Set(),
1270
1270
  [NS.XMLNS]: /* @__PURE__ */ new Set()
1271
1271
  };
1272
- const NUMBERED_HEADERS = new Set([
1272
+ const NUMBERED_HEADERS = /* @__PURE__ */ new Set([
1273
1273
  $.H1,
1274
1274
  $.H2,
1275
1275
  $.H3,
@@ -3337,7 +3337,7 @@ var Tokenizer = class {
3337
3337
  };
3338
3338
  //#endregion
3339
3339
  //#region ../../node_modules/.pnpm/parse5@8.0.1/node_modules/parse5/dist/parser/open-element-stack.js
3340
- const IMPLICIT_END_TAG_REQUIRED = new Set([
3340
+ const IMPLICIT_END_TAG_REQUIRED = /* @__PURE__ */ new Set([
3341
3341
  TAG_ID.DD,
3342
3342
  TAG_ID.DT,
3343
3343
  TAG_ID.LI,
@@ -3349,7 +3349,7 @@ const IMPLICIT_END_TAG_REQUIRED = new Set([
3349
3349
  TAG_ID.RT,
3350
3350
  TAG_ID.RTC
3351
3351
  ]);
3352
- const IMPLICIT_END_TAG_REQUIRED_THOROUGHLY = new Set([
3352
+ const IMPLICIT_END_TAG_REQUIRED_THOROUGHLY = /* @__PURE__ */ new Set([
3353
3353
  ...IMPLICIT_END_TAG_REQUIRED,
3354
3354
  TAG_ID.CAPTION,
3355
3355
  TAG_ID.COLGROUP,
@@ -3360,7 +3360,7 @@ const IMPLICIT_END_TAG_REQUIRED_THOROUGHLY = new Set([
3360
3360
  TAG_ID.THEAD,
3361
3361
  TAG_ID.TR
3362
3362
  ]);
3363
- const SCOPING_ELEMENTS_HTML = new Set([
3363
+ const SCOPING_ELEMENTS_HTML = /* @__PURE__ */ new Set([
3364
3364
  TAG_ID.APPLET,
3365
3365
  TAG_ID.CAPTION,
3366
3366
  TAG_ID.HTML,
@@ -3371,13 +3371,13 @@ const SCOPING_ELEMENTS_HTML = new Set([
3371
3371
  TAG_ID.TEMPLATE,
3372
3372
  TAG_ID.TH
3373
3373
  ]);
3374
- const SCOPING_ELEMENTS_HTML_LIST = new Set([
3374
+ const SCOPING_ELEMENTS_HTML_LIST = /* @__PURE__ */ new Set([
3375
3375
  ...SCOPING_ELEMENTS_HTML,
3376
3376
  TAG_ID.OL,
3377
3377
  TAG_ID.UL
3378
3378
  ]);
3379
- const SCOPING_ELEMENTS_HTML_BUTTON = new Set([...SCOPING_ELEMENTS_HTML, TAG_ID.BUTTON]);
3380
- const SCOPING_ELEMENTS_MATHML = new Set([
3379
+ const SCOPING_ELEMENTS_HTML_BUTTON = /* @__PURE__ */ new Set([...SCOPING_ELEMENTS_HTML, TAG_ID.BUTTON]);
3380
+ const SCOPING_ELEMENTS_MATHML = /* @__PURE__ */ new Set([
3381
3381
  TAG_ID.ANNOTATION_XML,
3382
3382
  TAG_ID.MI,
3383
3383
  TAG_ID.MN,
@@ -3385,29 +3385,29 @@ const SCOPING_ELEMENTS_MATHML = new Set([
3385
3385
  TAG_ID.MS,
3386
3386
  TAG_ID.MTEXT
3387
3387
  ]);
3388
- const SCOPING_ELEMENTS_SVG = new Set([
3388
+ const SCOPING_ELEMENTS_SVG = /* @__PURE__ */ new Set([
3389
3389
  TAG_ID.DESC,
3390
3390
  TAG_ID.FOREIGN_OBJECT,
3391
3391
  TAG_ID.TITLE
3392
3392
  ]);
3393
- const TABLE_ROW_CONTEXT = new Set([
3393
+ const TABLE_ROW_CONTEXT = /* @__PURE__ */ new Set([
3394
3394
  TAG_ID.TR,
3395
3395
  TAG_ID.TEMPLATE,
3396
3396
  TAG_ID.HTML
3397
3397
  ]);
3398
- const TABLE_BODY_CONTEXT = new Set([
3398
+ const TABLE_BODY_CONTEXT = /* @__PURE__ */ new Set([
3399
3399
  TAG_ID.TBODY,
3400
3400
  TAG_ID.TFOOT,
3401
3401
  TAG_ID.THEAD,
3402
3402
  TAG_ID.TEMPLATE,
3403
3403
  TAG_ID.HTML
3404
3404
  ]);
3405
- const TABLE_CONTEXT = new Set([
3405
+ const TABLE_CONTEXT = /* @__PURE__ */ new Set([
3406
3406
  TAG_ID.TABLE,
3407
3407
  TAG_ID.TEMPLATE,
3408
3408
  TAG_ID.HTML
3409
3409
  ]);
3410
- const TABLE_CELLS = new Set([TAG_ID.TD, TAG_ID.TH]);
3410
+ const TABLE_CELLS = /* @__PURE__ */ new Set([TAG_ID.TD, TAG_ID.TH]);
3411
3411
  var OpenElementStack = class {
3412
3412
  get currentTmplContentOrNode() {
3413
3413
  return this._isInTemplate() ? this.treeAdapter.getTemplateContent(this.current) : this.current;
@@ -3943,7 +3943,7 @@ const QUIRKS_MODE_NO_SYSTEM_ID_PUBLIC_ID_PREFIXES = [
3943
3943
  "-//w3c//dtd html 4.01 frameset//",
3944
3944
  "-//w3c//dtd html 4.01 transitional//"
3945
3945
  ];
3946
- const QUIRKS_MODE_PUBLIC_IDS = new Set([
3946
+ const QUIRKS_MODE_PUBLIC_IDS = /* @__PURE__ */ new Set([
3947
3947
  "-//w3o//dtd w3 html strict 3.0//en//",
3948
3948
  "-/w3c/dtd html 4.0 transitional/en",
3949
3949
  "html"
@@ -4043,7 +4043,7 @@ const SVG_ATTRS_ADJUSTMENT_MAP = new Map([
4043
4043
  "yChannelSelector",
4044
4044
  "zoomAndPan"
4045
4045
  ].map((attr) => [attr.toLowerCase(), attr]));
4046
- const XML_ATTRS_ADJUSTMENT_MAP = new Map([
4046
+ const XML_ATTRS_ADJUSTMENT_MAP = /* @__PURE__ */ new Map([
4047
4047
  ["xlink:actuate", {
4048
4048
  prefix: "xlink",
4049
4049
  name: "actuate",
@@ -4138,7 +4138,7 @@ const SVG_TAG_NAMES_ADJUSTMENT_MAP = new Map([
4138
4138
  "radialGradient",
4139
4139
  "textPath"
4140
4140
  ].map((tn) => [tn.toLowerCase(), tn]));
4141
- const EXITS_FOREIGN_CONTENT = new Set([
4141
+ const EXITS_FOREIGN_CONTENT = /* @__PURE__ */ new Set([
4142
4142
  TAG_ID.B,
4143
4143
  TAG_ID.BIG,
4144
4144
  TAG_ID.BLOCKQUOTE,
@@ -4271,7 +4271,7 @@ const BASE_LOC = {
4271
4271
  endCol: -1,
4272
4272
  endOffset: -1
4273
4273
  };
4274
- const TABLE_STRUCTURE_TAGS = new Set([
4274
+ const TABLE_STRUCTURE_TAGS = /* @__PURE__ */ new Set([
4275
4275
  TAG_ID.TABLE,
4276
4276
  TAG_ID.TBODY,
4277
4277
  TAG_ID.TFOOT,
@@ -6253,7 +6253,7 @@ function tokenInTableText(p, token) {
6253
6253
  p.insertionMode = p.originalInsertionMode;
6254
6254
  p._processToken(token);
6255
6255
  }
6256
- const TABLE_VOID_ELEMENTS = new Set([
6256
+ const TABLE_VOID_ELEMENTS = /* @__PURE__ */ new Set([
6257
6257
  TAG_ID.CAPTION,
6258
6258
  TAG_ID.COL,
6259
6259
  TAG_ID.COLGROUP,
@@ -779,7 +779,7 @@ var require_Collection = /* @__PURE__ */ __commonJSMin(((exports) => {
779
779
  const a = [];
780
780
  a[k] = v;
781
781
  v = a;
782
- } else v = new Map([[k, v]]);
782
+ } else v = /* @__PURE__ */ new Map([[k, v]]);
783
783
  }
784
784
  return createNode.createNode(v, void 0, {
785
785
  aliasDuplicateObjects: false,
@@ -1335,7 +1335,7 @@ var require_stringify = /* @__PURE__ */ __commonJSMin(((exports) => {
1335
1335
  if (ctx.resolvedAliases?.has(item)) throw new TypeError(`Cannot stringify circular structure without alias nodes`);
1336
1336
  else {
1337
1337
  if (ctx.resolvedAliases) ctx.resolvedAliases.add(item);
1338
- else ctx.resolvedAliases = new Set([item]);
1338
+ else ctx.resolvedAliases = /* @__PURE__ */ new Set([item]);
1339
1339
  item = item.resolve(ctx.doc);
1340
1340
  }
1341
1341
  }
@@ -2726,7 +2726,7 @@ var require_tags = /* @__PURE__ */ __commonJSMin(((exports) => {
2726
2726
  var schema$2 = require_schema();
2727
2727
  var set = require_set();
2728
2728
  var timestamp = require_timestamp();
2729
- const schemas = new Map([
2729
+ const schemas = /* @__PURE__ */ new Map([
2730
2730
  ["core", schema.schema],
2731
2731
  ["failsafe", [
2732
2732
  map.map,
@@ -34,7 +34,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
34
34
  value: mod,
35
35
  enumerable: true
36
36
  }) : target, mod));
37
- var __require = /* @__PURE__ */ createRequire(import.meta.url);
37
+ var __require = /* #__PURE__ */ (() => createRequire(import.meta.url))();
38
38
  //#endregion
39
39
  //#region ../../node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.js
40
40
  var require_picocolors = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -105,7 +105,7 @@ var require_picocolors = /* @__PURE__ */ __commonJSMin(((exports, module) => {
105
105
  }));
106
106
  //#endregion
107
107
  //#region ../../vite/packages/vite/package.json
108
- var version = "8.0.16";
108
+ var version = "8.1.2";
109
109
  //#endregion
110
110
  //#region ../../vite/packages/vite/src/node/constants.ts
111
111
  const ROLLUP_HOOKS = [
@@ -241,13 +241,13 @@ const KNOWN_ASSET_TYPES = [
241
241
  ];
242
242
  const DEFAULT_ASSETS_RE = new RegExp(`\\.(` + KNOWN_ASSET_TYPES.join("|") + `)(\\?.*)?$`, "i");
243
243
  const DEP_VERSION_RE = /[?&](v=[\w.-]+)\b/;
244
- const loopbackHosts = new Set([
244
+ const loopbackHosts = /* @__PURE__ */ new Set([
245
245
  "localhost",
246
246
  "127.0.0.1",
247
247
  "::1",
248
248
  "0000:0000:0000:0000:0000:0000:0000:0001"
249
249
  ]);
250
- const wildcardHosts = new Set([
250
+ const wildcardHosts = /* @__PURE__ */ new Set([
251
251
  "0.0.0.0",
252
252
  "::",
253
253
  "0000:0000:0000:0000:0000:0000:0000:0000"