@shopify/cli 3.73.2 → 3.74.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 (128) hide show
  1. package/dist/assets/dev-console/extensions/dev-console/assets/{index-D7F9wNys.js → index-lyGm6l3x.js} +12 -12
  2. package/dist/assets/dev-console/index.html +2 -2
  3. package/dist/assets/speedscope/SourceCodePro-Regular.ttf.f546cbe0.woff2 +0 -0
  4. package/dist/assets/speedscope/demangle-cpp.1768f4cc.js +4 -0
  5. package/dist/assets/speedscope/favicon-16x16.f74b3187.png +0 -0
  6. package/dist/assets/speedscope/favicon-32x32.bc503437.png +0 -0
  7. package/dist/assets/speedscope/file-format-schema.json +324 -0
  8. package/dist/assets/speedscope/import.bcbb2033.js +123 -0
  9. package/dist/assets/speedscope/index.html +2 -0
  10. package/dist/assets/speedscope/perf-vertx-stacks-01-collapsed-all.2681da68.txt +199 -0
  11. package/dist/assets/speedscope/release.txt +3 -0
  12. package/dist/assets/speedscope/reset.8c46b7a1.css +2 -0
  13. package/dist/assets/speedscope/source-code-pro.52b1676f.css +2 -0
  14. package/dist/assets/speedscope/source-code-pro.LICENSE.md +93 -0
  15. package/dist/assets/speedscope/source-map.438fa06b.js +24 -0
  16. package/dist/assets/speedscope/speedscope.6f107512.js +193 -0
  17. package/dist/{chokidar-5LLC6S6D.js → chokidar-BLUAYFAB.js} +13 -1044
  18. package/dist/chokidar-OATAHMV6.js +1122 -0
  19. package/dist/chunk-3I3GQNEW.js +95 -0
  20. package/dist/{chunk-ZQ55XXD5.js → chunk-4VWVAF7H.js} +3 -3
  21. package/dist/chunk-57Q6OQG4.js +111 -0
  22. package/dist/{chunk-MHUINF7I.js → chunk-5CLGH5PH.js} +2 -2
  23. package/dist/{chunk-CRHXI6PS.js → chunk-5DBS6QOU.js} +102 -638
  24. package/dist/{chunk-O73CKGH7.js → chunk-5L3V3XN7.js} +4 -4
  25. package/dist/{chunk-PJZVGRJ6.js → chunk-6J2OGZ3N.js} +2 -2
  26. package/dist/{chunk-AWW6JHWH.js → chunk-6N46HJWX.js} +4 -4
  27. package/dist/{chunk-Y2KXNORY.js → chunk-7DCZ4PEB.js} +3 -3
  28. package/dist/{chunk-2GWO5FJL.js → chunk-7HJY7CZB.js} +7 -7
  29. package/dist/{chunk-ZX3L2JKV.js → chunk-AKL7T64Q.js} +80 -133
  30. package/dist/{chunk-YMB5HUU3.js → chunk-AQFGEPN5.js} +8 -8
  31. package/dist/{chunk-BUFIEXZ5.js → chunk-B3YWYURY.js} +701 -141
  32. package/dist/{chunk-SVSIFM5Y.js → chunk-BGCAU2LM.js} +2 -2
  33. package/dist/{chunk-GSPOKRGB.js → chunk-C2KCEZK7.js} +2 -2
  34. package/dist/{chunk-K7HGDAI4.js → chunk-CDBXAE2F.js} +20 -104
  35. package/dist/{chunk-SBPFWO4S.js → chunk-CDQA3SST.js} +56182 -37290
  36. package/dist/{chunk-ES3T7FIW.js → chunk-CGXWFHRF.js} +3 -3
  37. package/dist/{chunk-YP35ARHU.js → chunk-CKTTNTVQ.js} +41 -23
  38. package/dist/chunk-CP3BRHWK.js +33 -0
  39. package/dist/{chunk-7VQ2QADA.js → chunk-DDHWVLT7.js} +333 -156
  40. package/dist/{chunk-LLWX47E4.js → chunk-DH65BORI.js} +7 -9
  41. package/dist/{chunk-2RKSPXIM.js → chunk-DNKTPUYV.js} +5 -7
  42. package/dist/chunk-EMPP4I5H.js +497 -0
  43. package/dist/{chunk-KETZRITQ.js → chunk-FKB56THZ.js} +5 -5
  44. package/dist/{chunk-WNQ6HYKJ.js → chunk-GSDR4V4C.js} +3 -3
  45. package/dist/{chunk-XEZJEXCU.js → chunk-H6V3ZAMP.js} +2 -2
  46. package/dist/{chunk-KUM3DVPF.js → chunk-HMDWNGIV.js} +142 -471
  47. package/dist/{chunk-WKN62GWH.js → chunk-IVI5VH2V.js} +502 -699
  48. package/dist/{chunk-KXGCBBJW.js → chunk-L5L7GDSR.js} +2 -2
  49. package/dist/chunk-LOKVDI3S.js +1137 -0
  50. package/dist/{chunk-OAZFIMJ3.js → chunk-LQ2ZKVR6.js} +45 -115
  51. package/dist/{chunk-7TAOK36E.js → chunk-MCL7WC6G.js} +4 -4
  52. package/dist/{chunk-3HBRMIPY.js → chunk-MW7RWHY5.js} +341 -211
  53. package/dist/{chunk-5NHIBL5K.js → chunk-P6UIGUUZ.js} +2 -2
  54. package/dist/{chunk-2QGVACPR.js → chunk-PLIMIFMY.js} +3 -3
  55. package/dist/{chunk-Y43XESY2.js → chunk-POBZPEHK.js} +6442 -3165
  56. package/dist/{chunk-FJHGD37G.js → chunk-POKIPHUC.js} +3 -3
  57. package/dist/{chunk-NQFTYLP6.js → chunk-QVSOZYZT.js} +3 -3
  58. package/dist/{chunk-DVCOVWXF.js → chunk-RAAPXB5S.js} +3 -3
  59. package/dist/chunk-S7L4E7JJ.js +15933 -0
  60. package/dist/{chunk-2EKHINO6.js → chunk-TKPN642B.js} +5 -7
  61. package/dist/{chunk-IY7TUSI2.js → chunk-TLXMY7OM.js} +498 -412
  62. package/dist/{chunk-52WEPVL5.js → chunk-VKUWRIWE.js} +4 -4
  63. package/dist/{chunk-ZOCACHGF.js → chunk-WYNFQEFV.js} +3 -3
  64. package/dist/{chunk-ONK6AXDE.js → chunk-X2GSBUQM.js} +4 -4
  65. package/dist/{chunk-LVEURM2X.js → chunk-XCOZPDGL.js} +16 -2
  66. package/dist/{chunk-CKC5C2DR.js → chunk-Z4WWAZEY.js} +4 -4
  67. package/dist/cli/commands/auth/logout.js +20 -19
  68. package/dist/cli/commands/auth/logout.test.js +22 -21
  69. package/dist/cli/commands/cache/clear.js +19 -18
  70. package/dist/cli/commands/debug/command-flags.js +19 -18
  71. package/dist/cli/commands/docs/generate.js +19 -18
  72. package/dist/cli/commands/docs/generate.test.js +20 -19
  73. package/dist/cli/commands/help.js +19 -18
  74. package/dist/cli/commands/kitchen-sink/async.js +20 -19
  75. package/dist/cli/commands/kitchen-sink/async.test.js +21 -20
  76. package/dist/cli/commands/kitchen-sink/index.js +22 -21
  77. package/dist/cli/commands/kitchen-sink/index.test.js +23 -22
  78. package/dist/cli/commands/kitchen-sink/prompts.js +20 -19
  79. package/dist/cli/commands/kitchen-sink/prompts.test.js +21 -20
  80. package/dist/cli/commands/kitchen-sink/static.js +20 -19
  81. package/dist/cli/commands/kitchen-sink/static.test.js +21 -20
  82. package/dist/cli/commands/notifications/generate.js +20 -19
  83. package/dist/cli/commands/notifications/list.js +20 -19
  84. package/dist/cli/commands/search.js +20 -19
  85. package/dist/cli/commands/upgrade.js +20 -19
  86. package/dist/cli/commands/upgrade.test.js +2 -1
  87. package/dist/cli/commands/version.js +20 -19
  88. package/dist/cli/commands/version.test.js +21 -20
  89. package/dist/cli/services/commands/notifications.js +14 -13
  90. package/dist/cli/services/commands/search.js +9 -8
  91. package/dist/cli/services/commands/search.test.js +10 -9
  92. package/dist/cli/services/commands/version.js +10 -9
  93. package/dist/cli/services/commands/version.test.js +12 -11
  94. package/dist/cli/services/kitchen-sink/async.js +9 -8
  95. package/dist/cli/services/kitchen-sink/prompts.js +9 -8
  96. package/dist/cli/services/kitchen-sink/static.js +9 -8
  97. package/dist/cli/services/upgrade.d.ts +0 -1
  98. package/dist/cli/services/upgrade.js +11 -10
  99. package/dist/cli/services/upgrade.test.js +14 -13
  100. package/dist/configs/all.yml +6 -0
  101. package/dist/configs/recommended.yml +6 -0
  102. package/dist/{custom-oclif-loader-4X7Y4CNS.js → custom-oclif-loader-YCFOTKOV.js} +9 -8
  103. package/dist/{del-P2RS6GN2.js → del-FBU5JYXS.js} +4 -4
  104. package/dist/{devtools-K7FXBBFZ.js → devtools-6LOQORRT.js} +2 -2
  105. package/dist/{error-handler-KHFKBXR4.js → error-handler-S6ZLT6DF.js} +17 -16
  106. package/dist/hooks/postrun.js +18 -16
  107. package/dist/hooks/prerun.js +15 -14
  108. package/dist/{http-proxy-FXWKYHZ3.js → http-proxy-L3MCJRQS.js} +3 -2
  109. package/dist/index.js +18715 -17414
  110. package/dist/lib-E2DSNKUX.js +13 -0
  111. package/dist/{local-PBMBK3CF.js → local-62JTGJVG.js} +11 -10
  112. package/dist/{morph-OSHCID2F.js → morph-ACVSDUS7.js} +3 -3
  113. package/dist/{node-ENALIQ2H.js → node-M7KO76D7.js} +23 -20
  114. package/dist/{node-package-manager-CVGCLCTC.js → node-package-manager-RXCBZVWU.js} +11 -10
  115. package/dist/{npa-TM76BGG3.js → npa-JAX2F6CO.js} +2 -2
  116. package/dist/out-AZBX4ITJ.js +7 -0
  117. package/dist/{path-2HZUSAGR.js → path-2K5HIMHZ.js} +3 -2
  118. package/dist/tsconfig.tsbuildinfo +1 -1
  119. package/dist/{ui-BBB46DQS.js → ui-CEJ6R3AV.js} +9 -8
  120. package/dist/{workerd-F7DWDIYO.js → workerd-WLX2SY5E.js} +23 -20
  121. package/oclif.manifest.json +103 -2
  122. package/package.json +9 -9
  123. package/LICENSE +0 -8
  124. package/dist/chunk-KIOWYILS.js +0 -3811
  125. package/dist/chunk-R4HZPLY4.js +0 -15746
  126. package/dist/lib-QZGSY5YB.js +0 -13
  127. package/dist/out-JR4DWQ2G.js +0 -7
  128. /package/dist/assets/dev-console/extensions/dev-console/assets/{index-Cgb-oKsM.css → index-n8yr6cxq.css} +0 -0
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  list
3
- } from "./chunk-2RKSPXIM.js";
3
+ } from "./chunk-DNKTPUYV.js";
4
4
  import {
5
5
  base_command_default
6
- } from "./chunk-LLWX47E4.js";
6
+ } from "./chunk-DH65BORI.js";
7
7
  import {
8
8
  init_cjs_shims
9
9
  } from "./chunk-PKR7KJ6P.js";
