@shopify/cli 3.71.1 → 3.71.2

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 (81) hide show
  1. package/dist/{chunk-RWUKHJPN.js → chunk-4EMZSFQW.js} +7 -7
  2. package/dist/{chunk-5EH323MO.js → chunk-54B3DYCR.js} +5 -5
  3. package/dist/{chunk-EIYEVKVE.js → chunk-5VCHG7JY.js} +3 -3
  4. package/dist/{chunk-MU52LLEY.js → chunk-67NTGQQG.js} +4 -4
  5. package/dist/{chunk-L2JRQYNX.js → chunk-6ZLSNV5X.js} +2 -2
  6. package/dist/{chunk-OSIMKPXN.js → chunk-743YRZYJ.js} +6 -6
  7. package/dist/{chunk-RYLVSBYA.js → chunk-7WCIY7XF.js} +3 -3
  8. package/dist/{chunk-L5QY66M5.js → chunk-7WNSZM36.js} +4 -4
  9. package/dist/{chunk-TFYGB36T.js → chunk-D4IQMUFI.js} +2 -2
  10. package/dist/{chunk-PPETSPYI.js → chunk-G5FWQLLV.js} +3 -3
  11. package/dist/{chunk-6XIQQAII.js → chunk-GERBRDYP.js} +3 -3
  12. package/dist/{chunk-NGHX3OJ3.js → chunk-GKT6HM63.js} +2 -2
  13. package/dist/{chunk-V2IQ2QWA.js → chunk-GUXC6FHI.js} +3 -3
  14. package/dist/{chunk-SBXDGZUV.js → chunk-HX2V6LJV.js} +3 -3
  15. package/dist/{chunk-TM56R4RM.js → chunk-IG3TK7HB.js} +20 -13
  16. package/dist/{chunk-ZINX4YDI.js → chunk-J5KDY24D.js} +2 -2
  17. package/dist/{chunk-RJ26EKJZ.js → chunk-JEG2PPJM.js} +6 -6
  18. package/dist/{chunk-5RITYBXF.js → chunk-JEPM2XRX.js} +2 -2
  19. package/dist/{chunk-LVCMJDAE.js → chunk-JRRUBVZB.js} +4 -4
  20. package/dist/{chunk-3NSN5Z4N.js → chunk-K6Y4FYT5.js} +3 -2
  21. package/dist/{chunk-LFQTQLLB.js → chunk-LES3FUFV.js} +8 -8
  22. package/dist/{chunk-WQY4NQRT.js → chunk-MSM55MKX.js} +3 -3
  23. package/dist/{chunk-DN4PETPW.js → chunk-MYVH47P3.js} +6 -6
  24. package/dist/{chunk-2ULUZCOJ.js → chunk-OMKR3TBG.js} +2 -2
  25. package/dist/{chunk-2S2TOSUR.js → chunk-PBFFLNGS.js} +6 -6
  26. package/dist/{chunk-EKRPU77H.js → chunk-RCKHXY32.js} +3 -3
  27. package/dist/{chunk-NZRMJMX6.js → chunk-SCOJXRRL.js} +4 -4
  28. package/dist/{chunk-DGICBICS.js → chunk-TIPXL2JO.js} +3 -3
  29. package/dist/{chunk-O53RG2PS.js → chunk-UCPEKPAX.js} +3 -3
  30. package/dist/{chunk-PGVLZNNX.js → chunk-UIMRPUBN.js} +2 -2
  31. package/dist/{chunk-24P2IYB3.js → chunk-V7EJVMRL.js} +5 -5
  32. package/dist/{chunk-SQN45NED.js → chunk-VKXVOOB4.js} +4 -4
  33. package/dist/{chunk-4FXGYSQK.js → chunk-VWX6CQAB.js} +2 -2
  34. package/dist/{chunk-ZPWQCUYD.js → chunk-VYFAQ6FS.js} +3 -3
  35. package/dist/{chunk-4BWP64T3.js → chunk-WWU2ISPW.js} +6 -6
  36. package/dist/{chunk-JJUWGFVJ.js → chunk-ZZU26N3S.js} +4 -4
  37. package/dist/cli/commands/auth/logout.js +13 -13
  38. package/dist/cli/commands/auth/logout.test.js +14 -14
  39. package/dist/cli/commands/cache/clear.js +12 -12
  40. package/dist/cli/commands/debug/command-flags.js +12 -12
  41. package/dist/cli/commands/docs/generate.js +12 -12
  42. package/dist/cli/commands/docs/generate.test.js +12 -12
  43. package/dist/cli/commands/help.js +12 -12
  44. package/dist/cli/commands/kitchen-sink/async.js +13 -13
  45. package/dist/cli/commands/kitchen-sink/async.test.js +13 -13
  46. package/dist/cli/commands/kitchen-sink/index.js +15 -15
  47. package/dist/cli/commands/kitchen-sink/index.test.js +15 -15
  48. package/dist/cli/commands/kitchen-sink/prompts.js +13 -13
  49. package/dist/cli/commands/kitchen-sink/prompts.test.js +13 -13
  50. package/dist/cli/commands/kitchen-sink/static.js +13 -13
  51. package/dist/cli/commands/kitchen-sink/static.test.js +13 -13
  52. package/dist/cli/commands/notifications/generate.js +13 -13
  53. package/dist/cli/commands/notifications/list.js +13 -13
  54. package/dist/cli/commands/search.js +13 -13
  55. package/dist/cli/commands/upgrade.js +13 -13
  56. package/dist/cli/commands/version.js +13 -13
  57. package/dist/cli/commands/version.test.js +13 -13
  58. package/dist/cli/services/commands/notifications.js +7 -7
  59. package/dist/cli/services/commands/search.js +3 -3
  60. package/dist/cli/services/commands/search.test.js +3 -3
  61. package/dist/cli/services/commands/version.js +4 -4
  62. package/dist/cli/services/commands/version.test.js +5 -5
  63. package/dist/cli/services/kitchen-sink/async.js +3 -3
  64. package/dist/cli/services/kitchen-sink/prompts.js +3 -3
  65. package/dist/cli/services/kitchen-sink/static.js +3 -3
  66. package/dist/cli/services/upgrade.js +4 -4
  67. package/dist/cli/services/upgrade.test.js +6 -6
  68. package/dist/{custom-oclif-loader-4ILBNUIN.js → custom-oclif-loader-7HOLQMQI.js} +3 -3
  69. package/dist/{error-handler-VW3Z4CSO.js → error-handler-BG6WTDD5.js} +10 -10
  70. package/dist/hooks/postrun.js +8 -8
  71. package/dist/hooks/prerun.js +8 -8
  72. package/dist/index.js +37 -37
  73. package/dist/{local-42CRL4YR.js → local-OWFXN46W.js} +3 -3
  74. package/dist/{node-RJUK5KNM.js → node-SBQDL5UT.js} +14 -14
  75. package/dist/{node-package-manager-6PHP23VI.js → node-package-manager-ECQJA5FQ.js} +4 -4
  76. package/dist/{path-5SZGULBR.js → path-NDLRQPLA.js} +2 -2
  77. package/dist/tsconfig.tsbuildinfo +1 -1
  78. package/dist/{ui-OIACULNZ.js → ui-KCNIEWAP.js} +3 -3
  79. package/dist/{workerd-MTYSNN63.js → workerd-HZAC3F3O.js} +14 -14
  80. package/oclif.manifest.json +1 -1
  81. package/package.json +6 -6
