@shopify/create-app 3.85.5 → 3.86.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 (27) hide show
  1. package/dist/{brotli-EDFLSXX4.js → brotli-2OKV26Y6.js} +3 -3
  2. package/dist/{chunk-75LV6AQS.js → chunk-6ONJEX7Y.js} +8 -8
  3. package/dist/{chunk-LG53DXOY.js → chunk-ASZTU5FY.js} +41 -32
  4. package/dist/{chunk-Z46NFQ33.js → chunk-D3N5EZME.js} +24 -24
  5. package/dist/{chunk-2VQSCETZ.js → chunk-JXJ33RQ2.js} +57 -59
  6. package/dist/{chunk-O4KAJGU5.js → chunk-MGT4QKYB.js} +3 -3
  7. package/dist/{chunk-RN5F2ZF4.js → chunk-SB7IE2QN.js} +6 -6
  8. package/dist/{chunk-I3ZBATYA.js → chunk-T3CH4FSA.js} +203 -181
  9. package/dist/{chunk-4WG5JQHA.js → chunk-U5F5ZHHV.js} +108 -87
  10. package/dist/{chunk-25IMI7TH.js → chunk-XD3LXUGW.js} +5 -5
  11. package/dist/{chunk-MRFYNZ7Q.js → chunk-ZPIPJKU4.js} +81 -30
  12. package/dist/{custom-oclif-loader-DO3K4WDC.js → custom-oclif-loader-BWUSWZN5.js} +4 -4
  13. package/dist/{del-4XMQNWFE.js → del-M36IQP37.js} +3 -3
  14. package/dist/{error-handler-W76H7JBB.js → error-handler-3FRDLG2Y.js} +9 -9
  15. package/dist/hooks/postrun.js +7 -7
  16. package/dist/hooks/prerun.js +7 -7
  17. package/dist/{http-proxy-node16-T623PGD4.js → http-proxy-node16-K5X7BUK5.js} +3 -3
  18. package/dist/index.js +457 -415
  19. package/dist/index.test.js +15 -15
  20. package/dist/{lib-XDPPS4KW.js → lib-JIKIO4JO.js} +2 -2
  21. package/dist/{local-QITTSRL5.js → local-SYOM7NMW.js} +4 -4
  22. package/dist/{multipart-parser-WSNBP656.js → multipart-parser-IYYNISJK.js} +2 -2
  23. package/dist/{node-package-manager-YJ2PSFI3.js → node-package-manager-Q4WSQVPY.js} +5 -5
  24. package/dist/tsconfig.tsbuildinfo +1 -1
  25. package/dist/{ui-C6NNSWI4.js → ui-7G4EJJ66.js} +4 -4
  26. package/oclif.manifest.json +1 -1
  27. package/package.json +4 -4
