@ariestools/toolchain 8.7.25 → 8.7.27

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 (55) hide show
  1. package/dist/actions/deplint/checkPackage/getUnsatisfiedPeerDependencies.d.ts +10 -5
  2. package/dist/actions/deplint/checkPackage/getUnsatisfiedPeerDependencies.d.ts.map +1 -1
  3. package/dist/actions/deplint/engine.d.ts.map +1 -1
  4. package/dist/actions/deplint/findFiles.d.ts +25 -1
  5. package/dist/actions/deplint/findFiles.d.ts.map +1 -1
  6. package/dist/actions/deplint/getExternalImportsFromFiles.d.ts +8 -3
  7. package/dist/actions/deplint/getExternalImportsFromFiles.d.ts.map +1 -1
  8. package/dist/actions/deplint/isTerminalPackage.d.ts +72 -14
  9. package/dist/actions/deplint/isTerminalPackage.d.ts.map +1 -1
  10. package/dist/actions/deplint/rules.d.ts.map +1 -1
  11. package/dist/actions/deplint/snapshot.d.ts +9 -0
  12. package/dist/actions/deplint/snapshot.d.ts.map +1 -1
  13. package/dist/actions/deplint/types.d.ts +20 -2
  14. package/dist/actions/deplint/types.d.ts.map +1 -1
  15. package/dist/actions/package/compile/XyConfig.d.ts +23 -11
  16. package/dist/actions/package/compile/XyConfig.d.ts.map +1 -1
  17. package/dist/actions/skills/defaults.d.ts +18 -1
  18. package/dist/actions/skills/defaults.d.ts.map +1 -1
  19. package/dist/actions/skills/detectProfile.d.ts +8 -0
  20. package/dist/actions/skills/detectProfile.d.ts.map +1 -1
  21. package/dist/actions/skills/lint.d.ts.map +1 -1
  22. package/dist/actions/skills/skillRules.d.ts +12 -1
  23. package/dist/actions/skills/skillRules.d.ts.map +1 -1
  24. package/dist/bin/package/build.mjs +915 -2503
  25. package/dist/bin/package/build.mjs.map +1 -1
  26. package/dist/bin/package/clean.mjs +368 -2056
  27. package/dist/bin/package/clean.mjs.map +1 -1
  28. package/dist/bin/package/compile.mjs +717 -2401
  29. package/dist/bin/package/compile.mjs.map +1 -1
  30. package/dist/bin/package/copy-assets-cjs.mjs +159 -86
  31. package/dist/bin/package/copy-assets-cjs.mjs.map +1 -1
  32. package/dist/bin/package/copy-assets-esm.mjs +159 -86
  33. package/dist/bin/package/copy-assets-esm.mjs.map +1 -1
  34. package/dist/bin/package/fix.mjs +259 -148
  35. package/dist/bin/package/fix.mjs.map +1 -1
  36. package/dist/bin/package/lint-verbose.mjs +259 -148
  37. package/dist/bin/package/lint-verbose.mjs.map +1 -1
  38. package/dist/bin/package/lint.mjs +259 -148
  39. package/dist/bin/package/lint.mjs.map +1 -1
  40. package/dist/bin/package/publint.mjs +393 -2027
  41. package/dist/bin/package/publint.mjs.map +1 -1
  42. package/dist/bin/package/recompile.mjs +719 -2403
  43. package/dist/bin/package/recompile.mjs.map +1 -1
  44. package/dist/bin/package/relint.mjs +259 -148
  45. package/dist/bin/package/relint.mjs.map +1 -1
  46. package/dist/bin/package/sync-layout.mjs +232 -1961
  47. package/dist/bin/package/sync-layout.mjs.map +1 -1
  48. package/dist/bin/run-or-exec.mjs +157 -84
  49. package/dist/bin/run-or-exec.mjs.map +1 -1
  50. package/dist/bin/skills.mjs +4375 -670
  51. package/dist/bin/skills.mjs.map +1 -1
  52. package/dist/bin/xy.mjs +1205 -2347
  53. package/dist/bin/xy.mjs.map +1 -1
  54. package/dist/xy/common/skills/index.d.ts.map +1 -1
  55. package/package.json +4 -4
@@ -14,9 +14,9 @@ import Pe, { PassThrough } from "node:stream";
14
14
  import { StringDecoder } from "node:string_decoder";
15
15
  import { spawn } from "node:child_process";
16
16
  import u from "node:readline";
17
- import ts from "typescript";
18
17
  import { TypeScriptLoader } from "cosmiconfig-typescript-loader";
19
18
  import util from "node:util";
19
+ import ts from "typescript";
20
20
  import { pipeline } from "node:stream/promises";
21
21
  import zlib from "node:zlib";
22
22
  //#region \0rolldown/runtime.js
@@ -54,17 +54,47 @@ var __copyProps = (to, from, except, desc) => {
54
54
  }
55
55
  return to;
56
56
  };
57
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
57
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule || !__hasOwnProp.call(mod, "default") ? __defProp(target, "default", {
58
58
  value: mod,
59
59
  enumerable: true
60
60
  }) : target, mod));
61
61
  var __require = /* #__PURE__ */ (() => createRequire(import.meta.url))();
62
62
  //#endregion
63
- //#region ../../node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/vendor/ansi-styles/index.js
63
+ //#region ../../node_modules/.pnpm/chalk@6.0.0/node_modules/chalk/source/utilities.js
64
+ function stringReplaceAll(string, substring, postfix) {
65
+ let index = string.indexOf(substring);
66
+ if (index === -1) return string;
67
+ const substringLength = substring.length;
68
+ let endIndex = 0;
69
+ let returnValue = "";
70
+ do {
71
+ returnValue += string.slice(endIndex, index) + substring + postfix;
72
+ endIndex = index + substringLength;
73
+ index = string.indexOf(substring, endIndex);
74
+ } while (index !== -1);
75
+ returnValue += string.slice(endIndex);
76
+ return returnValue;
77
+ }
78
+ function stringEncaseCRLFWithFirstIndex(string, prefix, postfix, index) {
79
+ let endIndex = 0;
80
+ let returnValue = "";
81
+ do {
82
+ const isGotCR = string[index - 1] === "\r";
83
+ returnValue += string.slice(endIndex, isGotCR ? index - 1 : index) + prefix + (isGotCR ? "\r\n" : "\n") + postfix;
84
+ endIndex = index + 1;
85
+ index = string.indexOf("\n", endIndex);
86
+ } while (index !== -1);
87
+ returnValue += string.slice(endIndex);
88
+ return returnValue;
89
+ }
90
+ //#endregion
91
+ //#region ../../node_modules/.pnpm/chalk@6.0.0/node_modules/chalk/source/vendor/ansi-styles/index.js
64
92
  const ANSI_BACKGROUND_OFFSET = 10;
