@shopify/cli 3.72.2 → 3.73.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 (149) hide show
  1. package/dist/assets/hydrogen/starter/CHANGELOG.md +814 -0
  2. package/dist/assets/hydrogen/starter/app/components/Aside.tsx +1 -1
  3. package/dist/assets/hydrogen/starter/app/components/PaginatedResourceSection.tsx +3 -4
  4. package/dist/assets/hydrogen/starter/app/components/ProductForm.tsx +113 -44
  5. package/dist/assets/hydrogen/starter/app/components/SearchResults.tsx +8 -3
  6. package/dist/assets/hydrogen/starter/app/components/SearchResultsPredictive.tsx +6 -5
  7. package/dist/assets/hydrogen/starter/app/lib/variants.ts +3 -3
  8. package/dist/assets/hydrogen/starter/app/routes/account_.logout.tsx +1 -1
  9. package/dist/assets/hydrogen/starter/app/routes/cart.tsx +9 -16
  10. package/dist/assets/hydrogen/starter/app/routes/collections.$handle.tsx +1 -10
  11. package/dist/assets/hydrogen/starter/app/routes/collections.all.tsx +1 -10
  12. package/dist/assets/hydrogen/starter/app/routes/products.$handle.tsx +50 -119
  13. package/dist/assets/hydrogen/starter/app/routes/search.tsx +42 -38
  14. package/dist/assets/hydrogen/starter/app/styles/app.css +25 -1
  15. package/dist/assets/hydrogen/starter/guides/predictiveSearch/predictiveSearch.md +23 -20
  16. package/dist/assets/hydrogen/starter/guides/search/search.md +27 -25
  17. package/dist/assets/hydrogen/starter/package.json +3 -3
  18. package/dist/assets/hydrogen/starter/storefrontapi.generated.d.ts +177 -194
  19. package/dist/assets/hydrogen/tailwind/tailwind.css +1 -1
  20. package/dist/{chokidar-OESTCX4H.js → chokidar-5LLC6S6D.js} +47 -90
  21. package/dist/{chunk-VSLR7ET4.js → chunk-25IMI7TH.js} +8 -46
  22. package/dist/{chunk-NCKQIOV4.js → chunk-3HBRMIPY.js} +28 -50
  23. package/dist/{chunk-NXHZX3WR.js → chunk-3UQTWISO.js} +9 -9
  24. package/dist/{chunk-GVNIHXMX.js → chunk-4SP4IRCQ.js} +38 -60
  25. package/dist/{chunk-QDPQB6WU.js → chunk-4UAFBJXJ.js} +5 -5
  26. package/dist/{chunk-L2J5VM7R.js → chunk-5YYJVU2L.js} +41 -68
  27. package/dist/{chunk-I6R52HNI.js → chunk-6NZVGPSV.js} +39 -68
  28. package/dist/{chunk-XVNW332R.js → chunk-75LV6AQS.js} +6 -10
  29. package/dist/{chunk-N2V4IFX3.js → chunk-7JQIHXLD.js} +3 -3
  30. package/dist/{chunk-2HGYYNE5.js → chunk-B5EXYCV3.js} +5 -9
  31. package/dist/{chunk-NB4NLOEJ.js → chunk-BUFIEXZ5.js} +11 -20
  32. package/dist/{chunk-522OB3EU.js → chunk-CFIKVUNW.js} +2 -2
  33. package/dist/{chunk-KYB6A4PE.js → chunk-CRHXI6PS.js} +13 -23
  34. package/dist/{chunk-SO2RZ6TZ.js → chunk-CXHISGHD.js} +5 -5
  35. package/dist/{chunk-2YCRDHPC.js → chunk-DZHO64DX.js} +4 -4
  36. package/dist/{chunk-KGKTCQ7H.js → chunk-EKIVYQZC.js} +5 -5
  37. package/dist/{chunk-NUP5TATA.js → chunk-EZQWZ57B.js} +2 -2
  38. package/dist/{chunk-UBB7JKND.js → chunk-G2ZZKGSV.js} +2 -2
  39. package/dist/{chunk-CBBS4CV7.js → chunk-G5R6YD27.js} +8 -13
  40. package/dist/{chunk-ECWFBV2F.js → chunk-GLYEBL66.js} +5 -5
  41. package/dist/{chunk-E37RRDIH.js → chunk-HIQDOFZI.js} +4 -4
  42. package/dist/{chunk-HYGCZ6GV.js → chunk-HYVCBINV.js} +68 -49
  43. package/dist/{chunk-ZESD7DR7.js → chunk-I72O5WWR.js} +67 -104
  44. package/dist/{chunk-OXKHBIW7.js → chunk-IG5SOACB.js} +29 -34
  45. package/dist/{chunk-OWLPHMUA.js → chunk-J673ZU5S.js} +4 -4
  46. package/dist/{chunk-K6Y4FYT5.js → chunk-K7HGDAI4.js} +17 -20
  47. package/dist/{chunk-UIRMJZRW.js → chunk-KD7WMX4J.js} +4 -4
  48. package/dist/{chunk-BYPQXSAL.js → chunk-KUM3DVPF.js} +17 -13
  49. package/dist/{chunk-6IUL3QZW.js → chunk-LPBV67AA.js} +4 -4
  50. package/dist/{chunk-WNDN5FAY.js → chunk-MHUINF7I.js} +3 -3
  51. package/dist/{chunk-JDM5VOXB.js → chunk-MJWFXPPX.js} +3 -3
  52. package/dist/{chunk-NE43V3EI.js → chunk-MLL3JKVY.js} +6 -7
  53. package/dist/{chunk-QXIIXX7G.js → chunk-NHV2E73I.js} +16518 -24140
  54. package/dist/{chunk-HMUOOT55.js → chunk-NQZUE7SY.js} +6 -6
  55. package/dist/{chunk-PQQTBTYM.js → chunk-O72ZUVEA.js} +4 -5
  56. package/dist/{chunk-SNOECVP4.js → chunk-OAZFIMJ3.js} +2 -2
  57. package/dist/{chunk-UIAIRQSP.js → chunk-OFYEMT6X.js} +3 -3
  58. package/dist/{chunk-4HTVLK2H.js → chunk-OXS42VB7.js} +1402 -1989
  59. package/dist/{chunk-TAKO7LSJ.js → chunk-P63UVLRS.js} +7 -7
  60. package/dist/{chunk-GKEFW755.js → chunk-PBDGN4T2.js} +6 -6
  61. package/dist/{chunk-POZ5MGPT.js → chunk-PKR7KJ6P.js} +2 -3
  62. package/dist/{chunk-PKJLXLTR.js → chunk-PVMQM44E.js} +5 -5
  63. package/dist/{chunk-KCI6QCAV.js → chunk-PWMEMGZN.js} +4 -4
  64. package/dist/{chunk-KMZ5JSGS.js → chunk-QIM24FVT.js} +3 -3
  65. package/dist/{chunk-VJ7TIVX7.js → chunk-RBLSG22M.js} +6 -7
  66. package/dist/{chunk-K7B4JJLF.js → chunk-RDZJQNFU.js} +4 -4
  67. package/dist/{chunk-YKUYPSCY.js → chunk-RZOW7U2N.js} +3 -3
  68. package/dist/{chunk-OJOHMVV7.js → chunk-SBPFWO4S.js} +294 -448
  69. package/dist/{chunk-O5K4AU7Q.js → chunk-SHWOPMLQ.js} +3 -4
  70. package/dist/{chunk-KWLJTNRE.js → chunk-SNXQ36U2.js} +4 -4
  71. package/dist/{chunk-KVEY52WG.js → chunk-TIXENOYB.js} +4 -4
  72. package/dist/{chunk-RCRRAFH7.js → chunk-X4N2QZOS.js} +3 -3
  73. package/dist/{chunk-VWNWE4HG.js → chunk-X5WKMCE4.js} +111 -84
  74. package/dist/{chunk-PMUQTGZJ.js → chunk-X7YTIMNN.js} +4 -6
  75. package/dist/{chunk-7Q3MMWAC.js → chunk-XE5EOEBL.js} +2 -2
  76. package/dist/{chunk-YXJHYEP7.js → chunk-YVXC5Q6R.js} +4 -4
  77. package/dist/{chunk-HSTSRNLJ.js → chunk-ZX3L2JKV.js} +64 -86
  78. package/dist/cli/commands/auth/logout.js +28 -28
  79. package/dist/cli/commands/auth/logout.test.js +30 -30
  80. package/dist/cli/commands/cache/clear.js +27 -27
  81. package/dist/cli/commands/debug/command-flags.js +27 -27
  82. package/dist/cli/commands/docs/generate.js +27 -27
  83. package/dist/cli/commands/docs/generate.test.js +28 -28
  84. package/dist/cli/commands/help.js +27 -27
  85. package/dist/cli/commands/kitchen-sink/async.js +28 -28
  86. package/dist/cli/commands/kitchen-sink/async.test.js +29 -29
  87. package/dist/cli/commands/kitchen-sink/index.js +30 -30
  88. package/dist/cli/commands/kitchen-sink/index.test.js +31 -31
  89. package/dist/cli/commands/kitchen-sink/prompts.js +28 -28
  90. package/dist/cli/commands/kitchen-sink/prompts.test.js +29 -29
  91. package/dist/cli/commands/kitchen-sink/static.js +28 -28
  92. package/dist/cli/commands/kitchen-sink/static.test.js +29 -29
  93. package/dist/cli/commands/notifications/generate.js +28 -28
  94. package/dist/cli/commands/notifications/list.js +28 -28
  95. package/dist/cli/commands/search.js +28 -28
  96. package/dist/cli/commands/upgrade.js +28 -28
  97. package/dist/cli/commands/upgrade.test.js +3 -3
  98. package/dist/cli/commands/version.js +28 -28
  99. package/dist/cli/commands/version.test.js +29 -29
  100. package/dist/cli/services/commands/notifications.js +21 -21
  101. package/dist/cli/services/commands/search.js +15 -15
  102. package/dist/cli/services/commands/search.test.js +16 -16
  103. package/dist/cli/services/commands/version.js +16 -16
  104. package/dist/cli/services/commands/version.test.js +18 -18
  105. package/dist/cli/services/kitchen-sink/async.js +15 -15
  106. package/dist/cli/services/kitchen-sink/prompts.js +15 -15
  107. package/dist/cli/services/kitchen-sink/static.js +15 -15
  108. package/dist/cli/services/upgrade.js +17 -17
  109. package/dist/cli/services/upgrade.test.js +20 -20
  110. package/dist/configs/all.yml +12 -0
  111. package/dist/configs/recommended.yml +15 -0
  112. package/dist/configs/theme-app-extension.yml +3 -0
  113. package/dist/{custom-oclif-loader-G2DAJL7B.js → custom-oclif-loader-L4JT3EUD.js} +15 -15
  114. package/dist/data/latest.json +1 -1
  115. package/dist/data/manifest_theme.json +1 -0
  116. package/dist/data/preset.json +66 -0
  117. package/dist/data/preset_blocks.json +20 -13
  118. package/dist/data/section.json +1 -15
  119. package/dist/data/setting.json +1 -1
  120. package/dist/data/theme_block.json +1 -15
  121. package/dist/{del-K5ZJEWTD.js → del-P2RS6GN2.js} +9 -9
  122. package/dist/{devtools-KYKGATNX.js → devtools-K7FXBBFZ.js} +3 -3
  123. package/dist/error-handler-4CU3ZOV7.js +38 -0
  124. package/dist/hooks/postrun.js +22 -22
  125. package/dist/hooks/prerun.js +22 -22
  126. package/dist/{http-proxy-GGTVQ6CU.js → http-proxy-FXWKYHZ3.js} +14 -24
  127. package/dist/index.js +7234 -7320
  128. package/dist/lib-JVEIEXYB.js +6 -0
  129. package/dist/lib-QZGSY5YB.js +13 -0
  130. package/dist/{local-Q5ZG2NHX.js → local-2K66O4X2.js} +15 -15
  131. package/dist/{magic-string.es-3RXPUXZF.js → magic-string.es-PJMYOE6F.js} +49 -96
  132. package/dist/{morph-SEECJQ2W.js → morph-OSHCID2F.js} +261 -347
  133. package/dist/{multipart-parser-QKUAJJP5.js → multipart-parser-WSNBP656.js} +8 -7
  134. package/dist/{node-S6CM3NTX.js → node-342GUJIM.js} +31 -31
  135. package/dist/{node-package-manager-GUY5IO3W.js → node-package-manager-RJSBCFD7.js} +19 -17
  136. package/dist/{npa-RLWNZ3BM.js → npa-TM76BGG3.js} +10 -16
  137. package/dist/{open-MZGVNFZO.js → open-BHIF7E3E.js} +3 -3
  138. package/dist/out-JR4DWQ2G.js +7 -0
  139. package/dist/{path-NDLRQPLA.js → path-2HZUSAGR.js} +3 -3
  140. package/dist/{source-map-7AAPWPHZ.js → source-map-QCVC46UY.js} +2 -2
  141. package/dist/tsconfig.tsbuildinfo +1 -1
  142. package/dist/{ui-AWSBLSD4.js → ui-YBLW4B72.js} +15 -15
  143. package/dist/{workerd-3HGLHQET.js → workerd-5KR5CP5F.js} +30 -30
  144. package/oclif.manifest.json +81 -1
  145. package/package.json +8 -8
  146. package/dist/error-handler-6HCFKLTC.js +0 -38
  147. package/dist/lib-PPXZBVZX.js +0 -6
  148. package/dist/lib-XYCLX35G.js +0 -13
  149. package/dist/out-MHEKZJWS.js +0 -7
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  require_semver
3
- } from "./chunk-BYPQXSAL.js";
3
+ } from "./chunk-KUM3DVPF.js";
4
4
  import {
5
5
  AbortController,
6
6
  AbortError,
@@ -21,18 +21,18 @@ import {
21
21
  require_get_stream,
22
22
  runWithTimer,
23
23
  writeFile
24
- } from "./chunk-4HTVLK2H.js";
24
+ } from "./chunk-OXS42VB7.js";
25
25
  import {
26
26
  dirname,
27
27
  joinPath
28
- } from "./chunk-K6Y4FYT5.js";
28
+ } from "./chunk-K7HGDAI4.js";
29
29
  import {
30
30
  __commonJS,
31
31
  __export,
32
32
  __require,
33
33
  __toESM,
34
34
  init_cjs_shims
35
- } from "./chunk-POZ5MGPT.js";
35
+ } from "./chunk-PKR7KJ6P.js";
36
36
 