@@ -6,6 +6,7 @@ import {
6
6
  envPaths,
7
7
  exec,
8
8
  fileExists,
9
+ fileHasWritePermissions,
9
10
  findPathUp,
10
11
  glob,
11
12
  inferPackageManagerForGlobalCLI,
@@ -17,11 +18,12 @@ import {
17
18
  readFile,
18
19
  require_get_stream,
19
20
  runWithTimer,
21
+ unixFileIsOwnedByCurrentUser,
20
22
  writeFile
21
- } from "./chunk-4WG5JQHA.js";
23
+ } from "./chunk-U5F5ZHHV.js";
22
24
  import {
23
25
  require_semver
24
- } from "./chunk-2VQSCETZ.js";
26
+ } from "./chunk-JXJ33RQ2.js";
25
27
  import {
26
28
  dirname,
27
29
  joinPath
@@ -7588,7 +7590,7 @@ var require_polyfills = __commonJS({
7588
7590
  }), fs3.chown && !fs3.lchown && (fs3.lchown = function(path4, uid, gid, cb) {
7589
7591
  cb && process.nextTick(cb);
7590
7592
  }, fs3.lchownSync = function() {
7591
- }), platform === "win32" && (fs3.rename = typeof fs3.rename != "function" ? fs3.rename : function(fs$rename) {
7593
+ }), platform === "win32" && (fs3.rename = typeof fs3.rename != "function" ? fs3.rename : (function(fs$rename) {
7592
7594
  function rename(from, to, cb) {
7593
7595
  var start = Date.now(), backoff = 0;
7594
7596
  fs$rename(from, to, function CB(er) {
@@ -7604,7 +7606,7 @@ var require_polyfills = __commonJS({
7604
7606
  });
7605
7607
  }
7606
7608
  return Object.setPrototypeOf && Object.setPrototypeOf(rename, fs$rename), rename;
7607
- }(fs3.rename)), fs3.read = typeof fs3.read != "function" ? fs3.read : function(fs$read) {
7609
+ })(fs3.rename)), fs3.read = typeof fs3.read != "function" ? fs3.read : (function(fs$read) {
7608
7610
  function read(fd, buffer, offset, length, position, callback_) {
7609
7611
  var callback;
7610
7612
  if (callback_ && typeof callback_ == "function") {
@@ -7618,7 +7620,7 @@ var require_polyfills = __commonJS({
7618
7620
  return fs$read.call(fs3, fd, buffer, offset, length, position, callback);
7619
7621
  }
7620
7622
  return Object.setPrototypeOf && Object.setPrototypeOf(read, fs$read), read;
7621
- }(fs3.read), fs3.readSync = typeof fs3.readSync != "function" ? fs3.readSync : /* @__PURE__ */ function(fs$readSync) {
7623
+ })(fs3.read), fs3.readSync = typeof fs3.readSync != "function" ? fs3.readSync : /* @__PURE__ */ (function(fs$readSync) {
7622
7624
  return function(fd, buffer, offset, length, position) {
7623
7625
  for (var eagCounter = 0; ; )
7624
7626
  try {
@@ -7631,7 +7633,7 @@ var require_polyfills = __commonJS({
7631
7633
  throw er;
7632
7634
  }
7633
7635
  };
7634
- }(fs3.readSync);
7636
+ })(fs3.readSync);
7635
7637
  function patchLchmod(fs4) {
7636
7638
  fs4.lchmod = function(path4, mode, callback) {
7637
7639
  fs4.open(
@@ -7864,7 +7866,7 @@ var require_graceful_fs = __commonJS({
7864
7866
  m = "GFS4: " + m.split(/\n/).join(`
7865
7867
  GFS4: `), console.error(m);
7866
7868
  });
7867
- fs3[gracefulQueue] || (queue = global[gracefulQueue] || [], publishQueue(fs3, queue), fs3.close = function(fs$close) {
7869
+ fs3[gracefulQueue] || (queue = global[gracefulQueue] || [], publishQueue(fs3, queue), fs3.close = (function(fs$close) {
7868
7870
  function close(fd, cb) {
7869
7871
  return fs$close.call(fs3, fd, function(err) {
7870
7872
  err || resetQueue(), typeof cb == "function" && cb.apply(this, arguments);
@@ -7873,14 +7875,14 @@ GFS4: `), console.error(m);
7873
7875
  return Object.defineProperty(close, previousSymbol, {
7874
7876
  value: fs$close
7875
7877
  }), close;
7876
- }(fs3.close), fs3.closeSync = function(fs$closeSync) {
7878
+ })(fs3.close), fs3.closeSync = (function(fs$closeSync) {
7877
7879
  function closeSync(fd) {
7878
7880
  fs$closeSync.apply(fs3, arguments), resetQueue();
7879
7881
  }
7880
7882
  return Object.defineProperty(closeSync, previousSymbol, {
7881
7883
  value: fs$closeSync
7882
7884
  }), closeSync;
7883
- }(fs3.closeSync), /\bgfs4\b/i.test(process.env.NODE_DEBUG || "") && process.on("exit", function() {
7885
+ })(fs3.closeSync), /\bgfs4\b/i.test(process.env.NODE_DEBUG || "") && process.on("exit", function() {
7884
7886
  debug(fs3[gracefulQueue]), __require("assert").equal(fs3[gracefulQueue].length, 0);
7885
7887
  }));
7886
7888
  var queue;
@@ -8104,15 +8106,15 @@ var require_dist2 = __commonJS({
8104
8106
  "../../node_modules/.pnpm/@pnpm+network.ca-file@1.0.2/node_modules/@pnpm/network.ca-file/dist/index.js"(exports) {
8105
8107
  "use strict";
8106
8108
  init_cjs_shims();
8107
- var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
8109
+ var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
8108
8110
  k2 === void 0 && (k2 = k);
8109
8111
  var desc = Object.getOwnPropertyDescriptor(m, k);
8110
8112
  (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) && (desc = { enumerable: !0, get: function() {
8111
8113
  return m[k];
8112
8114
  } }), Object.defineProperty(o, k2, desc);
8113
- } : function(o, m, k, k2) {
8115
+ }) : (function(o, m, k, k2) {
8114
8116
  k2 === void 0 && (k2 = k), o[k2] = m[k];
8115
- }), __exportStar = exports && exports.__exportStar || function(m, exports2) {
8117
+ })), __exportStar = exports && exports.__exportStar || function(m, exports2) {
8116
8118
  for (var p in m) p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p) && __createBinding(exports2, m, p);
8117
8119
  };
8118
8120
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -8727,10 +8729,11 @@ var require_conf = __commonJS({
8727
8729
  };
8728
8730
  function deserializeEnvVal(envKey, envValue) {
8729
8731
  function deserializeList(envValue2) {
8730
- let npmConfigSep = `
8732
+ return envValue2.indexOf(`
8731
8733
 
8732
- `;
8733
- return envValue2.indexOf(npmConfigSep) ? envValue2.split(npmConfigSep) : envValue2.split(",");
8734
+ `) ? envValue2.split(`
8735
+
8736
+ `) : envValue2.split(",");
8734
8737
  }
8735
8738
  switch (envKey) {
8736
8739
  case "hoist-pattern":
@@ -8856,7 +8859,7 @@ var require_defaults2 = __commonJS({
8856
8859
  searchopts: "",
8857
8860
  searchexclude: null,
8858
8861
  searchlimit: 20,
8859
- searchstaleness: 15 * 60,
8862
+ searchstaleness: 900,
8860
8863
  "send-metrics": !1,
8861
8864
  shell: osenv.shell(),
8862
8865
  shrinkwrap: !0,
@@ -9791,32 +9794,80 @@ var LocalStorage = class {
9791
9794
  *
9792
9795
  * @param key - The key to get.
9793
9796
  * @returns The value.
9797
+ * @throws AbortError if a permission error occurs.
9798
+ * @throws BugError if an unexpected error occurs.
9794
9799
  */
9795
9800
  get(key) {
9796
- return this.config.get(key);
9801
+ try {
9802
+ return this.config.get(key);
9803
+ } catch (error) {
9804
+ this.handleError(error, "get");
9805
+ }
9797
9806
  }
9798
9807
  /**
9799
9808
  * Set a value in the local storage.
9800
9809
  *
9801
9810
  * @param key - The key to set.
9802
9811
  * @param value - The value to set.
9812
+ * @throws AbortError if a permission error occurs.
9813
+ * @throws BugError if an unexpected error occurs.
9803
9814
  */
9804
9815
  set(key, value) {
9805
- this.config.set(key, value);
9816
+ try {
9817
+ this.config.set(key, value);
9818
+ } catch (error) {
9819
+ this.handleError(error, "set");
9820
+ }
9806
9821
  }
9807
9822
  /**
9808
9823
  * Delete a value from the local storage.
9809
9824
  *
9810
9825
  * @param key - The key to delete.
9826
+ * @throws AbortError if a permission error occurs.
9827
+ * @throws BugError if an unexpected error occurs.
9811
9828
  */
9812
9829
  delete(key) {
9813
- this.config.delete(key);
9830
+ try {
9831
+ this.config.delete(key);
9832
+ } catch (error) {
9833
+ this.handleError(error, "delete");
9834
+ }
9814
9835
  }
9815
9836
  /**
9816
9837
  * Clear the local storage (delete all values).
9838
+ *
9839
+ * @throws AbortError if a permission error occurs.
9840
+ * @throws BugError if an unexpected error occurs.
9817
9841
  */
9818
9842
  clear() {
9819
- this.config.clear();
9843
+ try {
9844
+ this.config.clear();
9845
+ } catch (error) {
9846
+ this.handleError(error, "clear");
9847
+ }
9848
+ }
9849
+ /**
9850
+ * Handle errors from config operations.
9851
+ * If the error is permission-related, throw an AbortError with helpful hints.
9852
+ * Otherwise, throw a BugError.
9853
+ *
9854
+ * @param error - The error that occurred.
9855
+ * @param operation - The operation that failed.
9856
+ * @throws AbortError if the error is permission-related.
9857
+ * @throws BugError if the error is not permission-related.
9858
+ */
9859
+ handleError(error, operation) {
9860
+ throw this.isPermissionError() ? new AbortError(`Failed to access local storage (${operation}): ${error}`, this.tryMessage()) : new BugError(`Unexpected error while accessing local storage at ${this.config.path} (${operation}): ${error}`);
9861
+ }
9862
+ isPermissionError() {
9863
+ let canAccessFile = fileHasWritePermissions(this.config.path), canAccessFolder = fileHasWritePermissions(dirname(this.config.path)), ownsFile = unixFileIsOwnedByCurrentUser(this.config.path);
9864
+ return !canAccessFile || !canAccessFolder || ownsFile === !1;
9865
+ }
9866
+ tryMessage() {
9867
+ let ownsFile = unixFileIsOwnedByCurrentUser(this.config.path), ownsFolder = unixFileIsOwnedByCurrentUser(dirname(this.config.path)), message = ["Check that you have write permissions for", { filePath: this.config.path }];
9868
+ return (ownsFile === !1 || ownsFolder === !1) && message.push("- The file is owned by a different user. This typically happens when Shopify CLI was previously run with elevated permissions (e.g., sudo)."), message.push(`
9869
+
9870
+ To resolve this, remove the Shopify CLI preferences folder:`), message.push({ command: `rm -rf ${dirname(this.config.path)}` }), message;
9820
9871
  }
9821
9872
  };
9822
9873
 
@@ -13177,7 +13228,7 @@ var { buffer: getBuffer } = import_get_stream2.default, supportsBrotli = dist_de
13177
13228
  }
13178
13229
  _prepareCache(cache) {
13179
13230
  if (!cacheableStore.has(cache)) {
13180
- let cacheableRequest = new dist_default3((requestOptions, handler) => {
13231
+ let cacheableRequest = new dist_default3(((requestOptions, handler) => {
13181
13232
  let result = requestOptions._request(requestOptions, handler);
13182
13233
  return dist_default2.promise(result) && (result.once = (event, handler2) => {
13183
13234
  if (event === "error")
@@ -13199,7 +13250,7 @@ var { buffer: getBuffer } = import_get_stream2.default, supportsBrotli = dist_de
13199
13250
  throw new Error(`Unknown HTTP2 promise event: ${event}`);
13200
13251
  return result;
13201
13252
  }), result;
13202
- }, cache);
13253
+ }), cache);
13203
13254
  cacheableStore.set(cache, cacheableRequest.request());
13204
13255
  }
13205
13256
  }
@@ -13481,7 +13532,7 @@ var delay = async (ms) => new Promise((resolve) => {
13481
13532
  configurable: !1,
13482
13533
  writable: !1
13483
13534
  });
13484
- let got2 = (url, options, defaultOptions2 = defaults2.options) => {
13535
+ let got2 = ((url, options, defaultOptions2 = defaults2.options) => {
13485
13536
  let request = new Request(url, options, defaultOptions2), promise, lastHandler = (normalized) => (request.options = normalized, request._noPipe = !normalized.isStream, request.flush(), normalized.isStream ? request : (promise || (promise = asPromise(request)), promise)), iteration = 0, iterateHandlers = (newOptions) => {
13486
13537
  let result = (defaults2.handlers[iteration++] ?? lastHandler)(newOptions, iterateHandlers);
13487
13538
  if (dist_default2.promise(result) && !request.options.isStream && (promise || (promise = asPromise(request)), result !== promise)) {
@@ -13493,7 +13544,7 @@ var delay = async (ms) => new Promise((resolve) => {
13493
13544
  return result;
13494
13545
  };
13495
13546
  return iterateHandlers(request.options);
13496
- };
13547
+ });
13497
13548
  got2.extend = (...instancesOrOptions) => {
13498
13549
  let options = new Options(void 0, void 0, defaults2.options), handlers = [...defaults2.handlers], mutableDefaults;
13499
13550
  for (let value of instancesOrOptions)
@@ -13504,7 +13555,7 @@ var delay = async (ms) => new Promise((resolve) => {
13504
13555
  mutableDefaults: !!mutableDefaults
13505
13556
  });
13506
13557
  };
13507
- let paginateEach = async function* (url, options) {
13558
+ let paginateEach = (async function* (url, options) {
13508
13559
  let normalizedOptions = new Options(url, options, defaults2.options);
13509
13560
  normalizedOptions.resolveBodyOnly = !1;
13510
13561
  let { pagination } = normalizedOptions;
@@ -13526,15 +13577,15 @@ var delay = async (ms) => new Promise((resolve) => {
13526
13577
  return;
13527
13578
  optionsToMerge === response.request.options ? normalizedOptions = response.request.options : (normalizedOptions.merge(optionsToMerge), assert2.any([dist_default2.urlInstance, dist_default2.undefined], optionsToMerge.url), optionsToMerge.url !== void 0 && (normalizedOptions.prefixUrl = "", normalizedOptions.url = optionsToMerge.url)), numberOfRequests++;
13528
13579
  }
13529
- };
13530
- got2.paginate = paginateEach, got2.paginate.all = async (url, options) => {
13580
+ });
13581
+ got2.paginate = paginateEach, got2.paginate.all = (async (url, options) => {
13531
13582
  let results = [];
13532
13583
  for await (let item of paginateEach(url, options))
13533
13584
  results.push(item);
13534
13585
  return results;
13535
- }, got2.paginate.each = paginateEach, got2.stream = (url, options) => got2(url, { ...options, isStream: !0 });
13586
+ }), got2.paginate.each = paginateEach, got2.stream = ((url, options) => got2(url, { ...options, isStream: !0 }));
13536
13587
  for (let method of aliases)
13537
- got2[method] = (url, options) => got2(url, { ...options, method }), got2.stream[method] = (url, options) => got2(url, { ...options, method, isStream: !0 });
13588
+ got2[method] = ((url, options) => got2(url, { ...options, method })), got2.stream[method] = ((url, options) => got2(url, { ...options, method, isStream: !0 }));
13538
13589
  return defaults2.mutableDefaults || (Object.freeze(defaults2.handlers), defaults2.options.freeze()), Object.defineProperty(got2, "defaults", {
13539
13590
  value: defaults2,
13540
13591
  writable: !1,
@@ -13933,4 +13984,4 @@ deep-extend/lib/deep-extend.js:
13933
13984
  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
13934
13985
  *)
13935
13986
  */
13936
- //# sourceMappingURL=chunk-MRFYNZ7Q.js.map
13987
+ //# sourceMappingURL=chunk-ZPIPJKU4.js.map
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  execaSync,
3
3
  fileExistsSync
4
- } from "./chunk-4WG5JQHA.js";
4
+ } from "./chunk-U5F5ZHHV.js";
5
5
  import {
6
6
  require_lib
7
- } from "./chunk-2VQSCETZ.js";
7
+ } from "./chunk-JXJ33RQ2.js";
8
8
  import "./chunk-UMUTXITN.js";
9
9
  import {
10
10
  cwd,
11
11
  joinPath,
12
12
  sniffForPath
13
13
  } from "./chunk-Y2JP6WFP.js";
14
- import "./chunk-75LV6AQS.js";
14
+ import "./chunk-6ONJEX7Y.js";
15
15
  import "./chunk-LABBARNJ.js";
16
16
  import "./chunk-G2ZZKGSV.js";
17
17
  import {
@@ -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-DO3K4WDC.js.map
43
+ //# sourceMappingURL=custom-oclif-loader-BWUSWZN5.js.map
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  require_glob
3
- } from "./chunk-O4KAJGU5.js";
3
+ } from "./chunk-MGT4QKYB.js";
4
4
  import "./chunk-SHWOPMLQ.js";
5
5
  import {
6
6
  require_graceful_fs
7
- } from "./chunk-75LV6AQS.js";
7
+ } from "./chunk-6ONJEX7Y.js";
8
8
  import {
9
9
  require_indent_string
10
10
  } from "./chunk-LABBARNJ.js";
@@ -958,4 +958,4 @@ var require_del = __commonJS({
958
958
  }
959
959
  });
960
960
  export default require_del();
961
- //# sourceMappingURL=del-4XMQNWFE.js.map
961
+ //# sourceMappingURL=del-M36IQP37.js.map
@@ -4,17 +4,17 @@ import {
4
4
  errorHandler,
5
5
  registerCleanBugsnagErrorsFromWithinPlugins,
6
6
  sendErrorToBugsnag
7
- } from "./chunk-Z46NFQ33.js";
8
- import "./chunk-I3ZBATYA.js";
9
- import "./chunk-LG53DXOY.js";
10
- import "./chunk-25IMI7TH.js";
11
- import "./chunk-MRFYNZ7Q.js";
12
- import "./chunk-4WG5JQHA.js";
13
- import "./chunk-2VQSCETZ.js";
7
+ } from "./chunk-D3N5EZME.js";
8
+ import "./chunk-T3CH4FSA.js";
9
+ import "./chunk-ASZTU5FY.js";
10
+ import "./chunk-XD3LXUGW.js";
11
+ import "./chunk-ZPIPJKU4.js";
12
+ import "./chunk-U5F5ZHHV.js";
13
+ import "./chunk-JXJ33RQ2.js";
14
14
  import "./chunk-UMUTXITN.js";
15
15
  import "./chunk-Y2JP6WFP.js";
16
16
  import "./chunk-SHWOPMLQ.js";
17
- import "./chunk-75LV6AQS.js";
17
+ import "./chunk-6ONJEX7Y.js";
18
18
  import "./chunk-LABBARNJ.js";
19
19
  import "./chunk-G2ZZKGSV.js";
20
20
  import "./chunk-PKR7KJ6P.js";
@@ -25,4 +25,4 @@ export {
25
25
  registerCleanBugsnagErrorsFromWithinPlugins,
26
26
  sendErrorToBugsnag
27
27
  };
28
- //# sourceMappingURL=error-handler-W76H7JBB.js.map
28
+ //# sourceMappingURL=error-handler-3FRDLG2Y.js.map
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  reportAnalyticsEvent
3
- } from "../chunk-I3ZBATYA.js";
3
+ } from "../chunk-T3CH4FSA.js";
4
4
  import {
5
5
  getNextDeprecationDate
6
- } from "../chunk-LG53DXOY.js";
7
- import "../chunk-25IMI7TH.js";
8
- import "../chunk-MRFYNZ7Q.js";
6
+ } from "../chunk-ASZTU5FY.js";
7
+ import "../chunk-XD3LXUGW.js";
8
+ import "../chunk-ZPIPJKU4.js";
9
9
  import {
10
10
  addSensitiveMetadata,
11
11
  getAllSensitiveMetadata,
12
12
  outputDebug,
13
13
  renderWarning
14
- } from "../chunk-4WG5JQHA.js";
15
- import "../chunk-2VQSCETZ.js";
14
+ } from "../chunk-U5F5ZHHV.js";
15
+ import "../chunk-JXJ33RQ2.js";
16
16
  import "../chunk-UMUTXITN.js";
17
17
  import "../chunk-Y2JP6WFP.js";
18
- import "../chunk-75LV6AQS.js";
18
+ import "../chunk-6ONJEX7Y.js";
19
19
  import "../chunk-LABBARNJ.js";
20
20
  import "../chunk-G2ZZKGSV.js";
21
21
  import {
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  fetchNotificationsInBackground
3
- } from "../chunk-RN5F2ZF4.js";
3
+ } from "../chunk-SB7IE2QN.js";
4
4
  import {
5
5
  CLI_KIT_VERSION,
6
6
  startAnalytics
7
- } from "../chunk-LG53DXOY.js";
8
- import "../chunk-25IMI7TH.js";
7
+ } from "../chunk-ASZTU5FY.js";
8
+ import "../chunk-XD3LXUGW.js";
9
9
  import {
10
10
  checkForCachedNewVersion,
11
11
  checkForNewVersion,
12
12
  packageManagerFromUserAgent,
13
13
  runAtMinimumInterval
14
- } from "../chunk-MRFYNZ7Q.js";
14
+ } from "../chunk-ZPIPJKU4.js";
15
15
  import {
16
16
  currentProcessIsGlobal,
17
17
  inferPackageManagerForGlobalCLI,
@@ -20,11 +20,11 @@ import {
20
20
  outputDebug,
21
21
  outputToken,
22
22
  outputWarn
23
- } from "../chunk-4WG5JQHA.js";
24
- import "../chunk-2VQSCETZ.js";
23
+ } from "../chunk-U5F5ZHHV.js";
24
+ import "../chunk-JXJ33RQ2.js";
25
25
  import "../chunk-UMUTXITN.js";
26
26
  import "../chunk-Y2JP6WFP.js";
27
- import "../chunk-75LV6AQS.js";
27
+ import "../chunk-6ONJEX7Y.js";
28
28
  import "../chunk-LABBARNJ.js";
29
29
  import "../chunk-G2ZZKGSV.js";
30
30
  import {
@@ -628,10 +628,10 @@ var require_web_incoming = __commonJS({
628
628
  return web_o[pass];
629
629
  });
630
630
  var nativeAgents = { http: httpNative, https: httpsNative };
631
- var supportsAbortedEvent = function() {
631
+ var supportsAbortedEvent = (function() {
632
632
  var ver = process.versions.node.split(".").map(Number);
633
633
  return ver[0] <= 14 || ver[0] === 15 && ver[1] <= 4;
634
- }();
634
+ })();
635
635
  module.exports = {
636
636
  /**
637
637
  * Sets `content-length` to '0' if request is of DELETE type.
@@ -946,4 +946,4 @@ http-proxy-node16/index.js:
946
946
  * Dante - The Divine Comedy (Canto III)
947
947
  *)
948
948
  */
949
- //# sourceMappingURL=http-proxy-node16-T623PGD4.js.map
949
+ //# sourceMappingURL=http-proxy-node16-K5X7BUK5.js.map