@shopify/create-app 3.68.1 → 3.69.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.
Files changed (34) hide show
  1. package/dist/{chokidar-4TKDAB27.js → chokidar-OESTCX4H.js} +571 -8
  2. package/dist/{chunk-C5I6OCGC.js → chunk-2A7GNM7F.js} +2 -2
  3. package/dist/{chunk-2MYV5AJ5.js → chunk-7N2ECBWK.js} +3 -3
  4. package/dist/{chunk-SB7EWNHY.js → chunk-AVCU5ZOP.js} +8 -8
  5. package/dist/{chunk-VZ5DQVYW.js → chunk-AZIUHI45.js} +93 -5
  6. package/dist/{chunk-BUXMIKPA.js → chunk-CJOZ7NTT.js} +6 -6
  7. package/dist/{chunk-T2XKLQYZ.js → chunk-G6AY2JW5.js} +1 -2
  8. package/dist/{chunk-BG6FYFQK.js → chunk-L7M22NDW.js} +2 -2
  9. package/dist/{chunk-F27QYMO7.js → chunk-MX4RJDBM.js} +591 -20
  10. package/dist/{chunk-ZFVK6EQX.js → chunk-NB4NLOEJ.js} +142 -703
  11. package/dist/{chunk-DJNRMCME.js → chunk-NQUHO34K.js} +138 -36
  12. package/dist/{chunk-CXVVOJV3.js → chunk-UWDJJNDC.js} +3 -3
  13. package/dist/{chunk-ARVENXAB.js → chunk-XMQLNGN7.js} +141 -859
  14. package/dist/{constants-CPNN74KZ.js → constants-GVJLI6RE.js} +2 -2
  15. package/dist/{custom-oclif-loader-7UDPOFCK.js → custom-oclif-loader-FZACFF7D.js} +9 -11
  16. package/dist/{del-SR7JNKRM.js → del-42HQA7PR.js} +5 -5
  17. package/dist/{error-handler-JYFTDW74.js → error-handler-R2NFQW6E.js} +11 -13
  18. package/dist/hooks/postrun.js +12 -13
  19. package/dist/hooks/prerun.js +10 -12
  20. package/dist/index.js +10772 -9975
  21. package/dist/lib-H5ZGVBFQ.js +11 -0
  22. package/dist/{local-TOVALPGH.js → local-G7IECLW7.js} +7 -11
  23. package/dist/{node-package-manager-6HSGLS2Y.js → node-package-manager-5YDNPKRT.js} +8 -10
  24. package/dist/out-ZDSLKX4N.js +7 -0
  25. package/dist/{system-RP7KHMIF.js → system-M33YAFGP.js} +7 -9
  26. package/dist/tsconfig.tsbuildinfo +1 -1
  27. package/dist/{ui-TW2LGB6E.js → ui-VEBUA4SR.js} +7 -9
  28. package/oclif.manifest.json +1 -1
  29. package/package.json +3 -3
  30. package/dist/chunk-2AW6NZQ5.js +0 -101
  31. package/dist/chunk-QETDXAFX.js +0 -106
  32. package/dist/lib-H3ZZGS7I.js +0 -1322
  33. package/dist/lib-N6KQZBCQ.js +0 -12
  34. package/dist/out-66YUO4CT.js +0 -7
@@ -2,11 +2,11 @@ import {
2
2
  require_normalize_path
3
3
  } from "./chunk-PMUQTGZJ.js";
4
4
  import {
5
- require_braces,
6
5
  require_glob_parent,
7
6
  require_is_glob,
8
- require_picomatch
9
- } from "./chunk-ZFVK6EQX.js";
7
+ require_picomatch,
8
+ require_to_regex_range
9
+ } from "./chunk-NB4NLOEJ.js";
10
10
  import {
11
11
  __commonJS,
12
12
  __require,
@@ -209,6 +209,559 @@ var require_anymatch = __commonJS({
209
209
  }
210
210
  });
211
211
 