37
37
  // ../../node_modules/.pnpm/ajv@8.13.0/node_modules/ajv/dist/compile/codegen/code.js
38
38
  var require_code = __commonJS({
@@ -1363,8 +1363,7 @@ var require_defaults = __commonJS({
1363
1363
  if (ty === "object" && properties)
1364
1364
  for (let key in properties)
1365
1365
  assignDefault(it, key, properties[key].default);
1366
- else
1367
- ty === "array" && Array.isArray(items) && items.forEach((sch, i) => assignDefault(it, i, sch.default));
1366
+ else ty === "array" && Array.isArray(items) && items.forEach((sch, i) => assignDefault(it, i, sch.default));
1368
1367
  }
1369
1368
  exports.assignDefaults = assignDefaults;
1370
1369
  function assignDefault(it, prop, defaultValue) {
@@ -1657,35 +1656,25 @@ var require_fast_deep_equal = __commonJS({
1657
1656
  "use strict";
1658
1657
  init_cjs_shims();
1659
1658
  module.exports = function equal(a, b) {
1660
- if (a === b)
1661
- return !0;
1659
+ if (a === b) return !0;
1662
1660
  if (a && b && typeof a == "object" && typeof b == "object") {
1663
- if (a.constructor !== b.constructor)
1664
- return !1;
1661
+ if (a.constructor !== b.constructor) return !1;
1665
1662
  var length, i, keys;
1666
1663
  if (Array.isArray(a)) {
1667
- if (length = a.length, length != b.length)
1668
- return !1;
1664
+ if (length = a.length, length != b.length) return !1;
1669
1665
  for (i = length; i-- !== 0; )
1670
- if (!equal(a[i], b[i]))
1671
- return !1;
1666
+ if (!equal(a[i], b[i])) return !1;
1672
1667
  return !0;
1673
1668
  }
1674
- if (a.constructor === RegExp)
1675
- return a.source === b.source && a.flags === b.flags;
1676
- if (a.valueOf !== Object.prototype.valueOf)
1677
- return a.valueOf() === b.valueOf();
1678
- if (a.toString !== Object.prototype.toString)
1679
- return a.toString() === b.toString();
1680
- if (keys = Object.keys(a), length = keys.length, length !== Object.keys(b).length)
1681
- return !1;
1669
+ if (a.constructor === RegExp) return a.source === b.source && a.flags === b.flags;
1670
+ if (a.valueOf !== Object.prototype.valueOf) return a.valueOf() === b.valueOf();
1671
+ if (a.toString !== Object.prototype.toString) return a.toString() === b.toString();
1672
+ if (keys = Object.keys(a), length = keys.length, length !== Object.keys(b).length) return !1;
1682
1673
  for (i = length; i-- !== 0; )
1683
- if (!Object.prototype.hasOwnProperty.call(b, keys[i]))
1684
- return !1;
1674
+ if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return !1;
1685
1675
  for (i = length; i-- !== 0; ) {
1686
1676
  var key = keys[i];
1687
- if (!equal(a[key], b[key]))
1688
- return !1;
1677
+ if (!equal(a[key], b[key])) return !1;
1689
1678
  }
1690
1679
  return !0;
1691
1680
  }
@@ -1763,8 +1752,7 @@ var require_json_schema_traverse = __commonJS({
1763
1752
  if (sch && typeof sch == "object")
1764
1753
  for (var prop in sch)
1765
1754
  _traverse(opts, pre, post, sch[prop], jsonPtr + "/" + key + "/" + escapeJsonPtr(prop), rootSchema, jsonPtr, key, schema, prop);
1766
- } else
1767
- (key in traverse.keywords || opts.allKeys && !(key in traverse.skipKeywords)) && _traverse(opts, pre, post, sch, jsonPtr + "/" + key, rootSchema, jsonPtr, key, schema);
1755
+ } else (key in traverse.keywords || opts.allKeys && !(key in traverse.skipKeywords)) && _traverse(opts, pre, post, sch, jsonPtr + "/" + key, rootSchema, jsonPtr, key, schema);
1768
1756
  }
1769
1757
  post(schema, jsonPtr, rootSchema, parentJsonPtr, parentKeyword, parentSchema, keyIndex);
1770
1758
  }
@@ -2481,8 +2469,7 @@ var require_uri_all = __commonJS({
2481
2469
  try {
2482
2470
  !_n && _i.return && _i.return();
2483
2471
  } finally {
2484
- if (_d)
2485
- throw _e;
2472
+ if (_d) throw _e;
2486
2473
  }
2487
2474
  }
2488
2475
  return _arr;
@@ -2496,8 +2483,7 @@ var require_uri_all = __commonJS({
2496
2483
  };
2497
2484
  }(), toConsumableArray = function(arr) {
2498
2485
  if (Array.isArray(arr)) {
2499
- for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++)
2500
- arr2[i] = arr[i];
2486
+ for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) arr2[i] = arr[i];
2501
2487
  return arr2;
2502
2488
  } else
2503
2489
  return Array.from(arr);
@@ -4283,8 +4269,7 @@ var require_additionalProperties = __commonJS({
4283
4269
  if (props.length > 8) {
4284
4270
  let propsSchema = (0, util_1.schemaRefOrVal)(it, parentSchema.properties, "properties");
4285
4271
  definedProp = (0, code_1.isOwnProperty)(gen, propsSchema, key);
4286
- } else
4287
- props.length ? definedProp = (0, codegen_1.or)(...props.map((p) => (0, codegen_1._)`${key} === ${p}`)) : definedProp = codegen_1.nil;
4272
+ } else props.length ? definedProp = (0, codegen_1.or)(...props.map((p) => (0, codegen_1._)`${key} === ${p}`)) : definedProp = codegen_1.nil;
4288
4273
  return patProps.length && (definedProp = (0, codegen_1.or)(definedProp, ...patProps.map((p) => (0, codegen_1._)`${(0, code_1.usePattern)(cxt, p)}.test(${key})`))), (0, codegen_1.not)(definedProp);
4289
4274
  }
4290
4275
  function deleteAdditional(key) {
@@ -4545,8 +4530,7 @@ var require_if = __commonJS({
4545
4530
  if (validateIf(), cxt.reset(), hasThen && hasElse) {
4546
4531
  let ifClause = gen.let("ifClause");
4547
4532
  cxt.setParams({ ifClause }), gen.if(schValid, validateClause("then", ifClause), validateClause("else", ifClause));
4548
- } else
4549
- hasThen ? gen.if(schValid, validateClause("then")) : gen.if((0, codegen_1.not)(schValid), validateClause("else"));
4533
+ } else hasThen ? gen.if(schValid, validateClause("then")) : gen.if((0, codegen_1.not)(schValid), validateClause("else"));
4550
4534
  cxt.pass(valid, () => cxt.error(!0));
4551
4535
  function validateIf() {
4552
4536
  let schCxt = cxt.subschema({
@@ -5371,8 +5355,7 @@ var require_http_cache_semantics = __commonJS({
5371
5355
  }
5372
5356
  function parseCacheControl(header) {
5373
5357
  let cc = {};
5374
- if (!header)
5375
- return cc;
5358
+ if (!header) return cc;
5376
5359
  let parts = header.trim().split(/,/);
5377
5360
  for (let part of parts) {
5378
5361
  let [k, v] = part.split(/=/, 2);
@@ -5452,8 +5435,7 @@ var require_http_cache_semantics = __commonJS({
5452
5435
  return !1;
5453
5436
  let fields = this._resHeaders.vary.trim().toLowerCase().split(/\s*,\s*/);
5454
5437
  for (let name of fields)
5455
- if (req.headers[name] !== this._reqHeaders[name])
5456
- return !1;
5438
+ if (req.headers[name] !== this._reqHeaders[name]) return !1;
5457
5439
  return !0;
5458
5440
  }
5459
5441
  _copyWithoutHopByHopHeaders(inHeaders) {
@@ -5546,10 +5528,8 @@ var require_http_cache_semantics = __commonJS({
5546
5528
  return new this(void 0, void 0, { _fromObject: obj });
5547
5529
  }
5548
5530
  _fromObject(obj) {
5549
- if (this._responseTime)
5550
- throw Error("Reinitialized");
5551
- if (!obj || obj.v !== 1)
5552
- throw Error("Invalid serialization");
5531
+ if (this._responseTime) throw Error("Reinitialized");
5532
+ if (!obj || obj.v !== 1) throw Error("Invalid serialization");
5553
5533
  this._responseTime = obj.t, this._isShared = obj.sh, this._cacheHeuristic = obj.ch, this._immutableMinTtl = obj.imm !== void 0 ? obj.imm : 24 * 3600 * 1e3, this._status = obj.st, this._resHeaders = obj.resh, this._rescc = obj.rescc, this._method = obj.m, this._url = obj.u, this._host = obj.h, this._noAuthorization = obj.a, this._reqHeaders = obj.reqh, this._reqcc = obj.reqcc;
5554
5534
  }
5555
5535
  toObject() {
@@ -5587,8 +5567,7 @@ var require_http_cache_semantics = __commonJS({
5587
5567
  let etags = headers["if-none-match"].split(/,/).filter((etag) => !/^\s*W\//.test(etag));
5588
5568
  etags.length ? headers["if-none-match"] = etags.join(",").trim() : delete headers["if-none-match"];
5589
5569
  }
5590
- } else
5591
- this._resHeaders["last-modified"] && !headers["if-modified-since"] && (headers["if-modified-since"] = this._resHeaders["last-modified"]);
5570
+ } else this._resHeaders["last-modified"] && !headers["if-modified-since"] && (headers["if-modified-since"] = this._resHeaders["last-modified"]);
5592
5571
  return headers;
5593
5572
  }
5594
5573
  /**
@@ -5646,8 +5625,7 @@ var require_json_buffer = __commonJS({
5646
5625
  "../../node_modules/.pnpm/json-buffer@3.0.1/node_modules/json-buffer/index.js"(exports) {
5647
5626
  init_cjs_shims();
5648
5627
  exports.stringify = function stringify(o) {
5649
- if (typeof o > "u")
5650
- return o;
5628
+ if (typeof o > "u") return o;
5651
5629
  if (o && Buffer.isBuffer(o))
5652
5630
  return JSON.stringify(":base64:" + o.toString("base64"));
5653
5631
  if (o && o.toJSON && (o = o.toJSON()), o && typeof o == "object") {
@@ -5659,8 +5637,7 @@ var require_json_buffer = __commonJS({
5659
5637
  Object.hasOwnProperty.call(o, k) && !ignore && (first || (s += ","), first = !1, array ? o[k] == null ? s += "null" : s += stringify(o[k]) : o[k] !== void 0 && (s += stringify(k) + ":" + stringify(o[k])));
5660
5638
  }
5661
5639
  return s += array ? "]" : "}", s;
5662
- } else
5663
- return typeof o == "string" ? JSON.stringify(/^:/.test(o) ? ":" + o : o) : typeof o > "u" ? "null" : JSON.stringify(o);
5640
+ } else return typeof o == "string" ? JSON.stringify(/^:/.test(o) ? ":" + o : o) : typeof o > "u" ? "null" : JSON.stringify(o);
5664
5641
  };
5665
5642
  exports.parse = function(s) {
5666
5643
  return JSON.parse(s, function(key, value) {
@@ -6911,8 +6888,7 @@ var require_auto = __commonJS({
6911
6888
  }
6912
6889
  if (isHttp2)
6913
6890
  return delayAsyncDestroy(new Http2ClientRequest(options, callback));
6914
- } else
6915
- agent && (options.agent = agent.http);
6891
+ } else agent && (options.agent = agent.http);
6916
6892
  return options.headers && (options.headers = { ...options.headers }, options.headers[":authority"] && (options.headers.host || (options.headers.host = options.headers[":authority"]), delete options.headers[":authority"]), delete options.headers[":method"], delete options.headers[":scheme"], delete options.headers[":path"]), delayAsyncDestroy(http3.request(options, callback));
6917
6893
  };
6918
6894
  module.exports.protocolCache = cache;
@@ -7750,8 +7726,7 @@ var require_polyfills = __commonJS({
7750
7726
  try {
7751
7727
  return orig.call(fs3, target, mode);
7752
7728
  } catch (er) {
7753
- if (!chownErOk(er))
7754
- throw er;
7729
+ if (!chownErOk(er)) throw er;
7755
7730
  }
7756
7731
  };
7757
7732
  }
@@ -7767,8 +7742,7 @@ var require_polyfills = __commonJS({
7767
7742
  try {
7768
7743
  return orig.call(fs3, target, uid, gid);
7769
7744
  } catch (er) {
7770
- if (!chownErOk(er))
7771
- throw er;
7745
+ if (!chownErOk(er)) throw er;
7772
7746
  }
7773
7747
  };
7774
7748
  }
@@ -7809,8 +7783,7 @@ var require_legacy_streams = __commonJS({
7809
7783
  WriteStream
7810
7784
  };
7811
7785
  function ReadStream(path4, options) {
7812
- if (!(this instanceof ReadStream))
7813
- return new ReadStream(path4, options);
7786
+ if (!(this instanceof ReadStream)) return new ReadStream(path4, options);
7814
7787
  Stream.call(this);
7815
7788
  var self = this;
7816
7789
  this.path = path4, this.fd = null, this.readable = !0, this.paused = !1, this.flags = "r", this.mode = 438, this.bufferSize = 64 * 1024, options = options || {};
@@ -7844,8 +7817,7 @@ var require_legacy_streams = __commonJS({
7844
7817
  });
7845
7818
  }
7846
7819
  function WriteStream(path4, options) {
7847
- if (!(this instanceof WriteStream))
7848
- return new WriteStream(path4, options);
7820
+ if (!(this instanceof WriteStream)) return new WriteStream(path4, options);
7849
7821
  Stream.call(this), this.path = path4, this.fd = null, this.writable = !0, this.flags = "w", this.encoding = "binary", this.mode = 438, this.bytesWritten = 0, options = options || {};
7850
7822
  for (var keys = Object.keys(options), index = 0, length = keys.length; index < length; index++) {
7851
7823
  var key = keys[index];
@@ -8157,8 +8129,7 @@ var require_dist2 = __commonJS({
8157
8129
  } : function(o, m, k, k2) {
8158
8130
  k2 === void 0 && (k2 = k), o[k2] = m[k];
8159
8131
  }), __exportStar = exports && exports.__exportStar || function(m, exports2) {
8160
- for (var p in m)
8161
- p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p) && __createBinding(exports2, m, p);
8132
+ for (var p in m) p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p) && __createBinding(exports2, m, p);
8162
8133
  };
8163
8134
  Object.defineProperty(exports, "__esModule", { value: !0 });
8164
8135
  __exportStar(require_ca_file(), exports);
@@ -8195,8 +8166,7 @@ var require_proto_list = __commonJS({
8195
8166
  },
8196
8167
  get keys() {
8197
8168
  var k = [];
8198
- for (var i in this.list[0])
8199
- k.push(i);
8169
+ for (var i in this.list[0]) k.push(i);
8200
8170
  return k;
8201
8171
  },
8202
8172
  get snapshot() {
@@ -8227,8 +8197,7 @@ var require_proto_list = __commonJS({
8227
8197
  return this.length || this.push({}), save && this.list[0].hasOwnProperty(key) && this.push({}), this.list[0][key] = val;
8228
8198
  },
8229
8199
  forEach: function(fn, thisp) {
8230
- for (var key in this.list[0])
8231
- fn.call(thisp, key, this.list[0][key]);
8200
+ for (var key in this.list[0]) fn.call(thisp, key, this.list[0][key]);
8232
8201
  },
8233
8202
  slice: function() {
8234
8203
  return this.list.slice.apply(this.list, arguments);
@@ -8277,12 +8246,11 @@ var require_config_chain = __commonJS({
8277
8246
  return JSON.parse(content);
8278
8247
  else
8279
8248
  return ini.parse(content);
8280
- else
8281
- try {
8282
- return JSON.parse(content);
8283
- } catch {
8284
- return ini.parse(content);
8285
- }
8249
+ else try {
8250
+ return JSON.parse(content);
8251
+ } catch {
8252
+ return ini.parse(content);
8253
+ }
8286
8254
  }, json = exports.json = function() {
8287
8255
  var args = [].slice.call(arguments).filter(function(arg) {
8288
8256
  return arg != null;
@@ -8411,8 +8379,7 @@ var require_envKeyToSetting = __commonJS({
8411
8379
  return `${normalize(firstPart)}:${normalize(secondPart)}`;
8412
8380
  };
8413
8381
  function normalize(s) {
8414
- if (s = s.toLowerCase(), s === "_authtoken")
8415
- return "_authToken";
8382
+ if (s = s.toLowerCase(), s === "_authtoken") return "_authToken";
8416
8383
  let r = s[0];
8417
8384
  for (let i = 1; i < s.length; i++)
8418
8385
  r += s[i] === "_" ? "-" : s[i];
@@ -8484,6 +8451,7 @@ var require_util2 = __commonJS({
8484
8451
  if (isBool && !isString2 && field === "")
8485
8452
  return !0;
8486
8453
  switch (field) {
8454
+ // eslint-disable-line default-case
8487
8455
  case "true":
8488
8456
  return !0;
8489
8457
  case "false":
@@ -9049,6 +9017,7 @@ __export(node_package_manager_exports, {
9049
9017
  installNPMDependenciesRecursively: () => installNPMDependenciesRecursively,
9050
9018
  installNodeModules: () => installNodeModules,
9051
9019
  lockfiles: () => lockfiles,
9020
+ lockfilesByManager: () => lockfilesByManager,
9052
9021
  npmLockfile: () => npmLockfile,
9053
9022
  packageManager: () => packageManager,
9054
9023
  packageManagerFromUserAgent: () => packageManagerFromUserAgent,
@@ -9140,6 +9109,7 @@ function getPathSegments(path4) {
9140
9109
  }
9141
9110
  if (currentPart === "indexEnd")
9142
9111
  throw new Error("Invalid character after an index");
9112
+ // Falls through
9143
9113
  default:
9144
9114
  if (currentPart === "index" && !digits.has(character))
9145
9115
  throw new Error("Invalid character in an index");
@@ -9550,18 +9520,13 @@ var debounceFn = (inputFunction, options = {}) => {
9550
9520
 
9551
9521
  // ../../node_modules/.pnpm/conf@11.0.2/node_modules/conf/dist/source/index.js
9552
9522
  var import_semver = __toESM(require_semver(), 1), __classPrivateFieldSet = function(receiver, state, value, kind, f) {
9553
- if (kind === "m")
9554
- throw new TypeError("Private method is not writable");
9555
- if (kind === "a" && !f)
9556
- throw new TypeError("Private accessor was defined without a setter");
9557
- if (typeof state == "function" ? receiver !== state || !f : !state.has(receiver))
9558
- throw new TypeError("Cannot write private member to an object whose class did not declare it");
9523
+ if (kind === "m") throw new TypeError("Private method is not writable");
9524
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
9525
+ if (typeof state == "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
9559
9526
  return kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value), value;
9560
9527
  }, __classPrivateFieldGet = function(receiver, state, kind, f) {
9561
- if (kind === "a" && !f)
9562
- throw new TypeError("Private accessor was defined without a getter");
9563
- if (typeof state == "function" ? receiver !== state || !f : !state.has(receiver))
9564
- throw new TypeError("Cannot read private member from an object whose class did not declare it");
9528
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
9529
+ if (typeof state == "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
9565
9530
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
9566
9531
  }, _Conf_validator, _Conf_encryptionKey, _Conf_options, _Conf_defaultValues, Ajv = import_ajv.default.default, ajvFormats = import_ajv_formats.default.default, encryptionAlgorithm = "aes-256-cbc", createPlainObject = () => /* @__PURE__ */ Object.create(null), isExist = (data) => data != null, checkValueType = (key, value) => {
9567
9532
  let nonJsonTypes = /* @__PURE__ */ new Set([
@@ -10845,8 +10810,7 @@ var CacheableRequest = class {
10845
10810
  if (policy.satisfiesWithoutRevalidation(options_) && !options_.forceRefresh) {
10846
10811
  let headers = convertHeaders(policy.responseHeaders()), response = new Response({ statusCode: cacheEntry.statusCode, headers, body: cacheEntry.body, url: cacheEntry.url });
10847
10812
  response.cachePolicy = policy, response.fromCache = !0, ee.emit("response", response), typeof cb == "function" && cb(response);
10848
- } else
10849
- policy.satisfiesWithoutRevalidation(options_) && Date.now() >= policy.timeToLive() && options_.forceRefresh ? (await this.cache.delete(key), options_.headers = policy.revalidationHeaders(options_), makeRequest(options_)) : (revalidate = cacheEntry, options_.headers = policy.revalidationHeaders(options_), makeRequest(options_));
10813
+ } else policy.satisfiesWithoutRevalidation(options_) && Date.now() >= policy.timeToLive() && options_.forceRefresh ? (await this.cache.delete(key), options_.headers = policy.revalidationHeaders(options_), makeRequest(options_)) : (revalidate = cacheEntry, options_.headers = policy.revalidationHeaders(options_), makeRequest(options_));
10850
10814
  }, errorHandler = (error) => ee.emit("error", new CacheError2(error));
10851
10815
  if (this.cache instanceof import_keyv.default) {
10852
10816
  let cachek = this.cache;
@@ -10985,18 +10949,13 @@ var isFile = (value) => !!(value && typeof value == "object" && isFunction2(valu
10985
10949
 
10986
10950
  // ../../node_modules/.pnpm/form-data-encoder@2.1.4/node_modules/form-data-encoder/lib/FormDataEncoder.js
10987
10951
  var __classPrivateFieldSet2 = function(receiver, state, value, kind, f) {
10988
- if (kind === "m")
10989
- throw new TypeError("Private method is not writable");
10990
- if (kind === "a" && !f)
10991
- throw new TypeError("Private accessor was defined without a setter");
10992
- if (typeof state == "function" ? receiver !== state || !f : !state.has(receiver))
10993
- throw new TypeError("Cannot write private member to an object whose class did not declare it");
10952
+ if (kind === "m") throw new TypeError("Private method is not writable");
10953
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
10954
+ if (typeof state == "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
10994
10955
  return kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value), value;
10995
10956
  }, __classPrivateFieldGet2 = function(receiver, state, kind, f) {
10996
- if (kind === "a" && !f)
10997
- throw new TypeError("Private accessor was defined without a getter");
10998
- if (typeof state == "function" ? receiver !== state || !f : !state.has(receiver))
10999
- throw new TypeError("Cannot read private member from an object whose class did not declare it");
10957
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
10958
+ if (typeof state == "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
11000
10959
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
11001
10960
  }, _FormDataEncoder_instances, _FormDataEncoder_CRLF, _FormDataEncoder_CRLF_BYTES, _FormDataEncoder_CRLF_BYTES_LENGTH, _FormDataEncoder_DASHES, _FormDataEncoder_encoder, _FormDataEncoder_footer, _FormDataEncoder_form, _FormDataEncoder_options, _FormDataEncoder_getFieldHeader, _FormDataEncoder_getContentLength, defaultOptions = {
11002
10961
  enableAdditionalHeaders: !1
@@ -11351,8 +11310,7 @@ var { Resolver: AsyncResolver } = dnsPromises, kCacheableLookupCreateConnection
11351
11310
  if (options.family === 6) {
11352
11311
  let filtered = cached.filter((entry) => entry.family === 6);
11353
11312
  options.hints & V4MAPPED && (supportsALL && options.hints & ALL || filtered.length === 0) ? map4to6(cached) : cached = filtered;
11354
- } else
11355
- options.family === 4 && (cached = cached.filter((entry) => entry.family === 4));
11313
+ } else options.family === 4 && (cached = cached.filter((entry) => entry.family === 4));
11356
11314
  if (options.hints & ADDRCONFIG) {
11357
11315
  let { _iface } = this;
11358
11316
  cached = cached.filter((entry) => entry.family === 6 ? _iface.has6 : _iface.has4);
@@ -11745,8 +11703,7 @@ var globalCache = /* @__PURE__ */ new Map(), globalDnsCache, getGlobalDnsCache =
11745
11703
  this.url = options.url;
11746
11704
  else
11747
11705
  throw new TypeError("The `url` option is mutually exclusive with the `input` argument");
11748
- else
11749
- input !== void 0 && (this.url = input);
11706
+ else input !== void 0 && (this.url = input);
11750
11707
  }
11751
11708
  } catch (error) {
11752
11709
  throw error.options = this, error;
@@ -12123,8 +12080,7 @@ var globalCache = /* @__PURE__ */ new Map(), globalDnsCache, getGlobalDnsCache =
12123
12080
  searchParameters.delete(key);
12124
12081
  for (let [key, value2] of updated)
12125
12082
  searchParameters.append(key, value2);
12126
- } else
12127
- url ? url.search = searchParameters.toString() : this._internals.searchParams = searchParameters;
12083
+ } else url ? url.search = searchParameters.toString() : this._internals.searchParams = searchParameters;
12128
12084
  }
12129
12085
  get searchParameters() {
12130
12086
  throw new Error("The `searchParameters` option does not exist. Use `searchParams` instead.");
@@ -13675,7 +13631,13 @@ async function latestVersion(packageName, options) {
13675
13631
  }
13676
13632
 
13677
13633
  // ../cli-kit/dist/public/node/node-package-manager.js
13678
- var import_semver3 = __toESM(require_semver()), yarnLockfile = "yarn.lock", npmLockfile = "package-lock.json", pnpmLockfile = "pnpm-lock.yaml", bunLockfile = "bun.lockb", pnpmWorkspaceFile = "pnpm-workspace.yaml", lockfiles = [yarnLockfile, pnpmLockfile, npmLockfile, bunLockfile], packageManager = ["yarn", "npm", "pnpm", "bun", "unknown"], UnknownPackageManagerError = class extends AbortError {
13634
+ var import_semver3 = __toESM(require_semver()), yarnLockfile = "yarn.lock", npmLockfile = "package-lock.json", pnpmLockfile = "pnpm-lock.yaml", bunLockfile = "bun.lockb", pnpmWorkspaceFile = "pnpm-workspace.yaml", lockfiles = [yarnLockfile, pnpmLockfile, npmLockfile, bunLockfile], lockfilesByManager = {
13635
+ yarn: yarnLockfile,
13636
+ npm: npmLockfile,
13637
+ pnpm: pnpmLockfile,
13638
+ bun: bunLockfile,
13639
+ unknown: void 0
13640
+ }, packageManager = ["yarn", "npm", "pnpm", "bun", "unknown"], UnknownPackageManagerError = class extends AbortError {
13679
13641
  constructor() {
13680
13642
  super("Unknown package manager");
13681
13643
  }
@@ -13924,6 +13886,7 @@ export {
13924
13886
  bunLockfile,
13925
13887
  pnpmWorkspaceFile,
13926
13888
  lockfiles,
13889
+ lockfilesByManager,
13927
13890
  packageManager,
13928
13891
  UnknownPackageManagerError,
13929
13892
  PackageJsonNotFoundError,
@@ -13982,4 +13945,4 @@ deep-extend/lib/deep-extend.js:
13982
13945
  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
13983
13946
  *)
13984
13947
  */
13985
- //# sourceMappingURL=chunk-ZESD7DR7.js.map
13948
+ //# sourceMappingURL=chunk-I72O5WWR.js.map
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  require_once,
3
3
  require_wrappy
4
- } from "./chunk-O5K4AU7Q.js";
4
+ } from "./chunk-SHWOPMLQ.js";
5
5
  import {
6
6
  require_balanced_match
7
- } from "./chunk-7Q3MMWAC.js";
7
+ } from "./chunk-XE5EOEBL.js";
8
8
  import {
9
9
  __commonJS,
10
10
  __require,
11
11
  init_cjs_shims
12
- } from "./chunk-POZ5MGPT.js";
12
+ } from "./chunk-PKR7KJ6P.js";
13
13
 
14
14
  // ../../node_modules/.pnpm/fs.realpath@1.0.0/node_modules/fs.realpath/old.js
15
15
  var require_old = __commonJS({
@@ -88,8 +88,7 @@ var require_old = __commonJS({
88
88
  function start() {
89
89
  var m = splitRootRe.exec(p);
90
90
  pos = m[0].length, current = m[0], base = m[0], previous = "", isWindows && !knownHard[base] ? fs.lstat(base, function(err) {
91
- if (err)
92
- return cb(err);
91
+ if (err) return cb(err);
93
92
  knownHard[base] = !0, LOOP();
94
93
  }) : process.nextTick(LOOP);
95
94
  }
@@ -101,8 +100,7 @@ var require_old = __commonJS({
101
100
  return previous = current, current += result[0], base = previous + result[1], pos = nextPartRe.lastIndex, knownHard[base] || cache && cache[base] === base ? process.nextTick(LOOP) : cache && Object.prototype.hasOwnProperty.call(cache, base) ? gotResolvedLink(cache[base]) : fs.lstat(base, gotStat);
102
101
  }
103
102
  function gotStat(err, stat) {
104
- if (err)
105
- return cb(err);
103
+ if (err) return cb(err);
106
104
  if (!stat.isSymbolicLink())
107
105
  return knownHard[base] = !0, cache && (cache[base] = base), process.nextTick(LOOP);
108
106
  if (!isWindows) {
@@ -111,16 +109,14 @@ var require_old = __commonJS({
111
109
  return gotTarget(null, seenLinks[id], base);
112
110
  }
113
111
  fs.stat(base, function(err2) {
114
- if (err2)
115
- return cb(err2);
112
+ if (err2) return cb(err2);
116
113
  fs.readlink(base, function(err3, target) {
117
114
  isWindows || (seenLinks[id] = target), gotTarget(err3, target);
118
115
  });
119
116
  });
120
117
  }
121
118
  function gotTarget(err, target, base2) {
122
- if (err)
123
- return cb(err);
119
+ if (err) return cb(err);
124
120
  var resolvedLink = pathModule.resolve(previous, target);
125
121
  cache && (cache[base2] = resolvedLink), gotResolvedLink(resolvedLink);
126
122
  }
@@ -233,8 +229,7 @@ var require_brace_expansion = __commonJS({
233
229
  }
234
230
  function expand(str, isTop) {
235
231
  var expansions = [], m = balanced("{", "}", str);
236
- if (!m || /\$$/.test(m.pre))
237
- return [str];
232
+ if (!m || /\$$/.test(m.pre)) return [str];
238
233
  var isNumericSequence = /^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(m.body), isAlphaSequence = /^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(m.body), isSequence = isNumericSequence || isAlphaSequence, isOptions = m.body.indexOf(",") >= 0;
239
234
  if (!isSequence && !isOptions)
240
235
  return m.post.match(/,.*\}/) ? (str = m.pre + "{" + m.body + escClose + m.post, expand(str)) : [str];
@@ -413,8 +408,7 @@ var require_minimatch = __commonJS({
413
408
  pattern = "*";
414
409
  else
415
410
  return GLOBSTAR;
416
- if (pattern === "")
417
- return "";
411
+ if (pattern === "") return "";
418
412
  var re = "", hasMagic = !!options.nocase, escaping = !1, patternListStack = [], negativeLists = [], stateChar, inClass = !1, reClassStart = -1, classStart = -1, patternStart = pattern.charAt(0) === "." ? "" : options.dot ? "(?!(?:^|\\/)\\.{1,2}(?:$|\\/))" : "(?!\\.)", self = this;
419
413
  function clearStateChar() {
420
414
  if (stateChar) {
@@ -438,11 +432,14 @@ var require_minimatch = __commonJS({
438
432
  continue;
439
433
  }
440
434
  switch (c) {
435
+ /* istanbul ignore next */
441
436
  case "/":
442
437
  return !1;
443
438
  case "\\":
444
439
  clearStateChar(), escaping = !0;
445
440
  continue;
441
+ // the various stateChar values
442
+ // for the "extglob" stuff.
446
443
  case "?":
447
444
  case "*":
448
445
  case "+":
@@ -487,6 +484,7 @@ var require_minimatch = __commonJS({
487
484
  }
488
485
  clearStateChar(), re += "|";
489
486
  continue;
487
+ // these are mostly the same in regexp and glob
490
488
  case "[":
491
489
  if (clearStateChar(), inClass) {
492
490
  re += "\\" + c;
@@ -559,8 +557,7 @@ var require_minimatch = __commonJS({
559
557
  };
560
558
  Minimatch.prototype.makeRe = makeRe;
561
559
  function makeRe() {
562
- if (this.regexp || this.regexp === !1)
563
- return this.regexp;
560
+ if (this.regexp || this.regexp === !1) return this.regexp;
564
561
  var set = this.set;
565
562
  if (!set.length)
566
563
  return this.regexp = !1, this.regexp;
@@ -585,12 +582,9 @@ var require_minimatch = __commonJS({
585
582
  }), mm.options.nonull && !list.length && list.push(pattern), list;
586
583
  };
587
584
  Minimatch.prototype.match = function(f, partial) {
588
- if (typeof partial > "u" && (partial = this.partial), this.debug("match", f, this.pattern), this.comment)
589
- return !1;
590
- if (this.empty)
591
- return f === "";
592
- if (f === "/" && partial)
593
- return !0;
585
+ if (typeof partial > "u" && (partial = this.partial), this.debug("match", f, this.pattern), this.comment) return !1;
586
+ if (this.empty) return f === "";
587
+ if (f === "/" && partial) return !0;
594
588
  var options = this.options;
595
589
  path.sep !== "/" && (f = f.split(path.sep).join("/")), f = f.split(slashSplit), this.debug(this.pattern, "split", f);
596
590
  var set = this.set;
@@ -616,15 +610,13 @@ var require_minimatch = __commonJS({
616
610
  for (var fi = 0, pi = 0, fl = file.length, pl = pattern.length; fi < fl && pi < pl; fi++, pi++) {
617
611
  this.debug("matchOne loop");
618
612
  var p = pattern[pi], f = file[fi];
619
- if (this.debug(pattern, p, f), p === !1)
620
- return !1;
613
+ if (this.debug(pattern, p, f), p === !1) return !1;
621
614
  if (p === GLOBSTAR) {
622
615
  this.debug("GLOBSTAR", [pattern, p, f]);
623
616
  var fr = fi, pr = pi + 1;
624
617
  if (pr === pl) {
625
618
  for (this.debug("** at the end"); fi < fl; fi++)
626
- if (file[fi] === "." || file[fi] === ".." || !options.dot && file[fi].charAt(0) === ".")
627
- return !1;
619
+ if (file[fi] === "." || file[fi] === ".." || !options.dot && file[fi].charAt(0) === ".") return !1;
628
620
  return !0;
629
621
  }
630
622
  for (; fr < fl; ) {
@@ -642,8 +634,7 @@ globstar while`, file, fr, pattern, pr, swallowee), this.matchOne(file.slice(fr)
642
634
  >>> no match, partial?`, file, fr, pattern, pr), fr === fl));
643
635
  }
644
636
  var hit;
645
- if (typeof p == "string" ? (hit = f === p, this.debug("string match", p, f, hit)) : (hit = f.match(p), this.debug("pattern match", p, f, hit)), !hit)
646
- return !1;
637
+ if (typeof p == "string" ? (hit = f === p, this.debug("string match", p, f, hit)) : (hit = f.match(p), this.debug("pattern match", p, f, hit)), !hit) return !1;
647
638
  }
648
639
  if (fi === fl && pi === pl)
649
640
  return !0;
@@ -691,8 +682,7 @@ var require_inherits = __commonJS({
691
682
  "../../node_modules/.pnpm/inherits@2.0.4/node_modules/inherits/inherits.js"(exports, module) {
692
683
  init_cjs_shims();
693
684
  try {
694
- if (util = __require("util"), typeof util.inherits != "function")
695
- throw "";
685
+ if (util = __require("util"), typeof util.inherits != "function") throw "";
696
686
  module.exports = util.inherits;
697
687
  } catch {
698
688
  module.exports = require_inherits_browser();
@@ -871,6 +861,7 @@ See: https://github.com/isaacs/node-glob/issues/167`);
871
861
  n++;
872
862
  var prefix;
873
863
  switch (n) {
864
+ // if not, then this is rather simple
874
865
  case pattern.length:
875
866
  this._processSimple(pattern.join("/"), index);
876
867
  return;
@@ -973,6 +964,7 @@ See: https://github.com/isaacs/node-glob/issues/167`);
973
964
  GlobSync.prototype._readdirError = function(f, er) {
974
965
  switch (er.code) {
975
966
  case "ENOTSUP":
967
+ // https://github.com/isaacs/node-glob/issues/205
976
968
  case "ENOTDIR":
977
969
  var abs = this._makeAbs(f);
978
970
  if (this.cache[abs] = "FILE", abs === this.cwdAbs) {
@@ -981,6 +973,7 @@ See: https://github.com/isaacs/node-glob/issues/167`);
981
973
  }
982
974
  break;
983
975
  case "ENOENT":
976
+ // not terribly unusual
984
977
  case "ELOOP":
985
978
  case "ENAMETOOLONG":
986
979
  case "UNKNOWN":
@@ -1086,8 +1079,7 @@ var require_inflight = __commonJS({
1086
1079
  });
1087
1080
  }
1088
1081
  function slice(args) {
1089
- for (var length = args.length, array = [], i = 0; i < length; i++)
1090
- array[i] = args[i];
1082
+ for (var length = args.length, array = [], i = 0; i < length; i++) array[i] = args[i];
1091
1083
  return array;
1092
1084
  }
1093
1085
  }
@@ -1235,6 +1227,7 @@ var require_glob = __commonJS({
1235
1227
  n++;
1236
1228
  var prefix;
1237
1229
  switch (n) {
1230
+ // if not, then this is rather simple
1238
1231
  case pattern.length:
1239
1232
  this._processSimple(pattern.join("/"), index, cb);
1240
1233
  return;
@@ -1357,6 +1350,7 @@ var require_glob = __commonJS({
1357
1350
  if (!this.aborted) {
1358
1351
  switch (er.code) {
1359
1352
  case "ENOTSUP":
1353
+ // https://github.com/isaacs/node-glob/issues/205
1360
1354
  case "ENOTDIR":
1361
1355
  var abs = this._makeAbs(f);
1362
1356
  if (this.cache[abs] = "FILE", abs === this.cwdAbs) {
@@ -1365,6 +1359,7 @@ var require_glob = __commonJS({
1365
1359
  }
1366
1360
  break;
1367
1361
  case "ENOENT":
1362
+ // not terribly unusual
1368
1363
  case "ELOOP":
1369
1364
  case "ENAMETOOLONG":
1370
1365
  case "UNKNOWN":
@@ -1463,4 +1458,4 @@ export {
1463
1458
  require_inflight,
1464
1459
  require_glob
1465
1460
  };
1466
- //# sourceMappingURL=chunk-OXKHBIW7.js.map
1461
+ //# sourceMappingURL=chunk-IG5SOACB.js.map