@@ -25,4 +25,4 @@ var List = class extends base_command_default {
25
25
  export {
26
26
  List
27
27
  };
28
- //# sourceMappingURL=chunk-ES3T7FIW.js.map
28
+ //# sourceMappingURL=chunk-CGXWFHRF.js.map
@@ -4,16 +4,16 @@ import {
4
4
  import {
5
5
  fanoutHooks,
6
6
  reportAnalyticsEvent
7
- } from "./chunk-R4HZPLY4.js";
7
+ } from "./chunk-S7L4E7JJ.js";
8
8
  import {
9
9
  getEnvironmentData
10
- } from "./chunk-KIOWYILS.js";
10
+ } from "./chunk-LOKVDI3S.js";
11
11
  import {
12
12
  CLI_KIT_VERSION
13
- } from "./chunk-KXGCBBJW.js";
13
+ } from "./chunk-L5L7GDSR.js";
14
14
  import {
15
15
  runWithRateLimit
16
- } from "./chunk-WKN62GWH.js";
16
+ } from "./chunk-IVI5VH2V.js";
17
17
  import {
18
18
  AbortSilentError,
19
19
  CancelExecution,
@@ -28,17 +28,17 @@ import {
28
28
  reportingRateLimit,
29
29
  require_stacktracey,
30
30
  shouldReportErrorAsUnexpected
31
- } from "./chunk-IY7TUSI2.js";
31
+ } from "./chunk-TLXMY7OM.js";
32
32
  import {
33
33
  cwd,
34
34
  isAbsolutePath,
35
35
  joinPath,
36
36
  normalizePath,
37
37
  relativePath
38
- } from "./chunk-K7HGDAI4.js";
38
+ } from "./chunk-57Q6OQG4.js";
39
39
  import {
40
40
  require_lib
41
- } from "./chunk-SBPFWO4S.js";
41
+ } from "./chunk-CDQA3SST.js";
42
42
  import {
43
43
  __commonJS,
44
44
  __require,
@@ -459,9 +459,9 @@ var require_byline = __commonJS({
459
459
  }
460
460
  });