@@ -4,16 +4,16 @@ import {
4
4
  import {
5
5
  fanoutHooks,
6
6
  reportAnalyticsEvent
7
- } from "./chunk-4BWP64T3.js";
7
+ } from "./chunk-WWU2ISPW.js";
8
8
  import {
9
9
  getEnvironmentData
10
- } from "./chunk-2S2TOSUR.js";
10
+ } from "./chunk-PBFFLNGS.js";
11
11
  import {
12
12
  CLI_KIT_VERSION
13
- } from "./chunk-NGHX3OJ3.js";
13
+ } from "./chunk-GKT6HM63.js";
14
14
  import {
15
15
  runWithRateLimit
16
- } from "./chunk-WQY4NQRT.js";
16
+ } from "./chunk-MSM55MKX.js";
17
17
  import {
18
18
  AbortSilentError,
19
19
  CancelExecution,
@@ -28,14 +28,14 @@ import {
28
28
  reportingRateLimit,
29
29
  require_stacktracey,
30
30
  shouldReportErrorAsUnexpected
31
- } from "./chunk-TM56R4RM.js";
31
+ } from "./chunk-IG3TK7HB.js";
32
32
  import {
33
33
  cwd,
34
34
  isAbsolutePath,
35
35
  joinPath,
36
36
  normalizePath,
37
37
  relativePath
38
- } from "./chunk-3NSN5Z4N.js";
38
+ } from "./chunk-K6Y4FYT5.js";
39
39
  import {
40
40
  require_lib
41
41
  } from "./chunk-OJOHMVV7.js";
@@ -2147,4 +2147,4 @@ export {
2147
2147
  registerCleanBugsnagErrorsFromWithinPlugins,
2148
2148
  addBugsnagMetadata
2149
2149
  };
2150
- //# sourceMappingURL=chunk-RWUKHJPN.js.map
2150
+ //# sourceMappingURL=chunk-4EMZSFQW.js.map
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  prompts
3
- } from "./chunk-5RITYBXF.js";
3
+ } from "./chunk-JEPM2XRX.js";
4
4
  import {
5
5
  staticService
6
- } from "./chunk-PGVLZNNX.js";
6
+ } from "./chunk-UIMRPUBN.js";
7
7
  import {
8
8
  asyncTasks
9
- } from "./chunk-ZINX4YDI.js";
9
+ } from "./chunk-J5KDY24D.js";
10
10
  import {
11
11
  base_command_default
12
- } from "./chunk-DN4PETPW.js";
12
+ } from "./chunk-MYVH47P3.js";
13
13
  import {
14
14
  init_cjs_shims
15
15
  } from "./chunk-POZ5MGPT.js";