212
+ // ../../node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/utils.js
213
+ var require_utils = __commonJS({
214
+ "../../node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/utils.js"(exports) {
215
+ "use strict";
216
+ init_cjs_shims();
217
+ exports.isInteger = (num) => typeof num == "number" ? Number.isInteger(num) : typeof num == "string" && num.trim() !== "" ? Number.isInteger(Number(num)) : !1;
218
+ exports.find = (node, type) => node.nodes.find((node2) => node2.type === type);
219
+ exports.exceedsLimit = (min, max, step = 1, limit) => limit === !1 || !exports.isInteger(min) || !exports.isInteger(max) ? !1 : (Number(max) - Number(min)) / Number(step) >= limit;
220
+ exports.escapeNode = (block, n = 0, type) => {
221
+ let node = block.nodes[n];
222
+ node && (type && node.type === type || node.type === "open" || node.type === "close") && node.escaped !== !0 && (node.value = "\\" + node.value, node.escaped = !0);
223
+ };
224
+ exports.encloseBrace = (node) => node.type !== "brace" || node.commas >> 0 + node.ranges >> 0 ? !1 : (node.invalid = !0, !0);
225
+ exports.isInvalidBrace = (block) => block.type !== "brace" ? !1 : block.invalid === !0 || block.dollar ? !0 : !(block.commas >> 0 + block.ranges >> 0) || block.open !== !0 || block.close !== !0 ? (block.invalid = !0, !0) : !1;
226
+ exports.isOpenOrClose = (node) => node.type === "open" || node.type === "close" ? !0 : node.open === !0 || node.close === !0;
227
+ exports.reduce = (nodes) => nodes.reduce((acc, node) => (node.type === "text" && acc.push(node.value), node.type === "range" && (node.type = "text"), acc), []);
228
+ exports.flatten = (...args) => {
229
+ let result = [], flat = (arr) => {
230
+ for (let i = 0; i < arr.length; i++) {
231
+ let ele = arr[i];
232
+ Array.isArray(ele) ? flat(ele, result) : ele !== void 0 && result.push(ele);
233
+ }
234
+ return result;
235
+ };
236
+ return flat(args), result;
237
+ };
238
+ }
239
+ });
240
+
241
+ // ../../node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/stringify.js
242
+ var require_stringify = __commonJS({
243
+ "../../node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/stringify.js"(exports, module) {
244
+ "use strict";
245
+ init_cjs_shims();
246
+ var utils = require_utils();
247
+ module.exports = (ast, options = {}) => {
248
+ let stringify = (node, parent = {}) => {
249
+ let invalidBlock = options.escapeInvalid && utils.isInvalidBrace(parent), invalidNode = node.invalid === !0 && options.escapeInvalid === !0, output = "";
250
+ if (node.value)
251
+ return (invalidBlock || invalidNode) && utils.isOpenOrClose(node) ? "\\" + node.value : node.value;
252
+ if (node.value)
253
+ return node.value;
254
+ if (node.nodes)
255
+ for (let child of node.nodes)
256
+ output += stringify(child);
257
+ return output;
258
+ };
259
+ return stringify(ast);
260
+ };
261
+ }
262
+ });
263
+
264
+ // ../../node_modules/.pnpm/fill-range@7.0.1/node_modules/fill-range/index.js
265
+ var require_fill_range = __commonJS({
266
+ "../../node_modules/.pnpm/fill-range@7.0.1/node_modules/fill-range/index.js"(exports, module) {
267
+ "use strict";
268
+ init_cjs_shims();
269
+ var util = __require("util"), toRegexRange = require_to_regex_range(), isObject = (val) => val !== null && typeof val == "object" && !Array.isArray(val), transform = (toNumber) => (value) => toNumber === !0 ? Number(value) : String(value), isValidValue = (value) => typeof value == "number" || typeof value == "string" && value !== "", isNumber = (num) => Number.isInteger(+num), zeros = (input) => {
270
+ let value = `${input}`, index = -1;
271
+ if (value[0] === "-" && (value = value.slice(1)), value === "0")
272
+ return !1;
273
+ for (; value[++index] === "0"; )
274
+ ;
275
+ return index > 0;
276
+ }, stringify = (start, end, options) => typeof start == "string" || typeof end == "string" ? !0 : options.stringify === !0, pad = (input, maxLength, toNumber) => {
277
+ if (maxLength > 0) {
278
+ let dash = input[0] === "-" ? "-" : "";
279
+ dash && (input = input.slice(1)), input = dash + input.padStart(dash ? maxLength - 1 : maxLength, "0");
280
+ }
281
+ return toNumber === !1 ? String(input) : input;
282
+ }, toMaxLen = (input, maxLength) => {
283
+ let negative = input[0] === "-" ? "-" : "";
284
+ for (negative && (input = input.slice(1), maxLength--); input.length < maxLength; )
285
+ input = "0" + input;
286
+ return negative ? "-" + input : input;
287
+ }, toSequence = (parts, options) => {
288
+ parts.negatives.sort((a, b) => a < b ? -1 : a > b ? 1 : 0), parts.positives.sort((a, b) => a < b ? -1 : a > b ? 1 : 0);
289
+ let prefix = options.capture ? "" : "?:", positives = "", negatives = "", result;
290
+ return parts.positives.length && (positives = parts.positives.join("|")), parts.negatives.length && (negatives = `-(${prefix}${parts.negatives.join("|")})`), positives && negatives ? result = `${positives}|${negatives}` : result = positives || negatives, options.wrap ? `(${prefix}${result})` : result;
291
+ }, toRange = (a, b, isNumbers, options) => {
292
+ if (isNumbers)
293
+ return toRegexRange(a, b, { wrap: !1, ...options });
294
+ let start = String.fromCharCode(a);
295
+ if (a === b)
296
+ return start;
297
+ let stop = String.fromCharCode(b);
298
+ return `[${start}-${stop}]`;
299
+ }, toRegex = (start, end, options) => {
300
+ if (Array.isArray(start)) {
301
+ let wrap = options.wrap === !0, prefix = options.capture ? "" : "?:";
302
+ return wrap ? `(${prefix}${start.join("|")})` : start.join("|");
303
+ }
304
+ return toRegexRange(start, end, options);
305
+ }, rangeError = (...args) => new RangeError("Invalid range arguments: " + util.inspect(...args)), invalidRange = (start, end, options) => {
306
+ if (options.strictRanges === !0)
307
+ throw rangeError([start, end]);
308
+ return [];
309
+ }, invalidStep = (step, options) => {
310
+ if (options.strictRanges === !0)
311
+ throw new TypeError(`Expected step "${step}" to be a number`);
312
+ return [];
313
+ }, fillNumbers = (start, end, step = 1, options = {}) => {
314
+ let a = Number(start), b = Number(end);
315
+ if (!Number.isInteger(a) || !Number.isInteger(b)) {
316
+ if (options.strictRanges === !0)
317
+ throw rangeError([start, end]);
318
+ return [];
319
+ }
320
+ a === 0 && (a = 0), b === 0 && (b = 0);
321
+ let descending = a > b, startString = String(start), endString = String(end), stepString = String(step);
322
+ step = Math.max(Math.abs(step), 1);
323
+ let padded = zeros(startString) || zeros(endString) || zeros(stepString), maxLen = padded ? Math.max(startString.length, endString.length, stepString.length) : 0, toNumber = padded === !1 && stringify(start, end, options) === !1, format = options.transform || transform(toNumber);
324
+ if (options.toRegex && step === 1)
325
+ return toRange(toMaxLen(start, maxLen), toMaxLen(end, maxLen), !0, options);
326
+ let parts = { negatives: [], positives: [] }, push = (num) => parts[num < 0 ? "negatives" : "positives"].push(Math.abs(num)), range = [], index = 0;
327
+ for (; descending ? a >= b : a <= b; )
328
+ options.toRegex === !0 && step > 1 ? push(a) : range.push(pad(format(a, index), maxLen, toNumber)), a = descending ? a - step : a + step, index++;
329
+ return options.toRegex === !0 ? step > 1 ? toSequence(parts, options) : toRegex(range, null, { wrap: !1, ...options }) : range;
330
+ }, fillLetters = (start, end, step = 1, options = {}) => {
331
+ if (!isNumber(start) && start.length > 1 || !isNumber(end) && end.length > 1)
332
+ return invalidRange(start, end, options);
333
+ let format = options.transform || ((val) => String.fromCharCode(val)), a = `${start}`.charCodeAt(0), b = `${end}`.charCodeAt(0), descending = a > b, min = Math.min(a, b), max = Math.max(a, b);
334
+ if (options.toRegex && step === 1)
335
+ return toRange(min, max, !1, options);
336
+ let range = [], index = 0;
337
+ for (; descending ? a >= b : a <= b; )
338
+ range.push(format(a, index)), a = descending ? a - step : a + step, index++;
339
+ return options.toRegex === !0 ? toRegex(range, null, { wrap: !1, options }) : range;
340
+ }, fill = (start, end, step, options = {}) => {
341
+ if (end == null && isValidValue(start))
342
+ return [start];
343
+ if (!isValidValue(start) || !isValidValue(end))
344
+ return invalidRange(start, end, options);
345
+ if (typeof step == "function")
346
+ return fill(start, end, 1, { transform: step });
347
+ if (isObject(step))
348
+ return fill(start, end, 0, step);
349
+ let opts = { ...options };
350
+ return opts.capture === !0 && (opts.wrap = !0), step = step || opts.step || 1, isNumber(step) ? isNumber(start) && isNumber(end) ? fillNumbers(start, end, step, opts) : fillLetters(start, end, Math.max(Math.abs(step), 1), opts) : step != null && !isObject(step) ? invalidStep(step, opts) : fill(start, end, 1, step);
351
+ };
352
+ module.exports = fill;
353
+ }
354
+ });
355
+
356
+ // ../../node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/compile.js
357
+ var require_compile = __commonJS({
358
+ "../../node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/compile.js"(exports, module) {
359
+ "use strict";
360
+ init_cjs_shims();
361
+ var fill = require_fill_range(), utils = require_utils(), compile = (ast, options = {}) => {
362
+ let walk = (node, parent = {}) => {
363
+ let invalidBlock = utils.isInvalidBrace(parent), invalidNode = node.invalid === !0 && options.escapeInvalid === !0, invalid = invalidBlock === !0 || invalidNode === !0, prefix = options.escapeInvalid === !0 ? "\\" : "", output = "";
364
+ if (node.isOpen === !0 || node.isClose === !0)
365
+ return prefix + node.value;
366
+ if (node.type === "open")
367
+ return invalid ? prefix + node.value : "(";
368
+ if (node.type === "close")
369
+ return invalid ? prefix + node.value : ")";
370
+ if (node.type === "comma")
371
+ return node.prev.type === "comma" ? "" : invalid ? node.value : "|";
372
+ if (node.value)
373
+ return node.value;
374
+ if (node.nodes && node.ranges > 0) {
375
+ let args = utils.reduce(node.nodes), range = fill(...args, { ...options, wrap: !1, toRegex: !0 });
376
+ if (range.length !== 0)
377
+ return args.length > 1 && range.length > 1 ? `(${range})` : range;
378
+ }
379
+ if (node.nodes)
380
+ for (let child of node.nodes)
381
+ output += walk(child, node);
382
+ return output;
383
+ };
384
+ return walk(ast);
385
+ };
386
+ module.exports = compile;
387
+ }
388
+ });
389
+
390
+ // ../../node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/expand.js
391
+ var require_expand = __commonJS({
392
+ "../../node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/expand.js"(exports, module) {
393
+ "use strict";
394
+ init_cjs_shims();
395
+ var fill = require_fill_range(), stringify = require_stringify(), utils = require_utils(), append = (queue = "", stash = "", enclose = !1) => {
396
+ let result = [];
397
+ if (queue = [].concat(queue), stash = [].concat(stash), !stash.length)
398
+ return queue;
399
+ if (!queue.length)
400
+ return enclose ? utils.flatten(stash).map((ele) => `{${ele}}`) : stash;
401
+ for (let item of queue)
402
+ if (Array.isArray(item))
403
+ for (let value of item)
404
+ result.push(append(value, stash, enclose));
405
+ else
406
+ for (let ele of stash)
407
+ enclose === !0 && typeof ele == "string" && (ele = `{${ele}}`), result.push(Array.isArray(ele) ? append(item, ele, enclose) : item + ele);
408
+ return utils.flatten(result);
409
+ }, expand = (ast, options = {}) => {
410
+ let rangeLimit = options.rangeLimit === void 0 ? 1e3 : options.rangeLimit, walk = (node, parent = {}) => {
411
+ node.queue = [];
412
+ let p = parent, q = parent.queue;
413
+ for (; p.type !== "brace" && p.type !== "root" && p.parent; )
414
+ p = p.parent, q = p.queue;
415
+ if (node.invalid || node.dollar) {
416
+ q.push(append(q.pop(), stringify(node, options)));
417
+ return;
418
+ }
419
+ if (node.type === "brace" && node.invalid !== !0 && node.nodes.length === 2) {
420
+ q.push(append(q.pop(), ["{}"]));
421
+ return;
422
+ }
423
+ if (node.nodes && node.ranges > 0) {
424
+ let args = utils.reduce(node.nodes);
425
+ if (utils.exceedsLimit(...args, options.step, rangeLimit))
426
+ throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");
427
+ let range = fill(...args, options);
428
+ range.length === 0 && (range = stringify(node, options)), q.push(append(q.pop(), range)), node.nodes = [];
429
+ return;
430
+ }
431
+ let enclose = utils.encloseBrace(node), queue = node.queue, block = node;
432
+ for (; block.type !== "brace" && block.type !== "root" && block.parent; )
433
+ block = block.parent, queue = block.queue;
434
+ for (let i = 0; i < node.nodes.length; i++) {
435
+ let child = node.nodes[i];
436
+ if (child.type === "comma" && node.type === "brace") {
437
+ i === 1 && queue.push(""), queue.push("");
438
+ continue;
439
+ }
440
+ if (child.type === "close") {
441
+ q.push(append(q.pop(), queue, enclose));
442
+ continue;
443
+ }
444
+ if (child.value && child.type !== "open") {
445
+ queue.push(append(queue.pop(), child.value));
446
+ continue;
447
+ }
448
+ child.nodes && walk(child, node);
449
+ }
450
+ return queue;
451
+ };
452
+ return utils.flatten(walk(ast));
453
+ };
454
+ module.exports = expand;
455
+ }
456
+ });
457
+
458
+ // ../../node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/constants.js
459
+ var require_constants = __commonJS({
460
+ "../../node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/constants.js"(exports, module) {
461
+ "use strict";
462
+ init_cjs_shims();
463
+ module.exports = {
464
+ MAX_LENGTH: 1024 * 64,
465
+ // Digits
466
+ CHAR_0: "0",
467
+ /* 0 */
468
+ CHAR_9: "9",
469
+ /* 9 */
470
+ // Alphabet chars.
471
+ CHAR_UPPERCASE_A: "A",
472
+ /* A */
473
+ CHAR_LOWERCASE_A: "a",
474
+ /* a */
475
+ CHAR_UPPERCASE_Z: "Z",
476
+ /* Z */
477
+ CHAR_LOWERCASE_Z: "z",
478
+ /* z */
479
+ CHAR_LEFT_PARENTHESES: "(",
480
+ /* ( */
481
+ CHAR_RIGHT_PARENTHESES: ")",
482
+ /* ) */
483
+ CHAR_ASTERISK: "*",
484
+ /* * */
485
+ // Non-alphabetic chars.
486
+ CHAR_AMPERSAND: "&",
487
+ /* & */
488
+ CHAR_AT: "@",
489
+ /* @ */
490
+ CHAR_BACKSLASH: "\\",
491
+ /* \ */
492
+ CHAR_BACKTICK: "`",
493
+ /* ` */
494
+ CHAR_CARRIAGE_RETURN: "\r",
495
+ /* \r */
496
+ CHAR_CIRCUMFLEX_ACCENT: "^",
497
+ /* ^ */
498
+ CHAR_COLON: ":",
499
+ /* : */
500
+ CHAR_COMMA: ",",
501
+ /* , */
502
+ CHAR_DOLLAR: "$",
503
+ /* . */
504
+ CHAR_DOT: ".",
505
+ /* . */
506
+ CHAR_DOUBLE_QUOTE: '"',
507
+ /* " */
508
+ CHAR_EQUAL: "=",
509
+ /* = */
510
+ CHAR_EXCLAMATION_MARK: "!",
511
+ /* ! */
512
+ CHAR_FORM_FEED: "\f",
513
+ /* \f */
514
+ CHAR_FORWARD_SLASH: "/",
515
+ /* / */
516
+ CHAR_HASH: "#",
517
+ /* # */
518
+ CHAR_HYPHEN_MINUS: "-",
519
+ /* - */
520
+ CHAR_LEFT_ANGLE_BRACKET: "<",
521
+ /* < */
522
+ CHAR_LEFT_CURLY_BRACE: "{",
523
+ /* { */
524
+ CHAR_LEFT_SQUARE_BRACKET: "[",
525
+ /* [ */
526
+ CHAR_LINE_FEED: `
527
+ `,
528
+ /* \n */
529
+ CHAR_NO_BREAK_SPACE: "\xA0",
530
+ /* \u00A0 */
531
+ CHAR_PERCENT: "%",
532
+ /* % */
533
+ CHAR_PLUS: "+",
534
+ /* + */
535
+ CHAR_QUESTION_MARK: "?",
536
+ /* ? */
537
+ CHAR_RIGHT_ANGLE_BRACKET: ">",
538
+ /* > */
539
+ CHAR_RIGHT_CURLY_BRACE: "}",
540
+ /* } */
541
+ CHAR_RIGHT_SQUARE_BRACKET: "]",
542
+ /* ] */
543
+ CHAR_SEMICOLON: ";",
544
+ /* ; */
545
+ CHAR_SINGLE_QUOTE: "'",
546
+ /* ' */
547
+ CHAR_SPACE: " ",
548
+ /* */
549
+ CHAR_TAB: " ",
550
+ /* \t */
551
+ CHAR_UNDERSCORE: "_",
552
+ /* _ */
553
+ CHAR_VERTICAL_LINE: "|",
554
+ /* | */
555
+ CHAR_ZERO_WIDTH_NOBREAK_SPACE: "\uFEFF"
556
+ /* \uFEFF */
557
+ };
558
+ }
559
+ });
560
+
561
+ // ../../node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/parse.js
562
+ var require_parse = __commonJS({
563
+ "../../node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/parse.js"(exports, module) {
564
+ "use strict";
565
+ init_cjs_shims();
566
+ var stringify = require_stringify(), {
567
+ MAX_LENGTH,
568
+ CHAR_BACKSLASH,
569
+ /* \ */
570
+ CHAR_BACKTICK,
571
+ /* ` */
572
+ CHAR_COMMA,
573
+ /* , */
574
+ CHAR_DOT,
575
+ /* . */
576
+ CHAR_LEFT_PARENTHESES,
577
+ /* ( */
578
+ CHAR_RIGHT_PARENTHESES,
579
+ /* ) */
580
+ CHAR_LEFT_CURLY_BRACE,
581
+ /* { */
582
+ CHAR_RIGHT_CURLY_BRACE,
583
+ /* } */
584
+ CHAR_LEFT_SQUARE_BRACKET,
585
+ /* [ */
586
+ CHAR_RIGHT_SQUARE_BRACKET,
587
+ /* ] */
588
+ CHAR_DOUBLE_QUOTE,
589
+ /* " */
590
+ CHAR_SINGLE_QUOTE,
591
+ /* ' */
592
+ CHAR_NO_BREAK_SPACE,
593
+ CHAR_ZERO_WIDTH_NOBREAK_SPACE
594
+ } = require_constants(), parse = (input, options = {}) => {
595
+ if (typeof input != "string")
596
+ throw new TypeError("Expected a string");
597
+ let opts = options || {}, max = typeof opts.maxLength == "number" ? Math.min(MAX_LENGTH, opts.maxLength) : MAX_LENGTH;
598
+ if (input.length > max)
599
+ throw new SyntaxError(`Input length (${input.length}), exceeds max characters (${max})`);
600
+ let ast = { type: "root", input, nodes: [] }, stack = [ast], block = ast, prev = ast, brackets = 0, length = input.length, index = 0, depth = 0, value, memo = {}, advance = () => input[index++], push = (node) => {
601
+ if (node.type === "text" && prev.type === "dot" && (prev.type = "text"), prev && prev.type === "text" && node.type === "text") {
602
+ prev.value += node.value;
603
+ return;
604
+ }
605
+ return block.nodes.push(node), node.parent = block, node.prev = prev, prev = node, node;
606
+ };
607
+ for (push({ type: "bos" }); index < length; )
608
+ if (block = stack[stack.length - 1], value = advance(), !(value === CHAR_ZERO_WIDTH_NOBREAK_SPACE || value === CHAR_NO_BREAK_SPACE)) {
609
+ if (value === CHAR_BACKSLASH) {
610
+ push({ type: "text", value: (options.keepEscaping ? value : "") + advance() });
611
+ continue;
612
+ }
613
+ if (value === CHAR_RIGHT_SQUARE_BRACKET) {
614
+ push({ type: "text", value: "\\" + value });
615
+ continue;
616
+ }
617
+ if (value === CHAR_LEFT_SQUARE_BRACKET) {
618
+ brackets++;
619
+ let closed = !0, next;
620
+ for (; index < length && (next = advance()); ) {
621
+ if (value += next, next === CHAR_LEFT_SQUARE_BRACKET) {
622
+ brackets++;
623
+ continue;
624
+ }
625
+ if (next === CHAR_BACKSLASH) {
626
+ value += advance();
627
+ continue;
628
+ }
629
+ if (next === CHAR_RIGHT_SQUARE_BRACKET && (brackets--, brackets === 0))
630
+ break;
631
+ }
632
+ push({ type: "text", value });
633
+ continue;
634
+ }
635
+ if (value === CHAR_LEFT_PARENTHESES) {
636
+ block = push({ type: "paren", nodes: [] }), stack.push(block), push({ type: "text", value });
637
+ continue;
638
+ }
639
+ if (value === CHAR_RIGHT_PARENTHESES) {
640
+ if (block.type !== "paren") {
641
+ push({ type: "text", value });
642
+ continue;
643
+ }
644
+ block = stack.pop(), push({ type: "text", value }), block = stack[stack.length - 1];
645
+ continue;
646
+ }
647
+ if (value === CHAR_DOUBLE_QUOTE || value === CHAR_SINGLE_QUOTE || value === CHAR_BACKTICK) {
648
+ let open = value, next;
649
+ for (options.keepQuotes !== !0 && (value = ""); index < length && (next = advance()); ) {
650
+ if (next === CHAR_BACKSLASH) {
651
+ value += next + advance();
652
+ continue;
653
+ }
654
+ if (next === open) {
655
+ options.keepQuotes === !0 && (value += next);
656
+ break;
657
+ }
658
+ value += next;
659
+ }
660
+ push({ type: "text", value });
661
+ continue;
662
+ }
663
+ if (value === CHAR_LEFT_CURLY_BRACE) {
664
+ depth++;
665
+ let brace = {
666
+ type: "brace",
667
+ open: !0,
668
+ close: !1,
669
+ dollar: prev.value && prev.value.slice(-1) === "$" || block.dollar === !0,
670
+ depth,
671
+ commas: 0,
672
+ ranges: 0,
673
+ nodes: []
674
+ };
675
+ block = push(brace), stack.push(block), push({ type: "open", value });
676
+ continue;
677
+ }
678
+ if (value === CHAR_RIGHT_CURLY_BRACE) {
679
+ if (block.type !== "brace") {
680
+ push({ type: "text", value });
681
+ continue;
682
+ }
683
+ let type = "close";
684
+ block = stack.pop(), block.close = !0, push({ type, value }), depth--, block = stack[stack.length - 1];
685
+ continue;
686
+ }
687
+ if (value === CHAR_COMMA && depth > 0) {
688
+ if (block.ranges > 0) {
689
+ block.ranges = 0;
690
+ let open = block.nodes.shift();
691
+ block.nodes = [open, { type: "text", value: stringify(block) }];
692
+ }
693
+ push({ type: "comma", value }), block.commas++;
694
+ continue;
695
+ }
696
+ if (value === CHAR_DOT && depth > 0 && block.commas === 0) {
697
+ let siblings = block.nodes;
698
+ if (depth === 0 || siblings.length === 0) {
699
+ push({ type: "text", value });
700
+ continue;
701
+ }
702
+ if (prev.type === "dot") {
703
+ if (block.range = [], prev.value += value, prev.type = "range", block.nodes.length !== 3 && block.nodes.length !== 5) {
704
+ block.invalid = !0, block.ranges = 0, prev.type = "text";
705
+ continue;
706
+ }
707
+ block.ranges++, block.args = [];
708
+ continue;
709
+ }
710
+ if (prev.type === "range") {
711
+ siblings.pop();
712
+ let before = siblings[siblings.length - 1];
713
+ before.value += prev.value + value, prev = before, block.ranges--;
714
+ continue;
715
+ }
716
+ push({ type: "dot", value });
717
+ continue;
718
+ }
719
+ push({ type: "text", value });
720
+ }
721
+ do
722
+ if (block = stack.pop(), block.type !== "root") {
723
+ block.nodes.forEach((node) => {
724
+ node.nodes || (node.type === "open" && (node.isOpen = !0), node.type === "close" && (node.isClose = !0), node.nodes || (node.type = "text"), node.invalid = !0);
725
+ });
726
+ let parent = stack[stack.length - 1], index2 = parent.nodes.indexOf(block);
727
+ parent.nodes.splice(index2, 1, ...block.nodes);
728
+ }
729
+ while (stack.length > 0);
730
+ return push({ type: "eos" }), ast;
731
+ };
732
+ module.exports = parse;
733
+ }
734
+ });
735
+
736
+ // ../../node_modules/.pnpm/braces@3.0.2/node_modules/braces/index.js
737
+ var require_braces = __commonJS({
738
+ "../../node_modules/.pnpm/braces@3.0.2/node_modules/braces/index.js"(exports, module) {
739
+ "use strict";
740
+ init_cjs_shims();
741
+ var stringify = require_stringify(), compile = require_compile(), expand = require_expand(), parse = require_parse(), braces = (input, options = {}) => {
742
+ let output = [];
743
+ if (Array.isArray(input))
744
+ for (let pattern of input) {
745
+ let result = braces.create(pattern, options);
746
+ Array.isArray(result) ? output.push(...result) : output.push(result);
747
+ }
748
+ else
749
+ output = [].concat(braces.create(input, options));
750
+ return options && options.expand === !0 && options.nodupes === !0 && (output = [...new Set(output)]), output;
751
+ };
752
+ braces.parse = (input, options = {}) => parse(input, options);
753
+ braces.stringify = (input, options = {}) => stringify(typeof input == "string" ? braces.parse(input, options) : input, options);
754
+ braces.compile = (input, options = {}) => (typeof input == "string" && (input = braces.parse(input, options)), compile(input, options));
755
+ braces.expand = (input, options = {}) => {
756
+ typeof input == "string" && (input = braces.parse(input, options));
757
+ let result = expand(input, options);
758
+ return options.noempty === !0 && (result = result.filter(Boolean)), options.nodupes === !0 && (result = [...new Set(result)]), result;
759
+ };
760
+ braces.create = (input, options = {}) => input === "" || input.length < 3 ? [input] : options.expand !== !0 ? braces.compile(input, options) : braces.expand(input, options);
761
+ module.exports = braces;
762
+ }
763
+ });
764
+
212
765
  // ../../node_modules/.pnpm/binary-extensions@2.3.0/node_modules/binary-extensions/binary-extensions.json
