@shopify/create-app 3.84.1 → 3.85.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.
@@ -1,14 +1,15 @@
1
1
  import {
2
2
  fanoutHooks,
3
3
  reportAnalyticsEvent
4
- } from "./chunk-APC5TGT7.js";
4
+ } from "./chunk-OE3KB4ED.js";
5
5
  import {
6
6
  CLI_KIT_VERSION,
7
- getEnvironmentData
8
- } from "./chunk-F7XIUISB.js";
7
+ getEnvironmentData,
8
+ isLocalEnvironment
9
+ } from "./chunk-JZCHSJAA.js";
9
10
  import {
10
11
  runWithRateLimit
11
- } from "./chunk-XCAGLQZT.js";
12
+ } from "./chunk-PGTPDPDU.js";
12
13
  import {
13
14
  AbortSilentError,
14
15
  CancelExecution,
@@ -23,10 +24,10 @@ import {
23
24
  reportingRateLimit,
24
25
  require_stacktracey,
25
26
  shouldReportErrorAsUnexpected
26
- } from "./chunk-BRA57BDM.js";
27
+ } from "./chunk-POCJD2ES.js";
27
28
  import {
28
29
  require_lib
29
- } from "./chunk-H3GWNOGA.js";
30
+ } from "./chunk-G5HUFNZJ.js";
30
31
  import {
31
32
  cwd,
32
33
  isAbsolutePath,
@@ -310,12 +311,12 @@ var require_stack_generator = __commonJS({
310
311
  }
311
312
  });
312
313
 