65
- const wrapAnsi16 = (offset = 0) => (code) => `\u001B[${code + offset}m`;
66
- const wrapAnsi256 = (offset = 0) => (code) => `\u001B[${38 + offset};5;${code}m`;
67
- const wrapAnsi16m = (offset = 0) => (red, green, blue) => `\u001B[${38 + offset};2;${red};${green};${blue}m`;
93
+ const ANSI_UNDERLINE_OFFSET = 20;
94
+ const wrapAnsi16 = (offset = 0) => (code) => `\u{1B}[${code + offset}m`;
95
+ const wrapAnsi256 = (offset = 0) => (code) => `\u{1B}[${38 + offset};5;${code}m`;
96
+ const wrapAnsi16m = (offset = 0) => (red, green, blue) => `\u{1B}[${38 + offset};2;${red};${green};${blue}m`;
97
+ const wrapUnderlineAnsi = (code) => `\u{1B}[58;5;${code < 90 ? code - 30 : code - 90 + 8}m`;
68
98
  const styles$1 = {
69
99
  modifier: {
70
100
  reset: [0, 0],
@@ -72,6 +102,10 @@ const styles$1 = {
72
102
  dim: [2, 22],
73
103
  italic: [3, 23],
74
104
  underline: [4, 24],
105
+ underlineDouble: ["4:2", 24],
106
+ underlineCurly: ["4:3", 24],
107
+ underlineDotted: ["4:4", 24],
108
+ underlineDashed: ["4:5", 24],
75
109
  overline: [53, 55],
76
110
  inverse: [7, 27],
77
111
  hidden: [8, 28],
@@ -116,22 +150,43 @@ const styles$1 = {
116
150
  bgMagentaBright: [105, 49],
117
151
  bgCyanBright: [106, 49],
118
152
  bgWhiteBright: [107, 49]
153
+ },
154
+ underlineColor: {
155
+ underlineBlack: ["58;5;0", 59],
156
+ underlineRed: ["58;5;1", 59],
157
+ underlineGreen: ["58;5;2", 59],
158
+ underlineYellow: ["58;5;3", 59],
159
+ underlineBlue: ["58;5;4", 59],
160
+ underlineMagenta: ["58;5;5", 59],
161
+ underlineCyan: ["58;5;6", 59],
162
+ underlineWhite: ["58;5;7", 59],
163
+ underlineBlackBright: ["58;5;8", 59],
164
+ underlineGray: ["58;5;8", 59],
165
+ underlineGrey: ["58;5;8", 59],
166
+ underlineRedBright: ["58;5;9", 59],
167
+ underlineGreenBright: ["58;5;10", 59],
168
+ underlineYellowBright: ["58;5;11", 59],
169
+ underlineBlueBright: ["58;5;12", 59],
170
+ underlineMagentaBright: ["58;5;13", 59],
171
+ underlineCyanBright: ["58;5;14", 59],
172
+ underlineWhiteBright: ["58;5;15", 59]
119
173
  }
120
174
  };
121
175
  Object.keys(styles$1.modifier);
122
176
  const foregroundColorNames = Object.keys(styles$1.color);
123
177
  const backgroundColorNames = Object.keys(styles$1.bgColor);
178
+ Object.keys(styles$1.underlineColor);
124
179
  [...foregroundColorNames, ...backgroundColorNames];
125
180
  function assembleStyles() {
126
181
  const codes = /* @__PURE__ */ new Map();
127
182
  for (const [groupName, group] of Object.entries(styles$1)) {
128
183
  for (const [styleName, style] of Object.entries(group)) {
129
184
  styles$1[styleName] = {
130
- open: `\u001B[${style[0]}m`,
131
- close: `\u001B[${style[1]}m`
185
+ open: `\u{1B}[${style[0]}m`,
186
+ close: `\u{1B}[${style[1]}m`
132
187
  };
133
188
  group[styleName] = styles$1[styleName];
134
- codes.set(style[0], style[1]);
189
+ codes.set(Number.parseInt(style[0], 10), style[1]);
135
190
  }
136
191
  Object.defineProperty(styles$1, groupName, {
137
192
  value: group,
@@ -144,12 +199,16 @@ function assembleStyles() {
144
199
  });
145
200
  styles$1.color.close = "\x1B[39m";
146
201
  styles$1.bgColor.close = "\x1B[49m";
202
+ styles$1.underlineColor.close = "\x1B[59m";
147
203
  styles$1.color.ansi = wrapAnsi16();
148
204
  styles$1.color.ansi256 = wrapAnsi256();
149
205
  styles$1.color.ansi16m = wrapAnsi16m();
150
206
  styles$1.bgColor.ansi = wrapAnsi16(ANSI_BACKGROUND_OFFSET);
151
207
  styles$1.bgColor.ansi256 = wrapAnsi256(ANSI_BACKGROUND_OFFSET);
152
208
  styles$1.bgColor.ansi16m = wrapAnsi16m(ANSI_BACKGROUND_OFFSET);
209
+ styles$1.underlineColor.ansi = wrapUnderlineAnsi;
210
+ styles$1.underlineColor.ansi256 = wrapAnsi256(ANSI_UNDERLINE_OFFSET);
211
+ styles$1.underlineColor.ansi16m = wrapAnsi16m(ANSI_UNDERLINE_OFFSET);
153
212
  Object.defineProperties(styles$1, {
154
213
  rgbToAnsi256: {
155
214
  value(red, green, blue) {
@@ -164,7 +223,7 @@ function assembleStyles() {
164
223
  },
165
224
  hexToRgb: {
166
225
  value(hex) {
167
- const matches = /[a-f\d]{6}|[a-f\d]{3}/i.exec(hex.toString(16));
226
+ const matches = /[\da-f]{6}|[\da-f]{3}/i.exec(hex.toString(16));
168
227
  if (!matches) return [
169
228
  0,
170
229
  0,
@@ -224,7 +283,7 @@ function assembleStyles() {
224
283
  }
225
284
  const ansiStyles = assembleStyles();
226
285
  //#endregion
227
- //#region ../../node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/vendor/supports-color/index.js
286
+ //#region ../../node_modules/.pnpm/chalk@6.0.0/node_modules/chalk/source/vendor/supports-color/index.js
228
287
  function hasFlag(flag, argv = globalThis.Deno ? globalThis.Deno.args : process$1.argv) {
229
288
  const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
230
289
  const position = argv.indexOf(prefix + flag);
@@ -235,12 +294,15 @@ const { env } = process$1;
235
294
  let flagForceColor;
236
295
  if (hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false") || hasFlag("color=never")) flagForceColor = 0;
237
296
  else if (hasFlag("color") || hasFlag("colors") || hasFlag("color=true") || hasFlag("color=always")) flagForceColor = 1;
297
+ function hasNumericForceColor() {
298
+ return /^\d+$/.test(env.FORCE_COLOR);
299
+ }
238
300
  function envForceColor() {
239
- if ("FORCE_COLOR" in env) {
240
- if (env.FORCE_COLOR === "true") return 1;
241
- if (env.FORCE_COLOR === "false") return 0;
242
- return env.FORCE_COLOR.length === 0 ? 1 : Math.min(Number.parseInt(env.FORCE_COLOR, 10), 3);
243
- }
301
+ if (!("FORCE_COLOR" in env)) return;
302
+ if (env.FORCE_COLOR === "false") return 0;
303
+ if (env.FORCE_COLOR === "true" || env.FORCE_COLOR.length === 0) return 1;
304
+ if (!hasNumericForceColor()) return;
305
+ return Math.min(Number.parseInt(env.FORCE_COLOR, 10), 3);
244
306
  }
245
307
  function translateLevel(level) {
246
308
  if (level === 0) return false;
@@ -260,6 +322,7 @@ function _supportsColor(haveStream, { streamIsTTY, sniffFlags = true } = {}) {
260
322
  if (hasFlag("color=16m") || hasFlag("color=full") || hasFlag("color=truecolor")) return 3;
261
323
  if (hasFlag("color=256")) return 2;
262
324
  }
325
+ if (forceColor !== void 0 && hasNumericForceColor()) return forceColor;
263
326
  if ("TF_BUILD" in env && "AGENT_NAME" in env) return 1;
264
327
  if (haveStream && !streamIsTTY && forceColor === void 0) return 0;
265
328
  const min = forceColor || 0;
@@ -284,19 +347,19 @@ function _supportsColor(haveStream, { streamIsTTY, sniffFlags = true } = {}) {
284
347
  ].some((sign) => sign in env) || env.CI_NAME === "codeship") return 1;
285
348
  return min;
286
349
  }
287
- if ("TEAMCITY_VERSION" in env) return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
350
+ if ("TEAMCITY_VERSION" in env) return /^(?:9\.0*[1-9]\d*\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
288
351
  if (env.COLORTERM === "truecolor") return 3;
289
352
  if (env.TERM === "xterm-kitty") return 3;
290
353
  if (env.TERM === "xterm-ghostty") return 3;
291
354
  if (env.TERM === "wezterm") return 3;
292
355
  if ("TERM_PROGRAM" in env) {
293
- const version = Number.parseInt((env.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
356
+ const version = Number.parseInt((env.TERM_PROGRAM_VERSION || "").split(".", 1)[0], 10);
294
357
  switch (env.TERM_PROGRAM) {
295
358
  case "iTerm.app": return version >= 3 ? 3 : 2;
296
359
  case "Apple_Terminal": return 2;
297
360
  }
298
361
  }
299
- if (/-256(color)?$/i.test(env.TERM)) return 2;
362
+ if (/-256(?:color)?$/i.test(env.TERM)) return 2;
300
363
  if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) return 1;
301
364
  if ("COLORTERM" in env) return 1;
302
365
  return min;
@@ -307,55 +370,34 @@ function createSupportsColor(stream, options = {}) {
307
370
  ...options
308
371
  }));
309
372
  }
310
- const supportsColor = {
373
+ //#endregion
374
+ //#region ../../node_modules/.pnpm/chalk@6.0.0/node_modules/chalk/source/index.js
375
+ const { stdout: stdoutColor, stderr: stderrColor } = {
311
376
  stdout: createSupportsColor({ isTTY: tty.isatty(1) }),
312
377
  stderr: createSupportsColor({ isTTY: tty.isatty(2) })
313
378
  };
314
- //#endregion
315
- //#region ../../node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/utilities.js
316
- function stringReplaceAll(string, substring, replacer) {
317
- let index = string.indexOf(substring);
318
- if (index === -1) return string;
319
- const substringLength = substring.length;
320
- let endIndex = 0;
321
- let returnValue = "";
322
- do {
323
- returnValue += string.slice(endIndex, index) + substring + replacer;
324
- endIndex = index + substringLength;
325
- index = string.indexOf(substring, endIndex);
326
- } while (index !== -1);
327
- returnValue += string.slice(endIndex);
328
- return returnValue;
329
- }
330
- function stringEncaseCRLFWithFirstIndex(string, prefix, postfix, index) {
331
- let endIndex = 0;
332
- let returnValue = "";
333
- do {
334
- const gotCR = string[index - 1] === "\r";
335
- returnValue += string.slice(endIndex, gotCR ? index - 1 : index) + prefix + (gotCR ? "\r\n" : "\n") + postfix;
336
- endIndex = index + 1;
337
- index = string.indexOf("\n", endIndex);
338
- } while (index !== -1);
339
- returnValue += string.slice(endIndex);
340
- return returnValue;
341
- }
342
- //#endregion
343
- //#region ../../node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/index.js
344
- const { stdout: stdoutColor, stderr: stderrColor } = supportsColor;
345
379
  const GENERATOR = Symbol("GENERATOR");
346
380
  const STYLER = Symbol("STYLER");
347
381
  const IS_EMPTY = Symbol("IS_EMPTY");
348
- const levelMapping = [
349
- "ansi",
350
- "ansi",
351
- "ansi256",
352
- "ansi16m"
353
- ];
382
+ const LEVEL = Symbol("LEVEL");
354
383
  const styles = Object.create(null);
384
+ const assertValidLevel = (level) => {
385
+ if (!Number.isSafeInteger(level) || level < 0 || level > 3) throw new Error("The `level` should be an integer from 0 to 3");
386
+ };
387
+ const levelDescriptor = {
388
+ enumerable: true,
389
+ get() {
390
+ return this[LEVEL];
391
+ },
392
+ set(level) {
393
+ assertValidLevel(level);
394
+ this[LEVEL] = level;
395
+ }
396
+ };
355
397
  const applyOptions = (object, options = {}) => {
356
- if (options.level && !(Number.isInteger(options.level) && options.level >= 0 && options.level <= 3)) throw new Error("The `level` option should be an integer from 0 to 3");
398
+ if (options.level !== void 0) assertValidLevel(options.level);
357
399
  const colorLevel = stdoutColor ? stdoutColor.level : 0;
358
- object.level = options.level === void 0 ? colorLevel : options.level;
400
+ object[LEVEL] = options.level === void 0 ? colorLevel : options.level;
359
401
  };
360
402
  const chalkFactory = (options) => {
361
403
  const chalk = (...strings) => strings.join(" ");
@@ -377,35 +419,58 @@ styles.visible = { get() {
377
419
  Object.defineProperty(this, "visible", { value: builder });
378
420
  return builder;
379
421
  } };
380
- const getModelAnsi = (model, level, type, ...arguments_) => {
422
+ const createModelConverters = (model, type) => {
423
+ const style = ansiStyles[type];
381
424
  if (model === "rgb") {
382
- if (level === "ansi16m") return ansiStyles[type].ansi16m(...arguments_);
383
- if (level === "ansi256") return ansiStyles[type].ansi256(ansiStyles.rgbToAnsi256(...arguments_));
384
- return ansiStyles[type].ansi(ansiStyles.rgbToAnsi(...arguments_));
425
+ const ansi = (red, green, blue) => style.ansi(ansiStyles.rgbToAnsi(red, green, blue));
426
+ const ansi256 = (red, green, blue) => style.ansi256(ansiStyles.rgbToAnsi256(red, green, blue));
427
+ return [
428
+ ansi,
429
+ ansi,
430
+ ansi256,
431
+ style.ansi16m
432
+ ];
433
+ }
434
+ if (model === "hex") {
435
+ const ansi = (hex) => style.ansi(ansiStyles.hexToAnsi(hex));
436
+ const ansi256 = (hex) => style.ansi256(ansiStyles.hexToAnsi256(hex));
437
+ return [
438
+ ansi,
439
+ ansi,
440
+ ansi256,
441
+ (hex) => style.ansi16m(...ansiStyles.hexToRgb(hex))
442
+ ];
385
443
  }
386
- if (model === "hex") return getModelAnsi("rgb", level, type, ...ansiStyles.hexToRgb(...arguments_));
387
- return ansiStyles[type][model](...arguments_);
444
+ const ansi = (code) => style.ansi(ansiStyles.ansi256ToAnsi(code));
445
+ return [
446
+ ansi,
447
+ ansi,
448
+ style.ansi256,
449
+ style.ansi256
450
+ ];
388
451
  };
389
452
  for (const model of [
390
453
  "rgb",
391
454
  "hex",
392
455
  "ansi256"
393
456
  ]) {
394
- styles[model] = { get() {
395
- const { level } = this;
396
- return function(...arguments_) {
397
- const styler = createStyler(getModelAnsi(model, levelMapping[level], "color", ...arguments_), ansiStyles.color.close, this[STYLER]);
398
- return createBuilder(this, styler, this[IS_EMPTY]);
399
- };
400
- } };
401
- const bgModel = "bg" + model[0].toUpperCase() + model.slice(1);
402
- styles[bgModel] = { get() {
403
- const { level } = this;
404
- return function(...arguments_) {
405
- const styler = createStyler(getModelAnsi(model, levelMapping[level], "bgColor", ...arguments_), ansiStyles.bgColor.close, this[STYLER]);
406
- return createBuilder(this, styler, this[IS_EMPTY]);
407
- };
408
- } };
457
+ const capitalizedModel = model[0].toUpperCase() + model.slice(1);
458
+ for (const [styleName, type] of [
459
+ [model, "color"],
460
+ ["bg" + capitalizedModel, "bgColor"],
461
+ ["underline" + capitalizedModel, "underlineColor"]
462
+ ]) {
463
+ const { close } = ansiStyles[type];
464
+ const converters = createModelConverters(model, type);
465
+ styles[styleName] = { get() {
466
+ const styleFunction = function(first, second, third) {
467
+ const open = converters[this.level](first, second, third);
468
+ return createBuilder(this, createStyler(open, close, this[STYLER]), this[IS_EMPTY]);
469
+ };
470
+ Object.defineProperty(this, styleName, { value: styleFunction });
471
+ return styleFunction;
472
+ } };
473
+ }
409
474
  }
410
475
  const proto = Object.defineProperties(() => {}, {
411
476
  ...styles,
@@ -438,15 +503,19 @@ const createStyler = (open, close, parent) => {
438
503
  };
439
504
  };
440
505
  const createBuilder = (self, _styler, _isEmpty) => {
441
- const builder = (...arguments_) => applyStyle(builder, arguments_.length === 1 ? "" + arguments_[0] : arguments_.join(" "));
506
+ const builder = (...arguments_) => {
507
+ if (arguments_.length === 1) return applyStyle(builder, "" + arguments_[0]);
508
+ if (arguments_.length === 2) return applyStyle(builder, arguments_[0] + " " + arguments_[1]);
509
+ return applyStyle(builder, arguments_.join(" "));
510
+ };
442
511
  Object.setPrototypeOf(builder, proto);
443
- builder[GENERATOR] = self;
512
+ builder[GENERATOR] = self[GENERATOR] ?? self;
444
513
  builder[STYLER] = _styler;
445
514
  builder[IS_EMPTY] = _isEmpty;
446
515
  return builder;
447
516
  };
448
517
  const applyStyle = (self, string) => {
449
- if (self.level <= 0 || !string) return self[IS_EMPTY] ? "" : string;
518
+ if (self[GENERATOR][LEVEL] <= 0 || !string) return self[IS_EMPTY] ? "" : string;
450
519
  let styler = self[STYLER];
451
520
  if (styler === void 0) return string;
452
521
  const { openAll, closeAll } = styler;
@@ -458,7 +527,10 @@ const applyStyle = (self, string) => {
458
527
  if (lfIndex !== -1) string = stringEncaseCRLFWithFirstIndex(string, closeAll, openAll, lfIndex);
459
528
  return openAll + string + closeAll;
460
529
  };
461
- Object.defineProperties(createChalk.prototype, styles);
530
+ Object.defineProperties(createChalk.prototype, {
531
+ ...styles,
532
+ level: levelDescriptor
533
+ });
462
534
  const chalk = createChalk();
463
535
  createChalk({ level: stderrColor ? stderrColor.level : 0 });
464
536
  //#endregion
@@ -467,7 +539,7 @@ function Ht(n) {
467
539
  return isNaN(n) ? n.charCodeAt(0) : parseInt(n, 10);
468
540
  }
469
541
  function ps(n) {
470
- return n.replace(as, fe).replace(ls, ue).replace(cs, qt).replace(fs$3, de).replace(us, pe);
542
+ return n.replace(as, fe).replace(ls, ue).replace(cs, qt).replace(fs$2, de).replace(us, pe);
471
543
  }
472
544
  function ms(n) {
473
545
  return n.replace(is, "\\").replace(rs, "{").replace(ns, "}").replace(os$2, ",").replace(hs, ".");
@@ -559,7 +631,7 @@ function Ut(n, t = {}) {
559
631
  function es(n, t = {}) {
560
632
  return new I$1(n, t).iterate();
561
633
  }
562
- var Gt, ce, ss, fe, ue, qt, de, pe, is, rs, ns, os$2, hs, as, ls, cs, fs$3, us, ds, at, Ss, lt, Es, we, ye, W, xs, be, vs, Ct, Cs, Ts, As, ks, Kt, Se, Ee, Q, tt, O$1, Rs, Os, Fs, Ds, Ms, Ns, _s, Ls, Ws, Ps, js, Is, zs, Bs, Us, $s, Gs, Hs, Ce, Te, Ae, xe, A, Vs, Ys, Xs, Js, N$1, Zs, ke, Qs, ti, ve, ei, D$1, si, Oe, Vt, Fe, At, Re, ii, q, De, Tt, ri, ft, Ne, oi, hi, ai, G, H, K, kt, ut, Rt, _e, Ot, Le, P$1, et, v$1, dt, st, C$1, F$1, T$1, Yt, Ft, k$1, x$1, Xt, Jt, We, Zt, B, Qt, Dt, pt, Y, M, mt, li, ci, fi, ui, Mt, te, di, pi, V, wt, Ue, $e, Ri, Oi, L, Ge, He, U, qe, Ke, X, Ve, _$1, gt, se, je, yt, j$1, Nt, Lt, Ie, Fi, ie, ze, bt, Be, _t, Wt, ne, Ye, R$1, Pt, jt, It, it, rt, St, Xe, Di, Mi, Ni, nt, _i, ot, oe, he, ae, Et, Li, zt, xt, vt, Pi, I$1, le, ji, Ii, zi, Bi, Ui, Ze;
634
+ var Gt, ce, ss, fe, ue, qt, de, pe, is, rs, ns, os$2, hs, as, ls, cs, fs$2, us, ds, at, Ss, lt, Es, we, ye, W, xs, be, vs, Ct, Cs, Ts, As, ks, Kt, Se, Ee, Q, tt, O$1, Rs, Os, Fs, Ds, Ms, Ns, _s, Ls, Ws, Ps, js, Is, zs, Bs, Us, $s, Gs, Hs, Ce, Te, Ae, xe, A, Vs, Ys, Xs, Js, N$1, Zs, ke, Qs, ti, ve, ei, D$1, si, Oe, Vt, Fe, At, Re, ii, q, De, Tt, ri, ft, Ne, oi, hi, ai, G, H, K, kt, ut, Rt, _e, Ot, Le, P$1, et, v$1, dt, st, C$1, F$1, T$1, Yt, Ft, k$1, x$1, Xt, Jt, We, Zt, B, Qt, Dt, pt, Y, M, mt, li, ci, fi, ui, Mt, te, di, pi, V, vi, wt, Ue, $e, Ri, Oi, L, Ge, He, U, qe, Ke, X, Ve, _$1, gt, se, je, yt, j$1, Nt, Lt, Ie, Fi, ie, ze, bt, Be, _t, Wt, ne, Ye, R$1, Pt, jt, It, it, rt, St, Xe, Di, Mi, Ni, nt, _i, ot, oe, he, ae, Et, Li, zt, xt, vt, Pi, I$1, le, ji, Ii, zi, Bi, Ui, Ze;
563
635
  var init_index_min = __esmMin((() => {
564
636
  Gt = (n, t, e) => {
565
637
  let s = n instanceof RegExp ? ce(n, e) : n, i = t instanceof RegExp ? ce(t, e) : t, r = s !== null && i != null && ss(s, i, e);
@@ -604,7 +676,7 @@ var init_index_min = __esmMin((() => {
604
676
  as = /\\\\/g;
605
677
  ls = /\\{/g;
606
678
  cs = /\\}/g;
607
- fs$3 = /\\,/g;
679
+ fs$2 = /\\,/g;
608
680
  us = /\\./g;
609
681
  ds = 1e5;
610
682
  at = (n) => {
@@ -2314,12 +2386,13 @@ while (this[Le](this[Ft]()) && this[C$1].length);
2314
2386
  return oi;
2315
2387
  }
2316
2388
  };
2389
+ vi = realpathSync.native;
2317
2390
  wt = {
2318
2391
  lstatSync,
2319
2392
  readdir,
2320
2393
  readdirSync,
2321
2394
  readlinkSync,
2322
- realpathSync: realpathSync.native,
2395
+ realpathSync: vi,
2323
2396
  promises: {
2324
2397
  lstat,
2325
2398
  readdir: readdir$1,
@@ -2377,7 +2450,7 @@ while (this[Le](this[Ft]()) && this[C$1].length);
2377
2450
  }
2378
2451
  };
2379
2452
  ne = class extends ft {
2380
- constructor(t = 16 * 1024) {
2453
+ constructor(t = 16384) {
2381
2454
  super({
2382
2455
  maxSize: t,
2383
2456
  sizeCalculation: (e) => e.length + 1
@@ -2846,7 +2919,7 @@ while (this[Le](this[Ft]()) && this[C$1].length);
2846
2919
  #n;
2847
2920
  nocase;
2848
2921
  #r;
2849
- constructor(t = process.cwd(), e, s, { nocase: i, childrenCacheSize: r = 16 * 1024, fs: o = wt } = {}) {
2922
+ constructor(t = process.cwd(), e, s, { nocase: i, childrenCacheSize: r = 16384, fs: o = wt } = {}) {
2850
2923
  this.#r = Ue(o), (t instanceof URL || t.startsWith("file://")) && (t = fileURLToPath(t));
2851
2924
  let h = e.resolve(t);
2852
2925
  this.roots = Object.create(null), this.rootPath = this.parseRootPath(h), this.#t = new Wt(), this.#s = new Wt(), this.#n = new ne(r);
@@ -3801,14 +3874,12 @@ function deepMerge(target, source, options = {}) {
3801
3874
  //#endregion
3802
3875
  //#region ../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/internal/constants.js
3803
3876
  var require_constants = /* @__PURE__ */ __commonJSMin(((exports, module) => {
3804
- const SEMVER_SPEC_VERSION = "2.0.0";
3805
- const MAX_LENGTH = 256;
3806
- const MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || 9007199254740991;
3807
3877
  module.exports = {
3808
- MAX_LENGTH,
3878
+ MAX_LENGTH: 256,
3809
3879
  MAX_SAFE_COMPONENT_LENGTH: 16,
3810
- MAX_SAFE_BUILD_LENGTH: MAX_LENGTH - 6,
3811
- MAX_SAFE_INTEGER,
3880
+ MAX_SAFE_BUILD_LENGTH: 250,
3881
+ MAX_SAFE_INTEGER: Number.MAX_SAFE_INTEGER ||
3882
+ /* istanbul ignore next */ 9007199254740991,
3812
3883
  RELEASE_TYPES: [
3813
3884
  "major",
3814
3885
  "premajor",
@@ -3818,7 +3889,7 @@ var require_constants = /* @__PURE__ */ __commonJSMin(((exports, module) => {
3818
3889
  "prepatch",
3819
3890
  "prerelease"
3820
3891
  ],
3821
- SEMVER_SPEC_VERSION,
3892
+ SEMVER_SPEC_VERSION: "2.0.0",
3822
3893
  FLAG_INCLUDE_PRERELEASE: 1,
3823
3894
  FLAG_LOOSE: 2
3824
3895
  };
@@ -4631,1768 +4702,6 @@ function INIT_CWD() {
4631
4702
  return process.env.INIT_CWD ?? process.cwd();
4632
4703
  }
4633
4704
  //#endregion
4634
- //#region ../../node_modules/.pnpm/resolve-from@4.0.0/node_modules/resolve-from/index.js
4635
- var require_resolve_from = /* @__PURE__ */ __commonJSMin(((exports, module) => {
4636
- const path$2 = __require("path");
4637
- const Module = __require("module");
4638
- const fs$2 = __require("fs");
4639
- const resolveFrom = (fromDir, moduleId, silent) => {
4640
- if (typeof fromDir !== "string") throw new TypeError(`Expected \`fromDir\` to be of type \`string\`, got \`${typeof fromDir}\``);
4641
- if (typeof moduleId !== "string") throw new TypeError(`Expected \`moduleId\` to be of type \`string\`, got \`${typeof moduleId}\``);
4642
- try {
4643
- fromDir = fs$2.realpathSync(fromDir);
4644
- } catch (err) {
4645
- if (err.code === "ENOENT") fromDir = path$2.resolve(fromDir);
4646
- else if (silent) return null;
4647
- else throw err;
4648
- }
4649
- const fromFile = path$2.join(fromDir, "noop.js");
4650
- const resolveFileName = () => Module._resolveFilename(moduleId, {
4651
- id: fromFile,
4652
- filename: fromFile,
4653
- paths: Module._nodeModulePaths(fromDir)
4654
- });
4655
- if (silent) try {
4656
- return resolveFileName();
4657
- } catch (err) {
4658
- return null;
4659
- }
4660
- return resolveFileName();
4661
- };
4662
- module.exports = (fromDir, moduleId) => resolveFrom(fromDir, moduleId);
4663
- module.exports.silent = (fromDir, moduleId) => resolveFrom(fromDir, moduleId, true);
4664
- }));
4665
- //#endregion
4666
- //#region ../../node_modules/.pnpm/callsites@3.1.0/node_modules/callsites/index.js
4667
- var require_callsites = /* @__PURE__ */ __commonJSMin(((exports, module) => {
4668
- const callsites = () => {
4669
- const _prepareStackTrace = Error.prepareStackTrace;
4670
- Error.prepareStackTrace = (_, stack) => stack;
4671
- const stack = (/* @__PURE__ */ new Error()).stack.slice(1);
4672
- Error.prepareStackTrace = _prepareStackTrace;
4673
- return stack;
4674
- };
4675
- module.exports = callsites;
4676
- module.exports.default = callsites;
4677
- }));
4678
- //#endregion
4679
- //#region ../../node_modules/.pnpm/parent-module@1.0.1/node_modules/parent-module/index.js
4680
- var require_parent_module = /* @__PURE__ */ __commonJSMin(((exports, module) => {
4681
- const callsites = require_callsites();
4682
- module.exports = (filepath) => {
4683
- const stacks = callsites();
4684
- if (!filepath) return stacks[2].getFileName();
4685
- let seenVal = false;
4686
- stacks.shift();
4687
- for (const stack of stacks) {
4688
- const parentFilepath = stack.getFileName();
4689
- if (typeof parentFilepath !== "string") continue;
4690
- if (parentFilepath === filepath) {
4691
- seenVal = true;
4692
- continue;
4693
- }
4694
- if (parentFilepath === "module.js") continue;
4695
- if (seenVal && parentFilepath !== filepath) return parentFilepath;
4696
- }
4697
- };
4698
- }));
4699
- //#endregion
4700
- //#region ../../node_modules/.pnpm/import-fresh@3.3.1/node_modules/import-fresh/index.js
4701
- var require_import_fresh = /* @__PURE__ */ __commonJSMin(((exports, module) => {
4702
- const path$1 = __require("path");
4703
- const resolveFrom = require_resolve_from();
4704
- const parentModule = require_parent_module();
4705
- module.exports = (moduleId) => {
4706
- if (typeof moduleId !== "string") throw new TypeError("Expected a string");
4707
- const parentPath = parentModule(__filename);
4708
- const cwd = parentPath ? path$1.dirname(parentPath) : __dirname;
4709
- const filePath = resolveFrom(cwd, moduleId);
4710
- const oldModule = __require.cache[filePath];
4711
- if (oldModule && oldModule.parent) {
4712
- let i = oldModule.parent.children.length;
4713
- while (i--) if (oldModule.parent.children[i].id === filePath) oldModule.parent.children.splice(i, 1);
4714
- }
4715
- delete __require.cache[filePath];
4716
- const parent = __require.cache[parentPath];
4717
- return parent === void 0 || parent.require === void 0 ? __require(filePath) : parent.require(filePath);
4718
- };
4719
- }));
4720
- //#endregion
4721
- //#region ../../node_modules/.pnpm/is-arrayish@0.2.1/node_modules/is-arrayish/index.js
4722
- var require_is_arrayish = /* @__PURE__ */ __commonJSMin(((exports, module) => {
4723
- module.exports = function isArrayish(obj) {
4724
- if (!obj) return false;
4725
- return obj instanceof Array || Array.isArray(obj) || obj.length >= 0 && obj.splice instanceof Function;
4726
- };
4727
- }));
4728
- //#endregion
4729
- //#region ../../node_modules/.pnpm/error-ex@1.3.4/node_modules/error-ex/index.js
4730
- var require_error_ex = /* @__PURE__ */ __commonJSMin(((exports, module) => {
4731
- var util$1 = __require("util");
4732
- var isArrayish = require_is_arrayish();
4733
- var errorEx = function errorEx(name, properties) {
4734
- if (!name || name.constructor !== String) {
4735
- properties = name || {};
4736
- name = Error.name;
4737
- }
4738
- var errorExError = function ErrorEXError(message) {
4739
- if (!this) return new ErrorEXError(message);
4740
- message = message instanceof Error ? message.message : message || this.message;
4741
- Error.call(this, message);
4742
- Error.captureStackTrace(this, errorExError);
4743
- this.name = name;
4744
- Object.defineProperty(this, "message", {
4745
- configurable: true,
4746
- enumerable: false,
4747
- get: function() {
4748
- var newMessage = message.split(/\r?\n/g);
4749
- for (var key in properties) {
4750
- if (!properties.hasOwnProperty(key)) continue;
4751
- var modifier = properties[key];
4752
- if ("message" in modifier) {
4753
- newMessage = modifier.message(this[key], newMessage) || newMessage;
4754
- if (!isArrayish(newMessage)) newMessage = [newMessage];
4755
- }
4756
- }
4757
- return newMessage.join("\n");
4758
- },
4759
- set: function(v) {
4760
- message = v;
4761
- }
4762
- });
4763
- var overwrittenStack = null;
4764
- var stackDescriptor = Object.getOwnPropertyDescriptor(this, "stack");
4765
- var stackGetter = stackDescriptor.get;
4766
- var stackValue = stackDescriptor.value;
4767
- delete stackDescriptor.value;
4768
- delete stackDescriptor.writable;
4769
- stackDescriptor.set = function(newstack) {
4770
- overwrittenStack = newstack;
4771
- };
4772
- stackDescriptor.get = function() {
4773
- var stack = (overwrittenStack || (stackGetter ? stackGetter.call(this) : stackValue)).split(/\r?\n+/g);
4774
- if (!overwrittenStack) stack[0] = this.name + ": " + this.message;
4775
- var lineCount = 1;
4776
- for (var key in properties) {
4777
- if (!properties.hasOwnProperty(key)) continue;
4778
- var modifier = properties[key];
4779
- if ("line" in modifier) {
4780
- var line = modifier.line(this[key]);
4781
- if (line) stack.splice(lineCount++, 0, " " + line);
4782
- }
4783
- if ("stack" in modifier) modifier.stack(this[key], stack);
4784
- }
4785
- return stack.join("\n");
4786
- };
4787
- Object.defineProperty(this, "stack", stackDescriptor);
4788
- };
4789
- if (Object.setPrototypeOf) {
4790
- Object.setPrototypeOf(errorExError.prototype, Error.prototype);
4791
- Object.setPrototypeOf(errorExError, Error);
4792
- } else util$1.inherits(errorExError, Error);
4793
- return errorExError;
4794
- };
4795
- errorEx.append = function(str, def) {
4796
- return { message: function(v, message) {
4797
- v = v || def;
4798
- if (v) message[0] += " " + str.replace("%s", v.toString());
4799
- return message;
4800
- } };
4801
- };
4802
- errorEx.line = function(str, def) {
4803
- return { line: function(v) {
4804
- v = v || def;
4805
- if (v) return str.replace("%s", v.toString());
4806
- return null;
4807
- } };
4808
- };
4809
- module.exports = errorEx;
4810
- }));
4811
- //#endregion
4812
- //#region ../../node_modules/.pnpm/json-parse-even-better-errors@2.3.1/node_modules/json-parse-even-better-errors/index.js
4813
- var require_json_parse_even_better_errors = /* @__PURE__ */ __commonJSMin(((exports, module) => {
4814
- const hexify = (char) => {
4815
- const h = char.charCodeAt(0).toString(16).toUpperCase();
4816
- return "0x" + (h.length % 2 ? "0" : "") + h;
4817
- };
4818
- const parseError = (e, txt, context) => {
4819
- if (!txt) return {
4820
- message: e.message + " while parsing empty string",
4821
- position: 0
4822
- };
4823
- const badToken = e.message.match(/^Unexpected token (.) .*position\s+(\d+)/i);
4824
- const errIdx = badToken ? +badToken[2] : e.message.match(/^Unexpected end of JSON.*/i) ? txt.length - 1 : null;
4825
- const msg = badToken ? e.message.replace(/^Unexpected token ./, `Unexpected token ${JSON.stringify(badToken[1])} (${hexify(badToken[1])})`) : e.message;
4826
- if (errIdx !== null && errIdx !== void 0) {
4827
- const start = errIdx <= context ? 0 : errIdx - context;
4828
- const end = errIdx + context >= txt.length ? txt.length : errIdx + context;
4829
- const slice = (start === 0 ? "" : "...") + txt.slice(start, end) + (end === txt.length ? "" : "...");
4830
- return {
4831
- message: msg + ` while parsing ${txt === slice ? "" : "near "}${JSON.stringify(slice)}`,
4832
- position: errIdx
4833
- };
4834
- } else return {
4835
- message: msg + ` while parsing '${txt.slice(0, context * 2)}'`,
4836
- position: 0
4837
- };
4838
- };
4839
- var JSONParseError = class extends SyntaxError {
4840
- constructor(er, txt, context, caller) {
4841
- context = context || 20;
4842
- const metadata = parseError(er, txt, context);
4843
- super(metadata.message);
4844
- Object.assign(this, metadata);
4845
- this.code = "EJSONPARSE";
4846
- this.systemError = er;
4847
- Error.captureStackTrace(this, caller || this.constructor);
4848
- }
4849
- get name() {
4850
- return this.constructor.name;
4851
- }
4852
- set name(n) {}
4853
- get [Symbol.toStringTag]() {
4854
- return this.constructor.name;
4855
- }
4856
- };
4857
- const kIndent = Symbol.for("indent");
4858
- const kNewline = Symbol.for("newline");
4859
- const formatRE = /^\s*[{\[]((?:\r?\n)+)([\s\t]*)/;
4860
- const emptyRE = /^(?:\{\}|\[\])((?:\r?\n)+)?$/;
4861
- const parseJson = (txt, reviver, context) => {
4862
- const parseText = stripBOM(txt);
4863
- context = context || 20;
4864
- try {
4865
- const [, newline = "\n", indent = " "] = parseText.match(emptyRE) || parseText.match(formatRE) || [
4866
- ,
4867
- "",
4868
- ""
4869
- ];
4870
- const result = JSON.parse(parseText, reviver);
4871
- if (result && typeof result === "object") {
4872
- result[kNewline] = newline;
4873
- result[kIndent] = indent;
4874
- }
4875
- return result;
4876
- } catch (e) {
4877
- if (typeof txt !== "string" && !Buffer.isBuffer(txt)) {
4878
- const isEmptyArray = Array.isArray(txt) && txt.length === 0;
4879
- throw Object.assign(/* @__PURE__ */ new TypeError(`Cannot parse ${isEmptyArray ? "an empty array" : String(txt)}`), {
4880
- code: "EJSONPARSE",
4881
- systemError: e
4882
- });
4883
- }
4884
- throw new JSONParseError(e, parseText, context, parseJson);
4885
- }
4886
- };
4887
- const stripBOM = (txt) => String(txt).replace(/^\uFEFF/, "");
4888
- module.exports = parseJson;
4889
- parseJson.JSONParseError = JSONParseError;
4890
- parseJson.noExceptions = (txt, reviver) => {
4891
- try {
4892
- return JSON.parse(stripBOM(txt), reviver);
4893
- } catch (e) {}
4894
- };
4895
- }));
4896
- //#endregion
4897
- //#region ../../node_modules/.pnpm/lines-and-columns@1.2.4/node_modules/lines-and-columns/build/index.js
4898
- var require_build = /* @__PURE__ */ __commonJSMin(((exports) => {
4899
- exports.__esModule = true;
4900
- exports.LinesAndColumns = void 0;
4901
- var LF = "\n";
4902
- var CR = "\r";
4903
- var LinesAndColumns = function() {
4904
- function LinesAndColumns(string) {
4905
- this.string = string;
4906
- var offsets = [0];
4907
- for (var offset = 0; offset < string.length;) switch (string[offset]) {
4908
- case LF:
4909
- offset += LF.length;
4910
- offsets.push(offset);
4911
- break;
4912
- case CR:
4913
- offset += CR.length;
4914
- if (string[offset] === LF) offset += LF.length;
4915
- offsets.push(offset);
4916
- break;
4917
- default:
4918
- offset++;
4919
- break;
4920
- }
4921
- this.offsets = offsets;
4922
- }
4923
- LinesAndColumns.prototype.locationForIndex = function(index) {
4924
- if (index < 0 || index > this.string.length) return null;
4925
- var line = 0;
4926
- var offsets = this.offsets;
4927
- while (offsets[line + 1] <= index) line++;
4928
- var column = index - offsets[line];
4929
- return {
4930
- line,
4931
- column
4932
- };
4933
- };
4934
- LinesAndColumns.prototype.indexForLocation = function(location) {
4935
- var line = location.line, column = location.column;
4936
- if (line < 0 || line >= this.offsets.length) return null;
4937
- if (column < 0 || column > this.lengthOfLine(line)) return null;
4938
- return this.offsets[line] + column;
4939
- };
4940
- LinesAndColumns.prototype.lengthOfLine = function(line) {
4941
- var offset = this.offsets[line];
4942
- return (line === this.offsets.length - 1 ? this.string.length : this.offsets[line + 1]) - offset;
4943
- };
4944
- return LinesAndColumns;
4945
- }();
4946
- exports.LinesAndColumns = LinesAndColumns;
4947
- exports["default"] = LinesAndColumns;
4948
- }));
4949
- //#endregion
4950
- //#region ../../node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.js
4951
- var require_picocolors = /* @__PURE__ */ __commonJSMin(((exports, module) => {
4952
- let p = process || {};
4953
- let argv = p.argv || [];
4954
- let env = p.env || {};
4955
- 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);
4956
- let formatter = (open, close, replace = open) => (input) => {
4957
- let string = "" + input, index = string.indexOf(close, open.length);
4958
- return ~index ? open + replaceClose(string, close, replace, index) + close : open + string + close;
4959
- };
4960
- let replaceClose = (string, close, replace, index) => {
4961
- let result = "", cursor = 0;
4962
- do {
4963
- result += string.substring(cursor, index) + replace;
4964
- cursor = index + close.length;
4965
- index = string.indexOf(close, cursor);
4966
- } while (~index);
4967
- return result + string.substring(cursor);
4968
- };
4969
- let createColors = (enabled = isColorSupported) => {
4970
- let f = enabled ? formatter : () => String;
4971
- return {
4972
- isColorSupported: enabled,
4973
- reset: f("\x1B[0m", "\x1B[0m"),
4974
- bold: f("\x1B[1m", "\x1B[22m", "\x1B[22m\x1B[1m"),
4975
- dim: f("\x1B[2m", "\x1B[22m", "\x1B[22m\x1B[2m"),
4976
- italic: f("\x1B[3m", "\x1B[23m"),
4977
- underline: f("\x1B[4m", "\x1B[24m"),
4978
- inverse: f("\x1B[7m", "\x1B[27m"),
4979
- hidden: f("\x1B[8m", "\x1B[28m"),
4980
- strikethrough: f("\x1B[9m", "\x1B[29m"),
4981
- black: f("\x1B[30m", "\x1B[39m"),
4982
- red: f("\x1B[31m", "\x1B[39m"),
4983
- green: f("\x1B[32m", "\x1B[39m"),
4984
- yellow: f("\x1B[33m", "\x1B[39m"),
4985
- blue: f("\x1B[34m", "\x1B[39m"),
4986
- magenta: f("\x1B[35m", "\x1B[39m"),
4987
- cyan: f("\x1B[36m", "\x1B[39m"),
4988
- white: f("\x1B[37m", "\x1B[39m"),
4989
- gray: f("\x1B[90m", "\x1B[39m"),
4990
- bgBlack: f("\x1B[40m", "\x1B[49m"),
4991
- bgRed: f("\x1B[41m", "\x1B[49m"),
4992
- bgGreen: f("\x1B[42m", "\x1B[49m"),
4993
- bgYellow: f("\x1B[43m", "\x1B[49m"),
4994
- bgBlue: f("\x1B[44m", "\x1B[49m"),
4995
- bgMagenta: f("\x1B[45m", "\x1B[49m"),
4996
- bgCyan: f("\x1B[46m", "\x1B[49m"),
4997
- bgWhite: f("\x1B[47m", "\x1B[49m"),
4998
- blackBright: f("\x1B[90m", "\x1B[39m"),
4999
- redBright: f("\x1B[91m", "\x1B[39m"),
5000
- greenBright: f("\x1B[92m", "\x1B[39m"),
5001
- yellowBright: f("\x1B[93m", "\x1B[39m"),
5002
- blueBright: f("\x1B[94m", "\x1B[39m"),
5003
- magentaBright: f("\x1B[95m", "\x1B[39m"),
5004
- cyanBright: f("\x1B[96m", "\x1B[39m"),
5005
- whiteBright: f("\x1B[97m", "\x1B[39m"),
5006
- bgBlackBright: f("\x1B[100m", "\x1B[49m"),
5007
- bgRedBright: f("\x1B[101m", "\x1B[49m"),
5008
- bgGreenBright: f("\x1B[102m", "\x1B[49m"),
5009
- bgYellowBright: f("\x1B[103m", "\x1B[49m"),
5010
- bgBlueBright: f("\x1B[104m", "\x1B[49m"),
5011
- bgMagentaBright: f("\x1B[105m", "\x1B[49m"),
5012
- bgCyanBright: f("\x1B[106m", "\x1B[49m"),
5013
- bgWhiteBright: f("\x1B[107m", "\x1B[49m")
5014
- };
5015
- };
5016
- module.exports = createColors();
5017
- module.exports.createColors = createColors;
5018
- }));
5019
- //#endregion
5020
- //#region ../../node_modules/.pnpm/js-tokens@4.0.0/node_modules/js-tokens/index.js
5021
- var require_js_tokens = /* @__PURE__ */ __commonJSMin(((exports) => {
5022
- Object.defineProperty(exports, "__esModule", { value: true });
5023
- exports.default = /((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g;
5024
- exports.matchToToken = function(match) {
5025
- var token = {
5026
- type: "invalid",
5027
- value: match[0],
5028
- closed: void 0
5029
- };
5030
- if (match[1]) token.type = "string", token.closed = !!(match[3] || match[4]);
5031
- else if (match[5]) token.type = "comment";
5032
- else if (match[6]) token.type = "comment", token.closed = !!match[7];
5033
- else if (match[8]) token.type = "regex";
5034
- else if (match[9]) token.type = "number";
5035
- else if (match[10]) token.type = "name";
5036
- else if (match[11]) token.type = "punctuator";
5037
- else if (match[12]) token.type = "whitespace";
5038
- return token;
5039
- };
5040
- }));
5041
- //#endregion
5042
- //#region ../../node_modules/.pnpm/@babel+helper-validator-identifier@7.29.7/node_modules/@babel/helper-validator-identifier/lib/identifier.js
5043
- var require_identifier = /* @__PURE__ */ __commonJSMin(((exports) => {
5044
- Object.defineProperty(exports, "__esModule", { value: true });
5045
- exports.isIdentifierChar = isIdentifierChar;
5046
- exports.isIdentifierName = isIdentifierName;
5047
- exports.isIdentifierStart = isIdentifierStart;
5048
- let nonASCIIidentifierStartChars = "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-࢏ࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚ౜ౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽ೜-ೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-Ƛ꟱-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";
5049
- let nonASCIIidentifierChars = "·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-᫝᫠-᫫ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・";
5050
- const nonASCIIidentifierStart = new RegExp("[" + nonASCIIidentifierStartChars + "]");
5051
- const nonASCIIidentifier = new RegExp("[" + nonASCIIidentifierStartChars + nonASCIIidentifierChars + "]");
5052
- nonASCIIidentifierStartChars = nonASCIIidentifierChars = null;
5053
- const astralIdentifierStartCodes = [
5054
- 0,
5055
- 11,
5056
- 2,
5057
- 25,
5058
- 2,
5059
- 18,
5060
- 2,
5061
- 1,
5062
- 2,
5063
- 14,
5064
- 3,
5065
- 13,
5066
- 35,
5067
- 122,
5068
- 70,
5069
- 52,
5070
- 268,
5071
- 28,
5072
- 4,
5073
- 48,
5074
- 48,
5075
- 31,
5076
- 14,
5077
- 29,
5078
- 6,
5079
- 37,
5080
- 11,
5081
- 29,
5082
- 3,
5083
- 35,
5084
- 5,
5085
- 7,
5086
- 2,
5087
- 4,
5088
- 43,
5089
- 157,
5090
- 19,
5091
- 35,
5092
- 5,
5093
- 35,
5094
- 5,
5095
- 39,
5096
- 9,
5097
- 51,
5098
- 13,
5099
- 10,
5100
- 2,
5101
- 14,
5102
- 2,
5103
- 6,
5104
- 2,
5105
- 1,
5106
- 2,
5107
- 10,
5108
- 2,
5109
- 14,
5110
- 2,
5111
- 6,
5112
- 2,
5113
- 1,
5114
- 4,
5115
- 51,
5116
- 13,
5117
- 310,
5118
- 10,
5119
- 21,
5120
- 11,
5121
- 7,
5122
- 25,
5123
- 5,
5124
- 2,
5125
- 41,
5126
- 2,
5127
- 8,
5128
- 70,
5129
- 5,
5130
- 3,
5131
- 0,
5132
- 2,
5133
- 43,
5134
- 2,
5135
- 1,
5136
- 4,
5137
- 0,
5138
- 3,
5139
- 22,
5140
- 11,
5141
- 22,
5142
- 10,
5143
- 30,
5144
- 66,
5145
- 18,
5146
- 2,
5147
- 1,
5148
- 11,
5149
- 21,
5150
- 11,
5151
- 25,
5152
- 7,
5153
- 25,
5154
- 39,
5155
- 55,
5156
- 7,
5157
- 1,
5158
- 65,
5159
- 0,
5160
- 16,
5161
- 3,
5162
- 2,
5163
- 2,
5164
- 2,
5165
- 28,
5166
- 43,
5167
- 28,
5168
- 4,
5169
- 28,
5170
- 36,
5171
- 7,
5172
- 2,
5173
- 27,
5174
- 28,
5175
- 53,
5176
- 11,
5177
- 21,
5178
- 11,
5179
- 18,
5180
- 14,
5181
- 17,
5182
- 111,
5183
- 72,
5184
- 56,
5185
- 50,
5186
- 14,
5187
- 50,
5188
- 14,
5189
- 35,
5190
- 39,
5191
- 27,
5192
- 10,
5193
- 22,
5194
- 251,
5195
- 41,
5196
- 7,
5197
- 1,
5198
- 17,
5199
- 5,
5200
- 57,
5201
- 28,
5202
- 11,
5203
- 0,
5204
- 9,
5205
- 21,
5206
- 43,
5207
- 17,
5208
- 47,
5209
- 20,
5210
- 28,
5211
- 22,
5212
- 13,
5213
- 52,
5214
- 58,
5215
- 1,
5216
- 3,
5217
- 0,
5218
- 14,
5219
- 44,
5220
- 33,
5221
- 24,
5222
- 27,
5223
- 35,
5224
- 30,
5225
- 0,
5226
- 3,
5227
- 0,
5228
- 9,
5229
- 34,
5230
- 4,
5231
- 0,
5232
- 13,
5233
- 47,
5234
- 15,
5235
- 3,
5236
- 22,
5237
- 0,
5238
- 2,
5239
- 0,
5240
- 36,
5241
- 17,
5242
- 2,
5243
- 24,
5244
- 20,
5245
- 1,
5246
- 64,
5247
- 6,
5248
- 2,
5249
- 0,
5250
- 2,
5251
- 3,
5252
- 2,
5253
- 14,
5254
- 2,
5255
- 9,
5256
- 8,
5257
- 46,
5258
- 39,
5259
- 7,
5260
- 3,
5261
- 1,
5262
- 3,
5263
- 21,
5264
- 2,
5265
- 6,
5266
- 2,
5267
- 1,
5268
- 2,
5269
- 4,
5270
- 4,
5271
- 0,
5272
- 19,
5273
- 0,
5274
- 13,
5275
- 4,
5276
- 31,
5277
- 9,
5278
- 2,
5279
- 0,
5280
- 3,
5281
- 0,
5282
- 2,
5283
- 37,
5284
- 2,
5285
- 0,
5286
- 26,
5287
- 0,
5288
- 2,
5289
- 0,
5290
- 45,
5291
- 52,
5292
- 19,
5293
- 3,
5294
- 21,
5295
- 2,
5296
- 31,
5297
- 47,
5298
- 21,
5299
- 1,
5300
- 2,
5301
- 0,
5302
- 185,
5303
- 46,
5304
- 42,
5305
- 3,
5306
- 37,
5307
- 47,
5308
- 21,
5309
- 0,
5310
- 60,
5311
- 42,
5312
- 14,
5313
- 0,
5314
- 72,
5315
- 26,
5316
- 38,
5317
- 6,
5318
- 186,
5319
- 43,
5320
- 117,
5321
- 63,
5322
- 32,
5323
- 7,
5324
- 3,
5325
- 0,
5326
- 3,
5327
- 7,
5328
- 2,
5329
- 1,
5330
- 2,
5331
- 23,
5332
- 16,
5333
- 0,
5334
- 2,
5335
- 0,
5336
- 95,
5337
- 7,
5338
- 3,
5339
- 38,
5340
- 17,
5341
- 0,
5342
- 2,
5343
- 0,
5344
- 29,
5345
- 0,
5346
- 11,
5347
- 39,
5348
- 8,
5349
- 0,
5350
- 22,
5351
- 0,
5352
- 12,
5353
- 45,
5354
- 20,
5355
- 0,
5356
- 19,
5357
- 72,
5358
- 200,
5359
- 32,
5360
- 32,
5361
- 8,
5362
- 2,
5363
- 36,
5364
- 18,
5365
- 0,
5366
- 50,
5367
- 29,
5368
- 113,
5369
- 6,
5370
- 2,
5371
- 1,
5372
- 2,
5373
- 37,
5374
- 22,
5375
- 0,
5376
- 26,
5377
- 5,
5378
- 2,
5379
- 1,
5380
- 2,
5381
- 31,
5382
- 15,
5383
- 0,
5384
- 24,
5385
- 43,
5386
- 261,
5387
- 18,
5388
- 16,
5389
- 0,
5390
- 2,
5391
- 12,
5392
- 2,
5393
- 33,
5394
- 125,
5395
- 0,
5396
- 80,
5397
- 921,
5398
- 103,
5399
- 110,
5400
- 18,
5401
- 195,
5402
- 2637,
5403
- 96,
5404
- 16,
5405
- 1071,
5406
- 18,
5407
- 5,
5408
- 26,
5409
- 3994,
5410
- 6,
5411
- 582,
5412
- 6842,
5413
- 29,
5414
- 1763,
5415
- 568,
5416
- 8,
5417
- 30,
5418
- 18,
5419
- 78,
5420
- 18,
5421
- 29,
5422
- 19,
5423
- 47,
5424
- 17,
5425
- 3,
5426
- 32,
5427
- 20,
5428
- 6,
5429
- 18,
5430
- 433,
5431
- 44,
5432
- 212,
5433
- 63,
5434
- 33,
5435
- 24,
5436
- 3,
5437
- 24,
5438
- 45,
5439
- 74,
5440
- 6,
5441
- 0,
5442
- 67,
5443
- 12,
5444
- 65,
5445
- 1,
5446
- 2,
5447
- 0,
5448
- 15,
5449
- 4,
5450
- 10,
5451
- 7381,
5452
- 42,
5453
- 31,
5454
- 98,
5455
- 114,
5456
- 8702,
5457
- 3,
5458
- 2,
5459
- 6,
5460
- 2,
5461
- 1,
5462
- 2,
5463
- 290,
5464
- 16,
5465
- 0,
5466
- 30,
5467
- 2,
5468
- 3,
5469
- 0,
5470
- 15,
5471
- 3,
5472
- 9,
5473
- 395,
5474
- 2309,
5475
- 106,
5476
- 6,
5477
- 12,
5478
- 4,
5479
- 8,
5480
- 8,
5481
- 9,
5482
- 5991,
5483
- 84,
5484
- 2,
5485
- 70,
5486
- 2,
5487
- 1,
5488
- 3,
5489
- 0,
5490
- 3,
5491
- 1,
5492
- 3,
5493
- 3,
5494
- 2,
5495
- 11,
5496
- 2,
5497
- 0,
5498
- 2,
5499
- 6,
5500
- 2,
5501
- 64,
5502
- 2,
5503
- 3,
5504
- 3,
5505
- 7,
5506
- 2,
5507
- 6,
5508
- 2,
5509
- 27,
5510
- 2,
5511
- 3,
5512
- 2,
5513
- 4,
5514
- 2,
5515
- 0,
5516
- 4,
5517
- 6,
5518
- 2,
5519
- 339,
5520
- 3,
5521
- 24,
5522
- 2,
5523
- 24,
5524
- 2,
5525
- 30,
5526
- 2,
5527
- 24,
5528
- 2,
5529
- 30,
5530
- 2,
5531
- 24,
5532
- 2,
5533
- 30,
5534
- 2,
5535
- 24,
5536
- 2,
5537
- 30,
5538
- 2,
5539
- 24,
5540
- 2,
5541
- 7,
5542
- 1845,
5543
- 30,
5544
- 7,
5545
- 5,
5546
- 262,
5547
- 61,
5548
- 147,
5549
- 44,
5550
- 11,
5551
- 6,
5552
- 17,
5553
- 0,
5554
- 322,
5555
- 29,
5556
- 19,
5557
- 43,
5558
- 485,
5559
- 27,
5560
- 229,
5561
- 29,
5562
- 3,
5563
- 0,
5564
- 208,
5565
- 30,
5566
- 2,
5567
- 2,
5568
- 2,
5569
- 1,
5570
- 2,
5571
- 6,
5572
- 3,
5573
- 4,
5574
- 10,
5575
- 1,
5576
- 225,
5577
- 6,
5578
- 2,
5579
- 3,
5580
- 2,
5581
- 1,
5582
- 2,
5583
- 14,
5584
- 2,
5585
- 196,
5586
- 60,
5587
- 67,
5588
- 8,
5589
- 0,
5590
- 1205,
5591
- 3,
5592
- 2,
5593
- 26,
5594
- 2,
5595
- 1,
5596
- 2,
5597
- 0,
5598
- 3,
5599
- 0,
5600
- 2,
5601
- 9,
5602
- 2,
5603
- 3,
5604
- 2,
5605
- 0,
5606
- 2,
5607
- 0,
5608
- 7,
5609
- 0,
5610
- 5,
5611
- 0,
5612
- 2,
5613
- 0,
5614
- 2,
5615
- 0,
5616
- 2,
5617
- 2,
5618
- 2,
5619
- 1,
5620
- 2,
5621
- 0,
5622
- 3,
5623
- 0,
5624
- 2,
5625
- 0,
5626
- 2,
5627
- 0,
5628
- 2,
5629
- 0,
5630
- 2,
5631
- 0,
5632
- 2,
5633
- 1,
5634
- 2,
5635
- 0,
5636
- 3,
5637
- 3,
5638
- 2,
5639
- 6,
5640
- 2,
5641
- 3,
5642
- 2,
5643
- 3,
5644
- 2,
5645
- 0,
5646
- 2,
5647
- 9,
5648
- 2,
5649
- 16,
5650
- 6,
5651
- 2,
5652
- 2,
5653
- 4,
5654
- 2,
5655
- 16,
5656
- 4421,
5657
- 42719,
5658
- 33,
5659
- 4381,
5660
- 3,
5661
- 5773,
5662
- 3,
5663
- 7472,
5664
- 16,
5665
- 621,
5666
- 2467,
5667
- 541,
5668
- 1507,
5669
- 4938,
5670
- 6,
5671
- 8489
5672
- ];
5673
- const astralIdentifierCodes = [
5674
- 509,
5675
- 0,
5676
- 227,
5677
- 0,
5678
- 150,
5679
- 4,
5680
- 294,
5681
- 9,
5682
- 1368,
5683
- 2,
5684
- 2,
5685
- 1,
5686
- 6,
5687
- 3,
5688
- 41,
5689
- 2,
5690
- 5,
5691
- 0,
5692
- 166,
5693
- 1,
5694
- 574,
5695
- 3,
5696
- 9,
5697
- 9,
5698
- 7,
5699
- 9,
5700
- 32,
5701
- 4,
5702
- 318,
5703
- 1,
5704
- 78,
5705
- 5,
5706
- 71,
5707
- 10,
5708
- 50,
5709
- 3,
5710
- 123,
5711
- 2,
5712
- 54,
5713
- 14,
5714
- 32,
5715
- 10,
5716
- 3,
5717
- 1,
5718
- 11,
5719
- 3,
5720
- 46,
5721
- 10,
5722
- 8,
5723
- 0,
5724
- 46,
5725
- 9,
5726
- 7,
5727
- 2,
5728
- 37,
5729
- 13,
5730
- 2,
5731
- 9,
5732
- 6,
5733
- 1,
5734
- 45,
5735
- 0,
5736
- 13,
5737
- 2,
5738
- 49,
5739
- 13,
5740
- 9,
5741
- 3,
5742
- 2,
5743
- 11,
5744
- 83,
5745
- 11,
5746
- 7,
5747
- 0,
5748
- 3,
5749
- 0,
5750
- 158,
5751
- 11,
5752
- 6,
5753
- 9,
5754
- 7,
5755
- 3,
5756
- 56,
5757
- 1,
5758
- 2,
5759
- 6,
5760
- 3,
5761
- 1,
5762
- 3,
5763
- 2,
5764
- 10,
5765
- 0,
5766
- 11,
5767
- 1,
5768
- 3,
5769
- 6,
5770
- 4,
5771
- 4,
5772
- 68,
5773
- 8,
5774
- 2,
5775
- 0,
5776
- 3,
5777
- 0,
5778
- 2,
5779
- 3,
5780
- 2,
5781
- 4,
5782
- 2,
5783
- 0,
5784
- 15,
5785
- 1,
5786
- 83,
5787
- 17,
5788
- 10,
5789
- 9,
5790
- 5,
5791
- 0,
5792
- 82,
5793
- 19,
5794
- 13,
5795
- 9,
5796
- 214,
5797
- 6,
5798
- 3,
5799
- 8,
5800
- 28,
5801
- 1,
5802
- 83,
5803
- 16,
5804
- 16,
5805
- 9,
5806
- 82,
5807
- 12,
5808
- 9,
5809
- 9,
5810
- 7,
5811
- 19,
5812
- 58,
5813
- 14,
5814
- 5,
5815
- 9,
5816
- 243,
5817
- 14,
5818
- 166,
5819
- 9,
5820
- 71,
5821
- 5,
5822
- 2,
5823
- 1,
5824
- 3,
5825
- 3,
5826
- 2,
5827
- 0,
5828
- 2,
5829
- 1,
5830
- 13,
5831
- 9,
5832
- 120,
5833
- 6,
5834
- 3,
5835
- 6,
5836
- 4,
5837
- 0,
5838
- 29,
5839
- 9,
5840
- 41,
5841
- 6,
5842
- 2,
5843
- 3,
5844
- 9,
5845
- 0,
5846
- 10,
5847
- 10,
5848
- 47,
5849
- 15,
5850
- 199,
5851
- 7,
5852
- 137,
5853
- 9,
5854
- 54,
5855
- 7,
5856
- 2,
5857
- 7,
5858
- 17,
5859
- 9,
5860
- 57,
5861
- 21,
5862
- 2,
5863
- 13,
5864
- 123,
5865
- 5,
5866
- 4,
5867
- 0,
5868
- 2,
5869
- 1,
5870
- 2,
5871
- 6,
5872
- 2,
5873
- 0,
5874
- 9,
5875
- 9,
5876
- 49,
5877
- 4,
5878
- 2,
5879
- 1,
5880
- 2,
5881
- 4,
5882
- 9,
5883
- 9,
5884
- 55,
5885
- 9,
5886
- 266,
5887
- 3,
5888
- 10,
5889
- 1,
5890
- 2,
5891
- 0,
5892
- 49,
5893
- 6,
5894
- 4,
5895
- 4,
5896
- 14,
5897
- 10,
5898
- 5350,
5899
- 0,
5900
- 7,
5901
- 14,
5902
- 11465,
5903
- 27,
5904
- 2343,
5905
- 9,
5906
- 87,
5907
- 9,
5908
- 39,
5909
- 4,
5910
- 60,
5911
- 6,
5912
- 26,
5913
- 9,
5914
- 535,
5915
- 9,
5916
- 470,
5917
- 0,
5918
- 2,
5919
- 54,
5920
- 8,
5921
- 3,
5922
- 82,
5923
- 0,
5924
- 12,
5925
- 1,
5926
- 19628,
5927
- 1,
5928
- 4178,
5929
- 9,
5930
- 519,
5931
- 45,
5932
- 3,
5933
- 22,
5934
- 543,
5935
- 4,
5936
- 4,
5937
- 5,
5938
- 9,
5939
- 7,
5940
- 3,
5941
- 6,
5942
- 31,
5943
- 3,
5944
- 149,
5945
- 2,
5946
- 1418,
5947
- 49,
5948
- 513,
5949
- 54,
5950
- 5,
5951
- 49,
5952
- 9,
5953
- 0,
5954
- 15,
5955
- 0,
5956
- 23,
5957
- 4,
5958
- 2,
5959
- 14,
5960
- 1361,
5961
- 6,
5962
- 2,
5963
- 16,
5964
- 3,
5965
- 6,
5966
- 2,
5967
- 1,
5968
- 2,
5969
- 4,
5970
- 101,
5971
- 0,
5972
- 161,
5973
- 6,
5974
- 10,
5975
- 9,
5976
- 357,
5977
- 0,
5978
- 62,
5979
- 13,
5980
- 499,
5981
- 13,
5982
- 245,
5983
- 1,
5984
- 2,
5985
- 9,
5986
- 233,
5987
- 0,
5988
- 3,
5989
- 0,
5990
- 8,
5991
- 1,
5992
- 6,
5993
- 0,
5994
- 475,
5995
- 6,
5996
- 110,
5997
- 6,
5998
- 6,
5999
- 9,
6000
- 4759,
6001
- 9,
6002
- 787719,
6003
- 239
6004
- ];
6005
- function isInAstralSet(code, set) {
6006
- let pos = 65536;
6007
- for (let i = 0, length = set.length; i < length; i += 2) {
6008
- pos += set[i];
6009
- if (pos > code) return false;
6010
- pos += set[i + 1];
6011
- if (pos >= code) return true;
6012
- }
6013
- return false;
6014
- }
6015
- function isIdentifierStart(code) {
6016
- if (code < 65) return code === 36;
6017
- if (code <= 90) return true;
6018
- if (code < 97) return code === 95;
6019
- if (code <= 122) return true;
6020
- if (code <= 65535) return code >= 170 && nonASCIIidentifierStart.test(String.fromCharCode(code));
6021
- return isInAstralSet(code, astralIdentifierStartCodes);
6022
- }
6023
- function isIdentifierChar(code) {
6024
- if (code < 48) return code === 36;
6025
- if (code < 58) return true;
6026
- if (code < 65) return false;
6027
- if (code <= 90) return true;
6028
- if (code < 97) return code === 95;
6029
- if (code <= 122) return true;
6030
- if (code <= 65535) return code >= 170 && nonASCIIidentifier.test(String.fromCharCode(code));
6031
- return isInAstralSet(code, astralIdentifierStartCodes) || isInAstralSet(code, astralIdentifierCodes);
6032
- }
6033
- function isIdentifierName(name) {
6034
- let isFirst = true;
6035
- for (let i = 0; i < name.length; i++) {
6036
- let cp = name.charCodeAt(i);
6037
- if ((cp & 64512) === 55296 && i + 1 < name.length) {
6038
- const trail = name.charCodeAt(++i);
6039
- if ((trail & 64512) === 56320) cp = 65536 + ((cp & 1023) << 10) + (trail & 1023);
6040
- }
6041
- if (isFirst) {
6042
- isFirst = false;
6043
- if (!isIdentifierStart(cp)) return false;
6044
- } else if (!isIdentifierChar(cp)) return false;
6045
- }
6046
- return !isFirst;
6047
- }
6048
- }));
6049
- //#endregion
6050
- //#region ../../node_modules/.pnpm/@babel+helper-validator-identifier@7.29.7/node_modules/@babel/helper-validator-identifier/lib/keyword.js
6051
- var require_keyword = /* @__PURE__ */ __commonJSMin(((exports) => {
6052
- Object.defineProperty(exports, "__esModule", { value: true });
6053
- exports.isKeyword = isKeyword;
6054
- exports.isReservedWord = isReservedWord;
6055
- exports.isStrictBindOnlyReservedWord = isStrictBindOnlyReservedWord;
6056
- exports.isStrictBindReservedWord = isStrictBindReservedWord;
6057
- exports.isStrictReservedWord = isStrictReservedWord;
6058
- const reservedWords = {
6059
- keyword: [
6060
- "break",
6061
- "case",
6062
- "catch",
6063
- "continue",
6064
- "debugger",
6065
- "default",
6066
- "do",
6067
- "else",
6068
- "finally",
6069
- "for",
6070
- "function",
6071
- "if",
6072
- "return",
6073
- "switch",
6074
- "throw",
6075
- "try",
6076
- "var",
6077
- "const",
6078
- "while",
6079
- "with",
6080
- "new",
6081
- "this",
6082
- "super",
6083
- "class",
6084
- "extends",
6085
- "export",
6086
- "import",
6087
- "null",
6088
- "true",
6089
- "false",
6090
- "in",
6091
- "instanceof",
6092
- "typeof",
6093
- "void",
6094
- "delete"
6095
- ],
6096
- strict: [
6097
- "implements",
6098
- "interface",
6099
- "let",
6100
- "package",
6101
- "private",
6102
- "protected",
6103
- "public",
6104
- "static",
6105
- "yield"
6106
- ],
6107
- strictBind: ["eval", "arguments"]
6108
- };
6109
- const keywords = new Set(reservedWords.keyword);
6110
- const reservedWordsStrictSet = new Set(reservedWords.strict);
6111
- const reservedWordsStrictBindSet = new Set(reservedWords.strictBind);
6112
- function isReservedWord(word, inModule) {
6113
- return inModule && word === "await" || word === "enum";
6114
- }
6115
- function isStrictReservedWord(word, inModule) {
6116
- return isReservedWord(word, inModule) || reservedWordsStrictSet.has(word);
6117
- }
6118
- function isStrictBindOnlyReservedWord(word) {
6119
- return reservedWordsStrictBindSet.has(word);
6120
- }
6121
- function isStrictBindReservedWord(word, inModule) {
6122
- return isStrictReservedWord(word, inModule) || isStrictBindOnlyReservedWord(word);
6123
- }
6124
- function isKeyword(word) {
6125
- return keywords.has(word);
6126
- }
6127
- }));
6128
- //#endregion
6129
- //#region ../../node_modules/.pnpm/@babel+helper-validator-identifier@7.29.7/node_modules/@babel/helper-validator-identifier/lib/index.js
6130
- var require_lib$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
6131
- Object.defineProperty(exports, "__esModule", { value: true });
6132
- Object.defineProperty(exports, "isIdentifierChar", {
6133
- enumerable: true,
6134
- get: function() {
6135
- return _identifier.isIdentifierChar;
6136
- }
6137
- });
6138
- Object.defineProperty(exports, "isIdentifierName", {
6139
- enumerable: true,
6140
- get: function() {
6141
- return _identifier.isIdentifierName;
6142
- }
6143
- });
6144
- Object.defineProperty(exports, "isIdentifierStart", {
6145
- enumerable: true,
6146
- get: function() {
6147
- return _identifier.isIdentifierStart;
6148
- }
6149
- });
6150
- Object.defineProperty(exports, "isKeyword", {
6151
- enumerable: true,
6152
- get: function() {
6153
- return _keyword.isKeyword;
6154
- }
6155
- });
6156
- Object.defineProperty(exports, "isReservedWord", {
6157
- enumerable: true,
6158
- get: function() {
6159
- return _keyword.isReservedWord;
6160
- }
6161
- });
6162
- Object.defineProperty(exports, "isStrictBindOnlyReservedWord", {
6163
- enumerable: true,
6164
- get: function() {
6165
- return _keyword.isStrictBindOnlyReservedWord;
6166
- }
6167
- });
6168
- Object.defineProperty(exports, "isStrictBindReservedWord", {
6169
- enumerable: true,
6170
- get: function() {
6171
- return _keyword.isStrictBindReservedWord;
6172
- }
6173
- });
6174
- Object.defineProperty(exports, "isStrictReservedWord", {
6175
- enumerable: true,
6176
- get: function() {
6177
- return _keyword.isStrictReservedWord;
6178
- }
6179
- });
6180
- var _identifier = require_identifier();
6181
- var _keyword = require_keyword();
6182
- }));
6183
- //#endregion
6184
- //#region ../../node_modules/.pnpm/@babel+code-frame@7.29.7/node_modules/@babel/code-frame/lib/index.js
6185
- var require_lib = /* @__PURE__ */ __commonJSMin(((exports) => {
6186
- Object.defineProperty(exports, "__esModule", { value: true });
6187
- var picocolors = require_picocolors();
6188
- var jsTokens = require_js_tokens();
6189
- var helperValidatorIdentifier = require_lib$1();
6190
- function isColorSupported() {
6191
- return typeof process === "object" && (process.env.FORCE_COLOR === "0" || process.env.FORCE_COLOR === "false") ? false : picocolors.isColorSupported;
6192
- }
6193
- const compose = (f, g) => (v) => f(g(v));
6194
- function buildDefs(colors) {
6195
- return {
6196
- keyword: colors.cyan,
6197
- capitalized: colors.yellow,
6198
- jsxIdentifier: colors.yellow,
6199
- punctuator: colors.yellow,
6200
- number: colors.magenta,
6201
- string: colors.green,
6202
- regex: colors.magenta,
6203
- comment: colors.gray,
6204
- invalid: compose(compose(colors.white, colors.bgRed), colors.bold),
6205
- gutter: colors.gray,
6206
- marker: compose(colors.red, colors.bold),
6207
- message: compose(colors.red, colors.bold),
6208
- reset: colors.reset
6209
- };
6210
- }
6211
- const defsOn = buildDefs(picocolors.createColors(true));
6212
- const defsOff = buildDefs(picocolors.createColors(false));
6213
- function getDefs(enabled) {
6214
- return enabled ? defsOn : defsOff;
6215
- }
6216
- const sometimesKeywords = /* @__PURE__ */ new Set([
6217
- "as",
6218
- "async",
6219
- "from",
6220
- "get",
6221
- "of",
6222
- "set"
6223
- ]);
6224
- const NEWLINE$1 = /\r\n|[\n\r\u2028\u2029]/;
6225
- const BRACKET = /^[()[\]{}]$/;
6226
- let tokenize;
6227
- const JSX_TAG = /^[a-z][\w-]*$/i;
6228
- const getTokenType = function(token, offset, text) {
6229
- if (token.type === "name") {
6230
- const tokenValue = token.value;
6231
- if (helperValidatorIdentifier.isKeyword(tokenValue) || helperValidatorIdentifier.isStrictReservedWord(tokenValue, true) || sometimesKeywords.has(tokenValue)) return "keyword";
6232
- if (JSX_TAG.test(tokenValue) && (text[offset - 1] === "<" || text.slice(offset - 2, offset) === "</")) return "jsxIdentifier";
6233
- const firstChar = String.fromCodePoint(tokenValue.codePointAt(0));
6234
- if (firstChar !== firstChar.toLowerCase()) return "capitalized";
6235
- }
6236
- if (token.type === "punctuator" && BRACKET.test(token.value)) return "bracket";
6237
- if (token.type === "invalid" && (token.value === "@" || token.value === "#")) return "punctuator";
6238
- return token.type;
6239
- };
6240
- tokenize = function* (text) {
6241
- let match;
6242
- while (match = jsTokens.default.exec(text)) {
6243
- const token = jsTokens.matchToToken(match);
6244
- yield {
6245
- type: getTokenType(token, match.index, text),
6246
- value: token.value
6247
- };
6248
- }
6249
- };
6250
- function highlight(text) {
6251
- if (text === "") return "";
6252
- const defs = getDefs(true);
6253
- let highlighted = "";
6254
- for (const { type, value } of tokenize(text)) if (type in defs) highlighted += value.split(NEWLINE$1).map((str) => defs[type](str)).join("\n");
6255
- else highlighted += value;
6256
- return highlighted;
6257
- }
6258
- let deprecationWarningShown = false;
6259
- const NEWLINE = /\r\n|[\n\r\u2028\u2029]/;
6260
- function getMarkerLines(loc, source, opts, startLineBaseZero) {
6261
- const startLoc = Object.assign({
6262
- column: 0,
6263
- line: -1
6264
- }, loc.start);
6265
- const endLoc = Object.assign({}, startLoc, loc.end);
6266
- const { linesAbove = 2, linesBelow = 3 } = opts || {};
6267
- const startLine = startLoc.line - startLineBaseZero;
6268
- const startColumn = startLoc.column;
6269
- const endLine = endLoc.line - startLineBaseZero;
6270
- const endColumn = endLoc.column;
6271
- let start = Math.max(startLine - (linesAbove + 1), 0);
6272
- let end = Math.min(source.length, endLine + linesBelow);
6273
- if (startLine === -1) start = 0;
6274
- if (endLine === -1) end = source.length;
6275
- const lineDiff = endLine - startLine;
6276
- const markerLines = {};
6277
- if (lineDiff) for (let i = 0; i <= lineDiff; i++) {
6278
- const lineNumber = i + startLine;
6279
- if (!startColumn) markerLines[lineNumber] = true;
6280
- else if (i === 0) markerLines[lineNumber] = [startColumn, source[lineNumber - 1].length - startColumn + 1];
6281
- else if (i === lineDiff) markerLines[lineNumber] = [0, endColumn];
6282
- else markerLines[lineNumber] = [0, source[lineNumber - i].length];
6283
- }
6284
- else if (startColumn === endColumn) if (startColumn) markerLines[startLine] = [startColumn, 0];
6285
- else markerLines[startLine] = true;
6286
- else markerLines[startLine] = [startColumn, endColumn - startColumn];
6287
- return {
6288
- start,
6289
- end,
6290
- markerLines
6291
- };
6292
- }
6293
- function codeFrameColumns(rawLines, loc, opts = {}) {
6294
- const shouldHighlight = opts.forceColor || isColorSupported() && opts.highlightCode;
6295
- const startLineBaseZero = (opts.startLine || 1) - 1;
6296
- const defs = getDefs(shouldHighlight);
6297
- const { start, end, markerLines } = getMarkerLines(loc, rawLines.split(NEWLINE), opts, startLineBaseZero);
6298
- const hasColumns = loc.start && typeof loc.start.column === "number";
6299
- const numberMaxWidth = String(end + startLineBaseZero).length;
6300
- let frame = (shouldHighlight ? highlight(rawLines) : rawLines).split(NEWLINE, end).slice(start, end).map((line, index) => {
6301
- const number = start + 1 + index;
6302
- const gutter = ` ${` ${number + startLineBaseZero}`.slice(-numberMaxWidth)} |`;
6303
- const hasMarker = markerLines[number];
6304
- const lastMarkerLine = !markerLines[number + 1];
6305
- if (hasMarker) {
6306
- let markerLine = "";
6307
- if (Array.isArray(hasMarker)) {
6308
- const markerSpacing = line.slice(0, Math.max(hasMarker[0] - 1, 0)).replace(/[^\t]/g, " ");
6309
- const numberOfMarkers = hasMarker[1] || 1;
6310
- markerLine = [
6311
- "\n ",
6312
- defs.gutter(gutter.replace(/\d/g, " ")),
6313
- " ",
6314
- markerSpacing,
6315
- defs.marker("^").repeat(numberOfMarkers)
6316
- ].join("");
6317
- if (lastMarkerLine && opts.message) markerLine += " " + defs.message(opts.message);
6318
- }
6319
- return [
6320
- defs.marker(">"),
6321
- defs.gutter(gutter),
6322
- line.length > 0 ? ` ${line}` : "",
6323
- markerLine
6324
- ].join("");
6325
- } else return ` ${defs.gutter(gutter)}${line.length > 0 ? ` ${line}` : ""}`;
6326
- }).join("\n");
6327
- if (opts.message && !hasColumns) frame = `${" ".repeat(numberMaxWidth + 1)}${opts.message}\n${frame}`;
6328
- if (shouldHighlight) return defs.reset(frame);
6329
- else return frame;
6330
- }
6331
- function index(rawLines, lineNumber, colNumber, opts = {}) {
6332
- if (!deprecationWarningShown) {
6333
- deprecationWarningShown = true;
6334
- const message = "Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";
6335
- if (process.emitWarning) process.emitWarning(message, "DeprecationWarning");
6336
- else {
6337
- const deprecationError = /* @__PURE__ */ new Error(message);
6338
- deprecationError.name = "DeprecationWarning";
6339
- console.warn(/* @__PURE__ */ new Error(message));
6340
- }
6341
- }
6342
- colNumber = Math.max(colNumber, 0);
6343
- return codeFrameColumns(rawLines, { start: {
6344
- column: colNumber,
6345
- line: lineNumber
6346
- } }, opts);
6347
- }
6348
- exports.codeFrameColumns = codeFrameColumns;
6349
- exports.default = index;
6350
- exports.highlight = highlight;
6351
- }));
6352
- //#endregion
6353
- //#region ../../node_modules/.pnpm/parse-json@5.2.0/node_modules/parse-json/index.js
6354
- var require_parse_json = /* @__PURE__ */ __commonJSMin(((exports, module) => {
6355
- const errorEx = require_error_ex();
6356
- const fallback = require_json_parse_even_better_errors();
6357
- const { default: LinesAndColumns } = require_build();
6358
- const { codeFrameColumns } = require_lib();
6359
- const JSONError = errorEx("JSONError", {
6360
- fileName: errorEx.append("in %s"),
6361
- codeFrame: errorEx.append("\n\n%s\n")
6362
- });
6363
- const parseJson = (string, reviver, filename) => {
6364
- if (typeof reviver === "string") {
6365
- filename = reviver;
6366
- reviver = null;
6367
- }
6368
- try {
6369
- try {
6370
- return JSON.parse(string, reviver);
6371
- } catch (error) {
6372
- fallback(string, reviver);
6373
- throw error;
6374
- }
6375
- } catch (error) {
6376
- error.message = error.message.replace(/\n/g, "");
6377
- const indexMatch = error.message.match(/in JSON at position (\d+) while parsing/);
6378
- const jsonError = new JSONError(error);
6379
- if (filename) jsonError.fileName = filename;
6380
- if (indexMatch && indexMatch.length > 0) {
6381
- const lines = new LinesAndColumns(string);
6382
- const index = Number(indexMatch[1]);
6383
- const location = lines.locationForIndex(index);
6384
- jsonError.codeFrame = codeFrameColumns(string, { start: {
6385
- line: location.line + 1,
6386
- column: location.column + 1
6387
- } }, { highlightCode: true });
6388
- }
6389
- throw jsonError;
6390
- }
6391
- };
6392
- parseJson.JSONError = JSONError;
6393
- module.exports = parseJson;
6394
- }));
6395
- //#endregion
6396
4705
  //#region ../../node_modules/.pnpm/js-yaml@4.3.0/node_modules/js-yaml/lib/common.js
6397
4706
  var require_common = /* @__PURE__ */ __commonJSMin(((exports, module) => {
6398
4707
  function isNothing(subject) {
@@ -8740,22 +7049,15 @@ var require_js_yaml = /* @__PURE__ */ __commonJSMin(((exports, module) => {
8740
7049
  module.exports.safeDump = renamed("safeDump", "dump");
8741
7050
  }));
8742
7051
  //#endregion
8743
- //#region ../../node_modules/.pnpm/cosmiconfig@9.0.2_typescript@6.0.3/node_modules/cosmiconfig/dist/loaders.js
7052
+ //#region ../../node_modules/.pnpm/cosmiconfig@10.0.0/node_modules/cosmiconfig/dist/loaders.js
8744
7053
  var require_loaders = /* @__PURE__ */ __commonJSMin(((exports) => {
8745
- var __importDefault = exports && exports.__importDefault || function(mod) {
8746
- return mod && mod.__esModule ? mod : { "default": mod };
8747
- };
8748
7054
  Object.defineProperty(exports, "__esModule", { value: true });
8749
- exports.loadTs = exports.loadTsSync = exports.loadYaml = exports.loadJson = exports.loadJs = exports.loadJsSync = void 0;
8750
- const fs_1$2 = __require("fs");
7055
+ exports.loadYaml = exports.loadJson = exports.loadJs = exports.loadJsSync = void 0;
8751
7056
  const promises_1$1 = __require("fs/promises");
8752
- const path_1$3 = __importDefault(__require("path"));
8753
7057
  const url_1 = __require("url");
8754
- const crypto_1 = __require("crypto");
8755
- let importFresh;
8756
7058
  exports.loadJsSync = function loadJsSync(filepath) {
8757
- if (importFresh === void 0) importFresh = require_import_fresh();
8758
- return importFresh(filepath);
7059
+ delete __require.cache[__require.resolve(filepath)];
7060
+ return __require(filepath);
8759
7061
  };
8760
7062
  exports.loadJs = async function loadJs(filepath) {
8761
7063
  try {
@@ -8771,11 +7073,9 @@ var require_loaders = /* @__PURE__ */ __commonJSMin(((exports) => {
8771
7073
  }
8772
7074
  }
8773
7075
  };
8774
- let parseJson;
8775
7076
  exports.loadJson = function loadJson(filepath, content) {
8776
- if (parseJson === void 0) parseJson = require_parse_json();
8777
7077
  try {
8778
- return parseJson(content);
7078
+ return JSON.parse(content);
8779
7079
  } catch (error) {
8780
7080
  error.message = `JSON Error in ${filepath}:\n${error.message}`;
8781
7081
  throw error;
@@ -8791,73 +7091,12 @@ var require_loaders = /* @__PURE__ */ __commonJSMin(((exports) => {
8791
7091
  throw error;
8792
7092
  }
8793
7093
  };
8794
- let typescript;
8795
- exports.loadTsSync = function loadTsSync(filepath, content) {
8796
- /* istanbul ignore next -- @preserve */
8797
- if (typescript === void 0) typescript = __require("typescript");
8798
- const compiledFilepath = `${filepath}.${(0, crypto_1.randomUUID)()}.cjs`;
8799
- try {
8800
- const config = resolveTsConfig(path_1$3.default.dirname(filepath)) ?? {};
8801
- config.compilerOptions = {
8802
- ...config.compilerOptions,
8803
- module: typescript.ModuleKind.NodeNext,
8804
- moduleResolution: typescript.ModuleResolutionKind.NodeNext,
8805
- target: typescript.ScriptTarget.ES2022,
8806
- noEmit: false
8807
- };
8808
- content = typescript.transpileModule(content, config).outputText;
8809
- (0, fs_1$2.writeFileSync)(compiledFilepath, content);
8810
- return (0, exports.loadJsSync)(compiledFilepath, content).default;
8811
- } catch (error) {
8812
- error.message = `TypeScript Error in ${filepath}:\n${error.message}`;
8813
- throw error;
8814
- } finally {
8815
- if ((0, fs_1$2.existsSync)(compiledFilepath)) (0, fs_1$2.rmSync)(compiledFilepath);
8816
- }
8817
- };
8818
- exports.loadTs = async function loadTs(filepath, content) {
8819
- if (typescript === void 0) typescript = (await import("typescript")).default;
8820
- const compiledFilepath = `${filepath}.${(0, crypto_1.randomUUID)()}.mjs`;
8821
- let transpiledContent;
8822
- try {
8823
- try {
8824
- const config = resolveTsConfig(path_1$3.default.dirname(filepath)) ?? {};
8825
- config.compilerOptions = {
8826
- ...config.compilerOptions,
8827
- module: typescript.ModuleKind.ES2022,
8828
- moduleResolution: typescript.ModuleResolutionKind.Bundler,
8829
- target: typescript.ScriptTarget.ES2022,
8830
- noEmit: false
8831
- };
8832
- transpiledContent = typescript.transpileModule(content, config).outputText;
8833
- await (0, promises_1$1.writeFile)(compiledFilepath, transpiledContent);
8834
- } catch (error) {
8835
- error.message = `TypeScript Error in ${filepath}:\n${error.message}`;
8836
- throw error;
8837
- }
8838
- return await (0, exports.loadJs)(compiledFilepath, transpiledContent);
8839
- } finally {
8840
- if ((0, fs_1$2.existsSync)(compiledFilepath)) await (0, promises_1$1.rm)(compiledFilepath);
8841
- }
8842
- };
8843
- function resolveTsConfig(directory) {
8844
- const filePath = typescript.findConfigFile(directory, (fileName) => {
8845
- return typescript.sys.fileExists(fileName);
8846
- });
8847
- if (filePath !== void 0) {
8848
- const { config, error } = typescript.readConfigFile(filePath, (path) => typescript.sys.readFile(path));
8849
- if (error) throw new Error(`Error in ${filePath}: ${error.messageText.toString()}`);
8850
- return config;
8851
- }
8852
- }
8853
7094
  }));
8854
7095
  //#endregion
8855
- //#region ../../node_modules/.pnpm/cosmiconfig@9.0.2_typescript@6.0.3/node_modules/cosmiconfig/dist/defaults.js
7096
+ //#region ../../node_modules/.pnpm/cosmiconfig@10.0.0/node_modules/cosmiconfig/dist/defaults.js
8856
7097
  var require_defaults = /* @__PURE__ */ __commonJSMin(((exports) => {
8857
7098
  Object.defineProperty(exports, "__esModule", { value: true });
8858
- exports.defaultLoadersSync = exports.defaultLoaders = exports.metaSearchPlaces = exports.globalConfigSearchPlacesSync = exports.globalConfigSearchPlaces = void 0;
8859
- exports.getDefaultSearchPlaces = getDefaultSearchPlaces;
8860
- exports.getDefaultSearchPlacesSync = getDefaultSearchPlacesSync;
7099
+ exports.defaultLoadersSync = exports.defaultLoaders = exports.metaSearchPlaces = exports.globalConfigSearchPlacesSync = exports.globalConfigSearchPlaces = exports.getDefaultSearchPlacesSync = exports.getDefaultSearchPlaces = void 0;
8861
7100
  const loaders_1 = require_loaders();
8862
7101
  function getDefaultSearchPlaces(moduleName) {
8863
7102
  return [
@@ -8884,6 +7123,7 @@ var require_defaults = /* @__PURE__ */ __commonJSMin(((exports) => {
8884
7123
  `${moduleName}.config.mjs`
8885
7124
  ];
8886
7125
  }
7126
+ exports.getDefaultSearchPlaces = getDefaultSearchPlaces;
8887
7127
  function getDefaultSearchPlacesSync(moduleName) {
8888
7128
  return [
8889
7129
  "package.json",
@@ -8906,6 +7146,7 @@ var require_defaults = /* @__PURE__ */ __commonJSMin(((exports) => {
8906
7146
  `${moduleName}.config.cjs`
8907
7147
  ];
8908
7148
  }
7149
+ exports.getDefaultSearchPlacesSync = getDefaultSearchPlacesSync;
8909
7150
  exports.globalConfigSearchPlaces = [
8910
7151
  "config",
8911
7152
  "config.json",
@@ -8940,7 +7181,9 @@ var require_defaults = /* @__PURE__ */ __commonJSMin(((exports) => {
8940
7181
  ".mjs": loaders_1.loadJs,
8941
7182
  ".cjs": loaders_1.loadJs,
8942
7183
  ".js": loaders_1.loadJs,
8943
- ".ts": loaders_1.loadTs,
7184
+ ".ts": loaders_1.loadJs,
7185
+ ".cts": loaders_1.loadJs,
7186
+ ".mts": loaders_1.loadJs,
8944
7187
  ".json": loaders_1.loadJson,
8945
7188
  ".yaml": loaders_1.loadYaml,
8946
7189
  ".yml": loaders_1.loadYaml,
@@ -8949,7 +7192,8 @@ var require_defaults = /* @__PURE__ */ __commonJSMin(((exports) => {
8949
7192
  exports.defaultLoadersSync = Object.freeze({
8950
7193
  ".cjs": loaders_1.loadJsSync,
8951
7194
  ".js": loaders_1.loadJsSync,
8952
- ".ts": loaders_1.loadTsSync,
7195
+ ".cts": loaders_1.loadJsSync,
7196
+ ".ts": loaders_1.loadJsSync,
8953
7197
  ".json": loaders_1.loadJson,
8954
7198
  ".yaml": loaders_1.loadYaml,
8955
7199
  ".yml": loaders_1.loadYaml,
@@ -9007,7 +7251,7 @@ var require_env_paths = /* @__PURE__ */ __commonJSMin(((exports, module) => {
9007
7251
  module.exports.default = envPaths;
9008
7252
  }));
9009
7253
  //#endregion
9010
- //#region ../../node_modules/.pnpm/cosmiconfig@9.0.2_typescript@6.0.3/node_modules/cosmiconfig/dist/util.js
7254
+ //#region ../../node_modules/.pnpm/cosmiconfig@10.0.0/node_modules/cosmiconfig/dist/util.js
9011
7255
  var require_util = /* @__PURE__ */ __commonJSMin(((exports) => {
9012
7256
  var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
9013
7257
  if (k2 === void 0) k2 = k;
@@ -9031,31 +7275,17 @@ var require_util = /* @__PURE__ */ __commonJSMin(((exports) => {
9031
7275
  }) : function(o, v) {
9032
7276
  o["default"] = v;
9033
7277
  });
9034
- var __importStar = exports && exports.__importStar || (function() {
9035
- var ownKeys = function(o) {
9036
- ownKeys = Object.getOwnPropertyNames || function(o) {
9037
- var ar = [];
9038
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
9039
- return ar;
9040
- };
9041
- return ownKeys(o);
9042
- };
9043
- return function(mod) {
9044
- if (mod && mod.__esModule) return mod;
9045
- var result = {};
9046
- if (mod != null) {
9047
- for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
9048
- }
9049
- __setModuleDefault(result, mod);
9050
- return result;
9051
- };
9052
- })();
7278
+ var __importStar = exports && exports.__importStar || function(mod) {
7279
+ if (mod && mod.__esModule) return mod;
7280
+ var result = {};
7281
+ if (mod != null) {
7282
+ for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
7283
+ }
7284
+ __setModuleDefault(result, mod);
7285
+ return result;
7286
+ };
9053
7287
  Object.defineProperty(exports, "__esModule", { value: true });
9054
- exports.emplace = emplace;
9055
- exports.getPropertyByPath = getPropertyByPath;
9056
- exports.removeUndefinedValuesFromObject = removeUndefinedValuesFromObject;
9057
- exports.isDirectory = isDirectory;
9058
- exports.isDirectorySync = isDirectorySync;
7288
+ exports.isDirectorySync = exports.isDirectory = exports.removeUndefinedValuesFromObject = exports.decodeFileContent = exports.getPropertyByPath = exports.emplace = void 0;
9059
7289
  const fs_1$1 = __importStar(__require("fs"));
9060
7290
  /**
9061
7291
  * @internal
@@ -9067,6 +7297,7 @@ var require_util = /* @__PURE__ */ __commonJSMin(((exports) => {
9067
7297
  map.set(key, result);
9068
7298
  return result;
9069
7299
  }
7300
+ exports.emplace = emplace;
9070
7301
  /**
9071
7302
  * @internal
9072
7303
  */
@@ -9077,10 +7308,19 @@ var require_util = /* @__PURE__ */ __commonJSMin(((exports) => {
9077
7308
  return previous[key];
9078
7309
  }, source);
9079
7310
  }
7311
+ exports.getPropertyByPath = getPropertyByPath;
7312
+ /** @internal */
7313
+ function decodeFileContent(buffer) {
7314
+ if (buffer[0] === 255 && buffer[1] === 254) return new TextDecoder("utf-16le").decode(buffer);
7315
+ if (buffer[0] === 254 && buffer[1] === 255) return new TextDecoder("utf-16be").decode(buffer);
7316
+ return buffer.toString("utf-8");
7317
+ }
7318
+ exports.decodeFileContent = decodeFileContent;
9080
7319
  /** @internal */
9081
7320
  function removeUndefinedValuesFromObject(options) {
9082
7321
  return Object.fromEntries(Object.entries(options).filter(([, value]) => value !== void 0));
9083
7322
  }
7323
+ exports.removeUndefinedValuesFromObject = removeUndefinedValuesFromObject;
9084
7324
  /** @internal */
9085
7325
  /* istanbul ignore next -- @preserve */
9086
7326
  async function isDirectory(path) {
@@ -9091,6 +7331,7 @@ var require_util = /* @__PURE__ */ __commonJSMin(((exports) => {
9091
7331
  throw e;
9092
7332
  }
9093
7333
  }
7334
+ exports.isDirectory = isDirectory;
9094
7335
  /** @internal */
9095
7336
  /* istanbul ignore next -- @preserve */
9096
7337
  function isDirectorySync(path) {
@@ -9101,16 +7342,16 @@ var require_util = /* @__PURE__ */ __commonJSMin(((exports) => {
9101
7342
  throw e;
9102
7343
  }
9103
7344
  }
7345
+ exports.isDirectorySync = isDirectorySync;
9104
7346
  }));
9105
7347
  //#endregion
9106
- //#region ../../node_modules/.pnpm/cosmiconfig@9.0.2_typescript@6.0.3/node_modules/cosmiconfig/dist/ExplorerBase.js
7348
+ //#region ../../node_modules/.pnpm/cosmiconfig@10.0.0/node_modules/cosmiconfig/dist/ExplorerBase.js
9107
7349
  var require_ExplorerBase = /* @__PURE__ */ __commonJSMin(((exports) => {
9108
7350
  var __importDefault = exports && exports.__importDefault || function(mod) {
9109
7351
  return mod && mod.__esModule ? mod : { "default": mod };
9110
7352
  };
9111
7353
  Object.defineProperty(exports, "__esModule", { value: true });
9112
- exports.ExplorerBase = void 0;
9113
- exports.getExtensionDescription = getExtensionDescription;
7354
+ exports.getExtensionDescription = exports.ExplorerBase = void 0;
9114
7355
  const env_paths_1 = __importDefault(require_env_paths());
9115
7356
  const os_1 = __importDefault(__require("os"));
9116
7357
  const path_1$2 = __importDefault(__require("path"));
@@ -9222,13 +7463,13 @@ ${[...importStack, fullPath].map((path, i) => `${i + 1}. ${path}`).join("\n")} (
9222
7463
  /* istanbul ignore next -- @preserve */
9223
7464
  return extension ? `extension "${extension}"` : "files without extensions";
9224
7465
  }
7466
+ exports.getExtensionDescription = getExtensionDescription;
9225
7467
  }));
9226
7468
  //#endregion
9227
- //#region ../../node_modules/.pnpm/cosmiconfig@9.0.2_typescript@6.0.3/node_modules/cosmiconfig/dist/merge.js
7469
+ //#region ../../node_modules/.pnpm/cosmiconfig@10.0.0/node_modules/cosmiconfig/dist/merge.js
9228
7470
  var require_merge = /* @__PURE__ */ __commonJSMin(((exports) => {
9229
7471
  Object.defineProperty(exports, "__esModule", { value: true });
9230
- exports.hasOwn = void 0;
9231
- exports.mergeAll = mergeAll;
7472
+ exports.mergeAll = exports.hasOwn = void 0;
9232
7473
  exports.hasOwn = Function.prototype.call.bind(Object.prototype.hasOwnProperty);
9233
7474
  const objToString = Function.prototype.call.bind(Object.prototype.toString);
9234
7475
  function isPlainObject(obj) {
@@ -9260,9 +7501,10 @@ var require_merge = /* @__PURE__ */ __commonJSMin(((exports) => {
9260
7501
  function mergeAll(objects, options) {
9261
7502
  return objects.reduce((target, source) => merge(target, source, options), {});
9262
7503
  }
7504
+ exports.mergeAll = mergeAll;
9263
7505
  }));
9264
7506
  //#endregion
9265
- //#region ../../node_modules/.pnpm/cosmiconfig@9.0.2_typescript@6.0.3/node_modules/cosmiconfig/dist/Explorer.js
7507
+ //#region ../../node_modules/.pnpm/cosmiconfig@10.0.0/node_modules/cosmiconfig/dist/Explorer.js
9266
7508
  var require_Explorer = /* @__PURE__ */ __commonJSMin(((exports) => {
9267
7509
  var __importDefault = exports && exports.__importDefault || function(mod) {
9268
7510
  return mod && mod.__esModule ? mod : { "default": mod };
@@ -9321,7 +7563,7 @@ var require_Explorer = /* @__PURE__ */ __commonJSMin(((exports) => {
9321
7563
  return await search();
9322
7564
  }
9323
7565
  async #readConfiguration(filepath, importStack = []) {
9324
- const contents = await promises_1.default.readFile(filepath, { encoding: "utf-8" });
7566
+ const contents = (0, util_js_1.decodeFileContent)(await promises_1.default.readFile(filepath));
9325
7567
  return this.toCosmiconfigResult(filepath, await this.#loadConfigFileWithImports(filepath, contents, importStack));
9326
7568
  }
9327
7569
  async #loadConfigFileWithImports(filepath, contents, importStack) {
@@ -9397,7 +7639,7 @@ var require_Explorer = /* @__PURE__ */ __commonJSMin(((exports) => {
9397
7639
  exports.Explorer = Explorer;
9398
7640
  }));
9399
7641
  //#endregion
9400
- //#region ../../node_modules/.pnpm/cosmiconfig@9.0.2_typescript@6.0.3/node_modules/cosmiconfig/dist/ExplorerSync.js
7642
+ //#region ../../node_modules/.pnpm/cosmiconfig@10.0.0/node_modules/cosmiconfig/dist/ExplorerSync.js
9401
7643
  var require_ExplorerSync = /* @__PURE__ */ __commonJSMin(((exports) => {
9402
7644
  var __importDefault = exports && exports.__importDefault || function(mod) {
9403
7645
  return mod && mod.__esModule ? mod : { "default": mod };
@@ -9456,7 +7698,7 @@ var require_ExplorerSync = /* @__PURE__ */ __commonJSMin(((exports) => {
9456
7698
  return search();
9457
7699
  }
9458
7700
  #readConfiguration(filepath, importStack = []) {
9459
- const contents = fs_1.default.readFileSync(filepath, "utf8");
7701
+ const contents = (0, util_js_1.decodeFileContent)(fs_1.default.readFileSync(filepath));
9460
7702
  return this.toCosmiconfigResult(filepath, this.#loadConfigFileWithImports(filepath, contents, importStack));
9461
7703
  }
9462
7704
  #loadConfigFileWithImports(filepath, contents, importStack) {
@@ -9546,11 +7788,10 @@ var require_ExplorerSync = /* @__PURE__ */ __commonJSMin(((exports) => {
9546
7788
  exports.ExplorerSync = ExplorerSync;
9547
7789
  }));
9548
7790
  //#endregion
9549
- //#region ../../node_modules/.pnpm/cosmiconfig@9.0.2_typescript@6.0.3/node_modules/cosmiconfig/dist/index.js
7791
+ //#region ../../node_modules/.pnpm/cosmiconfig@10.0.0/node_modules/cosmiconfig/dist/index.js
9550
7792
  var require_dist = /* @__PURE__ */ __commonJSMin(((exports) => {
9551
7793
  Object.defineProperty(exports, "__esModule", { value: true });
9552
- exports.defaultLoadersSync = exports.defaultLoaders = exports.globalConfigSearchPlacesSync = exports.globalConfigSearchPlaces = exports.getDefaultSearchPlacesSync = exports.getDefaultSearchPlaces = void 0;
9553
- exports.cosmiconfig = cosmiconfig;
7794
+ exports.defaultLoadersSync = exports.defaultLoaders = exports.globalConfigSearchPlacesSync = exports.globalConfigSearchPlaces = exports.getDefaultSearchPlacesSync = exports.getDefaultSearchPlaces = exports.cosmiconfigSync = exports.cosmiconfig = void 0;
9554
7795
  const defaults_1 = require_defaults();
9555
7796
  Object.defineProperty(exports, "defaultLoaders", {
9556
7797
  enumerable: true,
@@ -9624,7 +7865,8 @@ var require_dist = /* @__PURE__ */ __commonJSMin(((exports) => {
9624
7865
  function getResolvedSearchPlaces(moduleName, toolDefinedSearchPlaces, userConfiguredOptions) {
9625
7866
  const userConfiguredSearchPlaces = userConfiguredOptions.searchPlaces?.map((path) => path.replace("{name}", moduleName));
9626
7867
  if (userConfiguredOptions.mergeSearchPlaces) return [...userConfiguredSearchPlaces ?? [], ...toolDefinedSearchPlaces];
9627
- return userConfiguredSearchPlaces ?? toolDefinedSearchPlaces;
7868
+ return userConfiguredSearchPlaces ??
7869
+ /* istanbul ignore next */ toolDefinedSearchPlaces;
9628
7870
  }
9629
7871
  function mergeOptionsBase(moduleName, defaults, options) {
9630
7872
  const userDefinedConfig = getUserDefinedOptionsFromMetaConfig();
@@ -9668,6 +7910,21 @@ var require_dist = /* @__PURE__ */ __commonJSMin(((exports) => {
9668
7910
  searchStrategy: options.stopDir ? "global" : "none"
9669
7911
  }, options);
9670
7912
  }
7913
+ function mergeOptionsSync(moduleName, options) {
7914
+ validateOptions(options);
7915
+ return mergeOptionsBase(moduleName, {
7916
+ moduleName,
7917
+ searchPlaces: (0, defaults_1.getDefaultSearchPlacesSync)(moduleName),
7918
+ ignoreEmptySearchPlaces: true,
7919
+ cache: true,
7920
+ transform: identity,
7921
+ loaders: defaults_1.defaultLoadersSync,
7922
+ metaConfigFilePath: null,
7923
+ mergeImportArrays: true,
7924
+ mergeSearchPlaces: true,
7925
+ searchStrategy: options.stopDir ? "global" : "none"
7926
+ }, options);
7927
+ }
9671
7928
  function cosmiconfig(moduleName, options = {}) {
9672
7929
  const normalizedOptions = mergeOptions(moduleName, options);
9673
7930
  const explorer = new Explorer_js_1.Explorer(normalizedOptions);
@@ -9679,6 +7936,19 @@ var require_dist = /* @__PURE__ */ __commonJSMin(((exports) => {
9679
7936
  clearCaches: explorer.clearCaches.bind(explorer)
9680
7937
  };
9681
7938
  }
7939
+ exports.cosmiconfig = cosmiconfig;
7940
+ function cosmiconfigSync(moduleName, options = {}) {
7941
+ const normalizedOptions = mergeOptionsSync(moduleName, options);
7942
+ const explorerSync = new ExplorerSync_js_1.ExplorerSync(normalizedOptions);
7943
+ return {
7944
+ search: explorerSync.search.bind(explorerSync),
7945
+ load: explorerSync.load.bind(explorerSync),
7946
+ clearLoadCache: explorerSync.clearLoadCache.bind(explorerSync),
7947
+ clearSearchCache: explorerSync.clearSearchCache.bind(explorerSync),
7948
+ clearCaches: explorerSync.clearCaches.bind(explorerSync)
7949
+ };
7950
+ }
7951
+ exports.cosmiconfigSync = cosmiconfigSync;
9682
7952
  }));
9683
7953
  //#endregion
9684
7954
  //#region src/lib/ruleCommandRegistry.ts
@@ -10732,9 +9002,7 @@ const buildEntries = (srcDir, entryMode = "single", options, shouldExcludeSpecAn
10732
9002
  case "custom":
10733
9003
  entries = [];
10734
9004
  break;
10735
- default:
10736
- entries = ["index.ts"];
10737
- break;
9005
+ default: entries = ["index.ts"];
10738
9006
  }
10739
9007
  if (typeof options !== "boolean" && Array.isArray(options?.entry)) entries.push(...options.entry);
10740
9008
  if (isVerbose) console.log(`buildEntries [${entryMode}] ${entries.length}`);
@@ -12219,7 +10487,7 @@ var init_main = __esmMin((() => {
12219
10487
  z = R;
12220
10488
  }));
12221
10489
  //#endregion
12222
- //#region ../../node_modules/.pnpm/@publint+pack@0.1.5/node_modules/@publint/pack/src/node/utils.js
10490
+ //#region ../../node_modules/.pnpm/@publint+pack@0.1.6/node_modules/@publint/pack/src/node/utils.js
12223
10491
  /**
12224
10492
  * @param {string} packageManager
12225
10493
  * @returns {string[]}
@@ -12242,7 +10510,7 @@ async function getTempPackDir() {
12242
10510
  }
12243
10511
  var init_utils$2 = __esmMin((() => {}));
12244
10512
  //#endregion
12245
- //#region ../../node_modules/.pnpm/@publint+pack@0.1.5/node_modules/@publint/pack/src/node/pack.js
10513
+ //#region ../../node_modules/.pnpm/@publint+pack@0.1.6/node_modules/@publint/pack/src/node/pack.js
12246
10514
  /** @type {import('../index.d.ts').pack} */
12247
10515
  async function pack(dir, opts) {
12248
10516
  const packageManager = opts?.packageManager ?? "npm";
@@ -12256,18 +10524,14 @@ async function pack(dir, opts) {
12256
10524
  case "bun":
12257
10525
  command.push("--destination", packDestination);
12258
10526
  break;
12259
- default:
12260
- command.push("--pack-destination", packDestination);
12261
- break;
10527
+ default: command.push("--pack-destination", packDestination);
12262
10528
  }
12263
10529
  if (opts?.ignoreScripts) switch (packageManager) {
12264
10530
  case "pnpm":
12265
10531
  command.push("--config.ignore-scripts=true");
12266
10532
  break;
12267
10533
  case "yarn": break;
12268
- default:
12269
- command.push("--ignore-scripts");
12270
- break;
10534
+ default: command.push("--ignore-scripts");
12271
10535
  }
12272
10536
  const output = await z(command[0], command.slice(1), { nodeOptions: { cwd: dir } });
12273
10537
  const tarballFile = await fs$1.readdir(packDestination).then((files) => {
@@ -12282,7 +10546,7 @@ var init_pack = __esmMin((() => {
12282
10546
  init_utils$2();
12283
10547
  }));
12284
10548
  //#endregion
12285
- //#region ../../node_modules/.pnpm/@publint+pack@0.1.5/node_modules/@publint/pack/src/node/pack-as-json.js
10549
+ //#region ../../node_modules/.pnpm/@publint+pack@0.1.6/node_modules/@publint/pack/src/node/pack-as-json.js
12286
10550
  /** @type {import('../index.d.ts').packAsJson} */
12287
10551
  async function packAsJson(dir, opts) {
12288
10552
  const packageManager = opts?.packageManager ?? "npm";
@@ -12302,9 +10566,7 @@ async function packAsJson(dir, opts) {
12302
10566
  command.push("--config.ignore-scripts=true");
12303
10567
  break;
12304
10568
  case "yarn": break;
12305
- default:
12306
- command.push("--ignore-scripts");
12307
- break;
10569
+ default: command.push("--ignore-scripts");
12308
10570
  }
12309
10571
  let { stdout } = await z(command[0], command.slice(1), { nodeOptions: { cwd: dir } });
12310
10572
  try {
@@ -12343,7 +10605,7 @@ var init_pack_as_json = __esmMin((() => {
12343
10605
  init_utils$2();
12344
10606
  }));
12345
10607
  //#endregion
12346
- //#region ../../node_modules/.pnpm/@publint+pack@0.1.5/node_modules/@publint/pack/src/shared/buffer-stream.js
10608
+ //#region ../../node_modules/.pnpm/@publint+pack@0.1.6/node_modules/@publint/pack/src/shared/buffer-stream.js
12347
10609
  /**
12348
10610
  * @param {ReadableStream<Uint8Array>} readableStream
12349
10611
  * @returns {Promise<ArrayBuffer>}
@@ -12353,7 +10615,7 @@ async function readableStreamToArrayBuffer(readableStream) {
12353
10615
  }
12354
10616
  var init_buffer_stream = __esmMin((() => {}));
12355
10617
  //#endregion
12356
- //#region ../../node_modules/.pnpm/@publint+pack@0.1.5/node_modules/@publint/pack/src/shared/parse-tar.js
10618
+ //#region ../../node_modules/.pnpm/@publint+pack@0.1.6/node_modules/@publint/pack/src/shared/parse-tar.js
12357
10619
  /**
12358
10620
  * @param {ArrayBuffer} buffer
12359
10621
  * @returns {import('../index.d.ts').TarballFile[]}
@@ -12397,7 +10659,7 @@ function getFilesRootDir(files) {
12397
10659
  }
12398
10660
  var init_parse_tar = __esmMin((() => {}));
12399
10661
  //#endregion
12400
- //#region ../../node_modules/.pnpm/@publint+pack@0.1.5/node_modules/@publint/pack/src/node/unpack.js
10662
+ //#region ../../node_modules/.pnpm/@publint+pack@0.1.6/node_modules/@publint/pack/src/node/unpack.js
12401
10663
  /** @type {import('../index.d.ts').unpack} */
12402
10664
  async function unpack(tarball) {
12403
10665
  /** @type {ArrayBuffer} */
@@ -12418,7 +10680,7 @@ var init_unpack = __esmMin((() => {
12418
10680
  init_parse_tar();
12419
10681
  }));
12420
10682
  //#endregion
12421
- //#region ../../node_modules/.pnpm/@publint+pack@0.1.5/node_modules/@publint/pack/src/node/pack-as-list.js
10683
+ //#region ../../node_modules/.pnpm/@publint+pack@0.1.6/node_modules/@publint/pack/src/node/pack-as-list.js
12422
10684
  /** @type {import('../index.d.ts').packAsList} */
12423
10685
  async function packAsList(dir, opts) {
12424
10686
  const packageManager = opts?.packageManager ?? "npm";
@@ -12476,7 +10738,8 @@ async function packAsListWithPack(dir, packageManager, ignoreScripts) {
12476
10738
  * @returns {string[]}
12477
10739
  */
12478
10740
  function parseNpmPackJson(stdoutJson) {
12479
- return stdoutJson[0].files.map((file) => file.path);
10741
+ if (Array.isArray(stdoutJson)) return stdoutJson[0].files.map((file) => file.path);
10742
+ else return stdoutJson[Object.keys(stdoutJson)[0]].files.map((file) => file.path);
12480
10743
  }
12481
10744
  /**
12482
10745
  * @param {any} stdoutJson
@@ -12501,7 +10764,7 @@ var init_pack_as_list = __esmMin((() => {
12501
10764
  init_utils$2();
12502
10765
  }));
12503
10766
  //#endregion
12504
- //#region ../../node_modules/.pnpm/@publint+pack@0.1.5/node_modules/@publint/pack/src/node/get-pack-directory.js
10767
+ //#region ../../node_modules/.pnpm/@publint+pack@0.1.6/node_modules/@publint/pack/src/node/get-pack-directory.js
12505
10768
  /** @type {import('../index.d.ts').getPackDirectory} */
12506
10769
  async function getPackDirectory(dir, packageManager) {
12507
10770
  if (packageManager === "pnpm") try {
@@ -12513,16 +10776,28 @@ async function getPackDirectory(dir, packageManager) {
12513
10776
  }
12514
10777
  var init_get_pack_directory = __esmMin((() => {}));
12515
10778
  //#endregion
12516
- //#region ../../node_modules/.pnpm/@publint+pack@0.1.5/node_modules/@publint/pack/src/index-node.js
10779
+ //#region ../../node_modules/.pnpm/@publint+pack@0.1.6/node_modules/@publint/pack/src/shared/constants.js
10780
+ var supportedPackageManagers;
10781
+ var init_constants$2 = __esmMin((() => {
10782
+ supportedPackageManagers = [
10783
+ "npm",
10784
+ "yarn",
10785
+ "pnpm",
10786
+ "bun"
10787
+ ];
10788
+ }));
10789
+ //#endregion
10790
+ //#region ../../node_modules/.pnpm/@publint+pack@0.1.6/node_modules/@publint/pack/src/index-node.js
12517
10791
  var init_index_node$1 = __esmMin((() => {
12518
10792
  init_pack();
12519
10793
  init_pack_as_list();
12520
10794
  init_pack_as_json();
12521
10795
  init_get_pack_directory();
12522
10796
  init_unpack();
10797
+ init_constants$2();
12523
10798
  }));
12524
10799
  //#endregion
12525
- //#region ../../node_modules/.pnpm/publint@0.3.21/node_modules/publint/src/node/vfs-node.js
10800
+ //#region ../../node_modules/.pnpm/publint@0.3.22/node_modules/publint/src/node/vfs-node.js
12526
10801
  /**
12527
10802
  * Creates a node-compatible Vfs object
12528
10803
  * @returns {import('../shared/core.js').Vfs}
@@ -12561,7 +10836,7 @@ function createNodeVfs() {
12561
10836
  }
12562
10837
  var init_vfs_node = __esmMin((() => {}));
12563
10838
  //#endregion
12564
- //#region ../../node_modules/.pnpm/publint@0.3.21/node_modules/publint/src/shared/constants.js
10839
+ //#region ../../node_modules/.pnpm/publint@0.3.22/node_modules/publint/src/shared/constants.js
12565
10840
  var lintableFileExtensions, invalidJsxExtensions, knownBrowserishConditions, commonInternalPaths, licenseFiles;
12566
10841
  var init_constants$1 = __esmMin((() => {
12567
10842
  lintableFileExtensions = [
@@ -12584,10 +10859,35 @@ var init_constants$1 = __esmMin((() => {
12584
10859
  "test/",
12585
10860
  "tests/",
12586
10861
  "__tests__/",
10862
+ "e2e/",
10863
+ ".circleci/",
10864
+ ".github/",
10865
+ ".husky/",
10866
+ ".vscode/",
12587
10867
  ".prettierrc",
10868
+ ".prettierignore",
12588
10869
  "prettier.config.js",
12589
10870
  ".eslintrc",
12590
- ".eslintrc.js"
10871
+ ".eslintrc.js",
10872
+ ".eslintignore",
10873
+ "eslint.config.js",
10874
+ "eslint.config.mjs",
10875
+ "eslint.config.cjs",
10876
+ ".travis.yml",
10877
+ "azure-pipelines.yml",
10878
+ "appveyor.yml",
10879
+ ".gitattributes",
10880
+ ".gitignore",
10881
+ "package-lock.json",
10882
+ "yarn.lock",
10883
+ "pnpm-lock.yaml",
10884
+ "bun.lock",
10885
+ "bun.lockb",
10886
+ "CONTRIBUTING.md",
10887
+ "CODE_OF_CONDUCT.md",
10888
+ "CODEOWNERS",
10889
+ "Dockerfile",
10890
+ "tsconfig.tsbuildinfo"
12591
10891
  ];
12592
10892
  licenseFiles = [
12593
10893
  /^copying/i,
@@ -12596,7 +10896,7 @@ var init_constants$1 = __esmMin((() => {
12596
10896
  ];
12597
10897
  }));
12598
10898
  //#endregion
12599
- //#region ../../node_modules/.pnpm/publint@0.3.21/node_modules/publint/src/shared/utils.js
10899
+ //#region ../../node_modules/.pnpm/publint@0.3.22/node_modules/publint/src/shared/utils.js
12600
10900
  /**
12601
10901
  * @param {string} code
12602
10902
  */
@@ -12992,7 +11292,7 @@ var init_utils$1 = __esmMin((() => {
12992
11292
  EXPORTS_DEFAULT_PATTERN_RE = /exports(?:\.default|\["default"\]|\['default'\])\s*=\s*([^\s]{7}.)/g;
12993
11293
  MULTILINE_COMMENTS_RE = /\/\*(.|[\r\n])*?\*\//gm;
12994
11294
  SINGLELINE_COMMENTS_RE = /\/\/.*/g;
12995
- GIT_URL_RE = /^(?:(git\+https?|git\+ssh|https?|ssh|git):\/\/)?(?:[\w._-]+@)?([\w.-]+)(?::([\w\d-]+))?(\/[\w._/-]+)\/?$/;
11295
+ GIT_URL_RE = /^(?:(git\+https?|git\+ssh|https?|ssh|git):\/\/)?(?:[^@/]+@)?([\w.-]+)(?::([\w\d-]+))?(\/[^?#]+)\/?$/;
12996
11296
  SHORTHAND_REPOSITORY_URL_RE = /^(?:(?:github|bitbucket|gitlab):[^/]+\/.+|gist:.+|[^/]+\/[^/]+)$/;
12997
11297
  COMMON_CONDITIONS = [
12998
11298
  "default",
@@ -13010,7 +11310,7 @@ var init_utils$1 = __esmMin((() => {
13010
11310
  DTS_RE = /\.d\.[mc]?ts$/;
13011
11311
  }));
13012
11312
  //#endregion
13013
- //#region ../../node_modules/.pnpm/publint@0.3.21/node_modules/publint/src/shared/core.js
11313
+ //#region ../../node_modules/.pnpm/publint@0.3.22/node_modules/publint/src/shared/core.js
13014
11314
  /**
13015
11315
  * @typedef Vfs
13016
11316
  * @property {(path: string) => Promise<string>} readFile
@@ -13877,7 +12177,7 @@ var init_core = __esmMin((() => {
13877
12177
  init_utils$1();
13878
12178
  }));
13879
12179
  //#endregion
13880
- //#region ../../node_modules/.pnpm/publint@0.3.21/node_modules/publint/src/shared/vfs-tarball.js
12180
+ //#region ../../node_modules/.pnpm/publint@0.3.22/node_modules/publint/src/shared/vfs-tarball.js
13881
12181
  /**
13882
12182
  * @param {import("../index.d.ts").PackFile[]} files
13883
12183
  * @return {import("./core.js").Vfs}
@@ -14022,18 +12322,16 @@ async function detect(options = {}) {
14022
12322
  if (result) return result;
14023
12323
  break;
14024
12324
  }
14025
- case "install-metadata":
14026
- for (const metadata of Object.keys(INSTALL_METADATA)) {
14027
- const fileOrDir = metadata.endsWith("/") ? "dir" : "file";
14028
- if (await pathExists(PATH.join(directory, metadata), fileOrDir)) {
14029
- const name = INSTALL_METADATA[metadata];
14030
- return {
14031
- name,
14032
- agent: name === "yarn" ? isMetadataYarnClassic(metadata) ? "yarn" : "yarn@berry" : name
14033
- };
14034
- }
12325
+ case "install-metadata": for (const metadata of Object.keys(INSTALL_METADATA)) {
12326
+ const fileOrDir = metadata.endsWith("/") ? "dir" : "file";
12327
+ if (await pathExists(PATH.join(directory, metadata), fileOrDir)) {
12328
+ const name = INSTALL_METADATA[metadata];
12329
+ return {
12330
+ name,
12331
+ agent: name === "yarn" ? isMetadataYarnClassic(metadata) ? "yarn" : "yarn@berry" : name
12332
+ };
14035
12333
  }
14036
- break;
12334
+ }
14037
12335
  }
14038
12336
  if (stopDir?.(directory)) break;
14039
12337
  }
@@ -14097,7 +12395,7 @@ var init_detect = __esmMin((() => {
14097
12395
  init_constants();
14098
12396
  }));
14099
12397
  //#endregion
14100
- //#region ../../node_modules/.pnpm/publint@0.3.21/node_modules/publint/src/index-node.js
12398
+ //#region ../../node_modules/.pnpm/publint@0.3.22/node_modules/publint/src/index-node.js
14101
12399
  var index_node_exports = /* @__PURE__ */ __exportAll({ publint: () => publint });
14102
12400
  /**
14103
12401
  * @typedef {T extends string ? T : never} ExtractStringLiteral
@@ -14149,14 +12447,13 @@ async function publint(options) {
14149
12447
  * @return {Promise<import('@publint/pack').PackageManager>}
14150
12448
  */
14151
12449
  async function detectPackageManager(pkgDir, pack) {
14152
- let packageManager = pack;
14153
- if (packageManager === "auto") {
12450
+ if (pack === "auto") {
14154
12451
  const { detect } = await Promise.resolve().then(() => (init_detect(), detect_exports));
14155
- let detected = (await detect({ cwd: pkgDir }))?.name ?? "npm";
14156
- if (detected === "deno") detected = "npm";
14157
- packageManager = detected;
12452
+ const detected = (await detect({ cwd: pkgDir }))?.name ?? "npm";
12453
+ if (supportedPackageManagers.includes(detected)) return detected;
12454
+ else return "npm";
14158
12455
  }
14159
- return packageManager;
12456
+ return pack;
14160
12457
  }
14161
12458
  /**
14162
12459
  * @param {string} pkgDir
@@ -14179,7 +12476,77 @@ var init_index_node = __esmMin((() => {
14179
12476
  init_vfs_tarball();
14180
12477
  }));
14181
12478
  //#endregion
14182
- //#region ../../node_modules/.pnpm/publint@0.3.21/node_modules/publint/src/shared/message.js
12479
+ //#region ../../node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.js
12480
+ var require_picocolors = /* @__PURE__ */ __commonJSMin(((exports, module) => {
12481
+ let p = process || {};
12482
+ let argv = p.argv || [];
12483
+ let env = p.env || {};
12484
+ 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);
12485
+ let formatter = (open, close, replace = open) => (input) => {
12486
+ let string = "" + input, index = string.indexOf(close, open.length);
12487
+ return ~index ? open + replaceClose(string, close, replace, index) + close : open + string + close;
12488
+ };
12489
+ let replaceClose = (string, close, replace, index) => {
12490
+ let result = "", cursor = 0;
12491
+ do {
12492
+ result += string.substring(cursor, index) + replace;
12493
+ cursor = index + close.length;
12494
+ index = string.indexOf(close, cursor);
12495
+ } while (~index);
12496
+ return result + string.substring(cursor);
12497
+ };
12498
+ let createColors = (enabled = isColorSupported) => {
12499
+ let f = enabled ? formatter : () => String;
12500
+ return {
12501
+ isColorSupported: enabled,
12502
+ reset: f("\x1B[0m", "\x1B[0m"),
12503
+ bold: f("\x1B[1m", "\x1B[22m", "\x1B[22m\x1B[1m"),
12504
+ dim: f("\x1B[2m", "\x1B[22m", "\x1B[22m\x1B[2m"),
12505
+ italic: f("\x1B[3m", "\x1B[23m"),
12506
+ underline: f("\x1B[4m", "\x1B[24m"),
12507
+ inverse: f("\x1B[7m", "\x1B[27m"),
12508
+ hidden: f("\x1B[8m", "\x1B[28m"),
12509
+ strikethrough: f("\x1B[9m", "\x1B[29m"),
12510
+ black: f("\x1B[30m", "\x1B[39m"),
12511
+ red: f("\x1B[31m", "\x1B[39m"),
12512
+ green: f("\x1B[32m", "\x1B[39m"),
12513
+ yellow: f("\x1B[33m", "\x1B[39m"),
12514
+ blue: f("\x1B[34m", "\x1B[39m"),
12515
+ magenta: f("\x1B[35m", "\x1B[39m"),
12516
+ cyan: f("\x1B[36m", "\x1B[39m"),
12517
+ white: f("\x1B[37m", "\x1B[39m"),
12518
+ gray: f("\x1B[90m", "\x1B[39m"),
12519
+ bgBlack: f("\x1B[40m", "\x1B[49m"),
12520
+ bgRed: f("\x1B[41m", "\x1B[49m"),
12521
+ bgGreen: f("\x1B[42m", "\x1B[49m"),
12522
+ bgYellow: f("\x1B[43m", "\x1B[49m"),
12523
+ bgBlue: f("\x1B[44m", "\x1B[49m"),
12524
+ bgMagenta: f("\x1B[45m", "\x1B[49m"),
12525
+ bgCyan: f("\x1B[46m", "\x1B[49m"),
12526
+ bgWhite: f("\x1B[47m", "\x1B[49m"),
12527
+ blackBright: f("\x1B[90m", "\x1B[39m"),
12528
+ redBright: f("\x1B[91m", "\x1B[39m"),
12529
+ greenBright: f("\x1B[92m", "\x1B[39m"),
12530
+ yellowBright: f("\x1B[93m", "\x1B[39m"),
12531
+ blueBright: f("\x1B[94m", "\x1B[39m"),
12532
+ magentaBright: f("\x1B[95m", "\x1B[39m"),
12533
+ cyanBright: f("\x1B[96m", "\x1B[39m"),
12534
+ whiteBright: f("\x1B[97m", "\x1B[39m"),
12535
+ bgBlackBright: f("\x1B[100m", "\x1B[49m"),
12536
+ bgRedBright: f("\x1B[101m", "\x1B[49m"),
12537
+ bgGreenBright: f("\x1B[102m", "\x1B[49m"),
12538
+ bgYellowBright: f("\x1B[103m", "\x1B[49m"),
12539
+ bgBlueBright: f("\x1B[104m", "\x1B[49m"),
12540
+ bgMagentaBright: f("\x1B[105m", "\x1B[49m"),
12541
+ bgCyanBright: f("\x1B[106m", "\x1B[49m"),
12542
+ bgWhiteBright: f("\x1B[107m", "\x1B[49m")
12543
+ };
12544
+ };
12545
+ module.exports = createColors();
12546
+ module.exports.createColors = createColors;
12547
+ }));
12548
+ //#endregion
12549
+ //#region ../../node_modules/.pnpm/publint@0.3.22/node_modules/publint/src/shared/message.js
14183
12550
  /** @type {import('../utils.d.ts').formatMessage} */
14184
12551
  function formatMessage(m, pkg, opts = {}) {
14185
12552
  const h = getHighlighter(opts.color);
@@ -14321,7 +12688,6 @@ function getHighlighter(color) {
14321
12688
  default:
14322
12689
  bold = (s) => import_picocolors.default.bold(s);
14323
12690
  warn = (s) => import_picocolors.default.yellow(s);
14324
- break;
14325
12691
  }
14326
12692
  return {
14327
12693
  bold,
@@ -14344,7 +12710,7 @@ var init_message = __esmMin((() => {
14344
12710
  EMPTY_MSG = "<empty>";
14345
12711
  }));
14346
12712
  //#endregion
14347
- //#region ../../node_modules/.pnpm/publint@0.3.21/node_modules/publint/src/utils.js
12713
+ //#region ../../node_modules/.pnpm/publint@0.3.22/node_modules/publint/src/utils.js
14348
12714
  var utils_exports = /* @__PURE__ */ __exportAll({
14349
12715
  formatMessage: () => formatMessage,
14350
12716
  formatMessagePath: () => formatMessagePath,