@@ -34,4 +34,4 @@ var KitchenSinkAll = class extends base_command_default {
34
34
  export {
35
35
  KitchenSinkAll
36
36
  };
37
- //# sourceMappingURL=chunk-5EH323MO.js.map
37
+ //# sourceMappingURL=chunk-54B3DYCR.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  versionService
3
- } from "./chunk-RYLVSBYA.js";
3
+ } from "./chunk-7WCIY7XF.js";
4
4
  import {
5
5
  base_command_default
6
- } from "./chunk-DN4PETPW.js";
6
+ } from "./chunk-MYVH47P3.js";
7
7
  import {
8
8
  init_cjs_shims
9
9
  } from "./chunk-POZ5MGPT.js";
@@ -22,4 +22,4 @@ var Version = class extends base_command_default {
22
22
  export {
23
23
  Version
24
24
  };
25
- //# sourceMappingURL=chunk-EIYEVKVE.js.map
25
+ //# sourceMappingURL=chunk-5VCHG7JY.js.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  cliInstallCommand
3
- } from "./chunk-O53RG2PS.js";
3
+ } from "./chunk-UCPEKPAX.js";
4
4
  import {
5
5
  base_command_default
6
- } from "./chunk-DN4PETPW.js";
6
+ } from "./chunk-MYVH47P3.js";
7
7
  import {
8
8
  renderInfo
9
- } from "./chunk-TM56R4RM.js";
9
+ } from "./chunk-IG3TK7HB.js";
10
10
  import {
11
11
  init_cjs_shims
12
12
  } from "./chunk-POZ5MGPT.js";
@@ -34,4 +34,4 @@ var Upgrade = class extends base_command_default {
34
34
  export {
35
35
  Upgrade
36
36
  };
37
- //# sourceMappingURL=chunk-MU52LLEY.js.map
37
+ //# sourceMappingURL=chunk-67NTGQQG.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  openURL
3
- } from "./chunk-TM56R4RM.js";
3
+ } from "./chunk-IG3TK7HB.js";
4
4
  import {
5
5
  init_cjs_shims
6
6
  } from "./chunk-POZ5MGPT.js";
@@ -15,4 +15,4 @@ async function searchService(query) {
15
15
  export {
16
16
  searchService
17
17
  };
18
- //# sourceMappingURL=chunk-L2JRQYNX.js.map
18
+ //# sourceMappingURL=chunk-6ZLSNV5X.js.map
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  base_command_default
3
- } from "./chunk-DN4PETPW.js";
3
+ } from "./chunk-MYVH47P3.js";
4
4
  import {
5
5
  cacheClear
6
- } from "./chunk-WQY4NQRT.js";
6
+ } from "./chunk-MSM55MKX.js";
7
7
  import {
8
8
  environmentVariables,
9
9
  isTruthy
10
- } from "./chunk-TM56R4RM.js";
10
+ } from "./chunk-IG3TK7HB.js";
11
11
  import {
12
12
  require_lib
13
13
  } from "./chunk-OJOHMVV7.js";
