@shopify/create-app 4.5.1 → 4.6.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 (50) hide show
  1. package/dist/{analytics-PMPKP2TK.js → analytics-PQQTY5ME.js} +14 -14
  2. package/dist/{analytics-CQG3OQX2.js → analytics-ZRZM2AYT.js} +14 -14
  3. package/dist/{chokidar-JYHMNWDF.js → chokidar-OCE4HB5W.js} +2 -2
  4. package/dist/chunk-3WICPDUO.js +21746 -0
  5. package/dist/{chunk-VOJY4WA2.js → chunk-4PYTNDQV.js} +12 -17
  6. package/dist/{chunk-55PTN5SP.js → chunk-6OPDNYDK.js} +10 -15
  7. package/dist/{chunk-4S2JLXVP.js → chunk-74EXPUYI.js} +628 -21971
  8. package/dist/{chunk-7JVKZXNQ.js → chunk-FACLWQ7N.js} +5 -5
  9. package/dist/{chunk-D2IVB32A.js → chunk-FZECX65P.js} +10 -10
  10. package/dist/{chunk-HIYDUDUQ.js → chunk-H5PKPIMG.js} +16 -16
  11. package/dist/{chunk-YSDUPYHF.js → chunk-HLLMTZ5K.js} +2 -2
  12. package/dist/{chunk-3AANXWIB.js → chunk-ICRN3QWA.js} +3 -3
  13. package/dist/{chunk-KWG6VAVE.js → chunk-K5NLRHZR.js} +37 -28
  14. package/dist/{chunk-GETNQIRI.js → chunk-MXBSTTRA.js} +3 -9
  15. package/dist/{chunk-DPY5OSSD.js → chunk-OGTZPCND.js} +11 -12
  16. package/dist/{chunk-2NNGTNHV.js → chunk-REKC23EA.js} +2 -2
  17. package/dist/{chunk-XRKEA2FK.js → chunk-RQLHLRL7.js} +9 -8
  18. package/dist/{chunk-HABWQC37.js → chunk-SI4LHZYW.js} +167 -16
  19. package/dist/{chunk-OE3FSIHW.js → chunk-UFLX7QDP.js} +2 -2
  20. package/dist/{chunk-HAPKGOK3.js → chunk-WP465C6S.js} +13 -5
  21. package/dist/{conf-store-F6UT4EZP.js → conf-store-3CEUJODJ.js} +8 -8
  22. package/dist/{custom-oclif-loader-7BTLNXYR.js → custom-oclif-loader-MNCB3QFM.js} +2 -2
  23. package/dist/{deprecations-CH3FLC2P.js → deprecations-IRDS6EBX.js} +10 -10
  24. package/dist/environments-M2APKG2S.js +26 -0
  25. package/dist/{error-handler-BU44AFFC.js → error-handler-KHJ2WGBH.js} +14 -14
  26. package/dist/{fs-DTUM774O.js → fs-4DAJNN2N.js} +5 -5
  27. package/dist/hooks/postrun.js +6 -6
  28. package/dist/hooks/prerun.js +6 -6
  29. package/dist/index.js +6968 -8746
  30. package/dist/index.test.js +54 -45
  31. package/dist/{is-global-H27DNC4G.js → is-global-4PAQ722P.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-KTUGMTBC.js → local-UPSZCOOL.js} +2 -4
  35. package/dist/{metadata-TLFRGODO.js → metadata-R5WZESAQ.js} +3 -3
  36. package/dist/{node-package-manager-XBQR7M7F.js → node-package-manager-ZGOPCA42.js} +12 -12
  37. package/dist/{notifications-system-MG7PL2PS.js → notifications-system-SVQ6LB65.js} +15 -15
  38. package/dist/out-LBNH64BP.js +7 -0
  39. package/dist/{output-GSQ2A2P3.js → output-3XHG2ZX2.js} +5 -5
  40. package/dist/{system-SJXHH6MI.js → system-6AUYCFL4.js} +10 -10
  41. package/dist/tsconfig.tsbuildinfo +1 -1
  42. package/dist/{ui-ZZ3M4XKH.js → ui-BZFIOKVT.js} +10 -10
  43. package/dist/{upgrade-KNQSPJO5.js → upgrade-AYYDG5HX.js} +16 -16
  44. package/dist/{version-TBBTZVUL.js → version-2UJ37EL3.js} +11 -11
  45. package/dist/{version-5VXGSASP.js → version-NKNIJ276.js} +2 -2
  46. package/oclif.manifest.json +9 -1
  47. package/package.json +4 -4
  48. package/dist/chunk-46OTTSCT.js +0 -264
  49. package/dist/environments-7UBTBVIZ.js +0 -26
  50. package/dist/out-B5JNCU2S.js +0 -7
