@shopify/create-app 4.5.2 → 4.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/dist/{analytics-S4SMDD46.js → analytics-GP57RR6R.js} +14 -14
  2. package/dist/{analytics-FXDS645P.js → analytics-HXZNGNCN.js} +14 -14
  3. package/dist/{chokidar-JYHMNWDF.js → chokidar-OCE4HB5W.js} +2 -2
  4. package/dist/{chunk-B2ZXFZCY.js → chunk-3JSJSGAQ.js} +2 -2
  5. package/dist/{chunk-BONVUA65.js → chunk-BPIA4T3X.js} +3 -9
  6. package/dist/{chunk-XR7ELYLE.js → chunk-CMK3RV4O.js} +13 -5
  7. package/dist/{chunk-MSETDX6T.js → chunk-HNMF25KI.js} +9 -10
  8. package/dist/{chunk-GEEDJI25.js → chunk-JK6PBDEW.js} +16 -16
  9. package/dist/{chunk-KWG6VAVE.js → chunk-K5NLRHZR.js} +37 -28
  10. package/dist/{chunk-V2YWOBZ6.js → chunk-K5UHKI43.js} +9 -8
  11. package/dist/{chunk-MCW4ES3V.js → chunk-N7J64MYF.js} +10 -10
  12. package/dist/{chunk-GDVNJLIG.js → chunk-QK2IQEBY.js} +10 -15
  13. package/dist/{chunk-HABWQC37.js → chunk-SI4LHZYW.js} +167 -16
  14. package/dist/chunk-T446SGE5.js +21746 -0
  15. package/dist/{chunk-HISALD2J.js → chunk-TNZEM7JJ.js} +5 -5
  16. package/dist/{chunk-OE3FSIHW.js → chunk-UFLX7QDP.js} +2 -2
  17. package/dist/{chunk-TGBPX4PY.js → chunk-VLCFLRJB.js} +2 -2
  18. package/dist/{chunk-RJWAPUKM.js → chunk-ZGSDAUKG.js} +627 -21970
  19. package/dist/{chunk-KJGNF64X.js → chunk-ZLYYWQWW.js} +3 -3
  20. package/dist/{chunk-MRVSRQ5W.js → chunk-ZUKA5LQU.js} +13 -18
  21. package/dist/{conf-store-U47RHH7F.js → conf-store-ZYB6IGB7.js} +8 -8
  22. package/dist/{custom-oclif-loader-7BTLNXYR.js → custom-oclif-loader-MNCB3QFM.js} +2 -2
  23. package/dist/{deprecations-EXDNIO7X.js → deprecations-FOMUQSMA.js} +10 -10
  24. package/dist/environments-SWXYO6KQ.js +26 -0
  25. package/dist/{error-handler-NPN6TP4N.js → error-handler-PXVIL3GI.js} +14 -14
  26. package/dist/{fs-KQ7D45P4.js → fs-FVYWMVWY.js} +5 -5
  27. package/dist/hooks/postrun.js +6 -6
  28. package/dist/hooks/prerun.js +6 -6
  29. package/dist/index.js +6313 -8144
  30. package/dist/index.test.js +54 -45
  31. package/dist/{is-global-4TFBXA6F.js → is-global-QP5DA2PW.js} +5 -5
  32. package/dist/{latest-version-6X5NXQEO.js → latest-version-HW6YILV7.js} +20 -19
  33. package/dist/{lib-NKDE2QNY.js → lib-SEAHPNPA.js} +2 -2
  34. package/dist/{local-XEWL77WP.js → local-FQ2FNAKK.js} +2 -4
  35. package/dist/{metadata-5SJEO2RF.js → metadata-7RRKVERI.js} +3 -3
  36. package/dist/{node-package-manager-MI6ZJ7MA.js → node-package-manager-7MTYEDAO.js} +12 -12
  37. package/dist/{notifications-system-JPDTXFT5.js → notifications-system-GHCK5E2U.js} +15 -15
  38. package/dist/out-LBNH64BP.js +7 -0
  39. package/dist/{output-RCLOYTHC.js → output-7VC5AJM7.js} +5 -5
  40. package/dist/{system-4JFNY3SE.js → system-OTGPJVTA.js} +10 -10
  41. package/dist/tsconfig.tsbuildinfo +1 -1
  42. package/dist/{ui-KAGET7XQ.js → ui-3H6HVYPD.js} +10 -10
  43. package/dist/{upgrade-2XD477LW.js → upgrade-AYIRDOVJ.js} +16 -16
  44. package/dist/{version-4JYVUV7D.js → version-CCMJSEAI.js} +11 -11
  45. package/dist/{version-4U52DFWP.js → version-OHC3XUOI.js} +2 -2
  46. package/oclif.manifest.json +9 -1
  47. package/package.json +4 -4
  48. package/dist/chunk-UC7ROXAW.js +0 -264
  49. package/dist/environments-W7S7754G.js +0 -26
  50. package/dist/out-B5JNCU2S.js +0 -7