213
766
  var require_binary_extensions = __commonJS({
214
767
  "../../node_modules/.pnpm/binary-extensions@2.3.0/node_modules/binary-extensions/binary-extensions.json"(exports, module) {
@@ -497,7 +1050,7 @@ var require_is_binary_path = __commonJS({
497
1050
  });
498
1051
 
499
1052
  // ../../node_modules/.pnpm/chokidar@3.5.3/node_modules/chokidar/lib/constants.js
500
- var require_constants = __commonJS({
1053
+ var require_constants2 = __commonJS({
501
1054
  "../../node_modules/.pnpm/chokidar@3.5.3/node_modules/chokidar/lib/constants.js"(exports) {
502
1055
  "use strict";
503
1056
  init_cjs_shims();
@@ -580,7 +1133,7 @@ var require_nodefs_handler = __commonJS({
580
1133
  STR_END,
581
1134
  BRACE_START,
582
1135
  STAR
583
- } = require_constants(), THROTTLE_MODE_WATCH = "watch", open = promisify(fs.open), stat = promisify(fs.stat), lstat = promisify(fs.lstat), close = promisify(fs.close), fsrealpath = promisify(fs.realpath), statMethods = { lstat, stat }, foreach = (val, fn) => {
1136
+ } = require_constants2(), THROTTLE_MODE_WATCH = "watch", open = promisify(fs.open), stat = promisify(fs.stat), lstat = promisify(fs.lstat), close = promisify(fs.close), fsrealpath = promisify(fs.realpath), statMethods = { lstat, stat }, foreach = (val, fn) => {
584
1137
  val instanceof Set ? val.forEach(fn) : fn(val);
585
1138
  }, addAndConvert = (main, prop, item) => {
586
1139
  let container = main[prop];
@@ -914,7 +1467,7 @@ var require_fsevents_handler = __commonJS({
914
1467
  FUNCTION_TYPE,
915
1468
  EMPTY_FN,
916
1469
  IDENTITY_FN
917
- } = require_constants(), Depth = (value) => isNaN(value) ? {} : { depth: value }, stat = promisify(fs.stat), lstat = promisify(fs.lstat), realpath = promisify(fs.realpath), statMethods = { stat, lstat }, FSEventsWatchers = /* @__PURE__ */ new Map(), consolidateThreshhold = 10, wrongEventFlags = /* @__PURE__ */ new Set([
1470
+ } = require_constants2(), Depth = (value) => isNaN(value) ? {} : { depth: value }, stat = promisify(fs.stat), lstat = promisify(fs.lstat), realpath = promisify(fs.realpath), statMethods = { stat, lstat }, FSEventsWatchers = /* @__PURE__ */ new Map(), consolidateThreshhold = 10, wrongEventFlags = /* @__PURE__ */ new Set([
918
1471
  69888,
919
1472
  70400,
920
1473
  71424,
@@ -1205,7 +1758,7 @@ var require_chokidar = __commonJS({
1205
1758
  isWindows,
1206
1759
  isMacos,
1207
1760
  isIBMi
1208
- } = require_constants(), stat = promisify(fs.stat), readdir = promisify(fs.readdir), arrify = (value = []) => Array.isArray(value) ? value : [value], flatten = (list, result = []) => (list.forEach((item) => {
1761
+ } = require_constants2(), stat = promisify(fs.stat), readdir = promisify(fs.readdir), arrify = (value = []) => Array.isArray(value) ? value : [value], flatten = (list, result = []) => (list.forEach((item) => {
1209
1762
  Array.isArray(item) ? flatten(item, result) : result.push(item);
1210
1763
  }), result), unifyPaths = (paths_) => {
1211
1764
  let paths = flatten(arrify(paths_));
@@ -1628,4 +2181,14 @@ var require_chokidar = __commonJS({
1628
2181
  }
1629
2182
  });
1630
2183
  export default require_chokidar();
1631
- //# sourceMappingURL=chokidar-4TKDAB27.js.map
2184
+ /*! Bundled license information:
2185
+
2186
+ fill-range/index.js:
2187
+ (*!
2188
+ * fill-range <https://github.com/jonschlinkert/fill-range>
2189
+ *
2190
+ * Copyright (c) 2014-present, Jon Schlinkert.
2191
+ * Licensed under the MIT License.
2192
+ *)
2193
+ */
2194
+ //# sourceMappingURL=chokidar-OESTCX4H.js.map
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-O5K4AU7Q.js";
5
5
  import {
6
6
  require_balanced_match
7
- } from "./chunk-BG6FYFQK.js";
7
+ } from "./chunk-L7M22NDW.js";
8
8
  import {
9
9
  __commonJS,
10
10
  __require,
@@ -1463,4 +1463,4 @@ export {
1463
1463
  require_inflight,
1464
1464
  require_glob
1465
1465
  };
1466
- //# sourceMappingURL=chunk-C5I6OCGC.js.map
1466
+ //# sourceMappingURL=chunk-2A7GNM7F.js.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  packageManagerFromUserAgent
3
- } from "./chunk-CXVVOJV3.js";
3
+ } from "./chunk-UWDJJNDC.js";
4
4
  import {
5
5
  currentProcessIsGlobal,
6
6
  inferPackageManagerForGlobalCLI,
7
7
  outputContent,
8
8
  outputToken
9
- } from "./chunk-DJNRMCME.js";
9
+ } from "./chunk-NQUHO34K.js";
10
10
  import {
11
11
  init_cjs_shims
12
12
  } from "./chunk-POZ5MGPT.js";
@@ -24,4 +24,4 @@ function getOutputUpdateCLIReminder(version) {
24
24
  export {
25
25
  getOutputUpdateCLIReminder
26
26
  };
27
- //# sourceMappingURL=chunk-2MYV5AJ5.js.map
27
+ //# sourceMappingURL=chunk-7N2ECBWK.js.map