@@ -25,7 +25,7 @@ var import_core = __toESM(require_lib());
25
25
  async function warnIfOldNodeVersion(versions = process.versions) {
26
26
  let nodeVersion = versions.node, nodeMajorVersion = Number(nodeVersion.split(".")[0]);
27
27
  if (nodeMajorVersion < 18) {
28
- let { renderWarning } = await import("./ui-OIACULNZ.js");
28
+ let { renderWarning } = await import("./ui-KCNIEWAP.js");
29
29
  renderWarning({
30
30
  headline: "Upgrade to a supported Node version now.",
31
31
  body: [
@@ -52,7 +52,7 @@ async function runCLI(options, launchCLI, argv = process.argv, env = process.env
52
52
  return setupEnvironmentVariables(options, argv, env), options.runInCreateMode && await addInitToArgvWhenRunningCreateCLI(options, argv), forceNoColor(argv, env), await warnIfOldNodeVersion(versions), launchCLI({ moduleURL: options.moduleURL });
53
53
  }
54
54
  async function addInitToArgvWhenRunningCreateCLI(options, argv = process.argv) {
55
- let { findUpAndReadPackageJson } = await import("./node-package-manager-6PHP23VI.js"), { moduleDirectory } = await import("./path-5SZGULBR.js"), name = (await findUpAndReadPackageJson(moduleDirectory(options.moduleURL))).content.name.replace("@shopify/create-", "");
55
+ let { findUpAndReadPackageJson } = await import("./node-package-manager-ECQJA5FQ.js"), { moduleDirectory } = await import("./path-NDLRQPLA.js"), name = (await findUpAndReadPackageJson(moduleDirectory(options.moduleURL))).content.name.replace("@shopify/create-", "");
56
56
  if (argv.findIndex((arg) => arg.includes("init")) === -1) {
57
57
  let initIndex2 = argv.findIndex((arg) => arg.match(new RegExp(`bin(\\/|\\\\)+(create-${name}|dev|run)`))) + 1;
58
58
  argv.splice(initIndex2, 0, "init");
@@ -101,4 +101,4 @@ export {
101
101
  jsonFlag,
102
102
  ClearCache
103
103
  };
104
- //# sourceMappingURL=chunk-OSIMKPXN.js.map
104
+ //# sourceMappingURL=chunk-743YRZYJ.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  CLI_KIT_VERSION
3
- } from "./chunk-NGHX3OJ3.js";
3
+ } from "./chunk-GKT6HM63.js";
4
4
  import {
5
5
  outputInfo
6
- } from "./chunk-TM56R4RM.js";
6
+ } from "./chunk-IG3TK7HB.js";
7
7
  import {
8
8
  init_cjs_shims
9
9
  } from "./chunk-POZ5MGPT.js";
@@ -17,4 +17,4 @@ async function versionService() {
17
17
  export {
18
18
  versionService
19
19
  };
20
- //# sourceMappingURL=chunk-RYLVSBYA.js.map
20
+ //# sourceMappingURL=chunk-7WCIY7XF.js.map
@@ -5,7 +5,7 @@ import {
5
5
  } from "./chunk-VSLR7ET4.js";
6
6
  import {
7
7
  CLI_KIT_VERSION
8
- } from "./chunk-NGHX3OJ3.js";
8
+ } from "./chunk-GKT6HM63.js";
9
9
  import {
10
10
  Environment,
11
11
  environmentVariables,
@@ -17,10 +17,10 @@ import {
17
17
  runWithTimer,
18
18
  serviceEnvironment,
19
19
  systemEnvironmentVariables
20
- } from "./chunk-TM56R4RM.js";
20
+ } from "./chunk-IG3TK7HB.js";
21
21
  import {
22
22
  sniffForJson
23
- } from "./chunk-3NSN5Z4N.js";
23
+ } from "./chunk-K6Y4FYT5.js";
24
24
  import {
25
25
  __commonJS,
26
26
  __require,
@@ -31065,4 +31065,4 @@ mime-types/index.js:
31065
31065
  * MIT Licensed
31066
31066
  *)
31067
31067
  */
31068
- //# sourceMappingURL=chunk-L5QY66M5.js.map
31068
+ //# sourceMappingURL=chunk-7WNSZM36.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  clearCollectedLogs,
3
3
  collectedLogs
4
- } from "./chunk-TM56R4RM.js";
4
+ } from "./chunk-IG3TK7HB.js";
5
5
  import {
6
6
  init_cjs_shims
7
7
  } from "./chunk-POZ5MGPT.js";
@@ -33,4 +33,4 @@ function mockAndCaptureOutput() {
33
33
  export {
34
34
  mockAndCaptureOutput
35
35
  };
36
- //# sourceMappingURL=chunk-TFYGB36T.js.map
36
+ //# sourceMappingURL=chunk-D4IQMUFI.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  asyncTasks
3
- } from "./chunk-ZINX4YDI.js";
3
+ } from "./chunk-J5KDY24D.js";
4
4
  import {
5
5
  base_command_default
6
- } from "./chunk-DN4PETPW.js";
6
+ } from "./chunk-MYVH47P3.js";
7
7
  import {
8
8
  init_cjs_shims
9
9
  } from "./chunk-POZ5MGPT.js";
@@ -25,4 +25,4 @@ var KitchenSinkAsync = class extends base_command_default {
25
25
  export {
26
26
  KitchenSinkAsync
27
27
  };
28
- //# sourceMappingURL=chunk-PPETSPYI.js.map
28
+ //# sourceMappingURL=chunk-G5FWQLLV.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  list
3
- } from "./chunk-24P2IYB3.js";
3
+ } from "./chunk-V7EJVMRL.js";
4
4
  import {
5
5
  base_command_default
6
- } from "./chunk-DN4PETPW.js";
6
+ } from "./chunk-MYVH47P3.js";
7
7
  import {
8
8
  init_cjs_shims
9
9
  } from "./chunk-POZ5MGPT.js";
