@shopify/create-app 3.72.2 → 3.73.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 (46) hide show
  1. package/dist/{chokidar-OESTCX4H.js → chokidar-5LLC6S6D.js} +47 -90
  2. package/dist/{chunk-VSLR7ET4.js → chunk-25IMI7TH.js} +8 -46
  3. package/dist/{chunk-44TM5IPK.js → chunk-2KUKSPXE.js} +38 -67
  4. package/dist/{chunk-NYQZZU5H.js → chunk-32ADIPRM.js} +1404 -1995
  5. package/dist/{chunk-NCKQIOV4.js → chunk-3HBRMIPY.js} +28 -50
  6. package/dist/{chunk-XVNW332R.js → chunk-75LV6AQS.js} +6 -10
  7. package/dist/{chunk-CQGOPQQH.js → chunk-BOBYVF6Z.js} +298 -457
  8. package/dist/{chunk-NB4NLOEJ.js → chunk-BUFIEXZ5.js} +11 -20
  9. package/dist/{chunk-522OB3EU.js → chunk-CFIKVUNW.js} +2 -2
  10. package/dist/{chunk-KYB6A4PE.js → chunk-CRHXI6PS.js} +13 -23
  11. package/dist/{chunk-76IKKNIT.js → chunk-ESJZHEJV.js} +172 -126
  12. package/dist/{chunk-6WYZ3SZB.js → chunk-EZFQXNK5.js} +3 -3
  13. package/dist/{chunk-7MR36YRL.js → chunk-FCVEYEXQ.js} +80 -114
  14. package/dist/{chunk-UBB7JKND.js → chunk-G2ZZKGSV.js} +2 -2
  15. package/dist/{chunk-SNOECVP4.js → chunk-OAZFIMJ3.js} +2 -2
  16. package/dist/{chunk-5QRI42QY.js → chunk-PGIQSURY.js} +39 -66
  17. package/dist/{chunk-POZ5MGPT.js → chunk-PKR7KJ6P.js} +2 -3
  18. package/dist/{chunk-6EBCZH5K.js → chunk-RQFIH5UJ.js} +17 -20
  19. package/dist/{chunk-O5K4AU7Q.js → chunk-SHWOPMLQ.js} +3 -4
  20. package/dist/{chunk-ZBFY4XQE.js → chunk-SXEU7RMP.js} +4 -4
  21. package/dist/{chunk-PMUQTGZJ.js → chunk-X7YTIMNN.js} +4 -6
  22. package/dist/{chunk-7F4XFNYI.js → chunk-Z2K6T5HO.js} +29 -34
  23. package/dist/{custom-oclif-loader-HIY3GAUH.js → custom-oclif-loader-XEKDTAWW.js} +12 -12
  24. package/dist/{del-2FOJ63S7.js → del-WGII2Y5S.js} +8 -8
  25. package/dist/{devtools-KYKGATNX.js → devtools-K7FXBBFZ.js} +3 -3
  26. package/dist/error-handler-5R6VHH3O.js +31 -0
  27. package/dist/hooks/postrun.js +15 -15
  28. package/dist/hooks/prerun.js +15 -15
  29. package/dist/{http-proxy-GGTVQ6CU.js → http-proxy-FXWKYHZ3.js} +14 -24
  30. package/dist/index.js +6735 -6727
  31. package/dist/index.test.js +64 -86
  32. package/dist/lib-CKTRCGTR.js +11 -0
  33. package/dist/{local-KJ4JZFN6.js → local-RZ6SWPQL.js} +12 -12
  34. package/dist/{magic-string.es-3RXPUXZF.js → magic-string.es-PJMYOE6F.js} +49 -96
  35. package/dist/{multipart-parser-QKUAJJP5.js → multipart-parser-WSNBP656.js} +8 -7
  36. package/dist/{node-package-manager-53URJXW6.js → node-package-manager-ZXZ6WUOK.js} +15 -13
  37. package/dist/{open-MZGVNFZO.js → open-BHIF7E3E.js} +3 -3
  38. package/dist/out-JR4DWQ2G.js +7 -0
  39. package/dist/{path-3RNJ32DF.js → path-AAVNXP24.js} +3 -3
  40. package/dist/tsconfig.tsbuildinfo +1 -1
  41. package/dist/{ui-3EX7RFZH.js → ui-AIFW6J5L.js} +12 -12
  42. package/oclif.manifest.json +1 -1
  43. package/package.json +4 -4
  44. package/dist/error-handler-JK453YDL.js +0 -31
  45. package/dist/lib-EGJUAXU5.js +0 -11
  46. package/dist/out-MHEKZJWS.js +0 -7