@@ -2,32 +2,32 @@ import {
2
2
  external_exports,
3
3
  fetch,
4
4
  jsonOutputEnabled
5
- } from "./chunk-RJWAPUKM.js";
5
+ } from "./chunk-ZGSDAUKG.js";
6
6
  import {
7
7
  versionSatisfies
8
- } from "./chunk-V2YWOBZ6.js";
8
+ } from "./chunk-K5UHKI43.js";
9
9
  import {
10
10
  CLI_KIT_VERSION
11
- } from "./chunk-TGBPX4PY.js";
11
+ } from "./chunk-VLCFLRJB.js";
12
12
  import {
13
13
  cacheRetrieve,
14
14
  cacheStore
15
- } from "./chunk-XR7ELYLE.js";
15
+ } from "./chunk-CMK3RV4O.js";
16
16
  import {
17
17
  exec,
18
18
  renderError,
19
19
  renderInfo,
20
20
  renderWarning
21
- } from "./chunk-MSETDX6T.js";
21
+ } from "./chunk-HNMF25KI.js";
22
22
  import {
23
23
  AbortSilentError
24
- } from "./chunk-UC7ROXAW.js";
24
+ } from "./chunk-T446SGE5.js";
25
25
  import {
26
26
  outputDebug
27
- } from "./chunk-MRVSRQ5W.js";
27
+ } from "./chunk-ZUKA5LQU.js";
28
28
  import {
29
29
  isTruthy
30
- } from "./chunk-BONVUA65.js";
30
+ } from "./chunk-BPIA4T3X.js";
31
31
  import {
32
32
  init_cjs_shims
33
33
  } from "./chunk-3XNI6LP4.js";
@@ -95,7 +95,7 @@ async function showNotificationsIfNeeded(currentSurfaces, environment = process.
95
95
  throw new AbortSilentError();
96
96
  let errorMessage = `Error showing notifications: ${error.message}`;
97
97
  outputDebug(errorMessage);
98
- let { sendErrorToBugsnag } = await import("./error-handler-NPN6TP4N.js");
98
+ let { sendErrorToBugsnag } = await import("./error-handler-PXVIL3GI.js");
99
99
  await sendErrorToBugsnag(errorMessage, "unexpected_error");
100
100
  }
101
101
  }
@@ -210,4 +210,4 @@ export {
210
210
  filterNotifications,
211
211
  stringifyFilters
212
212
  };
213
- //# sourceMappingURL=chunk-MCW4ES3V.js.map
213
+ //# sourceMappingURL=chunk-N7J64MYF.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  outputDebug
3
- } from "./chunk-MRVSRQ5W.js";
3
+ } from "./chunk-ZUKA5LQU.js";
4
4
  import {
5
5
  init_cjs_shims
6
6
  } from "./chunk-3XNI6LP4.js";