313
- // ../../node_modules/.pnpm/end-of-stream@1.4.4/node_modules/end-of-stream/index.js
314
+ // ../../node_modules/.pnpm/end-of-stream@1.4.5/node_modules/end-of-stream/index.js
314
315
  var require_end_of_stream = __commonJS({
315
- "../../node_modules/.pnpm/end-of-stream@1.4.4/node_modules/end-of-stream/index.js"(exports, module) {
316
+ "../../node_modules/.pnpm/end-of-stream@1.4.5/node_modules/end-of-stream/index.js"(exports, module) {
316
317
  init_cjs_shims();
317
318
  var once = require_once(), noop = function() {
318
- }, isRequest = function(stream) {
319
+ }, qnt = global.Bare ? queueMicrotask : process.nextTick.bind(process), isRequest = function(stream) {
319
320
  return stream.setHeader && typeof stream.abort == "function";
320
321
  }, isChildProcess = function(stream) {
321
322
  return stream.stdio && Array.isArray(stream.stdio) && stream.stdio.length === 3;
@@ -333,7 +334,7 @@ var require_end_of_stream = __commonJS({
333
334
  }, onerror = function(err) {
334
335
  callback.call(stream, err);
335
336
  }, onclose = function() {
336
- process.nextTick(onclosenexttick);
337
+ qnt(onclosenexttick);
337
338
  }, onclosenexttick = function() {
338
339
  if (!cancelled) {
339
340
  if (readable && !(rs && rs.ended && !rs.destroyed)) return callback.call(stream, new Error("premature close"));
@@ -2046,7 +2047,7 @@ var reportError = async (error, config) => {
2046
2047
  };
2047
2048
  async function sendErrorToBugsnag(error, exitMode) {
2048
2049
  try {
2049
- if (import_core.settings.debug)
2050
+ if (isLocalEnvironment() || import_core.settings.debug)
2050
2051
  return outputDebug("Skipping Bugsnag report"), { reported: !1, error, unhandled: void 0 };
2051
2052
  let unhandled = exitMode === "unexpected_error", reportableError, stacktrace, report = !1;
2052
2053
  error instanceof Error ? (report = !0, reportableError = new Error(error.message), stacktrace = error.stack) : typeof error == "string" && error.trim().length !== 0 ? (report = !0, reportableError = new Error(error), stacktrace = reportableError.stack) : (report = !1, reportableError = new Error("Unknown error"));
@@ -2142,4 +2143,4 @@ export {
2142
2143
  registerCleanBugsnagErrorsFromWithinPlugins,
2143
2144
  addBugsnagMetadata
2144
2145
  };
2145
- //# sourceMappingURL=chunk-GYAMBODZ.js.map
2146
+ //# sourceMappingURL=chunk-ZNZH4RBZ.js.map
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  execaSync,
3
3
  fileExistsSync
4
- } from "./chunk-BRA57BDM.js";
4
+ } from "./chunk-POCJD2ES.js";
5
5
  import {
6
6
  require_lib
7
- } from "./chunk-H3GWNOGA.js";
7
+ } from "./chunk-G5HUFNZJ.js";
8
8
  import "./chunk-UMUTXITN.js";
9
9
  import {
10
10
  cwd,
@@ -40,4 +40,4 @@ var import_core = __toESM(require_lib(), 1), ShopifyConfig = class extends impor
40
40
  export {
41
41
  ShopifyConfig
42
42
  };
43
- //# sourceMappingURL=custom-oclif-loader-U7MCMR24.js.map
43
+ //# sourceMappingURL=custom-oclif-loader-TLRFRMDM.js.map
@@ -4,13 +4,13 @@ import {
4
4
  errorHandler,
5
5
  registerCleanBugsnagErrorsFromWithinPlugins,
6
6
  sendErrorToBugsnag
7
- } from "./chunk-GYAMBODZ.js";
8
- import "./chunk-APC5TGT7.js";
9
- import "./chunk-F7XIUISB.js";
7
+ } from "./chunk-ZNZH4RBZ.js";
8
+ import "./chunk-OE3KB4ED.js";
9
+ import "./chunk-JZCHSJAA.js";
10
10
  import "./chunk-25IMI7TH.js";
11
- import "./chunk-XCAGLQZT.js";
12
- import "./chunk-BRA57BDM.js";
13
- import "./chunk-H3GWNOGA.js";
11
+ import "./chunk-PGTPDPDU.js";
12
+ import "./chunk-POCJD2ES.js";
13
+ import "./chunk-G5HUFNZJ.js";
14
14
  import "./chunk-UMUTXITN.js";
15
15
  import "./chunk-Y2JP6WFP.js";
16
16
  import "./chunk-SHWOPMLQ.js";
@@ -25,4 +25,4 @@ export {
25
25
  registerCleanBugsnagErrorsFromWithinPlugins,
26
26
  sendErrorToBugsnag
27
27
  };
28
- //# sourceMappingURL=error-handler-M3MNE2JX.js.map
28
+ //# sourceMappingURL=error-handler-U6DLBQ5N.js.map
@@ -1,19 +1,18 @@
1
- import {
2
- getNextDeprecationDate
3
- } from "../chunk-CP3BRHWK.js";
4
1
  import {
5
2
  reportAnalyticsEvent
6
- } from "../chunk-APC5TGT7.js";
7
- import "../chunk-F7XIUISB.js";
3
+ } from "../chunk-OE3KB4ED.js";
4
+ import {
5
+ getNextDeprecationDate
6
+ } from "../chunk-JZCHSJAA.js";
8
7
  import "../chunk-25IMI7TH.js";
9
- import "../chunk-XCAGLQZT.js";
8
+ import "../chunk-PGTPDPDU.js";
10
9
  import {
11
10
  addSensitiveMetadata,
12
11
  getAllSensitiveMetadata,
13
12
  outputDebug,
14
13
  renderWarning
15
- } from "../chunk-BRA57BDM.js";
16
- import "../chunk-H3GWNOGA.js";
14
+ } from "../chunk-POCJD2ES.js";
15
+ import "../chunk-G5HUFNZJ.js";
17
16
  import "../chunk-UMUTXITN.js";
18
17
  import "../chunk-Y2JP6WFP.js";
19
18
  import "../chunk-75LV6AQS.js";
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  fetchNotificationsInBackground
3
- } from "../chunk-I5QSPA3G.js";
3
+ } from "../chunk-AEWLNHFZ.js";
4
4
  import {
5
5
  CLI_KIT_VERSION,
6
6
  startAnalytics
7
- } from "../chunk-F7XIUISB.js";
7
+ } from "../chunk-JZCHSJAA.js";
8
8
  import "../chunk-25IMI7TH.js";
9
9
  import {
10
10
  checkForCachedNewVersion,
11
11
  checkForNewVersion,
12
12
  packageManagerFromUserAgent,
13
13
  runAtMinimumInterval
14
- } from "../chunk-XCAGLQZT.js";
14
+ } from "../chunk-PGTPDPDU.js";
15
15
  import {
16
16
  currentProcessIsGlobal,
17
17
  inferPackageManagerForGlobalCLI,
@@ -20,8 +20,8 @@ import {
20
20
  outputDebug,
21
21
  outputToken,
22
22
  outputWarn
23
- } from "../chunk-BRA57BDM.js";
24
- import "../chunk-H3GWNOGA.js";
23
+ } from "../chunk-POCJD2ES.js";
24
+ import "../chunk-G5HUFNZJ.js";
25
25
  import "../chunk-UMUTXITN.js";
26
26
  import "../chunk-Y2JP6WFP.js";
27
27
  import "../chunk-75LV6AQS.js";