@voidzero-dev/vite-plus-core 0.1.19 → 0.1.20-alpha.1

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/LICENSE CHANGED
@@ -5017,7 +5017,7 @@ Repository: https://github.com/vitejs/vite
5017
5017
  >
5018
5018
  > ## parse5
5019
5019
  > License: MIT
5020
- > By: Ivan Nikulin, https://github.com/inikulin/parse5/graphs/contributors
5020
+ > By: Ivan Nikulin, James Garbutt, Felix Boehm, Titus
5021
5021
  > Repository: https://github.com/inikulin/parse5
5022
5022
  >
5023
5023
  > > Copyright (c) 2013-2019 Ivan Nikulin (ifaaan@gmail.com, https://github.com/inikulin)
@@ -3,7 +3,7 @@ import { n as BuiltinPlugin, t as normalizedStringOrRegex } from "./shared/norma
3
3
  import { o as transformToRollupOutput } from "./shared/bindingify-input-options-CQLSwbb0.mjs";
4
4
  import { c as validateOption, n as createBundlerOptions, t as RolldownBuild, u as PluginDriver } from "./shared/rolldown-build-B-H35squ.mjs";
5
5
  import { i as unwrapBindingResult, r as normalizeBindingResult } from "./shared/error-DAA7ncC5.mjs";
6
- import { n as parseSync$1, t as parse$1 } from "./shared/parse-BC6EwEdS.mjs";
6
+ import { n as parseSync$1, t as parse$1 } from "./shared/parse-C4SGmMNT.mjs";
7
7
  import { a as viteDynamicImportVarsPlugin, c as viteLoadFallbackPlugin, d as viteReporterPlugin, f as viteResolvePlugin, i as viteBuildImportAnalysisPlugin, l as viteModulePreloadPolyfillPlugin, m as viteWebWorkerPostPlugin, n as isolatedDeclarationPlugin, o as viteImportGlobPlugin, p as viteWasmFallbackPlugin, r as oxcRuntimePlugin, s as viteJsonPlugin, u as viteReactRefreshWrapperPlugin } from "./shared/constructors-Dzji6NUq.mjs";
8
8
  import { a as minify$1, i as transformSync$1, n as resolveTsconfig, o as minifySync$1, r as transform$1, t as TsconfigCache$1 } from "./shared/resolve-tsconfig-BVTabsge.mjs";
9
9
  import { pathToFileURL } from "node:url";
@@ -1,5 +1,5 @@
1
1
  import { l as locate, n as error, s as logParseError, t as augmentCodeLocation, u as getCodeFrame } from "./shared/logs-D80CXhvg.mjs";
2
- import { n as parseSync, t as parse } from "./shared/parse-BC6EwEdS.mjs";
2
+ import { n as parseSync, t as parse } from "./shared/parse-C4SGmMNT.mjs";
3
3
  //#region src/parse-ast-index.ts
4
4
  function wrap(result, filename, sourceText) {
5
5
  if (result.errors.length > 0) return normalizeParseError(filename, sourceText, result.errors);
@@ -1,5 +1,5 @@
1
1
  import { n as __toESM, t as require_binding } from "./binding-DI_PGVIh.mjs";
2
- //#region ../../../node_modules/.pnpm/oxc-parser@0.126.0/node_modules/oxc-parser/src-js/wrap.js
2
+ //#region ../../../node_modules/.pnpm/oxc-parser@0.127.0/node_modules/oxc-parser/src-js/wrap.js
3
3
  var import_binding = /* @__PURE__ */ __toESM(require_binding(), 1);
4
4
  function wrap(result) {
5
5
  let program, module, comments, errors;
@@ -3,7 +3,7 @@ import { a as MinifyOptions, c as minifySync, d as parse, f as parseSync, i as t
3
3
  import * as ESTree from "@oxc-project/types";
4
4
  import { Program } from "@oxc-project/types";
5
5
 
6
- //#region ../../../node_modules/.pnpm/oxc-parser@0.126.0/node_modules/oxc-parser/src-js/generated/visit/visitor.d.ts
6
+ //#region ../../../node_modules/.pnpm/oxc-parser@0.127.0/node_modules/oxc-parser/src-js/generated/visit/visitor.d.ts
7
7
  interface VisitorObject$1 {
8
8
  DebuggerStatement?: (node: ESTree.DebuggerStatement) => void;
9
9
  "DebuggerStatement:exit"?: (node: ESTree.DebuggerStatement) => void;
@@ -1,6 +1,6 @@
1
- import { n as parseSync, t as parse } from "./shared/parse-BC6EwEdS.mjs";
1
+ import { n as parseSync, t as parse } from "./shared/parse-C4SGmMNT.mjs";
2
2
  import { a as minify, i as transformSync, o as minifySync, r as transform, t as TsconfigCache } from "./shared/resolve-tsconfig-BVTabsge.mjs";
3
- //#region ../../../node_modules/.pnpm/oxc-parser@0.126.0/node_modules/oxc-parser/src-js/generated/visit/walk.js
3
+ //#region ../../../node_modules/.pnpm/oxc-parser@0.127.0/node_modules/oxc-parser/src-js/generated/visit/walk.js
4
4
  function walkNode(node, visitors) {
5
5
  if (node == null) return;
6
6
  if (Array.isArray(node)) {
@@ -2010,7 +2010,7 @@ function walkTSUnionType(node, visitors) {
2010
2010
  exit !== null && exit(node);
2011
2011
  }
2012
2012
  //#endregion
2013
- //#region ../../../node_modules/.pnpm/oxc-parser@0.126.0/node_modules/oxc-parser/src-js/generated/visit/type_ids.js
2013
+ //#region ../../../node_modules/.pnpm/oxc-parser@0.127.0/node_modules/oxc-parser/src-js/generated/visit/type_ids.js
2014
2014
  /** Mapping from node type name to node type ID */
2015
2015
  const NODE_TYPE_IDS_MAP = new Map([
2016
2016
  ["DebuggerStatement", 0],
@@ -2180,7 +2180,7 @@ const NODE_TYPE_IDS_MAP = new Map([
2180
2180
  ["TSUnionType", 164]
2181
2181
  ]);
2182
2182
  //#endregion
2183
- //#region ../../../node_modules/.pnpm/oxc-parser@0.126.0/node_modules/oxc-parser/src-js/visit/visitor.js
2183
+ //#region ../../../node_modules/.pnpm/oxc-parser@0.127.0/node_modules/oxc-parser/src-js/visit/visitor.js
2184
2184
  let compiledVisitor;
2185
2185
  function createCompiledVisitor() {
2186
2186
  compiledVisitor = [];
@@ -8775,7 +8775,7 @@ interface GlobDependency {
8775
8775
  glob: string;
8776
8776
  }
8777
8777
  //#endregion
8778
- //#region ../../node_modules/.pnpm/@tsdown+css@0.21.9_jiti@2.6.1_postcss-import@16.1.1_postcss@8.5.8__postcss-modules@6.0._9c9534071e27f9dadaa3d21f923ad8c8/node_modules/@tsdown/css/dist/index.d.mts
8778
+ //#region ../../node_modules/.pnpm/@tsdown+css@0.21.9_jiti@2.6.1_postcss-import@16.1.1_postcss@8.5.10__postcss-modules@6.0_24fd9fbeaefe9b06d2220a48a0bebddb/node_modules/@tsdown/css/dist/index.d.mts
8779
8779
  //#region src/options.d.ts
8780
8780
  type LightningCSSOptions = Omit<TransformOptions<any>, "filename" | "code">;
8781
8781
  interface CSSModulesOptions {
@@ -220,7 +220,7 @@ var HMRClient = class {
220
220
  }
221
221
  };
222
222
  //#endregion
223
- //#region ../../node_modules/.pnpm/nanoid@5.1.7/node_modules/nanoid/non-secure/index.js
223
+ //#region ../../node_modules/.pnpm/nanoid@5.1.9/node_modules/nanoid/non-secure/index.js
224
224
  let urlAlphabet = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
225
225
  let nanoid = (size = 21) => {
226
226
  let id = "";
@@ -1,6 +1,6 @@
1
1
  import { r as __require, t as __commonJSMin } from "./chunk.js";
2
2
  import { t as require_lib } from "./lib.js";
3
- //#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.8/node_modules/postcss-modules/build/fs.js
3
+ //#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.10/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.8/node_modules/postcss-modules/build/unquote.js
25
+ //#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.10/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.8/node_modules/icss-utils/src/replaceValueSymbols.js
38
+ //#region ../../node_modules/.pnpm/icss-utils@5.1.0_postcss@8.5.10/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.8/node_modules/icss-utils/src/replaceSymbols.js
55
+ //#region ../../node_modules/.pnpm/icss-utils@5.1.0_postcss@8.5.10/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.8/node_modules/icss-utils/src/extractICSS.js
68
+ //#region ../../node_modules/.pnpm/icss-utils@5.1.0_postcss@8.5.10/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.8/node_modules/icss-utils/src/createICSSRules.js
122
+ //#region ../../node_modules/.pnpm/icss-utils@5.1.0_postcss@8.5.10/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.8/node_modules/icss-utils/src/index.js
166
+ //#region ../../node_modules/.pnpm/icss-utils@5.1.0_postcss@8.5.10/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.8/node_modules/postcss-modules/build/Parser.js
176
+ //#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.10/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.8/node_modules/postcss-modules/build/saveJSON.js
244
+ //#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.10/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;
@@ -893,7 +893,7 @@ var require_lodash_camelcase = /* @__PURE__ */ __commonJSMin(((exports, module)
893
893
  module.exports = camelCase;
894
894
  }));
895
895
  //#endregion
896
- //#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.8/node_modules/postcss-modules/build/localsConvention.js
896
+ //#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.10/node_modules/postcss-modules/build/localsConvention.js
897
897
  var require_localsConvention = /* @__PURE__ */ __commonJSMin(((exports) => {
898
898
  Object.defineProperty(exports, "__esModule", { value: true });
899
899
  exports.makeLocalsConventionReducer = makeLocalsConventionReducer;
@@ -933,7 +933,7 @@ var require_localsConvention = /* @__PURE__ */ __commonJSMin(((exports) => {
933
933
  }
934
934
  }));
935
935
  //#endregion
936
- //#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.8/node_modules/postcss-modules/build/FileSystemLoader.js
936
+ //#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.10/node_modules/postcss-modules/build/FileSystemLoader.js
937
937
  var require_FileSystemLoader = /* @__PURE__ */ __commonJSMin(((exports) => {
938
938
  Object.defineProperty(exports, "__esModule", { value: true });
939
939
  exports.default = void 0;
@@ -1018,7 +1018,7 @@ var require_FileSystemLoader = /* @__PURE__ */ __commonJSMin(((exports) => {
1018
1018
  exports.default = FileSystemLoader;
1019
1019
  }));
1020
1020
  //#endregion
1021
- //#region ../../node_modules/.pnpm/postcss-modules-extract-imports@3.1.0_postcss@8.5.8/node_modules/postcss-modules-extract-imports/src/topologicalSort.js
1021
+ //#region ../../node_modules/.pnpm/postcss-modules-extract-imports@3.1.0_postcss@8.5.10/node_modules/postcss-modules-extract-imports/src/topologicalSort.js
1022
1022
  var require_topologicalSort = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1023
1023
  const PERMANENT_MARKER = 2;
1024
1024
  const TEMPORARY_MARKER = 1;
@@ -1057,7 +1057,7 @@ var require_topologicalSort = /* @__PURE__ */ __commonJSMin(((exports, module) =
1057
1057
  module.exports = topologicalSort;
1058
1058
  }));
1059
1059
  //#endregion
1060
- //#region ../../node_modules/.pnpm/postcss-modules-extract-imports@3.1.0_postcss@8.5.8/node_modules/postcss-modules-extract-imports/src/index.js
1060
+ //#region ../../node_modules/.pnpm/postcss-modules-extract-imports@3.1.0_postcss@8.5.10/node_modules/postcss-modules-extract-imports/src/index.js
1061
1061
  var require_src$3 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1062
1062
  const topologicalSort = require_topologicalSort();
1063
1063
  const matchImports = /^(.+?)\s+from\s+(?:"([^"]+)"|'([^']+)'|(global))$/;
@@ -4563,7 +4563,7 @@ var require_dist = /* @__PURE__ */ __commonJSMin(((exports, module) => {
4563
4563
  module.exports = exports.default;
4564
4564
  }));
4565
4565
  //#endregion
4566
- //#region ../../node_modules/.pnpm/postcss-modules-local-by-default@4.2.0_postcss@8.5.8/node_modules/postcss-modules-local-by-default/src/index.js
4566
+ //#region ../../node_modules/.pnpm/postcss-modules-local-by-default@4.2.0_postcss@8.5.10/node_modules/postcss-modules-local-by-default/src/index.js
4567
4567
  var require_src$2 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
4568
4568
  const selectorParser = require_dist();
4569
4569
  const valueParser = require_lib();
@@ -4961,7 +4961,7 @@ var require_src$2 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
4961
4961
  module.exports.postcss = true;
4962
4962
  }));
4963
4963
  //#endregion
4964
- //#region ../../node_modules/.pnpm/postcss-modules-scope@3.2.1_postcss@8.5.8/node_modules/postcss-modules-scope/src/index.js
4964
+ //#region ../../node_modules/.pnpm/postcss-modules-scope@3.2.1_postcss@8.5.10/node_modules/postcss-modules-scope/src/index.js
4965
4965
  var require_src$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
4966
4966
  const selectorParser = require_dist();
4967
4967
  const hasOwnProperty = Object.prototype.hasOwnProperty;
@@ -5141,7 +5141,7 @@ var require_string_hash = /* @__PURE__ */ __commonJSMin(((exports, module) => {
5141
5141
  module.exports = hash;
5142
5142
  }));
5143
5143
  //#endregion
5144
- //#region ../../node_modules/.pnpm/postcss-modules-values@4.0.0_postcss@8.5.8/node_modules/postcss-modules-values/src/index.js
5144
+ //#region ../../node_modules/.pnpm/postcss-modules-values@4.0.0_postcss@8.5.10/node_modules/postcss-modules-values/src/index.js
5145
5145
  var require_src = /* @__PURE__ */ __commonJSMin(((exports, module) => {
5146
5146
  const ICSSUtils = require_src$4();
5147
5147
  const matchImports = /^(.+?|\([\s\S]+?\))\s+from\s+("[^"]*"|'[^']*'|[\w-]+)$/;
@@ -5228,7 +5228,7 @@ var require_src = /* @__PURE__ */ __commonJSMin(((exports, module) => {
5228
5228
  module.exports.postcss = true;
5229
5229
  }));
5230
5230
  //#endregion
5231
- //#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.8/node_modules/postcss-modules/build/scoping.js
5231
+ //#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.10/node_modules/postcss-modules/build/scoping.js
5232
5232
  var require_scoping = /* @__PURE__ */ __commonJSMin(((exports) => {
5233
5233
  Object.defineProperty(exports, "__esModule", { value: true });
5234
5234
  exports.behaviours = void 0;
@@ -5290,7 +5290,7 @@ var require_scoping = /* @__PURE__ */ __commonJSMin(((exports) => {
5290
5290
  }
5291
5291
  }));
5292
5292
  //#endregion
5293
- //#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.8/node_modules/postcss-modules/build/pluginFactory.js
5293
+ //#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.10/node_modules/postcss-modules/build/pluginFactory.js
5294
5294
  var require_pluginFactory = /* @__PURE__ */ __commonJSMin(((exports) => {
5295
5295
  Object.defineProperty(exports, "__esModule", { value: true });
5296
5296
  exports.makePlugin = makePlugin;
@@ -5364,7 +5364,7 @@ var require_pluginFactory = /* @__PURE__ */ __commonJSMin(((exports) => {
5364
5364
  }
5365
5365
  }));
5366
5366
  //#endregion
5367
- //#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.8/node_modules/postcss-modules/build/index.js
5367
+ //#region ../../node_modules/.pnpm/postcss-modules@6.0.1_postcss@8.5.10/node_modules/postcss-modules/build/index.js
5368
5368
  var require_build = /* @__PURE__ */ __commonJSMin(((exports, module) => {
5369
5369
  var _fs = __require("fs");
5370
5370
  var _fs2 = require_fs();