@cloudflare/vite-plugin 1.51.2 → 1.52.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -1489,7 +1489,7 @@ async function assertWranglerVersion() {
1489
1489
  * The default compatibility date to use when the user omits one.
1490
1490
  * This value is injected at build time and remains fixed for each release.
1491
1491
  */
1492
- const DEFAULT_COMPAT_DATE = "2026-08-10";
1492
+ const DEFAULT_COMPAT_DATE = "2026-08-12";
1493
1493
 
1494
1494
  //#endregion
1495
1495
  //#region src/build-output-env.ts
@@ -1578,7 +1578,7 @@ const PROXY_SHARED_SECRET = randomUUID();
1578
1578
  const kRequestType = Symbol("kRequestType");
1579
1579
 
1580
1580
  //#endregion
1581
- //#region ../workers-utils/dist/chunk-J6JRMPLM.mjs
1581
+ //#region ../workers-utils/dist/chunk-NMPHTL5R.mjs
1582
1582
  function isCompatDate(str) {
1583
1583
  return /^\d{4}-\d{2}-\d{2}$/.test(str);
1584
1584
  }
@@ -1593,6 +1593,27 @@ function getTodaysCompatDate() {
1593
1593
  return formatCompatibilityDate(/* @__PURE__ */ new Date());
1594
1594
  }
1595
1595
  __name$4(getTodaysCompatDate, "getTodaysCompatDate");
1596
+ var NODEJS_COMPAT_DEFAULT_ON_DATE = "2026-08-04";
1597
+ function isNodejsCompatDefaultOn(compatibilityDate) {
1598
+ return compatibilityDate !== void 0 && compatibilityDate >= NODEJS_COMPAT_DEFAULT_ON_DATE;
1599
+ }
1600
+ __name$4(isNodejsCompatDefaultOn, "isNodejsCompatDefaultOn");
1601
+ var NODEJS_COMPAT_V2_SWITCH_OVER_DATE = "2024-09-23";
1602
+ function resolveNodejsCompat(compatibilityDate, compatibilityFlags) {
1603
+ const isDefaultOn = isNodejsCompatDefaultOn(compatibilityDate);
1604
+ const isNodejsCompatEnabled = compatibilityFlags.includes("nodejs_compat") || isDefaultOn && !compatibilityFlags.includes("no_nodejs_compat");
1605
+ return {
1606
+ isNodejsCompatEnabled,
1607
+ isNodejsCompatV2Enabled: compatibilityFlags.includes("nodejs_compat_v2") || !compatibilityFlags.includes("no_nodejs_compat_v2") && (isDefaultOn || isNodejsCompatEnabled && compatibilityDate >= NODEJS_COMPAT_V2_SWITCH_OVER_DATE)
1608
+ };
1609
+ }
1610
+ __name$4(resolveNodejsCompat, "resolveNodejsCompat");
1611
+ function stripRedundantNodejsCompatFlags(compatibilityDate, compatibilityFlags) {
1612
+ if (!isNodejsCompatDefaultOn(compatibilityDate)) return compatibilityFlags;
1613
+ const redundantFlags = ["nodejs_compat", "nodejs_compat_v2"].filter((flag) => !compatibilityFlags.includes(`no_${flag}`));
1614
+ return compatibilityFlags.filter((flag) => !redundantFlags.includes(flag));
1615
+ }
1616
+ __name$4(stripRedundantNodejsCompatFlags, "stripRedundantNodejsCompatFlags");
1596
1617
  function assertNever(_value) {}
1597
1618
  __name$4(assertNever, "assertNever");
1598
1619
  function mapWorkerMetadataBindings(bindings$1) {
@@ -29790,8 +29811,8 @@ function datetime$2(args) {
29790
29811
  }
29791
29812
  __name$4(datetime$2, "datetime");
29792
29813
  var string$2 = /* @__PURE__ */ __name$4((params) => {
29793
- const regex$1 = params ? `[\\s\\S]{${params?.minimum ?? 0},${params?.maximum ?? ""}}` : `[\\s\\S]*`;
29794
- return /* @__PURE__ */ new RegExp(`^${regex$1}$`);
29814
+ const regex$2 = params ? `[\\s\\S]{${params?.minimum ?? 0},${params?.maximum ?? ""}}` : `[\\s\\S]*`;
29815
+ return /* @__PURE__ */ new RegExp(`^${regex$2}$`);
29795
29816
  }, "string");
29796
29817
  var bigint = /^-?\d+n?$/;
29797
29818
  var integer$1 = /^-?\d+$/;
@@ -39411,9 +39432,9 @@ var stringProcessor$1 = /* @__PURE__ */ __name$4((schema, ctx, _json, _params) =
39411
39432
  if (patterns && patterns.size > 0) {
39412
39433
  const regexes = [...patterns];
39413
39434
  if (regexes.length === 1) json2.pattern = regexes[0].source;
39414
- else if (regexes.length > 1) json2.allOf = [...regexes.map((regex$1) => ({
39435
+ else if (regexes.length > 1) json2.allOf = [...regexes.map((regex$2) => ({
39415
39436
  ...ctx.target === "draft-07" || ctx.target === "draft-04" || ctx.target === "openapi-3.0" ? { type: "string" } : {},
39416
- pattern: regex$1.source
39437
+ pattern: regex$2.source
39417
39438
  }))];
39418
39439
  }
39419
39440
  }, "stringProcessor");
@@ -40647,9 +40668,9 @@ function hex2(_params) {
40647
40668
  __name$4(hex2, "hex");
40648
40669
  function hash(alg, params) {
40649
40670
  const format2$2 = `${alg}_${params?.enc ?? "hex"}`;
40650
- const regex$1 = regexes_exports$1[format2$2];
40651
- if (!regex$1) throw new Error(`Unrecognized hash format: ${format2$2}`);
40652
- return /* @__PURE__ */ _stringFormat(ZodCustomStringFormat, format2$2, regex$1, params);
40671
+ const regex$2 = regexes_exports$1[format2$2];
40672
+ if (!regex$2) throw new Error(`Unrecognized hash format: ${format2$2}`);
40673
+ return /* @__PURE__ */ _stringFormat(ZodCustomStringFormat, format2$2, regex$2, params);
40653
40674
  }
40654
40675
  __name$4(hash, "hash");
40655
40676
  var ZodNumber$1 = /* @__PURE__ */ $constructor$1("ZodNumber", (inst, def) => {
@@ -42004,7 +42025,18 @@ var getC3CommandFromEnv = getEnvironmentVariableFactory({
42004
42025
  variableName: "WRANGLER_C3_COMMAND",
42005
42026
  defaultValue: /* @__PURE__ */ __name$4(() => "create cloudflare", "defaultValue")
42006
42027
  });
42007
- var getWranglerSendMetricsFromEnv = getBooleanEnvironmentVariableFactory({ variableName: "WRANGLER_SEND_METRICS" });
42028
+ var getDoNotTrackFromEnv = getEnvironmentVariableFactory({ variableName: "DO_NOT_TRACK" });
42029
+ function isDoNotTrackEnabled() {
42030
+ const value = getDoNotTrackFromEnv()?.toLowerCase();
42031
+ return value === "1" || value === "true";
42032
+ }
42033
+ __name$4(isDoNotTrackEnabled, "isDoNotTrackEnabled");
42034
+ var getWranglerSendMetricsVariableFromEnv = getBooleanEnvironmentVariableFactory({ variableName: "WRANGLER_SEND_METRICS" });
42035
+ function getWranglerSendMetricsFromEnv() {
42036
+ if (isDoNotTrackEnabled()) return false;
42037
+ return getWranglerSendMetricsVariableFromEnv();
42038
+ }
42039
+ __name$4(getWranglerSendMetricsFromEnv, "getWranglerSendMetricsFromEnv");
42008
42040
  var getWranglerSendErrorReportsFromEnv = getBooleanEnvironmentVariableFactory({
42009
42041
  variableName: "WRANGLER_SEND_ERROR_REPORTS",
42010
42042
  defaultValue: false
@@ -49727,8 +49759,8 @@ function datetime$1(args) {
49727
49759
  return /* @__PURE__ */ new RegExp(`^${dateSource}T(?:${timeRegex})$`);
49728
49760
  }
49729
49761
  const string$1 = (params) => {
49730
- const regex$1 = params ? `[\\s\\S]{${params?.minimum ?? 0},${params?.maximum ?? ""}}` : `[\\s\\S]*`;
49731
- return /* @__PURE__ */ new RegExp(`^${regex$1}$`);
49762
+ const regex$2 = params ? `[\\s\\S]{${params?.minimum ?? 0},${params?.maximum ?? ""}}` : `[\\s\\S]*`;
49763
+ return /* @__PURE__ */ new RegExp(`^${regex$2}$`);
49732
49764
  };
49733
49765
  const integer = /^-?\d+$/;
49734
49766
  const number$1 = /^-?\d+(?:\.\d+)?$/;
@@ -52397,9 +52429,9 @@ const stringProcessor = (schema, ctx, _json, _params) => {
52397
52429
  if (patterns && patterns.size > 0) {
52398
52430
  const regexes = [...patterns];
52399
52431
  if (regexes.length === 1) json$2.pattern = regexes[0].source;
52400
- else if (regexes.length > 1) json$2.allOf = [...regexes.map((regex$1) => ({
52432
+ else if (regexes.length > 1) json$2.allOf = [...regexes.map((regex$2) => ({
52401
52433
  ...ctx.target === "draft-07" || ctx.target === "draft-04" || ctx.target === "openapi-3.0" ? { type: "string" } : {},
52402
- pattern: regex$1.source
52434
+ pattern: regex$2.source
52403
52435
  }))];
52404
52436
  }
52405
52437
  };
@@ -63199,9 +63231,9 @@ function getMessage(key, parameters, self) {
63199
63231
  assert(message.length <= parameters.length, `Code: ${key}; The provided arguments length (${parameters.length}) does not match the required ones (${message.length}).`);
63200
63232
  return Reflect.apply(message, self, parameters);
63201
63233
  }
63202
- const regex$1 = /%[dfijoOs]/g;
63234
+ const regex$2 = /%[dfijoOs]/g;
63203
63235
  let expectedLength = 0;
63204
- while (regex$1.exec(message) !== null) expectedLength++;
63236
+ while (regex$2.exec(message) !== null) expectedLength++;
63205
63237
  assert(expectedLength === parameters.length, `Code: ${key}; The provided arguments length (${parameters.length}) does not match the required ones (${expectedLength}).`);
63206
63238
  if (parameters.length === 0) return message;
63207
63239
  parameters.unshift(message);
@@ -67224,11 +67256,11 @@ var require_ignore = /* @__PURE__ */ __commonJS$2({ "../../node_modules/.pnpm/ig
67224
67256
  const checkPattern = (pattern) => pattern && isString$1(pattern) && !REGEX_TEST_BLANK_LINE.test(pattern) && !REGEX_INVALID_TRAILING_BACKSLASH.test(pattern) && pattern.indexOf("#") !== 0;
67225
67257
  const splitPattern$1 = (pattern) => pattern.split(REGEX_SPLITALL_CRLF);
67226
67258
  var IgnoreRule = class {
67227
- constructor(origin, pattern, negative, regex$1) {
67259
+ constructor(origin, pattern, negative, regex$2) {
67228
67260
  this.origin = origin;
67229
67261
  this.pattern = pattern;
67230
67262
  this.negative = negative;
67231
- this.regex = regex$1;
67263
+ this.regex = regex$2;
67232
67264
  }
67233
67265
  };
67234
67266
  const createRule = (pattern, ignoreCase) => {
@@ -67239,8 +67271,8 @@ var require_ignore = /* @__PURE__ */ __commonJS$2({ "../../node_modules/.pnpm/ig
67239
67271
  pattern = pattern.substr(1);
67240
67272
  }
67241
67273
  pattern = pattern.replace(REGEX_REPLACE_LEADING_EXCAPED_EXCLAMATION, "!").replace(REGEX_REPLACE_LEADING_EXCAPED_HASH, "#");
67242
- const regex$1 = makeRegex(pattern, ignoreCase);
67243
- return new IgnoreRule(origin, pattern, negative, regex$1);
67274
+ const regex$2 = makeRegex(pattern, ignoreCase);
67275
+ return new IgnoreRule(origin, pattern, negative, regex$2);
67244
67276
  };
67245
67277
  const throwError = (message, Ctor) => {
67246
67278
  throw new Ctor(message);
@@ -72239,8 +72271,8 @@ const cancel = (msg, { shape = shapes.corners.bl, multiline = false } = {}) => {
72239
72271
  };
72240
72272
  const stripAnsi = (str) => {
72241
72273
  const pattern = ["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)", "(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]))"].join("|");
72242
- const regex$1 = RegExp(pattern, "g");
72243
- return str.replace(linkRegex, "$2").replace(regex$1, "");
72274
+ const regex$2 = RegExp(pattern, "g");
72275
+ return str.replace(linkRegex, "$2").replace(regex$2, "");
72244
72276
  };
72245
72277
  const linkRegex = /\u001B\]8;;(?<url>.+)\u001B\\(?<label>.+)\u001B\]8;;\u001B\\/g;
72246
72278
  const crash = (msg, extra) => {
@@ -72563,18 +72595,18 @@ cliCursor.toggle = (force, writableStream) => {
72563
72595
  var cli_cursor_default = cliCursor;
72564
72596
 
72565
72597
  //#endregion
72566
- //#region ../../node_modules/.pnpm/ansi-regex@6.0.1/node_modules/ansi-regex/index.js
72567
- function ansiRegex({ onlyFirst = false } = {}) {
72568
- const pattern = ["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)", "(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");
72569
- return new RegExp(pattern, onlyFirst ? void 0 : "g");
72598
+ //#region ../../node_modules/.pnpm/ansi-regex@6.2.2/node_modules/ansi-regex/index.js
72599
+ function ansiRegex$1({ onlyFirst = false } = {}) {
72600
+ return new RegExp(`(?:\\u001B\\][\\s\\S]*?(?:\\u0007|\\u001B\\u005C|\\u009C))|[\\u001B\\u009B][[\\]()#;?]*(?:\\d{1,4}(?:[;:]\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]`, onlyFirst ? void 0 : "g");
72570
72601
  }
72571
72602
 
72572
72603
  //#endregion
72573
- //#region ../../node_modules/.pnpm/strip-ansi@7.1.0/node_modules/strip-ansi/index.js
72574
- const regex = ansiRegex();
72575
- function stripAnsi$1(string$3) {
72604
+ //#region ../../node_modules/.pnpm/strip-ansi@7.2.0/node_modules/strip-ansi/index.js
72605
+ const regex$1 = ansiRegex$1();
72606
+ function stripAnsi$2(string$3) {
72576
72607
  if (typeof string$3 !== "string") throw new TypeError(`Expected a \`string\`, got \`${typeof string$3}\``);
72577
- return string$3.replace(regex, "");
72608
+ if (!string$3.includes("\x1B") && !string$3.includes("›")) return string$3;
72609
+ return string$3.replace(regex$1, "");
72578
72610
  }
72579
72611
 
72580
72612
  //#endregion
@@ -72652,7 +72684,7 @@ function stringWidth(string$3, options = {}) {
72652
72684
  ambiguousIsNarrow: true,
72653
72685
  ...options
72654
72686
  };
72655
- string$3 = stripAnsi$1(string$3);
72687
+ string$3 = stripAnsi$2(string$3);
72656
72688
  if (string$3.length === 0) return 0;
72657
72689
  string$3 = string$3.replace((0, import_emoji_regex.default)(), " ");
72658
72690
  const ambiguousCharacterWidth = options.ambiguousIsNarrow ? 1 : 2;
@@ -72857,7 +72889,7 @@ const wrapWord = (rows, word, columns) => {
72857
72889
  const characters = [...word];
72858
72890
  let isInsideEscape = false;
72859
72891
  let isInsideLinkEscape = false;
72860
- let visible = stringWidth(stripAnsi$1(rows[rows.length - 1]));
72892
+ let visible = stringWidth(stripAnsi$2(rows[rows.length - 1]));
72861
72893
  for (const [index, character] of characters.entries()) {
72862
72894
  const characterLength = stringWidth(character);
72863
72895
  if (visible + characterLength <= columns) rows[rows.length - 1] += character;
@@ -73035,6 +73067,21 @@ function sliceAnsi(string$3, begin, end) {
73035
73067
  return output;
73036
73068
  }
73037
73069
 
73070
+ //#endregion
73071
+ //#region ../../node_modules/.pnpm/ansi-regex@6.0.1/node_modules/ansi-regex/index.js
73072
+ function ansiRegex({ onlyFirst = false } = {}) {
73073
+ const pattern = ["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)", "(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");
73074
+ return new RegExp(pattern, onlyFirst ? void 0 : "g");
73075
+ }
73076
+
73077
+ //#endregion
73078
+ //#region ../../node_modules/.pnpm/strip-ansi@7.1.0/node_modules/strip-ansi/index.js
73079
+ const regex = ansiRegex();
73080
+ function stripAnsi$1(string$3) {
73081
+ if (typeof string$3 !== "string") throw new TypeError(`Expected a \`string\`, got \`${typeof string$3}\``);
73082
+ return string$3.replace(regex, "");
73083
+ }
73084
+
73038
73085
  //#endregion
73039
73086
  //#region ../../node_modules/.pnpm/log-update@5.0.1/node_modules/log-update/index.js
73040
73087
  const defaultTerminalHeight = 24;
@@ -78778,7 +78825,7 @@ __name(createWorkerUploadForm, "createWorkerUploadForm");
78778
78825
  //#endregion
78779
78826
  //#region ../remote-bindings/dist/index.mjs
78780
78827
  var import_undici = require_undici();
78781
- var version$2 = "0.0.9";
78828
+ var version$2 = "0.0.11";
78782
78829
  var NoDefaultValueProvided = class extends UserError {
78783
78830
  constructor() {
78784
78831
  super("This command cannot be run in a non-interactive context", { telemetryMessage: "remote bindings prompt default missing" });
@@ -79468,7 +79515,6 @@ var DevEnv = class extends EventEmitter {
79468
79515
  runtime;
79469
79516
  proxy;
79470
79517
  #bundle;
79471
- #bundleVersion = 0;
79472
79518
  #config;
79473
79519
  start() {
79474
79520
  this.proxy.start(this.#config);
@@ -79483,7 +79529,7 @@ var DevEnv = class extends EventEmitter {
79483
79529
  config: config$2,
79484
79530
  bundle: {
79485
79531
  ...this.#bundle,
79486
- entrypointSource: `${this.#bundle.entrypointSource}\n// remote-bindings-update:${++this.#bundleVersion}`
79532
+ entrypointSource: `${this.#bundle.entrypointSource}\n// remote-bindings-update:${randomUUID()}`
79487
79533
  }
79488
79534
  });
79489
79535
  }
@@ -79690,7 +79736,7 @@ function deepStrictEqual(source, target$1) {
79690
79736
  }
79691
79737
 
79692
79738
  //#endregion
79693
- //#region ../../node_modules/.pnpm/fdir@6.5.0_picomatch@4.0.4/node_modules/fdir/dist/index.mjs
79739
+ //#region ../../node_modules/.pnpm/fdir@6.5.0_picomatch@4.0.5/node_modules/fdir/dist/index.mjs
79694
79740
  var __require = /* @__PURE__ */ createRequire$1(import.meta.url);
79695
79741
  function cleanPath(path$1) {
79696
79742
  let normalized = normalize(path$1);
@@ -80199,8 +80245,8 @@ var Builder = class {
80199
80245
  };
80200
80246
 
80201
80247
  //#endregion
80202
- //#region ../../node_modules/.pnpm/picomatch@4.0.4/node_modules/picomatch/lib/constants.js
80203
- var require_constants = /* @__PURE__ */ __commonJS$2({ "../../node_modules/.pnpm/picomatch@4.0.4/node_modules/picomatch/lib/constants.js": ((exports, module) => {
80248
+ //#region ../../node_modules/.pnpm/picomatch@4.0.5/node_modules/picomatch/lib/constants.js
80249
+ var require_constants = /* @__PURE__ */ __commonJS$2({ "../../node_modules/.pnpm/picomatch@4.0.5/node_modules/picomatch/lib/constants.js": ((exports, module) => {
80204
80250
  const WIN_SLASH = "\\\\/";
80205
80251
  const WIN_NO_SLASH = `[^${WIN_SLASH}]`;
80206
80252
  const DEFAULT_MAX_EXTGLOB_RECURSION = 0;
@@ -80367,8 +80413,8 @@ var require_constants = /* @__PURE__ */ __commonJS$2({ "../../node_modules/.pnpm
80367
80413
  }) });
80368
80414
 
80369
80415
  //#endregion
80370
- //#region ../../node_modules/.pnpm/picomatch@4.0.4/node_modules/picomatch/lib/utils.js
80371
- var require_utils = /* @__PURE__ */ __commonJS$2({ "../../node_modules/.pnpm/picomatch@4.0.4/node_modules/picomatch/lib/utils.js": ((exports) => {
80416
+ //#region ../../node_modules/.pnpm/picomatch@4.0.5/node_modules/picomatch/lib/utils.js
80417
+ var require_utils = /* @__PURE__ */ __commonJS$2({ "../../node_modules/.pnpm/picomatch@4.0.5/node_modules/picomatch/lib/utils.js": ((exports) => {
80372
80418
  const { REGEX_BACKSLASH, REGEX_REMOVE_BACKSLASH, REGEX_SPECIAL_CHARS, REGEX_SPECIAL_CHARS_GLOBAL } = require_constants();
80373
80419
  exports.isObject = (val) => val !== null && typeof val === "object" && !Array.isArray(val);
80374
80420
  exports.hasRegexChars = (str) => REGEX_SPECIAL_CHARS.test(str);
@@ -80416,8 +80462,8 @@ var require_utils = /* @__PURE__ */ __commonJS$2({ "../../node_modules/.pnpm/pic
80416
80462
  }) });
80417
80463
 
80418
80464
  //#endregion
80419
- //#region ../../node_modules/.pnpm/picomatch@4.0.4/node_modules/picomatch/lib/scan.js
80420
- var require_scan = /* @__PURE__ */ __commonJS$2({ "../../node_modules/.pnpm/picomatch@4.0.4/node_modules/picomatch/lib/scan.js": ((exports, module) => {
80465
+ //#region ../../node_modules/.pnpm/picomatch@4.0.5/node_modules/picomatch/lib/scan.js
80466
+ var require_scan = /* @__PURE__ */ __commonJS$2({ "../../node_modules/.pnpm/picomatch@4.0.5/node_modules/picomatch/lib/scan.js": ((exports, module) => {
80421
80467
  const utils$3 = require_utils();
80422
80468
  const { CHAR_ASTERISK, CHAR_AT, CHAR_BACKWARD_SLASH, CHAR_COMMA, CHAR_DOT, CHAR_EXCLAMATION_MARK, CHAR_FORWARD_SLASH, CHAR_LEFT_CURLY_BRACE, CHAR_LEFT_PARENTHESES, CHAR_LEFT_SQUARE_BRACKET, CHAR_PLUS, CHAR_QUESTION_MARK, CHAR_RIGHT_CURLY_BRACE, CHAR_RIGHT_PARENTHESES, CHAR_RIGHT_SQUARE_BRACKET } = require_constants();
80423
80469
  const isPathSeparator = (code) => {
@@ -80704,8 +80750,8 @@ var require_scan = /* @__PURE__ */ __commonJS$2({ "../../node_modules/.pnpm/pico
80704
80750
  }) });
80705
80751
 
80706
80752
  //#endregion
80707
- //#region ../../node_modules/.pnpm/picomatch@4.0.4/node_modules/picomatch/lib/parse.js
80708
- var require_parse = /* @__PURE__ */ __commonJS$2({ "../../node_modules/.pnpm/picomatch@4.0.4/node_modules/picomatch/lib/parse.js": ((exports, module) => {
80753
+ //#region ../../node_modules/.pnpm/picomatch@4.0.5/node_modules/picomatch/lib/parse.js
80754
+ var require_parse = /* @__PURE__ */ __commonJS$2({ "../../node_modules/.pnpm/picomatch@4.0.5/node_modules/picomatch/lib/parse.js": ((exports, module) => {
80709
80755
  const constants$3 = require_constants();
80710
80756
  const utils$2 = require_utils();
80711
80757
  /**
@@ -80859,7 +80905,10 @@ var require_parse = /* @__PURE__ */ __commonJS$2({ "../../node_modules/.pnpm/pic
80859
80905
  }
80860
80906
  }
80861
80907
  };
80862
- const getStarExtglobSequenceOutput = (pattern) => {
80908
+ const buildCharClassStar = (chars$1) => {
80909
+ return `${chars$1.length === 1 ? utils$2.escapeRegex(chars$1[0]) : `[${chars$1.map((ch) => utils$2.escapeRegex(ch)).join("")}]`}*`;
80910
+ };
80911
+ const getStarExtglobSequenceChars = (pattern) => {
80863
80912
  let index = 0;
80864
80913
  const chars$1 = [];
80865
80914
  while (index < pattern.length) {
@@ -80873,7 +80922,7 @@ var require_parse = /* @__PURE__ */ __commonJS$2({ "../../node_modules/.pnpm/pic
80873
80922
  index += match.end + 1;
80874
80923
  }
80875
80924
  if (chars$1.length < 1) return;
80876
- return `${chars$1.length === 1 ? utils$2.escapeRegex(chars$1[0]) : `[${chars$1.map((ch) => utils$2.escapeRegex(ch)).join("")}]`}*`;
80925
+ return chars$1;
80877
80926
  };
80878
80927
  const repeatedExtglobRecursion = (pattern) => {
80879
80928
  let depth$1 = 0;
@@ -80893,14 +80942,28 @@ var require_parse = /* @__PURE__ */ __commonJS$2({ "../../node_modules/.pnpm/pic
80893
80942
  if (branches.length > 1) {
80894
80943
  if (branches.some((branch) => branch === "") || branches.some((branch) => /^[*?]+$/.test(branch)) || hasRepeatedCharPrefixOverlap(branches)) return { risky: true };
80895
80944
  }
80945
+ const safeChars = [];
80946
+ let sawStarSequence = false;
80947
+ let combinable = true;
80896
80948
  for (const branch of branches) {
80897
- const safeOutput = getStarExtglobSequenceOutput(branch);
80898
- if (safeOutput) return {
80899
- risky: true,
80900
- safeOutput
80901
- };
80949
+ const chars$1 = getStarExtglobSequenceChars(branch);
80950
+ if (chars$1) {
80951
+ sawStarSequence = true;
80952
+ safeChars.push(...chars$1);
80953
+ continue;
80954
+ }
80955
+ const literal$3 = normalizeSimpleBranch(branch);
80956
+ if (literal$3 && literal$3.length === 1) {
80957
+ safeChars.push(literal$3);
80958
+ continue;
80959
+ }
80960
+ combinable = false;
80902
80961
  if (repeatedExtglobRecursion(branch) > max) return { risky: true };
80903
80962
  }
80963
+ if (sawStarSequence) return combinable ? {
80964
+ risky: true,
80965
+ safeOutput: buildCharClassStar([...new Set(safeChars)])
80966
+ } : { risky: true };
80904
80967
  return { risky: false };
80905
80968
  };
80906
80969
  /**
@@ -81760,8 +81823,8 @@ var require_parse = /* @__PURE__ */ __commonJS$2({ "../../node_modules/.pnpm/pic
81760
81823
  }) });
81761
81824
 
81762
81825
  //#endregion
81763
- //#region ../../node_modules/.pnpm/picomatch@4.0.4/node_modules/picomatch/lib/picomatch.js
81764
- var require_picomatch$1 = /* @__PURE__ */ __commonJS$2({ "../../node_modules/.pnpm/picomatch@4.0.4/node_modules/picomatch/lib/picomatch.js": ((exports, module) => {
81826
+ //#region ../../node_modules/.pnpm/picomatch@4.0.5/node_modules/picomatch/lib/picomatch.js
81827
+ var require_picomatch$1 = /* @__PURE__ */ __commonJS$2({ "../../node_modules/.pnpm/picomatch@4.0.5/node_modules/picomatch/lib/picomatch.js": ((exports, module) => {
81765
81828
  const scan = require_scan();
81766
81829
  const parse = require_parse();
81767
81830
  const utils$1 = require_utils();
@@ -81781,6 +81844,18 @@ var require_picomatch$1 = /* @__PURE__ */ __commonJS$2({ "../../node_modules/.pn
81781
81844
  * const isMatch = picomatch('*.!(*a)');
81782
81845
  * console.log(isMatch('a.a')); //=> false
81783
81846
  * console.log(isMatch('a.b')); //=> true
81847
+ *
81848
+ * // For environments without `node.js`, `picomatch/posix` provides you a dependency-free matcher, without automatic OS detection.
81849
+ * const picomatch = require('picomatch/posix');
81850
+ * // the same API, defaulting to posix paths
81851
+ * const isMatch = picomatch('a/*');
81852
+ * console.log(isMatch('a\\b')); //=> false
81853
+ * console.log(isMatch('a/b')); //=> true
81854
+ *
81855
+ * // you can still configure the matcher function to accept windows paths
81856
+ * const isMatch = picomatch('a/*', { options: windows });
81857
+ * console.log(isMatch('a\\b')); //=> true
81858
+ * console.log(isMatch('a/b')); //=> true
81784
81859
  * ```
81785
81860
  * @name picomatch
81786
81861
  * @param {String|Array} `globs` One or more glob patterns.
@@ -81804,9 +81879,9 @@ var require_picomatch$1 = /* @__PURE__ */ __commonJS$2({ "../../node_modules/.pn
81804
81879
  if (glob === "" || typeof glob !== "string" && !isState) throw new TypeError("Expected pattern to be a non-empty string");
81805
81880
  const opts = options || {};
81806
81881
  const posix$1 = opts.windows;
81807
- const regex$1 = isState ? picomatch$2.compileRe(glob, options) : picomatch$2.makeRe(glob, options, false, true);
81808
- const state = regex$1.state;
81809
- delete regex$1.state;
81882
+ const regex$2 = isState ? picomatch$2.compileRe(glob, options) : picomatch$2.makeRe(glob, options, false, true);
81883
+ const state = regex$2.state;
81884
+ delete regex$2.state;
81810
81885
  let isIgnored = () => false;
81811
81886
  if (opts.ignore) {
81812
81887
  const ignoreOpts = {
@@ -81818,14 +81893,14 @@ var require_picomatch$1 = /* @__PURE__ */ __commonJS$2({ "../../node_modules/.pn
81818
81893
  isIgnored = picomatch$2(opts.ignore, ignoreOpts, returnState);
81819
81894
  }
81820
81895
  const matcher = (input, returnObject = false) => {
81821
- const { isMatch, match, output } = picomatch$2.test(input, regex$1, options, {
81896
+ const { isMatch, match, output } = picomatch$2.test(input, regex$2, options, {
81822
81897
  glob,
81823
81898
  posix: posix$1
81824
81899
  });
81825
81900
  const result = {
81826
81901
  glob,
81827
81902
  state,
81828
- regex: regex$1,
81903
+ regex: regex$2,
81829
81904
  posix: posix$1,
81830
81905
  input,
81831
81906
  output,
@@ -81864,7 +81939,7 @@ var require_picomatch$1 = /* @__PURE__ */ __commonJS$2({ "../../node_modules/.pn
81864
81939
  * @return {Object} Returns an object with matching info.
81865
81940
  * @api public
81866
81941
  */
81867
- picomatch$2.test = (input, regex$1, options, { glob, posix: posix$1 } = {}) => {
81942
+ picomatch$2.test = (input, regex$2, options, { glob, posix: posix$1 } = {}) => {
81868
81943
  if (typeof input !== "string") throw new TypeError("Expected input to be a string");
81869
81944
  if (input === "") return {
81870
81945
  isMatch: false,
@@ -81878,8 +81953,8 @@ var require_picomatch$1 = /* @__PURE__ */ __commonJS$2({ "../../node_modules/.pn
81878
81953
  output = format$4 ? format$4(input) : input;
81879
81954
  match = output === glob;
81880
81955
  }
81881
- if (match === false || opts.capture === true) if (opts.matchBase === true || opts.basename === true) match = picomatch$2.matchBase(input, regex$1, options, posix$1);
81882
- else match = regex$1.exec(output);
81956
+ if (match === false || opts.capture === true) if (opts.matchBase === true || opts.basename === true) match = picomatch$2.matchBase(input, regex$2, options, posix$1);
81957
+ else match = regex$2.exec(output);
81883
81958
  return {
81884
81959
  isMatch: Boolean(match),
81885
81960
  match,
@@ -81899,8 +81974,8 @@ var require_picomatch$1 = /* @__PURE__ */ __commonJS$2({ "../../node_modules/.pn
81899
81974
  * @return {Boolean}
81900
81975
  * @api public
81901
81976
  */
81902
- picomatch$2.matchBase = (input, glob, options) => {
81903
- return (glob instanceof RegExp ? glob : picomatch$2.makeRe(glob, options)).test(utils$1.basename(input));
81977
+ picomatch$2.matchBase = (input, glob, options, posix$1 = options && options.windows) => {
81978
+ return (glob instanceof RegExp ? glob : picomatch$2.makeRe(glob, options)).test(utils$1.basename(input, { windows: posix$1 }));
81904
81979
  };
81905
81980
  /**
81906
81981
  * Returns true if **any** of the given glob `patterns` match the specified `string`.
@@ -81992,9 +82067,9 @@ var require_picomatch$1 = /* @__PURE__ */ __commonJS$2({ "../../node_modules/.pn
81992
82067
  const append = opts.contains ? "" : "$";
81993
82068
  let source = `${prepend}(?:${state.output})${append}`;
81994
82069
  if (state && state.negated === true) source = `^(?!${source}).*$`;
81995
- const regex$1 = picomatch$2.toRegex(source, options);
81996
- if (returnState === true) regex$1.state = state;
81997
- return regex$1;
82070
+ const regex$2 = picomatch$2.toRegex(source, options);
82071
+ if (returnState === true) regex$2.state = state;
82072
+ return regex$2;
81998
82073
  };
81999
82074
  /**
82000
82075
  * Create a regular expression from a parsed glob pattern.
@@ -82061,8 +82136,8 @@ var require_picomatch$1 = /* @__PURE__ */ __commonJS$2({ "../../node_modules/.pn
82061
82136
  }) });
82062
82137
 
82063
82138
  //#endregion
82064
- //#region ../../node_modules/.pnpm/picomatch@4.0.4/node_modules/picomatch/index.js
82065
- var require_picomatch = /* @__PURE__ */ __commonJS$2({ "../../node_modules/.pnpm/picomatch@4.0.4/node_modules/picomatch/index.js": ((exports, module) => {
82139
+ //#region ../../node_modules/.pnpm/picomatch@4.0.5/node_modules/picomatch/index.js
82140
+ var require_picomatch = /* @__PURE__ */ __commonJS$2({ "../../node_modules/.pnpm/picomatch@4.0.5/node_modules/picomatch/index.js": ((exports, module) => {
82066
82141
  const pico = require_picomatch$1();
82067
82142
  const utils = require_utils();
82068
82143
  function picomatch$1(glob, options, returnState = false) {