@@ -25,4 +25,4 @@ var List = class extends base_command_default {
25
25
  export {
26
26
  List
27
27
  };
28
- //# sourceMappingURL=chunk-6XIQQAII.js.map
28
+ //# sourceMappingURL=chunk-GERBRDYP.js.map
@@ -4,9 +4,9 @@ import {
4
4
 
5
5
  // ../cli-kit/dist/public/common/version.js
6
6
  init_cjs_shims();
7
- var CLI_KIT_VERSION = "3.71.1";
7
+ var CLI_KIT_VERSION = "3.71.2";
8
8
 
9
9
  export {
10
10
  CLI_KIT_VERSION
11
11
  };
12
- //# sourceMappingURL=chunk-NGHX3OJ3.js.map
12
+ //# sourceMappingURL=chunk-GKT6HM63.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  staticService
3
- } from "./chunk-PGVLZNNX.js";
3
+ } from "./chunk-UIMRPUBN.js";
4
4
  import {
5
5
  base_command_default
6
- } from "./chunk-DN4PETPW.js";
6
+ } from "./chunk-MYVH47P3.js";
7
7
  import {
8
8
  init_cjs_shims
9
9
  } from "./chunk-POZ5MGPT.js";
@@ -25,4 +25,4 @@ var KitchenSinkStatic = class extends base_command_default {
25
25
  export {
26
26
  KitchenSinkStatic
27
27
  };
28
- //# sourceMappingURL=chunk-V2IQ2QWA.js.map
28
+ //# sourceMappingURL=chunk-GUXC6FHI.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  generate
3
- } from "./chunk-24P2IYB3.js";
3
+ } from "./chunk-V7EJVMRL.js";
4
4
  import {
5
5
  base_command_default
6
- } from "./chunk-DN4PETPW.js";
6
+ } from "./chunk-MYVH47P3.js";
7
7
  import {
8
8
  init_cjs_shims
9
9
  } from "./chunk-POZ5MGPT.js";