@@ -15,19 +15,17 @@ function treeKill(pid = process.pid, killSignal = "SIGTERM", killRoot = !0, call
15
15
  }
16
16
  function adaptedTreeKill(pid, killSignal, killRoot, callback) {
17
17
  let rootPid = typeof pid == "number" ? pid.toString() : pid;
18
- if (!/^\d+$/.test(rootPid))
19
- if (callback) {
20
- callback(new Error("pid must be a number"));
21
- return;
22
- } else
23
- throw new Error("pid must be a number");
18
+ if (!/^\d+$/.test(rootPid)) {
19
+ callback(new Error("pid must be a number"));
20
+ return;
21
+ }
24
22
  let tree = {};
25
23
  tree[rootPid] = [];
26
24
  let pidsToProcess = /* @__PURE__ */ new Set();
27
25
  switch (pidsToProcess.add(rootPid), process.platform) {
28
26
  case "win32": {
29
27
  spawn("taskkill", ["/pid", rootPid, "/T", "/F"]).on("close", (code) => {
30
- callback && (code === 0 ? callback() : callback(new Error(`taskkill exited with code ${code}`)));
28
+ code === 0 ? callback() : callback(new Error(`taskkill exited with code ${code}`));
31
29
  });
32
30
  break;
33
31
  }
@@ -56,13 +54,10 @@ function killAll(tree, killSignal, rootPid, killRoot, callback) {
56
54
  }), pid === rootPid && killRoot && !killed.has(pid) && (killPid(pid, killSignal), killed.add(pid));
57
55
  });
58
56
  } catch (err) {
59
- if (callback) {
60
- callback(err);
61
- return;
62
- } else
63
- throw err;
57
+ callback(err);
58
+ return;
64
59
  }
65
- callback && callback();
60
+ callback();
66
61
  }