@@ -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
@@ -3,7 +3,7 @@ import {
3
3
  require_glob_parent,
4
4
  require_picomatch,
5
5
  require_utils
6
- } from "./chunk-HABWQC37.js";
6
+ } from "./chunk-SI4LHZYW.js";
7
7
  import {
8
8
  __commonJS,
9
9
  __require,
@@ -2062,4 +2062,4 @@ queue-microtask/index.js:
2062
2062
  run-parallel/index.js:
2063
2063
  (*! run-parallel. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> *)
2064
2064
  */
2065
- //# sourceMappingURL=chunk-OE3FSIHW.js.map
2065
+ //# sourceMappingURL=chunk-UFLX7QDP.js.map
@@ -2,7 +2,7 @@ import {
2
2
  AbortError,
3
3
  BugError,
4
4
  mimicFunction
5
- } from "./chunk-46OTTSCT.js";
5
+ } from "./chunk-3WICPDUO.js";
6
6
  import {
7
7
  require_semver
8
8
  } from "./chunk-OQ3KXXGH.js";
@@ -11,12 +11,12 @@ import {
11
11
  outputContent,
12
12
  outputDebug,
13
13
  unixFileIsOwnedByCurrentUser
14
- } from "./chunk-VOJY4WA2.js";
14
+ } from "./chunk-4PYTNDQV.js";
15
15
  import {
16
16
  envPaths,
17
17
  environmentVariables,
18
18
  isUnitTest
19
- } from "./chunk-GETNQIRI.js";
19
+ } from "./chunk-MXBSTTRA.js";
20
20
  import {
21
21
  dirname
22
22
  } from "./chunk-C3J4HVUN.js";
@@ -5910,9 +5910,17 @@ var import_semver = __toESM(require_semver(), 1), __classPrivateFieldSet = funct
5910
5910
  };
5911
5911
 
5912
5912
  // ../cli-kit/dist/public/node/local-storage.js