@@ -25,4 +25,4 @@ var Generate = class extends base_command_default {
25
25
  export {
26
26
  Generate
27
27
  };
28
- //# sourceMappingURL=chunk-SBXDGZUV.js.map
28
+ //# sourceMappingURL=chunk-HX2V6LJV.js.map
@@ -6,12 +6,13 @@ import {
6
6
  } from "./chunk-XVNW332R.js";
7
7
  import {
8
8
  cwd,
9
+ delimiter,
9
10
  dirname,
10
11
  joinPath,
11
12
  normalizePath,
12
13
  relativizePath,
13
14
  sniffForPath
14
- } from "./chunk-3NSN5Z4N.js";
15
+ } from "./chunk-K6Y4FYT5.js";
15
16
  import {
16
17
  require_cross_spawn,
17
18
  require_lib,
@@ -2563,11 +2564,11 @@ var require_dist2 = __commonJS({
2563
2564
  var lower_case_1 = require_dist(), DEFAULT_SPLIT_REGEXP = [/([a-z0-9])([A-Z])/g, /([A-Z])([A-Z][a-z])/g], DEFAULT_STRIP_REGEXP = /[^A-Z0-9]+/gi;
2564
2565
  function noCase(input, options) {
2565
2566
  options === void 0 && (options = {});
2566
- for (var _a = options.splitRegexp, splitRegexp = _a === void 0 ? DEFAULT_SPLIT_REGEXP : _a, _b = options.stripRegexp, stripRegexp = _b === void 0 ? DEFAULT_STRIP_REGEXP : _b, _c = options.transform, transform = _c === void 0 ? lower_case_1.lowerCase : _c, _d = options.delimiter, delimiter = _d === void 0 ? " " : _d, result = replace(replace(input, splitRegexp, "$1\0$2"), stripRegexp, "\0"), start = 0, end = result.length; result.charAt(start) === "\0"; )
2567
+ for (var _a = options.splitRegexp, splitRegexp = _a === void 0 ? DEFAULT_SPLIT_REGEXP : _a, _b = options.stripRegexp, stripRegexp = _b === void 0 ? DEFAULT_STRIP_REGEXP : _b, _c = options.transform, transform = _c === void 0 ? lower_case_1.lowerCase : _c, _d = options.delimiter, delimiter2 = _d === void 0 ? " " : _d, result = replace(replace(input, splitRegexp, "$1\0$2"), stripRegexp, "\0"), start = 0, end = result.length; result.charAt(start) === "\0"; )
2567
2568
  start++;
2568
2569
  for (; result.charAt(end - 1) === "\0"; )
2569
2570
  end--;
2570
- return result.slice(start, end).split("\0").map(transform).join(delimiter);
2571
+ return result.slice(start, end).split("\0").map(transform).join(delimiter2);
2571
2572
  }
2572
2573
  exports.noCase = noCase;
2573
2574
  function replace(input, re, value) {
@@ -22988,11 +22989,11 @@ function joinWithAnd(items) {
22988
22989
  function pascalize(str) {
22989
22990
  return (0, import_change_case.pascalCase)(str);
22990
22991
  }
22991
- function normalizeDelimitedString(delimitedString, delimiter = ",") {
22992
+ function normalizeDelimitedString(delimitedString, delimiter2 = ",") {
22992
22993
  if (!delimitedString)
22993
22994
  return;
22994
- let sortedItems = delimitedString.split(delimiter).map((value) => value.trim()).filter((value) => value !== "").sort();
22995
- return [...new Set(sortedItems)].join(delimiter);
22995
+ let sortedItems = delimitedString.split(delimiter2).map((value) => value.trim()).filter((value) => value !== "").sort();
22996
+ return [...new Set(sortedItems)].join(delimiter2);
22996
22997
  }
22997
22998
 
22998
22999
  // ../../node_modules/.pnpm/fs-extra@11.1.0/node_modules/fs-extra/lib/esm.mjs
@@ -25272,10 +25273,12 @@ async function exec2(command, args, options) {
25272
25273
  }
25273
25274
  function buildExec(command, args, options) {
25274
25275
  let env3 = options?.env ?? process.env;
25275
- shouldDisplayColors() && (env3.FORCE_COLOR = "1"), checkCommandSafety(command);
25276
+ shouldDisplayColors() && (env3.FORCE_COLOR = "1");
25277
+ let executionCwd = options?.cwd ?? cwd();
25278
+ checkCommandSafety(command, { cwd: executionCwd });
25276
25279
  let commandProcess = execa(command, args, {
25277
25280
  env: env3,
25278
- cwd: options?.cwd,
25281
+ cwd: executionCwd,
25279
25282
  input: options?.input,
25280
25283
  stdio: options?.stdio,
25281
25284
  stdin: options?.stdin,
@@ -25288,11 +25291,15 @@ function buildExec(command, args, options) {
25288
25291
  return outputDebug(`
25289
25292
  Running system process:
25290
25293
  \xB7 Command: ${command} ${args.join(" ")}
25291
- \xB7 Working directory: ${options?.cwd ?? cwd()}
25294
+ \xB7 Working directory: ${executionCwd}
25292
25295
  `), commandProcess;
25293
25296
  }
25294
- function checkCommandSafety(command) {
25295
- if (dirname(import_which.default.sync(command)) === cwd()) {
25297
+ function checkCommandSafety(command, _options) {
25298
+ let pathIncludingLocal = `${_options.cwd}${delimiter}${process.env.PATH}`, commandPath = import_which.default.sync(command, {
25299
+ nothrow: !0,
25300
+ path: pathIncludingLocal
25301
+ });
25302
+ if (commandPath && dirname(commandPath) === _options.cwd) {
25296
25303
  let headline = ["Skipped run of unsecure binary", { command }, "found in the current directory."], body = "Please remove that file or review your current PATH.";
25297
25304
  throw renderWarning({ headline, body }), new AbortError(headline, body);
25298
25305
  }
@@ -29950,7 +29957,7 @@ function createRuntimeMetadataContainer(defaultPublicMetadata = {}) {
29950
29957
  try {
29951
29958
  await getAndSet();
29952
29959
  } catch (error) {
29953
- let { sendErrorToBugsnag } = await import("./error-handler-VW3Z4CSO.js");
29960
+ let { sendErrorToBugsnag } = await import("./error-handler-BG6WTDD5.js");
29954
29961
  await sendErrorToBugsnag(error, "unexpected_error");
29955
29962
  }
29956
29963
  }, durationStack = [];
@@ -31893,4 +31900,4 @@ react-reconciler/cjs/react-reconciler-constants.development.js:
31893
31900
  * LICENSE file in the root directory of this source tree.
31894
31901
  *)
31895
31902
  */
31896
- //# sourceMappingURL=chunk-TM56R4RM.js.map
31903
+ //# sourceMappingURL=chunk-IG3TK7HB.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  renderConcurrent,
3
3
  renderTasks
4
- } from "./chunk-TM56R4RM.js";
4
+ } from "./chunk-IG3TK7HB.js";
5
5
  import {
6
6
  init_cjs_shims
7
7
  } from "./chunk-POZ5MGPT.js";
@@ -43,4 +43,4 @@ async function asyncTasks() {
43
43
  export {
44
44
  asyncTasks
45
45
  };
46
- //# sourceMappingURL=chunk-ZINX4YDI.js.map
46
+ //# sourceMappingURL=chunk-J5KDY24D.js.map
@@ -2,16 +2,16 @@ import {
2
2
  fetch,
3
3
  jsonOutputEnabled,
4
4
  z
5
- } from "./chunk-L5QY66M5.js";
5
+ } from "./chunk-7WNSZM36.js";
6
6
  import {
7
7
  CLI_KIT_VERSION
8
- } from "./chunk-NGHX3OJ3.js";
8
+ } from "./chunk-GKT6HM63.js";
9
9
  import {
10
10
  cacheRetrieve,
11
11
  cacheRetrieveOrRepopulate,
12
12
  cacheStore,
13
13
  versionSatisfies
14
- } from "./chunk-WQY4NQRT.js";
14
+ } from "./chunk-MSM55MKX.js";
15
15
  import {
16
16
  AbortSilentError,
17
17
  isTruthy,
@@ -19,7 +19,7 @@ import {
19
19
  renderError,
20
20
  renderInfo,
21
21
  renderWarning
22
- } from "./chunk-TM56R4RM.js";
22
+ } from "./chunk-IG3TK7HB.js";
23
23
  import {
24
24
  init_cjs_shims
25
25
  } from "./chunk-POZ5MGPT.js";
@@ -74,7 +74,7 @@ async function showNotificationsIfNeeded(currentSurfaces, environment = process.
74
74
  throw new AbortSilentError();
75
75
  let errorMessage = `Error retrieving notifications: ${error.message}`;
76
76
  outputDebug(errorMessage);
77
- let { sendErrorToBugsnag } = await import("./error-handler-VW3Z4CSO.js");
77
+ let { sendErrorToBugsnag } = await import("./error-handler-BG6WTDD5.js");
78
78
  await sendErrorToBugsnag(errorMessage, "unexpected_error");
79
79
  }
80
80
  }
@@ -162,4 +162,4 @@ export {
162
162
  getNotifications,
163
163
  stringifyFilters
164
164
  };
165
- //# sourceMappingURL=chunk-RJ26EKJZ.js.map
165
+ //# sourceMappingURL=chunk-JEG2PPJM.js.map
@@ -5,7 +5,7 @@ import {
5
5
  renderDangerousConfirmationPrompt,
6
6
  renderSelectPrompt,
7
7
  renderTextPrompt
8
- } from "./chunk-TM56R4RM.js";
8
+ } from "./chunk-IG3TK7HB.js";
9
9
  import {
10
10
  init_cjs_shims
11
11
  } from "./chunk-POZ5MGPT.js";
@@ -176,4 +176,4 @@ async function prompts() {
176
176
  export {
177
177
  prompts
178
178
  };
179
- //# sourceMappingURL=chunk-5RITYBXF.js.map
179
+ //# sourceMappingURL=chunk-JEPM2XRX.js.map
@@ -4,7 +4,7 @@ import {
4
4
  findUpAndReadPackageJson,
5
5
  getPackageManager,
6
6
  usesWorkspaces
7
- } from "./chunk-WQY4NQRT.js";
7
+ } from "./chunk-MSM55MKX.js";
8
8
  import {
9
9
  AbortError,
10
10
  exec,
@@ -15,12 +15,12 @@ import {
15
15
  outputSuccess,
16
16
  outputToken,
17
17
  outputWarn
18
- } from "./chunk-TM56R4RM.js";
18
+ } from "./chunk-IG3TK7HB.js";
19
19
  import {
20
20
  dirname,
21
21
  joinPath,
22
22
  moduleDirectory
23
- } from "./chunk-3NSN5Z4N.js";
23
+ } from "./chunk-K6Y4FYT5.js";
24
24
  import {
25
25
  init_cjs_shims
26
26
  } from "./chunk-POZ5MGPT.js";
@@ -140,4 +140,4 @@ function usingPackageManager({ env } = { env: process.env }) {
140
140
  export {
141
141
  upgrade
142
142
  };
143
- //# sourceMappingURL=chunk-LVCMJDAE.js.map
143
+ //# sourceMappingURL=chunk-JRRUBVZB.js.map
@@ -42,7 +42,7 @@ function normalizeWindowsPath(input = "") {
42
42
  return !input || !input.includes("\\") ? input : input.replace(/\\/g, "/");
43
43
  }
44
44
  var _UNC_REGEX = /^[/\\]{2}/, _IS_ABSOLUTE_RE = /^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/, _DRIVE_LETTER_RE = /^[A-Za-z]:$/;
45
- var normalize = function(path2) {
45
+ var delimiter = ":", normalize = function(path2) {
46
46
  if (path2.length === 0)
47
47
  return ".";
48
48
  path2 = normalizeWindowsPath(path2);
@@ -176,6 +176,7 @@ function sniffForJson(argv = process.argv) {
176
176
  }
177
177
 
178
178
  export {
179
+ delimiter,
179
180
  joinPath,
180
181
  normalizePath,
181
182
  resolvePath,
@@ -191,4 +192,4 @@ export {
191
192
  sniffForPath,
192
193
  sniffForJson
193
194
  };
194
- //# sourceMappingURL=chunk-3NSN5Z4N.js.map
195
+ //# sourceMappingURL=chunk-K6Y4FYT5.js.map
@@ -2,20 +2,20 @@ import {
2
2
  ensureAuthenticatedAdmin,
3
3
  ensureAuthenticatedBusinessPlatform,
4
4
  logout
5
- } from "./chunk-JJUWGFVJ.js";
5
+ } from "./chunk-ZZU26N3S.js";
6
6
  import {
7
7
  base_command_default
8
- } from "./chunk-DN4PETPW.js";
8
+ } from "./chunk-MYVH47P3.js";
9
9
  import {
10
10
  fanoutHooks
11
- } from "./chunk-4BWP64T3.js";
11
+ } from "./chunk-WWU2ISPW.js";
12
12
  import {
13
13
  businessPlatformFqdn,
14
14
  graphqlRequest,
15
15
  graphqlRequestDoc,
16
16
  handleDeprecations,
17
17
  normalizeStoreFqdn
18
- } from "./chunk-2S2TOSUR.js";
18
+ } from "./chunk-PBFFLNGS.js";
19
19
  import {
20
20
  findUpAndReadPackageJson,
21
21
  getPackageManager,
@@ -23,7 +23,7 @@ import {
23
23
  packageManagerFromUserAgent,
24
24
  readAndParsePackageJson,
25
25
  writePackageJSON
26
- } from "./chunk-WQY4NQRT.js";
26
+ } from "./chunk-MSM55MKX.js";
27
27
  import {
28
28
  AbortError,
29
29
  BugError,
@@ -61,7 +61,7 @@ import {
61
61
  runWithTimer,
62
62
  source_default,
63
63
  writeFile
64
- } from "./chunk-TM56R4RM.js";
64
+ } from "./chunk-IG3TK7HB.js";
65
65
  import {
66
66
  basename,
67
67
  cwd,
@@ -71,7 +71,7 @@ import {
71
71
  relativePath,
72
72
  relativizePath,
73
73
  resolvePath
74
- } from "./chunk-3NSN5Z4N.js";
74
+ } from "./chunk-K6Y4FYT5.js";
75
75
  import {
76
76
  require_lib
77
77
  } from "./chunk-OJOHMVV7.js";
@@ -146601,4 +146601,4 @@ export {
146601
146601
  getDebugBannerLine,
146602
146602
  getUtilityBannerlines
146603
146603
  };
146604
- //# sourceMappingURL=chunk-LFQTQLLB.js.map
146604
+ //# sourceMappingURL=chunk-LES3FUFV.js.map
@@ -21,11 +21,11 @@ import {
21
21
  require_get_stream,
22
22
  runWithTimer,
23
23
  writeFile
24
- } from "./chunk-TM56R4RM.js";
24
+ } from "./chunk-IG3TK7HB.js";
25
25
  import {
26
26
  dirname,
27
27
  joinPath
28
- } from "./chunk-3NSN5Z4N.js";
28
+ } from "./chunk-K6Y4FYT5.js";
29
29
  import {
30
30
  __commonJS,
31
31
  __export,
@@ -13982,4 +13982,4 @@ deep-extend/lib/deep-extend.js:
13982
13982
  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
13983
13983
  *)
13984
13984
  */
13985
- //# sourceMappingURL=chunk-WQY4NQRT.js.map
13985
+ //# sourceMappingURL=chunk-MSM55MKX.js.map
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  errorHandler,
3
3
  registerCleanBugsnagErrorsFromWithinPlugins
4
- } from "./chunk-RWUKHJPN.js";
4
+ } from "./chunk-4EMZSFQW.js";
5
5
  import {
6
6
  setCurrentCommandId,
7
7
  showNotificationsIfNeeded
8
- } from "./chunk-RJ26EKJZ.js";
8
+ } from "./chunk-JEG2PPJM.js";
9
9
  import {
10
10
  hashString
11
- } from "./chunk-L5QY66M5.js";
11
+ } from "./chunk-7WNSZM36.js";
12
12
  import {
13
13
  AbortError,
14
14
  addPublicMetadata,
@@ -24,10 +24,10 @@ import {
24
24
  renderWarning,
25
25
  terminalSupportsPrompting,
26
26
  underscore
27
- } from "./chunk-TM56R4RM.js";
27
+ } from "./chunk-IG3TK7HB.js";
28
28
  import {
29
29
  cwd
30
- } from "./chunk-3NSN5Z4N.js";
30
+ } from "./chunk-K6Y4FYT5.js";
31
31
  import {
32
32
  require_lib
33
33
  } from "./chunk-OJOHMVV7.js";
@@ -1686,4 +1686,4 @@ export {
1686
1686
  encodeToml,
1687
1687
  base_command_default
1688
1688
  };
1689
- //# sourceMappingURL=chunk-DN4PETPW.js.map
1689
+ //# sourceMappingURL=chunk-MYVH47P3.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  base_command_default
3
- } from "./chunk-DN4PETPW.js";
3
+ } from "./chunk-MYVH47P3.js";
4
4
  import {
5
5
  require_lib
6
6
  } from "./chunk-OJOHMVV7.js";
@@ -43,4 +43,4 @@ var HelpCommand = class _HelpCommand extends base_command_default {
43
43
  export {
44
44
  HelpCommand
45
45
  };
46
- //# sourceMappingURL=chunk-2ULUZCOJ.js.map
46
+ //# sourceMappingURL=chunk-OMKR3TBG.js.map