67
62
  function killPid(pid, killSignal) {
68
63
  try {
@@ -101,4 +96,4 @@ function buildProcessTree(parentPid, tree, pidsToProcess, spawnChildProcessesLis
101
96
  export {
102
97
  treeKill
103
98
  };
104
- //# sourceMappingURL=chunk-GDVNJLIG.js.map
99
+ //# sourceMappingURL=chunk-QK2IQEBY.js.map
@@ -775,12 +775,12 @@ var require_braces = __commonJS({
775
775
  }
776
776
  });
777
777
 
778
- // ../../node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/constants.js
778
+ // ../../node_modules/.pnpm/picomatch@2.3.2/node_modules/picomatch/lib/constants.js
779
779
  var require_constants2 = __commonJS({
780
- "../../node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/constants.js"(exports, module) {
780
+ "../../node_modules/.pnpm/picomatch@2.3.2/node_modules/picomatch/lib/constants.js"(exports, module) {
781
781
  "use strict";
782
782
  init_cjs_shims();
783
- var path = __require("path"), WIN_SLASH = "\\\\/", WIN_NO_SLASH = `[^${WIN_SLASH}]`, DOT_LITERAL = "\\.", PLUS_LITERAL = "\\+", QMARK_LITERAL = "\\?", SLASH_LITERAL = "\\/", ONE_CHAR = "(?=.)", QMARK = "[^/]", END_ANCHOR = `(?:${SLASH_LITERAL}|$)`, START_ANCHOR = `(?:^|${SLASH_LITERAL})`, DOTS_SLASH = `${DOT_LITERAL}{1,2}${END_ANCHOR}`, NO_DOT = `(?!${DOT_LITERAL})`, NO_DOTS = `(?!${START_ANCHOR}${DOTS_SLASH})`, NO_DOT_SLASH = `(?!${DOT_LITERAL}{0,1}${END_ANCHOR})`, NO_DOTS_SLASH = `(?!${DOTS_SLASH})`, QMARK_NO_DOT = `[^.${SLASH_LITERAL}]`, STAR = `${QMARK}*?`, POSIX_CHARS = {
783
+ var path = __require("path"), WIN_SLASH = "\\\\/", WIN_NO_SLASH = `[^${WIN_SLASH}]`, DEFAULT_MAX_EXTGLOB_RECURSION = 0, DOT_LITERAL = "\\.", PLUS_LITERAL = "\\+", QMARK_LITERAL = "\\?", SLASH_LITERAL = "\\/", ONE_CHAR = "(?=.)", QMARK = "[^/]", END_ANCHOR = `(?:${SLASH_LITERAL}|$)`, START_ANCHOR = `(?:^|${SLASH_LITERAL})`, DOTS_SLASH = `${DOT_LITERAL}{1,2}${END_ANCHOR}`, NO_DOT = `(?!${DOT_LITERAL})`, NO_DOTS = `(?!${START_ANCHOR}${DOTS_SLASH})`, NO_DOT_SLASH = `(?!${DOT_LITERAL}{0,1}${END_ANCHOR})`, NO_DOTS_SLASH = `(?!${DOTS_SLASH})`, QMARK_NO_DOT = `[^.${SLASH_LITERAL}]`, STAR = `${QMARK}*?`, POSIX_CHARS = {
784
784
  DOT_LITERAL,
785
785
  PLUS_LITERAL,
786
786
  QMARK_LITERAL,
@@ -810,6 +810,7 @@ var require_constants2 = __commonJS({
810
810
  START_ANCHOR: `(?:^|[${WIN_SLASH}])`,
811
811
  END_ANCHOR: `(?:[${WIN_SLASH}]|$)`
812
812
  }, POSIX_REGEX_SOURCE = {
813
+ __proto__: null,
813
814
  alnum: "a-zA-Z0-9",
814
815
  alpha: "a-zA-Z",
815
816
  ascii: "\\x00-\\x7F",
@@ -826,6 +827,7 @@ var require_constants2 = __commonJS({
826
827
  xdigit: "A-Fa-f0-9"
827
828
  };
828
829
  module.exports = {
830
+ DEFAULT_MAX_EXTGLOB_RECURSION,
829
831
  MAX_LENGTH: 1024 * 64,
830
832
  POSIX_REGEX_SOURCE,
831
833
  // regular expressions
@@ -837,6 +839,7 @@ var require_constants2 = __commonJS({
837
839
  REGEX_REMOVE_BACKSLASH: /(?:\[.*?[^\\]\]|\\(?=.))/g,
838
840
  // Replace globs with equivalent patterns to reduce parsing time.
839
841
  REPLACEMENTS: {
842
+ __proto__: null,
840
843
  "***": "*",
841
844
  "**/**": "**",
842
845
  "**/**/**": "**"
@@ -953,9 +956,9 @@ var require_constants2 = __commonJS({
953
956
  }
954
957
  });
955
958
 
956
- // ../../node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/utils.js
959
+ // ../../node_modules/.pnpm/picomatch@2.3.2/node_modules/picomatch/lib/utils.js
957
960
  var require_utils2 = __commonJS({
958
- "../../node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/utils.js"(exports) {
961
+ "../../node_modules/.pnpm/picomatch@2.3.2/node_modules/picomatch/lib/utils.js"(exports) {
959
962
  "use strict";
960
963
  init_cjs_shims();
961
964
  var path = __require("path"), win32 = process.platform === "win32", {
@@ -990,9 +993,9 @@ var require_utils2 = __commonJS({
990
993
  }
991
994
  });
992
995
 
993
- // ../../node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/scan.js
996
+ // ../../node_modules/.pnpm/picomatch@2.3.2/node_modules/picomatch/lib/scan.js
994
997
  var require_scan = __commonJS({
995
- "../../node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/scan.js"(exports, module) {
998
+ "../../node_modules/.pnpm/picomatch@2.3.2/node_modules/picomatch/lib/scan.js"(exports, module) {
996
999
  "use strict";
997
1000
  init_cjs_shims();
998
1001
  var utils = require_utils2(), {
@@ -1177,9 +1180,9 @@ var require_scan = __commonJS({
1177
1180
  }
1178
1181
  });
1179
1182
 
1180
- // ../../node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/parse.js
1183
+ // ../../node_modules/.pnpm/picomatch@2.3.2/node_modules/picomatch/lib/parse.js
1181
1184
  var require_parse2 = __commonJS({
1182
- "../../node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/parse.js"(exports, module) {
1185
+ "../../node_modules/.pnpm/picomatch@2.3.2/node_modules/picomatch/lib/parse.js"(exports, module) {
1183
1186
  "use strict";
1184
1187
  init_cjs_shims();
1185
1188
  var constants = require_constants2(), utils = require_utils2(), {
@@ -1199,7 +1202,146 @@ var require_parse2 = __commonJS({
1199
1202
  return args.map((v) => utils.escapeRegex(v)).join("..");
1200
1203
  }
1201
1204
  return value;
1202
- }, syntaxError = (type, char) => `Missing ${type}: "${char}" - use "\\\\${char}" to match literal characters`, parse = (input, options) => {
1205
+ }, syntaxError = (type, char) => `Missing ${type}: "${char}" - use "\\\\${char}" to match literal characters`, splitTopLevel = (input) => {
1206
+ let parts = [], bracket = 0, paren = 0, quote = 0, value = "", escaped = !1;
1207
+ for (let ch of input) {
1208
+ if (escaped === !0) {
1209
+ value += ch, escaped = !1;
1210
+ continue;
1211
+ }
1212
+ if (ch === "\\") {
1213
+ value += ch, escaped = !0;
1214
+ continue;
1215
+ }
1216
+ if (ch === '"') {
1217
+ quote = quote === 1 ? 0 : 1, value += ch;
1218
+ continue;
1219
+ }
1220
+ if (quote === 0) {
1221
+ if (ch === "[")
1222
+ bracket++;
1223
+ else if (ch === "]" && bracket > 0)
1224
+ bracket--;
1225
+ else if (bracket === 0) {
1226
+ if (ch === "(")
1227
+ paren++;
1228
+ else if (ch === ")" && paren > 0)
1229
+ paren--;
1230
+ else if (ch === "|" && paren === 0) {
1231
+ parts.push(value), value = "";
1232
+ continue;
1233
+ }
1234
+ }
1235
+ }
1236
+ value += ch;
1237
+ }
1238
+ return parts.push(value), parts;
1239
+ }, isPlainBranch = (branch) => {
1240
+ let escaped = !1;
1241
+ for (let ch of branch) {
1242
+ if (escaped === !0) {
1243
+ escaped = !1;
1244
+ continue;
1245
+ }
1246
+ if (ch === "\\") {
1247
+ escaped = !0;
1248
+ continue;
1249
+ }
1250
+ if (/[?*+@!()[\]{}]/.test(ch))
1251
+ return !1;
1252
+ }
1253
+ return !0;
1254
+ }, normalizeSimpleBranch = (branch) => {
1255
+ let value = branch.trim(), changed = !0;
1256
+ for (; changed === !0; )
1257
+ changed = !1, /^@\([^\\()[\]{}|]+\)$/.test(value) && (value = value.slice(2, -1), changed = !0);
1258
+ if (isPlainBranch(value))
1259
+ return value.replace(/\\(.)/g, "$1");
1260
+ }, hasRepeatedCharPrefixOverlap = (branches) => {
1261
+ let values = branches.map(normalizeSimpleBranch).filter(Boolean);
1262
+ for (let i = 0; i < values.length; i++)
1263
+ for (let j = i + 1; j < values.length; j++) {
1264
+ let a = values[i], b = values[j], char = a[0];
1265
+ if (!(!char || a !== char.repeat(a.length) || b !== char.repeat(b.length)) && (a === b || a.startsWith(b) || b.startsWith(a)))
1266
+ return !0;
1267
+ }
1268
+ return !1;
1269
+ }, parseRepeatedExtglob = (pattern, requireEnd = !0) => {
1270
+ if (pattern[0] !== "+" && pattern[0] !== "*" || pattern[1] !== "(")
1271
+ return;
1272
+ let bracket = 0, paren = 0, quote = 0, escaped = !1;
1273
+ for (let i = 1; i < pattern.length; i++) {
1274
+ let ch = pattern[i];
1275
+ if (escaped === !0) {
1276
+ escaped = !1;
1277
+ continue;
1278
+ }
1279
+ if (ch === "\\") {
1280
+ escaped = !0;
1281
+ continue;
1282
+ }
1283
+ if (ch === '"') {
1284
+ quote = quote === 1 ? 0 : 1;
1285
+ continue;
1286
+ }
1287
+ if (quote !== 1) {
1288
+ if (ch === "[") {
1289
+ bracket++;
1290
+ continue;
1291
+ }
1292
+ if (ch === "]" && bracket > 0) {
1293
+ bracket--;
1294
+ continue;
1295
+ }
1296
+ if (!(bracket > 0)) {
1297
+ if (ch === "(") {
1298
+ paren++;
1299
+ continue;
1300
+ }
1301
+ if (ch === ")" && (paren--, paren === 0))
1302
+ return requireEnd === !0 && i !== pattern.length - 1 ? void 0 : {
1303
+ type: pattern[0],
1304
+ body: pattern.slice(2, i),
1305
+ end: i
1306
+ };
1307
+ }
1308
+ }
1309
+ }
1310
+ }, getStarExtglobSequenceOutput = (pattern) => {
1311
+ let index = 0, chars = [];
1312
+ for (; index < pattern.length; ) {
1313
+ let match = parseRepeatedExtglob(pattern.slice(index), !1);
1314
+ if (!match || match.type !== "*")
1315
+ return;
1316
+ let branches = splitTopLevel(match.body).map((branch2) => branch2.trim());
1317
+ if (branches.length !== 1)
1318
+ return;
1319
+ let branch = normalizeSimpleBranch(branches[0]);
1320
+ if (!branch || branch.length !== 1)
1321
+ return;
1322
+ chars.push(branch), index += match.end + 1;
1323
+ }
1324
+ return chars.length < 1 ? void 0 : `${chars.length === 1 ? utils.escapeRegex(chars[0]) : `[${chars.map((ch) => utils.escapeRegex(ch)).join("")}]`}*`;
1325
+ }, repeatedExtglobRecursion = (pattern) => {
1326
+ let depth = 0, value = pattern.trim(), match = parseRepeatedExtglob(value);
1327
+ for (; match; )
1328
+ depth++, value = match.body.trim(), match = parseRepeatedExtglob(value);
1329
+ return depth;
1330
+ }, analyzeRepeatedExtglob = (body, options) => {
1331
+ if (options.maxExtglobRecursion === !1)
1332
+ return { risky: !1 };
1333
+ let max = typeof options.maxExtglobRecursion == "number" ? options.maxExtglobRecursion : constants.DEFAULT_MAX_EXTGLOB_RECURSION, branches = splitTopLevel(body).map((branch) => branch.trim());
1334
+ if (branches.length > 1 && (branches.some((branch) => branch === "") || branches.some((branch) => /^[*?]+$/.test(branch)) || hasRepeatedCharPrefixOverlap(branches)))
1335
+ return { risky: !0 };
1336
+ for (let branch of branches) {
1337
+ let safeOutput = getStarExtglobSequenceOutput(branch);
1338
+ if (safeOutput)
1339
+ return { risky: !0, safeOutput };
1340
+ if (repeatedExtglobRecursion(branch) > max)
1341
+ return { risky: !0 };
1342
+ }
1343
+ return { risky: !1 };
1344
+ }, parse = (input, options) => {
1203
1345
  if (typeof input != "string")
1204
1346
  throw new TypeError("Expected a string");
1205
1347
  input = REPLACEMENTS[input] || input;
@@ -1264,10 +1406,19 @@ var require_parse2 = __commonJS({
1264
1406
  tok.prev = prev, tokens.push(tok), prev = tok;
1265
1407
  }, extglobOpen = (type, value2) => {
1266
1408
  let token = { ...EXTGLOB_CHARS[value2], conditions: 1, inner: "" };
1267
- token.prev = prev, token.parens = state.parens, token.output = state.output;
1409
+ token.prev = prev, token.parens = state.parens, token.output = state.output, token.startIndex = state.index, token.tokensIndex = tokens.length;
1268
1410
  let output = (opts.capture ? "(" : "") + token.open;
1269
1411
  increment("parens"), push({ type, value: value2, output: state.output ? "" : ONE_CHAR }), push({ type: "paren", extglob: !0, value: advance(), output }), extglobs.push(token);
1270
1412
  }, extglobClose = (token) => {
1413
+ let literal = input.slice(token.startIndex, state.index + 1), body = input.slice(token.startIndex + 2, state.index), analysis = analyzeRepeatedExtglob(body, opts);
1414
+ if ((token.type === "plus" || token.type === "star") && analysis.risky) {
1415
+ let safeOutput = analysis.safeOutput ? (token.output ? "" : ONE_CHAR) + (opts.capture ? `(${analysis.safeOutput})` : analysis.safeOutput) : void 0, open = tokens[token.tokensIndex];
1416
+ open.type = "text", open.value = literal, open.output = safeOutput || utils.escapeRegex(literal);
1417
+ for (let i = token.tokensIndex + 1; i < tokens.length; i++)
1418
+ tokens[i].value = "", tokens[i].output = "", delete tokens[i].suffix;
1419
+ state.output = token.output + open.output, state.backtrack = !0, push({ type: "paren", extglob: !0, value, output: "" }), decrement("parens");
1420
+ return;
1421
+ }
1271
1422
  let output = token.close + (opts.capture ? ")" : ""), rest;
1272
1423
  if (token.type === "negate") {
1273
1424
  let extglobStar = star;
@@ -1623,9 +1774,9 @@ var require_parse2 = __commonJS({
1623
1774
  }
1624
1775
  });
1625
1776
 
1626
- // ../../node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/picomatch.js
1777
+ // ../../node_modules/.pnpm/picomatch@2.3.2/node_modules/picomatch/lib/picomatch.js
1627
1778
  var require_picomatch = __commonJS({
1628
- "../../node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/picomatch.js"(exports, module) {
1779
+ "../../node_modules/.pnpm/picomatch@2.3.2/node_modules/picomatch/lib/picomatch.js"(exports, module) {
1629
1780
  "use strict";
1630
1781
  init_cjs_shims();
1631
1782
  var path = __require("path"), scan = require_scan(), parse = require_parse2(), utils = require_utils2(), constants = require_constants2(), isObject = (val) => val && typeof val == "object" && !Array.isArray(val), picomatch = (glob, options, returnState = !1) => {
@@ -1695,9 +1846,9 @@ var require_picomatch = __commonJS({
1695
1846
  }
1696
1847
  });
1697
1848
 
1698
- // ../../node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/index.js
1849
+ // ../../node_modules/.pnpm/picomatch@2.3.2/node_modules/picomatch/index.js
1699
1850
  var require_picomatch2 = __commonJS({
1700
- "../../node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/index.js"(exports, module) {
1851
+ "../../node_modules/.pnpm/picomatch@2.3.2/node_modules/picomatch/index.js"(exports, module) {
1701
1852
  "use strict";
1702
1853
  init_cjs_shims();
1703
1854
  module.exports = require_picomatch();
@@ -1753,4 +1904,4 @@ fill-range/index.js:
1753
1904
  * Licensed under the MIT License.
1754
1905
  *)
1755
1906
  */
1756
- //# sourceMappingURL=chunk-HABWQC37.js.map
1907
+ //# sourceMappingURL=chunk-SI4LHZYW.js.map