5913
+ function deserializeJson(value) {
5914
+ let valueWithoutByteOrderMark = value.replace(/^\uFEFF/, "");
5915
+ return JSON.parse(valueWithoutByteOrderMark);
5916
+ }
5913
5917
  var LocalStorage = class {
5914
5918
  constructor(options) {
5915
- this.config = new Conf(options);
5919
+ this.config = new Conf({
5920
+ ...options,
5921
+ clearInvalidConfig: !0,
5922
+ deserialize: deserializeJson
5923
+ });
5916
5924
  }
5917
5925
  /**
5918
5926
  * Get a value from the local storage.
@@ -6103,4 +6111,4 @@ export {
6103
6111
  getCachedPartnerAccountStatus,
6104
6112
  setCachedPartnerAccountStatus
6105
6113
  };
6106
- //# sourceMappingURL=chunk-HAPKGOK3.js.map
6114
+ //# sourceMappingURL=chunk-WP465C6S.js.map
@@ -17,19 +17,19 @@ import {
17
17
  setCurrentSessionId,
18
18
  setSessions,
19
19
  timeIntervalToMilliseconds
20
- } from "./chunk-HAPKGOK3.js";
21
- import "./chunk-46OTTSCT.js";
22
- import "./chunk-KWG6VAVE.js";
20
+ } from "./chunk-WP465C6S.js";
21
+ import "./chunk-3WICPDUO.js";
22
+ import "./chunk-K5NLRHZR.js";
23
23
  import "./chunk-ODCXYGJ2.js";
24
24
  import "./chunk-LBXDGVFS.js";
25
25
  import "./chunk-D6NYWNY2.js";
26
26
  import "./chunk-OQ3KXXGH.js";
27
- import "./chunk-VOJY4WA2.js";
28
- import "./chunk-GETNQIRI.js";
27
+ import "./chunk-4PYTNDQV.js";
28
+ import "./chunk-MXBSTTRA.js";
29
29
  import "./chunk-7OHJH7BF.js";
30
30
  import "./chunk-C3J4HVUN.js";
31
- import "./chunk-OE3FSIHW.js";
32
- import "./chunk-HABWQC37.js";
31
+ import "./chunk-UFLX7QDP.js";
32
+ import "./chunk-SI4LHZYW.js";
33
33
  import "./chunk-3XNI6LP4.js";
34
34
  export {
35
35
  cacheClear,
@@ -51,4 +51,4 @@ export {
51
51
  setSessions,
52
52
  timeIntervalToMilliseconds
53
53
  };
54
- //# sourceMappingURL=conf-store-F6UT4EZP.js.map
54
+ //# sourceMappingURL=conf-store-3CEUJODJ.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  require_lib
3
- } from "./chunk-KWG6VAVE.js";
3
+ } from "./chunk-K5NLRHZR.js";
4
4
  import "./chunk-ODCXYGJ2.js";
5
5
  import "./chunk-LBXDGVFS.js";
6
6
  import "./chunk-D6NYWNY2.js";
@@ -51,4 +51,4 @@ var import_core = __toESM(require_lib(), 1), ShopifyConfig = class extends impor
51
51
  export {
52
52
  ShopifyConfig
53
53
  };
54
- //# sourceMappingURL=custom-oclif-loader-7BTLNXYR.js.map
54
+ //# sourceMappingURL=custom-oclif-loader-MNCB3QFM.js.map
@@ -3,22 +3,22 @@ import {
3
3
  } from "./chunk-MSED5ZFM.js";
4
4
  import {
5
5
  renderWarning
6
- } from "./chunk-DPY5OSSD.js";
7
- import "./chunk-3AANXWIB.js";
8
- import "./chunk-46OTTSCT.js";
9
- import "./chunk-KWG6VAVE.js";
6
+ } from "./chunk-OGTZPCND.js";
7
+ import "./chunk-ICRN3QWA.js";
8
+ import "./chunk-3WICPDUO.js";
9
+ import "./chunk-K5NLRHZR.js";
10
10
  import "./chunk-ODCXYGJ2.js";
11
11
  import "./chunk-LBXDGVFS.js";
12
12
  import "./chunk-D6NYWNY2.js";
13
13
  import "./chunk-JGGOQOPO.js";
14
14
  import "./chunk-OQ3KXXGH.js";
15
- import "./chunk-55PTN5SP.js";
16
- import "./chunk-VOJY4WA2.js";
17
- import "./chunk-GETNQIRI.js";
15
+ import "./chunk-6OPDNYDK.js";
16
+ import "./chunk-4PYTNDQV.js";
17
+ import "./chunk-MXBSTTRA.js";
18
18
  import "./chunk-7OHJH7BF.js";
19
19
  import "./chunk-C3J4HVUN.js";
20
- import "./chunk-OE3FSIHW.js";
21
- import "./chunk-HABWQC37.js";
20
+ import "./chunk-UFLX7QDP.js";
21
+ import "./chunk-SI4LHZYW.js";
22
22
  import {
23
23
  init_cjs_shims
24
24
  } from "./chunk-3XNI6LP4.js";
@@ -52,4 +52,4 @@ function renderUpgradeWarning(upgradeByDate, forThemes) {
52
52
  export {
53
53
  postrun
54
54
  };
55
- //# sourceMappingURL=deprecations-CH3FLC2P.js.map
55
+ //# sourceMappingURL=deprecations-IRDS6EBX.js.map
@@ -0,0 +1,26 @@
1
+ import {
2
+ environmentFilePath,
3
+ loadEnvironment
4
+ } from "./chunk-FACLWQ7N.js";
5
+ import "./chunk-OGTZPCND.js";
6
+ import "./chunk-ICRN3QWA.js";
7
+ import "./chunk-3WICPDUO.js";
8
+ import "./chunk-K5NLRHZR.js";
9
+ import "./chunk-ODCXYGJ2.js";
10
+ import "./chunk-LBXDGVFS.js";
11
+ import "./chunk-D6NYWNY2.js";
12
+ import "./chunk-JGGOQOPO.js";
13
+ import "./chunk-OQ3KXXGH.js";
14
+ import "./chunk-6OPDNYDK.js";
15
+ import "./chunk-4PYTNDQV.js";
16
+ import "./chunk-MXBSTTRA.js";
17
+ import "./chunk-7OHJH7BF.js";
18
+ import "./chunk-C3J4HVUN.js";
19
+ import "./chunk-UFLX7QDP.js";
20
+ import "./chunk-SI4LHZYW.js";
21
+ import "./chunk-3XNI6LP4.js";
22
+ export {
23
+ environmentFilePath,
24
+ loadEnvironment
25
+ };
26
+ //# sourceMappingURL=environments-M2APKG2S.js.map
@@ -4,28 +4,28 @@ import {
4
4
  errorHandler,
5
5
  registerCleanBugsnagErrorsFromWithinPlugins,
6
6
  sendErrorToBugsnag
7
- } from "./chunk-4S2JLXVP.js";
7
+ } from "./chunk-74EXPUYI.js";
8
8
  import "./chunk-MSED5ZFM.js";
9
- import "./chunk-XRKEA2FK.js";
10
- import "./chunk-2NNGTNHV.js";
9
+ import "./chunk-RQLHLRL7.js";
10
+ import "./chunk-REKC23EA.js";
11
11
  import "./chunk-G53O4PDO.js";
12
- import "./chunk-HAPKGOK3.js";
13
- import "./chunk-DPY5OSSD.js";
14
- import "./chunk-3AANXWIB.js";
15
- import "./chunk-46OTTSCT.js";
16
- import "./chunk-KWG6VAVE.js";
12
+ import "./chunk-WP465C6S.js";
13
+ import "./chunk-OGTZPCND.js";
14
+ import "./chunk-ICRN3QWA.js";
15
+ import "./chunk-3WICPDUO.js";
16
+ import "./chunk-K5NLRHZR.js";
17
17
  import "./chunk-ODCXYGJ2.js";
18
18
  import "./chunk-LBXDGVFS.js";
19
19
  import "./chunk-D6NYWNY2.js";
20
20
  import "./chunk-JGGOQOPO.js";
21
21
  import "./chunk-OQ3KXXGH.js";
22
- import "./chunk-55PTN5SP.js";
23
- import "./chunk-VOJY4WA2.js";
24
- import "./chunk-GETNQIRI.js";
22
+ import "./chunk-6OPDNYDK.js";
23
+ import "./chunk-4PYTNDQV.js";
24
+ import "./chunk-MXBSTTRA.js";
25
25
  import "./chunk-7OHJH7BF.js";
26
26
  import "./chunk-C3J4HVUN.js";
27
- import "./chunk-OE3FSIHW.js";
28
- import "./chunk-HABWQC37.js";
27
+ import "./chunk-UFLX7QDP.js";
28
+ import "./chunk-SI4LHZYW.js";
29
29
  import "./chunk-3XNI6LP4.js";
30
30
  export {
31
31
  addBugsnagMetadata,
@@ -34,4 +34,4 @@ export {
34
34
  registerCleanBugsnagErrorsFromWithinPlugins,
35
35
  sendErrorToBugsnag
36
36
  };
37
- //# sourceMappingURL=error-handler-BU44AFFC.js.map
37
+ //# sourceMappingURL=error-handler-KHJ2WGBH.js.map
@@ -48,12 +48,12 @@ import {
48
48
  unlinkFileSync,
49
49
  writeFile,
50
50
  writeFileSync
51
- } from "./chunk-VOJY4WA2.js";
52
- import "./chunk-GETNQIRI.js";
51
+ } from "./chunk-4PYTNDQV.js";
52
+ import "./chunk-MXBSTTRA.js";
53
53
  import "./chunk-7OHJH7BF.js";
54
54
  import "./chunk-C3J4HVUN.js";
55
- import "./chunk-OE3FSIHW.js";
56
- import "./chunk-HABWQC37.js";
55
+ import "./chunk-UFLX7QDP.js";
56
+ import "./chunk-SI4LHZYW.js";
57
57
  import "./chunk-3XNI6LP4.js";
58
58
  export {
59
59
  appendFile,
@@ -106,4 +106,4 @@ export {
106
106
  writeFile,
107
107
  writeFileSync
108
108
  };
109
- //# sourceMappingURL=fs-DTUM774O.js.map
109
+ //# sourceMappingURL=fs-4DAJNN2N.js.map
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  hook
3
- } from "../chunk-HIYDUDUQ.js";
4
- import "../chunk-55PTN5SP.js";
5
- import "../chunk-VOJY4WA2.js";
6
- import "../chunk-GETNQIRI.js";
3
+ } from "../chunk-H5PKPIMG.js";
4
+ import "../chunk-6OPDNYDK.js";
5
+ import "../chunk-4PYTNDQV.js";
6
+ import "../chunk-MXBSTTRA.js";
7
7
  import "../chunk-7OHJH7BF.js";
8
8
  import "../chunk-C3J4HVUN.js";
9
- import "../chunk-OE3FSIHW.js";
10
- import "../chunk-HABWQC37.js";
9
+ import "../chunk-UFLX7QDP.js";
10
+ import "../chunk-SI4LHZYW.js";
11
11
  import {
12
12
  init_cjs_shims
13
13
  } from "../chunk-3XNI6LP4.js";
@@ -13,9 +13,9 @@ var hook = async (options) => {
13
13
  aliases: options.Command.aliases,
14
14
  pluginAlias: options.Command.plugin?.alias
15
15
  }), args = options.argv, [{ outputDebug }, analyticsMod, notificationsMod] = await Promise.all([
16
- import("../output-GSQ2A2P3.js"),
17
- import("../analytics-PMPKP2TK.js"),
18
- import("../notifications-system-MG7PL2PS.js")
16
+ import("../output-3XHG2ZX2.js"),
17
+ import("../analytics-PQQTY5ME.js"),
18
+ import("../notifications-system-SVQ6LB65.js")
19
19
  ]);
20
20
  checkForNewVersionInBackground(), outputDebug(`Running command ${commandContent.command}`), await analyticsMod.startAnalytics({ commandContent, args, commandClass: options.Command }), notificationsMod.fetchNotificationsInBackground(options.Command.id);
21
21
  };
@@ -45,9 +45,9 @@ function findAlias(aliases) {
45
45
  }
46
46
  async function checkForNewVersionInBackground() {
47
47
  let [{ CLI_KIT_VERSION }, { isPreReleaseVersion }, { checkForNewVersion }] = await Promise.all([
48
- import("../version-5VXGSASP.js"),
49
- import("../version-TBBTZVUL.js"),
50
- import("../node-package-manager-XBQR7M7F.js")
48
+ import("../version-NKNIJ276.js"),
49
+ import("../version-2UJ37EL3.js"),
50
+ import("../node-package-manager-ZGOPCA42.js")
51
51
  ]), currentVersion = CLI_KIT_VERSION;
52
52
  isPreReleaseVersion(currentVersion) || checkForNewVersion("@shopify/cli", currentVersion, { cacheExpiryInHours: 24 });
53
53
  }