461
461
 
462
- // ../../node_modules/.pnpm/@bugsnag+node@7.22.7/node_modules/@bugsnag/node/dist/bugsnag.js
462
+ // ../../node_modules/.pnpm/@bugsnag+node@7.25.0/node_modules/@bugsnag/node/dist/bugsnag.js
463
463
  var require_bugsnag = __commonJS({
464
- "../../node_modules/.pnpm/@bugsnag+node@7.22.7/node_modules/@bugsnag/node/dist/bugsnag.js"(exports, module) {
464
+ "../../node_modules/.pnpm/@bugsnag+node@7.25.0/node_modules/@bugsnag/node/dist/bugsnag.js"(exports, module) {
465
465
  init_cjs_shims();
466
466
  (function(f) {
467
467
  if (typeof exports == "object" && typeof module < "u")
@@ -908,13 +908,30 @@ var require_bugsnag = __commonJS({
908
908
  add: __add_21,
909
909
  get,
910
910
  clear: __clear_21
911
- }, StackGenerator = require_stack_generator(), Event = /* @__PURE__ */ function() {
911
+ };
912
+ function _extends() {
913
+ return _extends = Object.assign ? Object.assign.bind() : function(target) {
914
+ for (var i = 1; i < arguments.length; i++) {
915
+ var source = arguments[i];
916
+ for (var key in source)
917
+ Object.prototype.hasOwnProperty.call(source, key) && (target[key] = source[key]);
918
+ }
919
+ return target;
920
+ }, _extends.apply(this, arguments);
921
+ }
922
+ var StackGenerator = require_stack_generator(), Event = /* @__PURE__ */ function() {
912
923
  function Event2(errorClass, errorMessage, stacktrace, handledState, originalError) {
913
- stacktrace === void 0 && (stacktrace = []), handledState === void 0 && (handledState = defaultHandledState()), this.apiKey = void 0, this.context = void 0, this.groupingHash = void 0, this.originalError = originalError, this._handledState = handledState, this.severity = this._handledState.severity, this.unhandled = this._handledState.unhandled, this.app = {}, this.device = {}, this.request = {}, this.breadcrumbs = [], this.threads = [], this._metadata = {}, this._features = [], this._featuresIndex = {}, this._user = {}, this._session = void 0, this.errors = [createBugsnagError(errorClass, errorMessage, Event2.__type, stacktrace)];
924
+ stacktrace === void 0 && (stacktrace = []), handledState === void 0 && (handledState = defaultHandledState()), this.apiKey = void 0, this.context = void 0, this.groupingHash = void 0, this.originalError = originalError, this._handledState = handledState, this.severity = this._handledState.severity, this.unhandled = this._handledState.unhandled, this.app = {}, this.device = {}, this.request = {}, this.breadcrumbs = [], this.threads = [], this._metadata = {}, this._features = [], this._featuresIndex = {}, this._user = {}, this._session = void 0, this._correlation = void 0, this.errors = [createBugsnagError(errorClass, errorMessage, Event2.__type, stacktrace)];
914
925
  }
915
926
  var _proto = Event2.prototype;
916
927
  return _proto.addMetadata = function(section, keyOrObj, maybeVal) {
917
928
  return _$metadataDelegate_21.add(this._metadata, section, keyOrObj, maybeVal);
929
+ }, _proto.setTraceCorrelation = function(traceId, spanId) {
930
+ typeof traceId == "string" && (this._correlation = _extends({
931
+ traceId
932
+ }, typeof spanId == "string" ? {
933
+ spanId
934
+ } : {}));
918
935
  }, _proto.getMetadata = function(section, key) {
919
936
  return _$metadataDelegate_21.get(this._metadata, section, key);
920
937
  }, _proto.clearMetadata = function(section, key) {
@@ -957,7 +974,8 @@ var require_bugsnag = __commonJS({
957
974
  metaData: this._metadata,
958
975
  user: this._user,
959
976
  session: this._session,
960
- featureFlags: this.getFeatureFlags()
977
+ featureFlags: this.getFeatureFlags(),
978
+ correlation: this._correlation
961
979
  };
962
980
  }, Event2;
963
981
  }(), formatStackframe = function(frame) {
@@ -1438,18 +1456,18 @@ metadata was removed`
1438
1456
  }
1439
1457
  };
1440
1458
  };
1441
- function _extends() {
1442
- return _extends = Object.assign ? Object.assign.bind() : function(target) {
1459
+ function ___extends_35() {
1460
+ return ___extends_35 = Object.assign ? Object.assign.bind() : function(target) {
1443
1461
  for (var i = 1; i < arguments.length; i++) {
1444
1462
  var source = arguments[i];
1445
1463
  for (var key in source)
1446
1464
  Object.prototype.hasOwnProperty.call(source, key) && (target[key] = source[key]);
1447
1465
  }
1448
1466
  return target;
1449
- }, _extends.apply(this, arguments);
1467
+ }, ___extends_35.apply(this, arguments);
1450
1468
  }
1451
1469
  var schema = _$config_3.schema, __os_35 = __require("os"), _require2 = __require("util"), inspect = _require2.inspect, _$config_35 = {
1452
- appType: _extends({}, schema.appType, {
1470
+ appType: ___extends_35({}, schema.appType, {
1453
1471
  defaultValue: function() {
1454
1472
  return "node";
1455
1473
  }
@@ -1472,12 +1490,12 @@ metadata was removed`
1472
1490
  return value === null || _$stringWithLength_27(value);
1473
1491
  }
1474
1492
  },
1475
- logger: _extends({}, schema.logger, {
1493
+ logger: ___extends_35({}, schema.logger, {
1476
1494
  defaultValue: function() {
1477
1495
  return getPrefixedConsole();
1478
1496
  }
1479
1497
  }),
1480
- releaseStage: _extends({}, schema.releaseStage, {
1498
+ releaseStage: ___extends_35({}, schema.releaseStage, {
1481
1499
  defaultValue: function() {
1482
1500
  return process.env.NODE_ENV || "production";
1483
1501
  }
@@ -1963,7 +1981,7 @@ metadata was removed`
1963
1981
  return target;
1964
1982
  }, ___extends_36.apply(this, arguments);
1965
1983
  }
1966
- var name = "Bugsnag Node", version = "7.22.7", url = "https://github.com/bugsnag/bugsnag-js";
1984
+ var name = "Bugsnag Node", version = "7.25.0", url = "https://github.com/bugsnag/bugsnag-js";
1967
1985
  _$Event_4.__type = "nodejs";
1968
1986
  var __schema_36 = ___extends_36({}, _$config_3.schema, _$config_35);
1969
1987
  delete __schema_36.enabledBreadcrumbTypes;
@@ -2001,9 +2019,9 @@ metadata was removed`
2001
2019
  }
2002
2020
  });
2003
2021
 
2004
- // ../../node_modules/.pnpm/@bugsnag+js@7.21.0/node_modules/@bugsnag/js/node/notifier.js
2022
+ // ../../node_modules/.pnpm/@bugsnag+js@7.25.0/node_modules/@bugsnag/js/node/notifier.js
2005
2023
  var require_notifier = __commonJS({
2006
- "../../node_modules/.pnpm/@bugsnag+js@7.21.0/node_modules/@bugsnag/js/node/notifier.js"(exports, module) {
2024
+ "../../node_modules/.pnpm/@bugsnag+js@7.25.0/node_modules/@bugsnag/js/node/notifier.js"(exports, module) {
2007
2025
  init_cjs_shims();
2008
2026
  module.exports = require_bugsnag();
2009
2027
  }
@@ -2081,7 +2099,7 @@ async function addBugsnagMetadata(event, config) {
2081
2099
  ...publicData,
2082
2100
  ...environment,
2083
2101
  pluginData: otherPluginsPublic
2084
- }, appData = {}, commandData = {}, environmentData = {}, miscData = {}, appKeys = ["api_key", "partner_id", "project_type"], commandKeys = ["command"], environmentKeys = ["cli_version", "node_version", "uname"];
2102
+ }, appData = {}, commandData = {}, environmentData = {}, miscData = {}, appKeys = ["api_key", "business_platform_id", "partner_id", "project_type"], commandKeys = ["command"], environmentKeys = ["cli_version", "node_version", "uname"];
2085
2103
  Object.entries(allMetadata).forEach(([key, value]) => {
2086
2104
  key.startsWith("app_") || appKeys.includes(key) ? appData[key] = value : key.startsWith("cmd_") || commandKeys.includes(key) ? commandData[key] = value : key.startsWith("env_") || environmentKeys ? environmentData[key] = value : miscData[key] = value;
2087
2105
  }), Object.entries({
@@ -2118,4 +2136,4 @@ export {
2118
2136
  registerCleanBugsnagErrorsFromWithinPlugins,
2119
2137
  addBugsnagMetadata
2120
2138
  };
2121
- //# sourceMappingURL=chunk-YP35ARHU.js.map
2139
+ //# sourceMappingURL=chunk-CKTTNTVQ.js.map
@@ -0,0 +1,33 @@
1
+ import {
2
+ init_cjs_shims
3
+ } from "./chunk-PKR7KJ6P.js";
4
+
5
+ // ../cli-kit/dist/private/node/context/deprecations-store.js
6
+ init_cjs_shims();
7
+ var globalWithDeprecationsStore = {
8
+ ...globalThis,
9
+ deprecationsStore: {
10
+ nextDeprecationDate: void 0
11
+ }
12
+ };
13
+ function getNextDeprecationDate() {
14
+ return globalWithDeprecationsStore.deprecationsStore.nextDeprecationDate;
15
+ }
16
+ function setNextDeprecationDate(dates) {
17
+ if (dates.length < 1)
18
+ return;
19
+ let earliestFutureDateTime = earliestDateTimeAfter(Date.now(), dates);
20
+ if (!earliestFutureDateTime)
21
+ return;
22
+ let nextDeprecationDate = getNextDeprecationDate();
23
+ (!nextDeprecationDate || earliestFutureDateTime < nextDeprecationDate.getTime()) && (globalWithDeprecationsStore.deprecationsStore.nextDeprecationDate = new Date(earliestFutureDateTime));
24
+ }
25
+ function earliestDateTimeAfter(afterTime, dates) {
26
+ return dates.map((date) => date.getTime()).sort().find((time) => time > afterTime);
27
+ }
28
+
29
+ export {
30
+ getNextDeprecationDate,
31
+ setNextDeprecationDate
32
+ };
33
+ //# sourceMappingURL=chunk-CP3BRHWK.js.map