@@ -1,11 +1,11 @@
1
- import "./chunk-522OB3EU.js";
1
+ import "./chunk-CFIKVUNW.js";
2
2
  import {
3
3
  __commonJS,
4
4
  __export,
5
5
  __require,
6
6
  __toESM,
7
7
  init_cjs_shims
8
- } from "./chunk-POZ5MGPT.js";
8
+ } from "./chunk-PKR7KJ6P.js";
9
9
 
10
10
  // ../../node_modules/.pnpm/ansi-styles@5.2.0/node_modules/ansi-styles/index.js
11
11
  var require_ansi_styles = __commonJS({
@@ -760,8 +760,7 @@ var require_ReactElement = __commonJS({
760
760
  exports.test = exports.serialize = exports.default = void 0;
761
761
  var ReactIs = _interopRequireWildcard(require_react_is()), _markup = require_markup();
762
762
  function _getRequireWildcardCache(nodeInterop) {
763
- if (typeof WeakMap != "function")
764
- return null;
763
+ if (typeof WeakMap != "function") return null;
765
764
  var cacheBabelInterop = /* @__PURE__ */ new WeakMap(), cacheNodeInterop = /* @__PURE__ */ new WeakMap();
766
765
  return (_getRequireWildcardCache = function(nodeInterop2) {
767
766
  return nodeInterop2 ? cacheNodeInterop : cacheBabelInterop;
@@ -1181,8 +1180,7 @@ var require_loupe = __commonJS({
1181
1180
  return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i2) || _unsupportedIterableToArray(arr, i2) || _nonIterableRest();
1182
1181
  }
1183
1182
  function _arrayWithHoles(arr) {
1184
- if (Array.isArray(arr))
1185
- return arr;
1183
+ if (Array.isArray(arr)) return arr;
1186
1184
  }
1187
1185
  function _iterableToArrayLimit(arr, i2) {
1188
1186
  if (!(typeof Symbol > "u" || !(Symbol.iterator in Object(arr)))) {
@@ -1196,8 +1194,7 @@ var require_loupe = __commonJS({
1196
1194
  try {
1197
1195
  !_n && _i.return != null && _i.return();
1198
1196
  } finally {
1199
- if (_d)
1200
- throw _e;
1197
+ if (_d) throw _e;
1201
1198
  }
1202
1199
  }
1203
1200
  return _arr;
@@ -1205,19 +1202,15 @@ var require_loupe = __commonJS({
1205
1202
  }
1206
1203
  function _unsupportedIterableToArray(o, minLen) {
1207
1204
  if (o) {
1208
- if (typeof o == "string")
1209
- return _arrayLikeToArray(o, minLen);
1205
+ if (typeof o == "string") return _arrayLikeToArray(o, minLen);
1210
1206
  var n = Object.prototype.toString.call(o).slice(8, -1);
1211
- if (n === "Object" && o.constructor && (n = o.constructor.name), n === "Map" || n === "Set")
1212
- return Array.from(o);
1213
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
1214
- return _arrayLikeToArray(o, minLen);
1207
+ if (n === "Object" && o.constructor && (n = o.constructor.name), n === "Map" || n === "Set") return Array.from(o);
1208
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
1215
1209
  }
1216
1210
  }
1217
1211
  function _arrayLikeToArray(arr, len) {
1218
1212
  (len == null || len > arr.length) && (len = arr.length);
1219
- for (var i2 = 0, arr2 = new Array(len); i2 < len; i2++)
1220
- arr2[i2] = arr[i2];
1213
+ for (var i2 = 0, arr2 = new Array(len); i2 < len; i2++) arr2[i2] = arr[i2];
1221
1214
  return arr2;
1222
1215
  }
1223
1216
  function _nonIterableRest() {
@@ -1293,8 +1286,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
1293
1286
  var separator = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ", ";
1294
1287
  inspectItem = inspectItem || options.inspect;
1295
1288
  var size = list.length;
1296
- if (size === 0)
1297
- return "";
1289
+ if (size === 0) return "";
1298
1290
  for (var originalLength = options.truncate, output = "", peek = "", truncated = "", i2 = 0; i2 < size; i2 += 1) {
1299
1291
  var last = i2 + 1 === list.length, secondToLast = i2 + 2 === list.length;
1300
1292
  truncated = "".concat(truncator, "(").concat(list.length - i2, ")");
@@ -1320,8 +1312,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
1320
1312
  }
1321
1313
  function inspectArray(array2, options) {
1322
1314
  var nonIndexProperties = Object.keys(array2).slice(array2.length);
1323
- if (!array2.length && !nonIndexProperties.length)
1324
- return "[]";
1315
+ if (!array2.length && !nonIndexProperties.length) return "[]";
1325
1316
  options.truncate -= 4;
1326
1317
  var listContents = inspectList(array2, options);
1327
1318
  options.truncate -= listContents.length;
@@ -1352,8 +1343,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
1352
1343
  var name = getArrayName(array2);
1353
1344
  options.truncate -= name.length + 4;
1354
1345
  var nonIndexProperties = Object.keys(array2).slice(array2.length);
1355
- if (!array2.length && !nonIndexProperties.length)
1356
- return "".concat(name, "[]");
1346
+ if (!array2.length && !nonIndexProperties.length) return "".concat(name, "[]");
1357
1347
  for (var output = "", i2 = 0; i2 < array2.length; i2++) {
1358
1348
  var string3 = "".concat(options.stylize(truncate(array2[i2], options.truncate), "number")).concat(i2 === array2.length - 1 ? "" : ", ");
1359
1349
  if (options.truncate -= string3.length, array2[i2] !== array2.length && options.truncate <= 3) {
@@ -3731,13 +3721,11 @@ var require_assertions = __commonJS({
3731
3721
  Assertion2.addMethod("closeTo", closeTo), Assertion2.addMethod("approximately", closeTo);
3732
3722
  function isSubsetOf(subset, superset, cmp, contains, ordered) {
3733
3723
  if (!contains) {
3734
- if (subset.length !== superset.length)
3735
- return !1;
3724
+ if (subset.length !== superset.length) return !1;
3736
3725
  superset = superset.slice();
3737
3726
  }
3738
3727
  return subset.every(function(elem, idx) {
3739
- if (ordered)
3740
- return cmp ? cmp(elem, superset[idx]) : elem === superset[idx];
3728
+ if (ordered) return cmp ? cmp(elem, superset[idx]) : elem === superset[idx];
3741
3729
  if (!cmp) {
3742
3730
  var matchIdx = superset.indexOf(elem);
3743
3731
  return matchIdx === -1 ? !1 : (contains || superset.splice(matchIdx, 1), !0);
@@ -4236,8 +4224,7 @@ var require_assert = __commonJS({
4236
4224
  if (arguments.length === 4 && typeof obj == "function") {
4237
4225
  var tmpMsg = delta;
4238
4226
  delta = prop, msg = tmpMsg;
4239
- } else
4240
- arguments.length === 3 && (delta = prop, prop = null);
4227
+ } else arguments.length === 3 && (delta = prop, prop = null);
4241
4228
  new Assertion2(fn2, msg, assert2.changesBy, !0).to.change(obj, prop).by(delta);
4242
4229
  }, assert2.doesNotChange = function(fn2, obj, prop, msg) {
4243
4230
  return arguments.length === 3 && typeof obj == "function" && (msg = prop, prop = null), new Assertion2(fn2, msg, assert2.doesNotChange, !0).to.not.change(obj, prop);
@@ -4245,8 +4232,7 @@ var require_assert = __commonJS({
4245
4232
  if (arguments.length === 4 && typeof obj == "function") {
4246
4233
  var tmpMsg = delta;
4247
4234
  delta = prop, msg = tmpMsg;
4248
- } else
4249
- arguments.length === 3 && (delta = prop, prop = null);
4235
+ } else arguments.length === 3 && (delta = prop, prop = null);
4250
4236
  new Assertion2(fn2, msg, assert2.changesButNotBy, !0).to.change(obj, prop).but.not.by(delta);
4251
4237
  }, assert2.increases = function(fn2, obj, prop, msg) {
4252
4238
  return arguments.length === 3 && typeof obj == "function" && (msg = prop, prop = null), new Assertion2(fn2, msg, assert2.increases, !0).to.increase(obj, prop);
@@ -4254,8 +4240,7 @@ var require_assert = __commonJS({
4254
4240
  if (arguments.length === 4 && typeof obj == "function") {
4255
4241
  var tmpMsg = delta;
4256
4242
  delta = prop, msg = tmpMsg;
4257
- } else
4258
- arguments.length === 3 && (delta = prop, prop = null);
4243
+ } else arguments.length === 3 && (delta = prop, prop = null);
4259
4244
  new Assertion2(fn2, msg, assert2.increasesBy, !0).to.increase(obj, prop).by(delta);
4260
4245
  }, assert2.doesNotIncrease = function(fn2, obj, prop, msg) {
4261
4246
  return arguments.length === 3 && typeof obj == "function" && (msg = prop, prop = null), new Assertion2(fn2, msg, assert2.doesNotIncrease, !0).to.not.increase(obj, prop);
@@ -4263,8 +4248,7 @@ var require_assert = __commonJS({
4263
4248
  if (arguments.length === 4 && typeof obj == "function") {
4264
4249
  var tmpMsg = delta;
4265
4250
  delta = prop, msg = tmpMsg;
4266
- } else
4267
- arguments.length === 3 && (delta = prop, prop = null);
4251
+ } else arguments.length === 3 && (delta = prop, prop = null);
4268
4252
  new Assertion2(fn2, msg, assert2.increasesButNotBy, !0).to.increase(obj, prop).but.not.by(delta);
4269
4253
  }, assert2.decreases = function(fn2, obj, prop, msg) {
4270
4254
  return arguments.length === 3 && typeof obj == "function" && (msg = prop, prop = null), new Assertion2(fn2, msg, assert2.decreases, !0).to.decrease(obj, prop);
@@ -4272,8 +4256,7 @@ var require_assert = __commonJS({
4272
4256
  if (arguments.length === 4 && typeof obj == "function") {
4273
4257
  var tmpMsg = delta;
4274
4258
  delta = prop, msg = tmpMsg;
4275
- } else
4276
- arguments.length === 3 && (delta = prop, prop = null);
4259
+ } else arguments.length === 3 && (delta = prop, prop = null);
4277
4260
  new Assertion2(fn2, msg, assert2.decreasesBy, !0).to.decrease(obj, prop).by(delta);
4278
4261
  }, assert2.doesNotDecrease = function(fn2, obj, prop, msg) {
4279
4262
  return arguments.length === 3 && typeof obj == "function" && (msg = prop, prop = null), new Assertion2(fn2, msg, assert2.doesNotDecrease, !0).to.not.decrease(obj, prop);
@@ -4281,15 +4264,13 @@ var require_assert = __commonJS({
4281
4264
  if (arguments.length === 4 && typeof obj == "function") {
4282
4265
  var tmpMsg = delta;
4283
4266
  delta = prop, msg = tmpMsg;
4284
- } else
4285
- arguments.length === 3 && (delta = prop, prop = null);
4267
+ } else arguments.length === 3 && (delta = prop, prop = null);
4286
4268
  return new Assertion2(fn2, msg, assert2.doesNotDecreaseBy, !0).to.not.decrease(obj, prop).by(delta);
4287
4269
  }, assert2.decreasesButNotBy = function(fn2, obj, prop, delta, msg) {
4288
4270
  if (arguments.length === 4 && typeof obj == "function") {
4289
4271
  var tmpMsg = delta;
4290
4272
  delta = prop, msg = tmpMsg;
4291
- } else
4292
- arguments.length === 3 && (delta = prop, prop = null);
4273
+ } else arguments.length === 3 && (delta = prop, prop = null);
4293
4274
  new Assertion2(fn2, msg, assert2.decreasesButNotBy, !0).to.decrease(obj, prop).but.not.by(delta);
4294
4275
  };
4295
4276
  assert2.ifError = function(val) {
@@ -5313,24 +5294,22 @@ function normalizeString(path2, allowAboveRoot) {
5313
5294
  char = "/";
5314
5295
  }
5315
5296
  if (char === "/") {
5316
- if (!(lastSlash === index - 1 || dots === 1))
5317
- if (dots === 2) {
5318
- if (res.length < 2 || lastSegmentLength !== 2 || res[res.length - 1] !== "." || res[res.length - 2] !== ".") {
5319
- if (res.length > 2) {
5320
- let lastSlashIndex = res.lastIndexOf("/");
5321
- lastSlashIndex === -1 ? (res = "", lastSegmentLength = 0) : (res = res.slice(0, lastSlashIndex), lastSegmentLength = res.length - 1 - res.lastIndexOf("/")), lastSlash = index, dots = 0;
5322
- continue;
5323
- } else if (res.length > 0) {
5324
- res = "", lastSegmentLength = 0, lastSlash = index, dots = 0;
5325
- continue;
5326
- }
5297
+ if (!(lastSlash === index - 1 || dots === 1)) if (dots === 2) {
5298
+ if (res.length < 2 || lastSegmentLength !== 2 || res[res.length - 1] !== "." || res[res.length - 2] !== ".") {
5299
+ if (res.length > 2) {
5300
+ let lastSlashIndex = res.lastIndexOf("/");
5301
+ lastSlashIndex === -1 ? (res = "", lastSegmentLength = 0) : (res = res.slice(0, lastSlashIndex), lastSegmentLength = res.length - 1 - res.lastIndexOf("/")), lastSlash = index, dots = 0;
5302
+ continue;
5303
+ } else if (res.length > 0) {
5304
+ res = "", lastSegmentLength = 0, lastSlash = index, dots = 0;
5305
+ continue;
5327
5306
  }
5328
- allowAboveRoot && (res += res.length > 0 ? "/.." : "..", lastSegmentLength = 2);
5329
- } else
5330
- res.length > 0 ? res += `/${path2.slice(lastSlash + 1, index)}` : res = path2.slice(lastSlash + 1, index), lastSegmentLength = index - lastSlash - 1;
5307
+ }
5308
+ allowAboveRoot && (res += res.length > 0 ? "/.." : "..", lastSegmentLength = 2);
5309
+ } else
5310
+ res.length > 0 ? res += `/${path2.slice(lastSlash + 1, index)}` : res = path2.slice(lastSlash + 1, index), lastSegmentLength = index - lastSlash - 1;
5331
5311
  lastSlash = index, dots = 0;
5332
- } else
5333
- char === "." && dots !== -1 ? ++dots : dots = -1;
5312
+ } else char === "." && dots !== -1 ? ++dots : dots = -1;
5334
5313
  }
5335
5314
  return res;
5336
5315
  }
@@ -5367,24 +5346,22 @@ function normalizeString2(path2, allowAboveRoot) {
5367
5346
  char = "/";
5368
5347
  }
5369
5348
  if (char === "/") {
5370
- if (!(lastSlash === index - 1 || dots === 1))
5371
- if (dots === 2) {
5372
- if (res.length < 2 || lastSegmentLength !== 2 || res[res.length - 1] !== "." || res[res.length - 2] !== ".") {
5373
- if (res.length > 2) {
5374
- let lastSlashIndex = res.lastIndexOf("/");
5375
- lastSlashIndex === -1 ? (res = "", lastSegmentLength = 0) : (res = res.slice(0, lastSlashIndex), lastSegmentLength = res.length - 1 - res.lastIndexOf("/")), lastSlash = index, dots = 0;
5376
- continue;
5377
- } else if (res.length > 0) {
5378
- res = "", lastSegmentLength = 0, lastSlash = index, dots = 0;
5379
- continue;
5380
- }
5349
+ if (!(lastSlash === index - 1 || dots === 1)) if (dots === 2) {
5350
+ if (res.length < 2 || lastSegmentLength !== 2 || res[res.length - 1] !== "." || res[res.length - 2] !== ".") {
5351
+ if (res.length > 2) {
5352
+ let lastSlashIndex = res.lastIndexOf("/");
5353
+ lastSlashIndex === -1 ? (res = "", lastSegmentLength = 0) : (res = res.slice(0, lastSlashIndex), lastSegmentLength = res.length - 1 - res.lastIndexOf("/")), lastSlash = index, dots = 0;
5354
+ continue;
5355
+ } else if (res.length > 0) {
5356
+ res = "", lastSegmentLength = 0, lastSlash = index, dots = 0;
5357
+ continue;
5381
5358
  }
5382
- allowAboveRoot && (res += res.length > 0 ? "/.." : "..", lastSegmentLength = 2);
5383
- } else
5384
- res.length > 0 ? res += `/${path2.slice(lastSlash + 1, index)}` : res = path2.slice(lastSlash + 1, index), lastSegmentLength = index - lastSlash - 1;
5359
+ }
5360
+ allowAboveRoot && (res += res.length > 0 ? "/.." : "..", lastSegmentLength = 2);
5361
+ } else
5362
+ res.length > 0 ? res += `/${path2.slice(lastSlash + 1, index)}` : res = path2.slice(lastSlash + 1, index), lastSegmentLength = index - lastSlash - 1;
5385
5363
  lastSlash = index, dots = 0;
5386
- } else
5387
- char === "." && dots !== -1 ? ++dots : dots = -1;
5364
+ } else char === "." && dots !== -1 ? ++dots : dots = -1;
5388
5365
  }
5389
5366
  return res;
5390
5367
  }
@@ -5800,14 +5777,12 @@ function parseArguments(optionsOrFn, optionsOrTest) {
5800
5777
  if (typeof optionsOrFn == "object")
5801
5778
  throw new TypeError("Cannot use two objects as arguments. Please provide options and a function callback in that order.");
5802
5779
  options = optionsOrTest;
5803
- } else
5804
- typeof optionsOrTest == "number" ? options = { timeout: optionsOrTest } : typeof optionsOrFn == "object" && (options = optionsOrFn);
5780
+ } else typeof optionsOrTest == "number" ? options = { timeout: optionsOrTest } : typeof optionsOrFn == "object" && (options = optionsOrFn);
5805
5781
  if (typeof optionsOrFn == "function") {
5806
5782
  if (typeof optionsOrTest == "function")
5807
5783
  throw new TypeError("Cannot use two functions as arguments. Please use the second argument for options.");
5808
5784
  fn2 = optionsOrFn;
5809
- } else
5810
- typeof optionsOrTest == "function" && (fn2 = optionsOrTest);
5785
+ } else typeof optionsOrTest == "function" && (fn2 = optionsOrTest);
5811
5786
  return {
5812
5787
  options,
5813
5788
  handler: fn2
@@ -7497,16 +7472,14 @@ var naturalCompare = function(a, b2) {
7497
7472
  var i2, codeA, codeB = 1, posA = 0, posB = 0, alphabet = String.alphabet;
7498
7473
  function getCode(str, pos, code) {
7499
7474
  if (code) {
7500
- for (i2 = pos; code = getCode(str, i2), code < 76 && code > 65; )
7501
- ++i2;
7475
+ for (i2 = pos; code = getCode(str, i2), code < 76 && code > 65; ) ++i2;
7502
7476
  return +str.slice(pos - 1, i2);
7503
7477
  }
7504
7478
  return code = alphabet && alphabet.indexOf(str.charAt(pos)), code > -1 ? code + 76 : (code = str.charCodeAt(pos) || 0, code < 45 || code > 127 ? code : code < 46 ? 65 : code < 48 ? code - 1 : code < 58 ? code + 18 : code < 65 ? code - 11 : code < 91 ? code + 11 : code < 97 ? code - 37 : code < 123 ? code + 5 : code - 63);
7505
7479
  }
7506
7480
  if ((a += "") != (b2 += "")) {
7507
7481
  for (; codeB; )
7508
- if (codeA = getCode(a, posA++), codeB = getCode(b2, posB++), codeA < 76 && codeB < 76 && codeA > 66 && codeB > 66 && (codeA = getCode(a, posA, posA), codeB = getCode(b2, posB, posA = i2), posB = i2), codeA != codeB)
7509
- return codeA < codeB ? -1 : 1;
7482
+ if (codeA = getCode(a, posA++), codeB = getCode(b2, posB++), codeA < 76 && codeB < 76 && codeA > 66 && codeB > 66 && (codeA = getCode(a, posA, posA), codeB = getCode(b2, posB, posA = i2), posB = i2), codeA != codeB) return codeA < codeB ? -1 : 1;
7510
7483
  }
7511
7484
  return 0;
7512
7485
  };
@@ -7887,13 +7860,17 @@ function resolve$1(input, base) {
7887
7860
  switch (inputType) {
7888
7861
  case UrlType2.Empty:
7889
7862
  url.hash = baseUrl.hash;
7863
+ // fall through
7890
7864
  case UrlType2.Hash:
7891
7865
  url.query = baseUrl.query;
7866
+ // fall through
7892
7867
  case UrlType2.Query:
7893
7868
  case UrlType2.RelativePath:
7894
7869
  mergePaths(url, baseUrl);
7870
+ // fall through
7895
7871
  case UrlType2.AbsolutePath:
7896
7872
  url.user = baseUrl.user, url.host = baseUrl.host, url.port = baseUrl.port;
7873
+ // fall through
7897
7874
  case UrlType2.SchemeRelative:
7898
7875
  url.scheme = baseUrl.scheme;
7899
7876
  }
@@ -7902,6 +7879,8 @@ function resolve$1(input, base) {
7902
7879
  normalizePath(url, inputType);
7903
7880
  let queryHash = url.query + url.hash;
7904
7881
  switch (inputType) {
7882
+ // This is impossible, because of the empty checks at the start of the function.
7883
+ // case UrlType.Empty:
7905
7884
  case UrlType2.Hash:
7906
7885
  case UrlType2.Query:
7907
7886
  return queryHash;
@@ -8103,7 +8082,7 @@ function parseErrorStacktrace(e, options = {}) {
8103
8082
  return options.frameFilter && (stackFrames = stackFrames.filter((f2) => options.frameFilter(e, f2) !== !1)), e.stacks = stackFrames, stackFrames;
8104
8083
  }
8105
8084
  async function saveInlineSnapshots(environment, snapshots) {
8106
- let MagicString = (await import("./magic-string.es-3RXPUXZF.js")).default, files = new Set(snapshots.map((i2) => i2.file));
8085
+ let MagicString = (await import("./magic-string.es-PJMYOE6F.js")).default, files = new Set(snapshots.map((i2) => i2.file));
8107
8086
  await Promise.all(Array.from(files).map(async (file) => {
8108
8087
  let snaps = snapshots.filter((i2) => i2.file === file), code = await environment.readSnapshotFile(file), s = new MagicString(code);
8109
8088
  for (let snap of snaps) {
@@ -8239,11 +8218,10 @@ ${JSON.stringify(stacks)}`
8239
8218
  snapshot: receivedSerialized,
8240
8219
  ...stack
8241
8220
  });
8242
- } else
8243
- options.rawSnapshot ? this._rawSnapshots.push({
8244
- ...options.rawSnapshot,
8245
- snapshot: receivedSerialized
8246
- }) : this._snapshotData[key] = receivedSerialized;
8221
+ } else options.rawSnapshot ? this._rawSnapshots.push({
8222
+ ...options.rawSnapshot,
8223
+ snapshot: receivedSerialized
8224
+ }) : this._snapshotData[key] = receivedSerialized;
8247
8225
  }
8248
8226
  clear() {
8249
8227
  this._snapshotData = this._initialData, this._counters = /* @__PURE__ */ new Map(), this.added = 0, this.matched = 0, this.unmatched = 0, this.updated = 0, this._dirty = !1;
@@ -0,0 +1,11 @@
1
+ import {
2
+ require_lib
3
+ } from "./chunk-BOBYVF6Z.js";
4
+ import "./chunk-OAZFIMJ3.js";
5
+ import "./chunk-EZFQXNK5.js";
6
+ import "./chunk-CRHXI6PS.js";
7
+ import "./chunk-BUFIEXZ5.js";
8
+ import "./chunk-G2ZZKGSV.js";
9
+ import "./chunk-PKR7KJ6P.js";
10
+ export default require_lib();
11
+ //# sourceMappingURL=lib-CKTRCGTR.js.map
@@ -22,17 +22,17 @@ import {
22
22
  themeToken,
23
23
  useEmbeddedThemeCLI,
24
24
  useThemebundling
25
- } from "./chunk-NYQZZU5H.js";
26
- import "./chunk-CQGOPQQH.js";
27
- import "./chunk-SNOECVP4.js";
28
- import "./chunk-522OB3EU.js";
29
- import "./chunk-6EBCZH5K.js";
30
- import "./chunk-XVNW332R.js";
31
- import "./chunk-6WYZ3SZB.js";
32
- import "./chunk-KYB6A4PE.js";
33
- import "./chunk-NB4NLOEJ.js";
34
- import "./chunk-UBB7JKND.js";
35
- import "./chunk-POZ5MGPT.js";
25
+ } from "./chunk-32ADIPRM.js";
26
+ import "./chunk-BOBYVF6Z.js";
27
+ import "./chunk-OAZFIMJ3.js";
28
+ import "./chunk-CFIKVUNW.js";
29
+ import "./chunk-RQFIH5UJ.js";
30
+ import "./chunk-75LV6AQS.js";
31
+ import "./chunk-EZFQXNK5.js";
32
+ import "./chunk-CRHXI6PS.js";
33
+ import "./chunk-BUFIEXZ5.js";
34
+ import "./chunk-G2ZZKGSV.js";
35
+ import "./chunk-PKR7KJ6P.js";
36
36
  export {
37
37
  alwaysLogAnalytics,
38
38
  alwaysLogMetrics,
@@ -58,4 +58,4 @@ export {
58
58
  useEmbeddedThemeCLI,
59
59
  useThemebundling
60
60
  };
61
- //# sourceMappingURL=local-KJ4JZFN6.js.map
61
+ //# sourceMappingURL=local-RZ6SWPQL.js.map