@storm-software/linting-tools 1.132.82 → 1.132.84

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/bin/{chunk-BZBPOGLD.js → chunk-44ZHXM2A.js} +2 -2
  2. package/bin/{chunk-6NMQSJ45.js → chunk-4522FOPX.js} +3 -3
  3. package/bin/{chunk-N3J3XBTW.js → chunk-BQ6FPZ3D.js} +2 -2
  4. package/bin/{chunk-G7XTVUXQ.js → chunk-CEOYJPB2.js} +1 -1
  5. package/bin/{chunk-JUHKVXVB.cjs → chunk-D6MZSV4T.cjs} +5 -5
  6. package/bin/{chunk-RMYW4BMO.cjs → chunk-DITHJ7WM.cjs} +5 -5
  7. package/bin/{chunk-LTEMM6OK.js → chunk-HYL6Y2ZL.js} +2 -2
  8. package/bin/{chunk-RRAW5BU3.js → chunk-I4VKOBYO.js} +2 -2
  9. package/bin/{chunk-TZLEELSJ.cjs → chunk-IFOPV3OR.cjs} +2 -2
  10. package/bin/{chunk-G5STVDEQ.cjs → chunk-LFBJ4R2J.cjs} +181 -181
  11. package/bin/{chunk-TDCNI5HP.cjs → chunk-O6MWUECO.cjs} +20 -20
  12. package/bin/{chunk-O4U4W3YQ.cjs → chunk-ODE2DGBQ.cjs} +5 -5
  13. package/bin/{chunk-6WF54AHT.js → chunk-OFYOJ7GD.js} +2 -2
  14. package/bin/{chunk-VG5X6OBL.cjs → chunk-QLEXF3FM.cjs} +2 -2
  15. package/bin/{chunk-5GRPXDMU.js → chunk-TGQG4HFN.js} +91 -91
  16. package/bin/{chunk-EC4TR565.cjs → chunk-TIDY3MEO.cjs} +6 -6
  17. package/bin/{chunk-LPYA2BIK.js → chunk-UOAGIDYL.js} +1 -1
  18. package/bin/{chunk-6B2W5NCR.cjs → chunk-VNVLFUUL.cjs} +2 -2
  19. package/bin/{chunk-FIVIW27K.cjs → chunk-WZJQXYTN.cjs} +15 -15
  20. package/bin/{chunk-O5RFSZXE.js → chunk-ZX4WGBVK.js} +2 -2
  21. package/bin/{dist-VVOVHS2S.cjs → dist-4Y2G624Q.cjs} +6 -6
  22. package/bin/{dist-FXQ52272.js → dist-NDSR2EB6.js} +2 -2
  23. package/bin/{dist-BHTAZVGW.js → dist-PPZBVQXF.js} +8 -8
  24. package/bin/{dist-YA2R7XTW.cjs → dist-TLOV3HWE.cjs} +206 -206
  25. package/bin/{esm-TSYFFLVV.cjs → esm-4QEYUTVZ.cjs} +4 -4
  26. package/bin/{esm-JZ5ZZ7S4.js → esm-VXWIU6ES.js} +1 -1
  27. package/bin/json5-6JSAO7A7.cjs +10 -0
  28. package/bin/json5-OH2VAPKK.js +10 -0
  29. package/bin/jsonc-5AA3I6QL.cjs +15 -0
  30. package/bin/{jsonc-K3TPKJ3I.js → jsonc-7SBRZL6X.js} +3 -3
  31. package/bin/lint.cjs +4147 -5472
  32. package/bin/lint.js +7472 -8855
  33. package/bin/{multipart-parser-MCUDLSRV.js → multipart-parser-G55PS422.js} +2 -2
  34. package/bin/{multipart-parser-34AWZHAV.cjs → multipart-parser-N7BGHFG2.cjs} +6 -6
  35. package/bin/{package-json-EYNVQQI7.cjs → package-json-OAHWT6TX.cjs} +173 -155
  36. package/bin/{package-json-2ZAU7QS3.js → package-json-TP5AN27J.js} +77 -59
  37. package/bin/toml-TGPH4BVL.js +10 -0
  38. package/bin/toml-TTOUMPYI.cjs +10 -0
  39. package/bin/{utils-MAWRZUMB.cjs → utils-DJF3ARFK.cjs} +5 -5
  40. package/bin/{utils-V6MLQYRC.js → utils-JSNMBAH6.js} +2 -2
  41. package/bin/yaml-BQ737IRZ.cjs +10 -0
  42. package/bin/yaml-C4PLWN7E.js +10 -0
  43. package/package.json +4 -4
  44. package/bin/json5-COTEGXGA.js +0 -10
  45. package/bin/json5-RFMUFFIT.cjs +0 -10
  46. package/bin/jsonc-7QYMR2LO.cjs +0 -15
  47. package/bin/toml-6LSHH67K.cjs +0 -10
  48. package/bin/toml-X5O4PQOH.js +0 -10
  49. package/bin/yaml-GWNO6GAW.cjs +0 -10
  50. package/bin/yaml-Q3CNUTKJ.js +0 -10
@@ -1,17 +1,17 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; } var _class; var _class2;
2
2
 
3
- var _chunkG5STVDEQcjs = require('./chunk-G5STVDEQ.cjs');
3
+ var _chunkLFBJ4R2Jcjs = require('./chunk-LFBJ4R2J.cjs');
4
4
 
5
5
 
6
6
 
7
7
 
8
8
 
9
- var _chunk6B2W5NCRcjs = require('./chunk-6B2W5NCR.cjs');
9
+ var _chunkVNVLFUULcjs = require('./chunk-VNVLFUUL.cjs');
10
10
 
11
11
  // ../../node_modules/.pnpm/ini@1.3.8/node_modules/ini/ini.js
12
- var require_ini = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
12
+ var require_ini = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
13
13
  "../../node_modules/.pnpm/ini@1.3.8/node_modules/ini/ini.js"(exports) {
14
- _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
14
+ _chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
15
15
  exports.parse = exports.decode = decode;
16
16
  exports.stringify = exports.encode = encode;
17
17
  exports.safe = safe;
@@ -172,10 +172,10 @@ var require_ini = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
172
172
  });
173
173
 
174
174
  // ../../node_modules/.pnpm/strip-json-comments@2.0.1/node_modules/strip-json-comments/index.js
175
- var require_strip_json_comments = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
175
+ var require_strip_json_comments = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
176
176
  "../../node_modules/.pnpm/strip-json-comments@2.0.1/node_modules/strip-json-comments/index.js"(exports, module) {
177
177
  "use strict";
178
- _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
178
+ _chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
179
179
  var singleComment = 1;
180
180
  var multiComment = 2;
181
181
  function stripWithoutWhitespace() {
@@ -240,13 +240,13 @@ var require_strip_json_comments = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
240
240
  });
241
241
 
242
242
  // ../../node_modules/.pnpm/rc@1.2.8/node_modules/rc/lib/utils.js
243
- var require_utils = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
243
+ var require_utils = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
244
244
  "../../node_modules/.pnpm/rc@1.2.8/node_modules/rc/lib/utils.js"(exports) {
245
245
  "use strict";
246
- _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
247
- var fs = _chunk6B2W5NCRcjs.__require.call(void 0, "fs");
246
+ _chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
247
+ var fs = _chunkVNVLFUULcjs.__require.call(void 0, "fs");
248
248
  var ini = require_ini();
249
- var path = _chunk6B2W5NCRcjs.__require.call(void 0, "path");
249
+ var path = _chunkVNVLFUULcjs.__require.call(void 0, "path");
250
250
  var stripJsonComments = require_strip_json_comments();
251
251
  var parse = exports.parse = function(content) {
252
252
  if (/^\s*{/.test(content))
@@ -315,10 +315,10 @@ var require_utils = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
315
315
  });
316
316
 
317
317
  // ../../node_modules/.pnpm/deep-extend@0.6.0/node_modules/deep-extend/lib/deep-extend.js
318
- var require_deep_extend = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
318
+ var require_deep_extend = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
319
319
  "../../node_modules/.pnpm/deep-extend@0.6.0/node_modules/deep-extend/lib/deep-extend.js"(exports, module) {
320
320
  "use strict";
321
- _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
321
+ _chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
322
322
  function isSpecificValue(val) {
323
323
  return val instanceof Buffer || val instanceof Date || val instanceof RegExp ? true : false;
324
324
  }
@@ -398,10 +398,10 @@ var require_deep_extend = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
398
398
  });
399
399
 
400
400
  // ../../node_modules/.pnpm/minimist@1.2.8/node_modules/minimist/index.js
401
- var require_minimist = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
401
+ var require_minimist = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
402
402
  "../../node_modules/.pnpm/minimist@1.2.8/node_modules/minimist/index.js"(exports, module) {
403
403
  "use strict";
404
- _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
404
+ _chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
405
405
  function hasKey(obj, keys) {
406
406
  var o = obj;
407
407
  keys.slice(0, -1).forEach(function(key2) {
@@ -621,11 +621,11 @@ var require_minimist = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
621
621
  });
622
622
 
623
623
  // ../../node_modules/.pnpm/rc@1.2.8/node_modules/rc/index.js
624
- var require_rc = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
624
+ var require_rc = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
625
625
  "../../node_modules/.pnpm/rc@1.2.8/node_modules/rc/index.js"(exports, module) {
626
- _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
626
+ _chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
627
627
  var cc = require_utils();
628
- var join = _chunk6B2W5NCRcjs.__require.call(void 0, "path").join;
628
+ var join = _chunkVNVLFUULcjs.__require.call(void 0, "path").join;
629
629
  var deepExtend = require_deep_extend();
630
630
  var etc = "/etc";
631
631
  var win = process.platform === "win32";
@@ -673,10 +673,10 @@ var require_rc = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
673
673
  });
674
674
 
675
675
  // ../../node_modules/.pnpm/graceful-fs@4.2.10/node_modules/graceful-fs/polyfills.js
676
- var require_polyfills = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
676
+ var require_polyfills = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
677
677
  "../../node_modules/.pnpm/graceful-fs@4.2.10/node_modules/graceful-fs/polyfills.js"(exports, module) {
678
- _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
679
- var constants = _chunk6B2W5NCRcjs.__require.call(void 0, "constants");
678
+ _chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
679
+ var constants = _chunkVNVLFUULcjs.__require.call(void 0, "constants");
680
680
  var origCwd = process.cwd;
681
681
  var cwd = null;
682
682
  var platform = process.env.GRACEFUL_FS_PLATFORM || process.platform;
@@ -962,10 +962,10 @@ var require_polyfills = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
962
962
  });
963
963
 
964
964
  // ../../node_modules/.pnpm/graceful-fs@4.2.10/node_modules/graceful-fs/legacy-streams.js
965
- var require_legacy_streams = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
965
+ var require_legacy_streams = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
966
966
  "../../node_modules/.pnpm/graceful-fs@4.2.10/node_modules/graceful-fs/legacy-streams.js"(exports, module) {
967
- _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
968
- var Stream = _chunk6B2W5NCRcjs.__require.call(void 0, "stream").Stream;
967
+ _chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
968
+ var Stream = _chunkVNVLFUULcjs.__require.call(void 0, "stream").Stream;
969
969
  module.exports = legacy;
970
970
  function legacy(fs) {
971
971
  return {
@@ -1059,10 +1059,10 @@ var require_legacy_streams = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
1059
1059
  });
1060
1060
 
1061
1061
  // ../../node_modules/.pnpm/graceful-fs@4.2.10/node_modules/graceful-fs/clone.js
1062
- var require_clone = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
1062
+ var require_clone = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
1063
1063
  "../../node_modules/.pnpm/graceful-fs@4.2.10/node_modules/graceful-fs/clone.js"(exports, module) {
1064
1064
  "use strict";
1065
- _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
1065
+ _chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
1066
1066
  module.exports = clone;
1067
1067
  var getPrototypeOf = Object.getPrototypeOf || function(obj) {
1068
1068
  return obj.__proto__;
@@ -1083,14 +1083,14 @@ var require_clone = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
1083
1083
  });
1084
1084
 
1085
1085
  // ../../node_modules/.pnpm/graceful-fs@4.2.10/node_modules/graceful-fs/graceful-fs.js
1086
- var require_graceful_fs = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
1086
+ var require_graceful_fs = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
1087
1087
  "../../node_modules/.pnpm/graceful-fs@4.2.10/node_modules/graceful-fs/graceful-fs.js"(exports, module) {
1088
- _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
1089
- var fs = _chunk6B2W5NCRcjs.__require.call(void 0, "fs");
1088
+ _chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
1089
+ var fs = _chunkVNVLFUULcjs.__require.call(void 0, "fs");
1090
1090
  var polyfills = require_polyfills();
1091
1091
  var legacy = require_legacy_streams();
1092
1092
  var clone = require_clone();
1093
- var util = _chunk6B2W5NCRcjs.__require.call(void 0, "util");
1093
+ var util = _chunkVNVLFUULcjs.__require.call(void 0, "util");
1094
1094
  var gracefulQueue;
1095
1095
  var previousSymbol;
1096
1096
  if (typeof Symbol === "function" && typeof Symbol.for === "function") {
@@ -1149,7 +1149,7 @@ var require_graceful_fs = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
1149
1149
  if (/\bgfs4\b/i.test(process.env.NODE_DEBUG || "")) {
1150
1150
  process.on("exit", function() {
1151
1151
  debug(fs[gracefulQueue]);
1152
- _chunk6B2W5NCRcjs.__require.call(void 0, "assert").equal(fs[gracefulQueue].length, 0);
1152
+ _chunkVNVLFUULcjs.__require.call(void 0, "assert").equal(fs[gracefulQueue].length, 0);
1153
1153
  });
1154
1154
  }
1155
1155
  }
@@ -1454,10 +1454,10 @@ var require_graceful_fs = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
1454
1454
  });
1455
1455
 
1456
1456
  // ../../node_modules/.pnpm/@pnpm+network.ca-file@1.0.2/node_modules/@pnpm/network.ca-file/dist/ca-file.js
1457
- var require_ca_file = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
1457
+ var require_ca_file = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
1458
1458
  "../../node_modules/.pnpm/@pnpm+network.ca-file@1.0.2/node_modules/@pnpm/network.ca-file/dist/ca-file.js"(exports) {
1459
1459
  "use strict";
1460
- _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
1460
+ _chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
1461
1461
  var __importDefault = exports && exports.__importDefault || function(mod) {
1462
1462
  return mod && mod.__esModule ? mod : { "default": mod };
1463
1463
  };
@@ -1481,10 +1481,10 @@ var require_ca_file = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
1481
1481
  });
1482
1482
 
1483
1483
  // ../../node_modules/.pnpm/@pnpm+network.ca-file@1.0.2/node_modules/@pnpm/network.ca-file/dist/index.js
1484
- var require_dist = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
1484
+ var require_dist = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
1485
1485
  "../../node_modules/.pnpm/@pnpm+network.ca-file@1.0.2/node_modules/@pnpm/network.ca-file/dist/index.js"(exports) {
1486
1486
  "use strict";
1487
- _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
1487
+ _chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
1488
1488
  var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
1489
1489
  if (k2 === void 0) k2 = k;
1490
1490
  var desc = Object.getOwnPropertyDescriptor(m, k);
@@ -1507,9 +1507,9 @@ var require_dist = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
1507
1507
  });
1508
1508
 
1509
1509
  // ../../node_modules/.pnpm/proto-list@1.2.4/node_modules/proto-list/proto-list.js
1510
- var require_proto_list = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
1510
+ var require_proto_list = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
1511
1511
  "../../node_modules/.pnpm/proto-list@1.2.4/node_modules/proto-list/proto-list.js"(exports, module) {
1512
- _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
1512
+ _chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
1513
1513
  module.exports = ProtoList;
1514
1514
  function setProto(obj, proto) {
1515
1515
  if (typeof Object.setPrototypeOf === "function")
@@ -1603,16 +1603,16 @@ var require_proto_list = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
1603
1603
  });
1604
1604
 
1605
1605
  // ../../node_modules/.pnpm/config-chain@1.1.13/node_modules/config-chain/index.js
1606
- var require_config_chain = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
1606
+ var require_config_chain = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
1607
1607
  "../../node_modules/.pnpm/config-chain@1.1.13/node_modules/config-chain/index.js"(exports, module) {
1608
- _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
1608
+ _chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
1609
1609
  var ProtoList = require_proto_list();
1610
- var path = _chunk6B2W5NCRcjs.__require.call(void 0, "path");
1611
- var fs = _chunk6B2W5NCRcjs.__require.call(void 0, "fs");
1610
+ var path = _chunkVNVLFUULcjs.__require.call(void 0, "path");
1611
+ var fs = _chunkVNVLFUULcjs.__require.call(void 0, "fs");
1612
1612
  var ini = require_ini();
1613
- var EE = _chunk6B2W5NCRcjs.__require.call(void 0, "events").EventEmitter;
1614
- var url = _chunk6B2W5NCRcjs.__require.call(void 0, "url");
1615
- var http = _chunk6B2W5NCRcjs.__require.call(void 0, "http");
1613
+ var EE = _chunkVNVLFUULcjs.__require.call(void 0, "events").EventEmitter;
1614
+ var url = _chunkVNVLFUULcjs.__require.call(void 0, "url");
1615
+ var http = _chunkVNVLFUULcjs.__require.call(void 0, "http");
1616
1616
  var exports = module.exports = function() {
1617
1617
  var args = [].slice.call(arguments), conf = new ConfigChain();
1618
1618
  while (args.length) {
@@ -1846,10 +1846,10 @@ var require_config_chain = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
1846
1846
  }
1847
1847
  });
1848
1848
 
1849
- // ../../node_modules/.pnpm/@pnpm+npm-conf@2.3.1/node_modules/@pnpm/npm-conf/lib/envKeyToSetting.js
1850
- var require_envKeyToSetting = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
1851
- "../../node_modules/.pnpm/@pnpm+npm-conf@2.3.1/node_modules/@pnpm/npm-conf/lib/envKeyToSetting.js"(exports, module) {
1852
- _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
1849
+ // ../../node_modules/.pnpm/@pnpm+npm-conf@3.0.2/node_modules/@pnpm/npm-conf/lib/envKeyToSetting.js
1850
+ var require_envKeyToSetting = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
1851
+ "../../node_modules/.pnpm/@pnpm+npm-conf@3.0.2/node_modules/@pnpm/npm-conf/lib/envKeyToSetting.js"(exports, module) {
1852
+ _chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
1853
1853
  module.exports = function(x) {
1854
1854
  const colonIndex = x.indexOf(":");
1855
1855
  if (colonIndex === -1) {
@@ -1857,7 +1857,7 @@ var require_envKeyToSetting = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
1857
1857
  }
1858
1858
  const firstPart = x.substr(0, colonIndex);
1859
1859
  const secondPart = x.substr(colonIndex + 1);
1860
- return `${normalize(firstPart)}:${normalize(secondPart)}`;
1860
+ return `${firstPart}:${normalize(secondPart)}`;
1861
1861
  };
1862
1862
  function normalize(s) {
1863
1863
  s = s.toLowerCase();
@@ -1872,10 +1872,10 @@ var require_envKeyToSetting = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
1872
1872
  });
1873
1873
 
1874
1874
  // ../../node_modules/.pnpm/@pnpm+config.env-replace@1.1.0/node_modules/@pnpm/config.env-replace/dist/env-replace.js
1875
- var require_env_replace = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
1875
+ var require_env_replace = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
1876
1876
  "../../node_modules/.pnpm/@pnpm+config.env-replace@1.1.0/node_modules/@pnpm/config.env-replace/dist/env-replace.js"(exports) {
1877
1877
  "use strict";
1878
- _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
1878
+ _chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
1879
1879
  Object.defineProperty(exports, "__esModule", { value: true });
1880
1880
  exports.envReplace = void 0;
1881
1881
  var ENV_EXPR = /(?<!\\)(\\*)\$\{([^${}]+)\}/g;
@@ -1908,10 +1908,10 @@ var require_env_replace = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
1908
1908
  });
1909
1909
 
1910
1910
  // ../../node_modules/.pnpm/@pnpm+config.env-replace@1.1.0/node_modules/@pnpm/config.env-replace/dist/index.js
1911
- var require_dist2 = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
1911
+ var require_dist2 = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
1912
1912
  "../../node_modules/.pnpm/@pnpm+config.env-replace@1.1.0/node_modules/@pnpm/config.env-replace/dist/index.js"(exports) {
1913
1913
  "use strict";
1914
- _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
1914
+ _chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
1915
1915
  Object.defineProperty(exports, "__esModule", { value: true });
1916
1916
  exports.envReplace = void 0;
1917
1917
  var env_replace_1 = require_env_replace();
@@ -1921,13 +1921,13 @@ var require_dist2 = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
1921
1921
  }
1922
1922
  });
1923
1923
 
1924
- // ../../node_modules/.pnpm/@pnpm+npm-conf@2.3.1/node_modules/@pnpm/npm-conf/lib/util.js
1925
- var require_util = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
1926
- "../../node_modules/.pnpm/@pnpm+npm-conf@2.3.1/node_modules/@pnpm/npm-conf/lib/util.js"(exports) {
1924
+ // ../../node_modules/.pnpm/@pnpm+npm-conf@3.0.2/node_modules/@pnpm/npm-conf/lib/util.js
1925
+ var require_util = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
1926
+ "../../node_modules/.pnpm/@pnpm+npm-conf@3.0.2/node_modules/@pnpm/npm-conf/lib/util.js"(exports) {
1927
1927
  "use strict";
1928
- _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
1929
- var fs = _chunk6B2W5NCRcjs.__require.call(void 0, "fs");
1930
- var path = _chunk6B2W5NCRcjs.__require.call(void 0, "path");
1928
+ _chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
1929
+ var fs = _chunkVNVLFUULcjs.__require.call(void 0, "fs");
1930
+ var path = _chunkVNVLFUULcjs.__require.call(void 0, "path");
1931
1931
  var { envReplace } = require_dist2();
1932
1932
  var parseKey = (key) => {
1933
1933
  if (typeof key !== "string") {
@@ -1970,7 +1970,12 @@ var require_util = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
1970
1970
  return void 0;
1971
1971
  }
1972
1972
  }
1973
- field = envReplace(field, process.env);
1973
+ const processedField = envReplace(field, process.env);
1974
+ if ((key.endsWith(":tokenHelper") || key === "tokenHelper") && processedField !== field) {
1975
+ throw new Error(`It is not allowed to use environment variables in the value of the ${key} setting.`);
1976
+ } else {
1977
+ field = processedField;
1978
+ }
1974
1979
  if (isPath) {
1975
1980
  const regex = process.platform === "win32" ? /^~(\/|\\)/ : /^~\//;
1976
1981
  if (regex.test(field) && process.env.HOME) {
@@ -2027,14 +2032,14 @@ var require_util = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
2027
2032
  }
2028
2033
  });
2029
2034
 
2030
- // ../../node_modules/.pnpm/@pnpm+npm-conf@2.3.1/node_modules/@pnpm/npm-conf/lib/types.js
2031
- var require_types = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
2032
- "../../node_modules/.pnpm/@pnpm+npm-conf@2.3.1/node_modules/@pnpm/npm-conf/lib/types.js"(exports) {
2035
+ // ../../node_modules/.pnpm/@pnpm+npm-conf@3.0.2/node_modules/@pnpm/npm-conf/lib/types.js
2036
+ var require_types = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
2037
+ "../../node_modules/.pnpm/@pnpm+npm-conf@3.0.2/node_modules/@pnpm/npm-conf/lib/types.js"(exports) {
2033
2038
  "use strict";
2034
- _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
2035
- var path = _chunk6B2W5NCRcjs.__require.call(void 0, "path");
2036
- var Stream = _chunk6B2W5NCRcjs.__require.call(void 0, "stream").Stream;
2037
- var url = _chunk6B2W5NCRcjs.__require.call(void 0, "url");
2039
+ _chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
2040
+ var path = _chunkVNVLFUULcjs.__require.call(void 0, "path");
2041
+ var Stream = _chunkVNVLFUULcjs.__require.call(void 0, "stream").Stream;
2042
+ var url = _chunkVNVLFUULcjs.__require.call(void 0, "url");
2038
2043
  var Umask = () => {
2039
2044
  };
2040
2045
  var getLocalAddresses = () => [];
@@ -2167,14 +2172,14 @@ var require_types = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
2167
2172
  }
2168
2173
  });
2169
2174
 
2170
- // ../../node_modules/.pnpm/@pnpm+npm-conf@2.3.1/node_modules/@pnpm/npm-conf/lib/conf.js
2171
- var require_conf = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
2172
- "../../node_modules/.pnpm/@pnpm+npm-conf@2.3.1/node_modules/@pnpm/npm-conf/lib/conf.js"(exports, module) {
2175
+ // ../../node_modules/.pnpm/@pnpm+npm-conf@3.0.2/node_modules/@pnpm/npm-conf/lib/conf.js
2176
+ var require_conf = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
2177
+ "../../node_modules/.pnpm/@pnpm+npm-conf@3.0.2/node_modules/@pnpm/npm-conf/lib/conf.js"(exports, module) {
2173
2178
  "use strict";
2174
- _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
2179
+ _chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
2175
2180
  var { readCAFileSync } = require_dist();
2176
- var fs = _chunk6B2W5NCRcjs.__require.call(void 0, "fs");
2177
- var path = _chunk6B2W5NCRcjs.__require.call(void 0, "path");
2181
+ var fs = _chunkVNVLFUULcjs.__require.call(void 0, "fs");
2182
+ var path = _chunkVNVLFUULcjs.__require.call(void 0, "path");
2178
2183
  var { ConfigChain } = require_config_chain();
2179
2184
  var envKeyToSetting = require_envKeyToSetting();
2180
2185
  var util = require_util();
@@ -2328,13 +2333,13 @@ var require_conf = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
2328
2333
  }
2329
2334
  });
2330
2335
 
2331
- // ../../node_modules/.pnpm/@pnpm+npm-conf@2.3.1/node_modules/@pnpm/npm-conf/lib/defaults.js
2332
- var require_defaults = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
2333
- "../../node_modules/.pnpm/@pnpm+npm-conf@2.3.1/node_modules/@pnpm/npm-conf/lib/defaults.js"(exports) {
2336
+ // ../../node_modules/.pnpm/@pnpm+npm-conf@3.0.2/node_modules/@pnpm/npm-conf/lib/defaults.js
2337
+ var require_defaults = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
2338
+ "../../node_modules/.pnpm/@pnpm+npm-conf@3.0.2/node_modules/@pnpm/npm-conf/lib/defaults.js"(exports) {
2334
2339
  "use strict";
2335
- _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
2336
- var os = _chunk6B2W5NCRcjs.__require.call(void 0, "os");
2337
- var path = _chunk6B2W5NCRcjs.__require.call(void 0, "path");
2340
+ _chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
2341
+ var os = _chunkVNVLFUULcjs.__require.call(void 0, "os");
2342
+ var path = _chunkVNVLFUULcjs.__require.call(void 0, "path");
2338
2343
  var temp = os.tmpdir();
2339
2344
  var uidOrPid = process.getuid ? process.getuid() : process.pid;
2340
2345
  var hasUnicode = () => true;
@@ -2444,7 +2449,7 @@ var require_defaults = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
2444
2449
  "prefer-offline": false,
2445
2450
  "prefer-online": false,
2446
2451
  prefix: globalPrefix,
2447
- production: process.env.NODE_ENV === "production",
2452
+ production: false,
2448
2453
  "progress": !process.env.TRAVIS && !process.env.CI,
2449
2454
  provenance: false,
2450
2455
  proxy: null,
@@ -2497,12 +2502,12 @@ var require_defaults = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
2497
2502
  }
2498
2503
  });
2499
2504
 
2500
- // ../../node_modules/.pnpm/@pnpm+npm-conf@2.3.1/node_modules/@pnpm/npm-conf/index.js
2501
- var require_npm_conf = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
2502
- "../../node_modules/.pnpm/@pnpm+npm-conf@2.3.1/node_modules/@pnpm/npm-conf/index.js"(exports, module) {
2505
+ // ../../node_modules/.pnpm/@pnpm+npm-conf@3.0.2/node_modules/@pnpm/npm-conf/index.js
2506
+ var require_npm_conf = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
2507
+ "../../node_modules/.pnpm/@pnpm+npm-conf@3.0.2/node_modules/@pnpm/npm-conf/index.js"(exports, module) {
2503
2508
  "use strict";
2504
- _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
2505
- var path = _chunk6B2W5NCRcjs.__require.call(void 0, "path");
2509
+ _chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
2510
+ var path = _chunkVNVLFUULcjs.__require.call(void 0, "path");
2506
2511
  var Conf = require_conf();
2507
2512
  var _defaults = require_defaults();
2508
2513
  module.exports = (opts, types, defaults) => {
@@ -2510,11 +2515,11 @@ var require_npm_conf = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
2510
2515
  conf.add(Object.assign({}, opts), "cli");
2511
2516
  const warnings = [];
2512
2517
  let failedToLoadBuiltInConfig = false;
2513
- if (_chunk6B2W5NCRcjs.__require.resolve.paths) {
2514
- const paths = _chunk6B2W5NCRcjs.__require.resolve.paths("npm");
2518
+ if (_chunkVNVLFUULcjs.__require.resolve.paths) {
2519
+ const paths = _chunkVNVLFUULcjs.__require.resolve.paths("npm");
2515
2520
  let npmPath;
2516
2521
  try {
2517
- npmPath = _chunk6B2W5NCRcjs.__require.resolve("npm", { paths: paths.slice(-1) });
2522
+ npmPath = _chunkVNVLFUULcjs.__require.resolve("npm", { paths: paths.slice(-1) });
2518
2523
  } catch (error) {
2519
2524
  failedToLoadBuiltInConfig = true;
2520
2525
  }
@@ -2562,10 +2567,10 @@ var require_npm_conf = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
2562
2567
  }
2563
2568
  });
2564
2569
 
2565
- // ../../node_modules/.pnpm/registry-auth-token@5.1.0/node_modules/registry-auth-token/index.js
2566
- var require_registry_auth_token = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
2567
- "../../node_modules/.pnpm/registry-auth-token@5.1.0/node_modules/registry-auth-token/index.js"(exports, module) {
2568
- _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
2570
+ // ../../node_modules/.pnpm/registry-auth-token@5.1.1/node_modules/registry-auth-token/index.js
2571
+ var require_registry_auth_token = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
2572
+ "../../node_modules/.pnpm/registry-auth-token@5.1.1/node_modules/registry-auth-token/index.js"(exports, module) {
2573
+ _chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
2569
2574
  var npmConf = require_npm_conf();
2570
2575
  var tokenKey = ":_authToken";
2571
2576
  var legacyTokenKey = ":_auth";
@@ -2680,16 +2685,16 @@ var require_registry_auth_token = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
2680
2685
  });
2681
2686
 
2682
2687
  // ../../node_modules/.pnpm/package-json@10.0.1/node_modules/package-json/index.js
2683
- _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
2688
+ _chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
2684
2689
 
2685
- // ../../node_modules/.pnpm/ky@1.14.1/node_modules/ky/distribution/index.js
2686
- _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
2690
+ // ../../node_modules/.pnpm/ky@1.14.3/node_modules/ky/distribution/index.js
2691
+ _chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
2687
2692
 
2688
- // ../../node_modules/.pnpm/ky@1.14.1/node_modules/ky/distribution/core/Ky.js
2689
- _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
2693
+ // ../../node_modules/.pnpm/ky@1.14.3/node_modules/ky/distribution/core/Ky.js
2694
+ _chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
2690
2695
 
2691
- // ../../node_modules/.pnpm/ky@1.14.1/node_modules/ky/distribution/errors/HTTPError.js
2692
- _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
2696
+ // ../../node_modules/.pnpm/ky@1.14.3/node_modules/ky/distribution/errors/HTTPError.js
2697
+ _chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
2693
2698
  var HTTPError = class extends Error {
2694
2699
 
2695
2700
 
@@ -2707,8 +2712,8 @@ var HTTPError = class extends Error {
2707
2712
  }
2708
2713
  };
2709
2714
 
2710
- // ../../node_modules/.pnpm/ky@1.14.1/node_modules/ky/distribution/errors/NonError.js
2711
- _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
2715
+ // ../../node_modules/.pnpm/ky@1.14.3/node_modules/ky/distribution/errors/NonError.js
2716
+ _chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
2712
2717
  var NonError = (_class = class extends Error {
2713
2718
  __init() {this.name = "NonError"}
2714
2719
 
@@ -2727,8 +2732,8 @@ var NonError = (_class = class extends Error {
2727
2732
  }
2728
2733
  }, _class);
2729
2734
 
2730
- // ../../node_modules/.pnpm/ky@1.14.1/node_modules/ky/distribution/errors/ForceRetryError.js
2731
- _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
2735
+ // ../../node_modules/.pnpm/ky@1.14.3/node_modules/ky/distribution/errors/ForceRetryError.js
2736
+ _chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
2732
2737
  var ForceRetryError = (_class2 = class extends Error {
2733
2738
  __init2() {this.name = "ForceRetryError"}
2734
2739
 
@@ -2743,11 +2748,11 @@ var ForceRetryError = (_class2 = class extends Error {
2743
2748
  }
2744
2749
  }, _class2);
2745
2750
 
2746
- // ../../node_modules/.pnpm/ky@1.14.1/node_modules/ky/distribution/utils/body.js
2747
- _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
2751
+ // ../../node_modules/.pnpm/ky@1.14.3/node_modules/ky/distribution/utils/body.js
2752
+ _chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
2748
2753
 
2749
- // ../../node_modules/.pnpm/ky@1.14.1/node_modules/ky/distribution/core/constants.js
2750
- _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
2754
+ // ../../node_modules/.pnpm/ky@1.14.3/node_modules/ky/distribution/core/constants.js
2755
+ _chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
2751
2756
  var supportsRequestStreams = (() => {
2752
2757
  let duplexAccessed = false;
2753
2758
  let hasContentType = false;
@@ -2836,7 +2841,7 @@ var requestOptionsRegistry = {
2836
2841
  duplex: true
2837
2842
  };
2838
2843
 
2839
- // ../../node_modules/.pnpm/ky@1.14.1/node_modules/ky/distribution/utils/body.js
2844
+ // ../../node_modules/.pnpm/ky@1.14.3/node_modules/ky/distribution/utils/body.js
2840
2845
  var getBodySize = (body) => {
2841
2846
  if (!body) {
2842
2847
  return 0;
@@ -2929,14 +2934,14 @@ var streamRequest = (request, onUploadProgress, originalBody) => {
2929
2934
  });
2930
2935
  };
2931
2936
 
2932
- // ../../node_modules/.pnpm/ky@1.14.1/node_modules/ky/distribution/utils/merge.js
2933
- _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
2937
+ // ../../node_modules/.pnpm/ky@1.14.3/node_modules/ky/distribution/utils/merge.js
2938
+ _chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
2934
2939
 
2935
- // ../../node_modules/.pnpm/ky@1.14.1/node_modules/ky/distribution/utils/is.js
2936
- _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
2940
+ // ../../node_modules/.pnpm/ky@1.14.3/node_modules/ky/distribution/utils/is.js
2941
+ _chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
2937
2942
  var isObject = (value) => value !== null && typeof value === "object";
2938
2943
 
2939
- // ../../node_modules/.pnpm/ky@1.14.1/node_modules/ky/distribution/utils/merge.js
2944
+ // ../../node_modules/.pnpm/ky@1.14.3/node_modules/ky/distribution/utils/merge.js
2940
2945
  var validateAndMerge = (...sources) => {
2941
2946
  for (const source of sources) {
2942
2947
  if ((!isObject(source) || Array.isArray(source)) && source !== void 0) {
@@ -3062,14 +3067,11 @@ var deepMerge = (...sources) => {
3062
3067
  returnValue.signal = signals.at(-1);
3063
3068
  }
3064
3069
  }
3065
- if (returnValue.context === void 0) {
3066
- returnValue.context = {};
3067
- }
3068
3070
  return returnValue;
3069
3071
  };
3070
3072
 
3071
- // ../../node_modules/.pnpm/ky@1.14.1/node_modules/ky/distribution/utils/normalize.js
3072
- _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
3073
+ // ../../node_modules/.pnpm/ky@1.14.3/node_modules/ky/distribution/utils/normalize.js
3074
+ _chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
3073
3075
  var normalizeRequestMethod = (input) => requestMethods.includes(input) ? input.toUpperCase() : input;
3074
3076
  var retryMethods = ["get", "put", "head", "delete", "options", "trace"];
3075
3077
  var retryStatusCodes = [408, 413, 429, 500, 502, 503, 504];
@@ -3095,6 +3097,7 @@ var normalizeRetryOptions = (retry2 = {}) => {
3095
3097
  if (retry2.methods && !Array.isArray(retry2.methods)) {
3096
3098
  throw new Error("retry.methods must be an array");
3097
3099
  }
3100
+ retry2.methods &&= retry2.methods.map((method) => method.toLowerCase());
3098
3101
  if (retry2.statusCodes && !Array.isArray(retry2.statusCodes)) {
3099
3102
  throw new Error("retry.statusCodes must be an array");
3100
3103
  }
@@ -3105,11 +3108,11 @@ var normalizeRetryOptions = (retry2 = {}) => {
3105
3108
  };
3106
3109
  };
3107
3110
 
3108
- // ../../node_modules/.pnpm/ky@1.14.1/node_modules/ky/distribution/utils/timeout.js
3109
- _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
3111
+ // ../../node_modules/.pnpm/ky@1.14.3/node_modules/ky/distribution/utils/timeout.js
3112
+ _chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
3110
3113
 
3111
- // ../../node_modules/.pnpm/ky@1.14.1/node_modules/ky/distribution/errors/TimeoutError.js
3112
- _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
3114
+ // ../../node_modules/.pnpm/ky@1.14.3/node_modules/ky/distribution/errors/TimeoutError.js
3115
+ _chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
3113
3116
  var TimeoutError = class extends Error {
3114
3117
 
3115
3118
  constructor(request) {
@@ -3119,7 +3122,7 @@ var TimeoutError = class extends Error {
3119
3122
  }
3120
3123
  };
3121
3124
 
3122
- // ../../node_modules/.pnpm/ky@1.14.1/node_modules/ky/distribution/utils/timeout.js
3125
+ // ../../node_modules/.pnpm/ky@1.14.3/node_modules/ky/distribution/utils/timeout.js
3123
3126
  async function timeout(request, init, abortController, options) {
3124
3127
  return new Promise((resolve, reject) => {
3125
3128
  const timeoutId = setTimeout(() => {
@@ -3134,8 +3137,8 @@ async function timeout(request, init, abortController, options) {
3134
3137
  });
3135
3138
  }
3136
3139
 
3137
- // ../../node_modules/.pnpm/ky@1.14.1/node_modules/ky/distribution/utils/delay.js
3138
- _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
3140
+ // ../../node_modules/.pnpm/ky@1.14.3/node_modules/ky/distribution/utils/delay.js
3141
+ _chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
3139
3142
  async function delay(ms, { signal }) {
3140
3143
  return new Promise((resolve, reject) => {
3141
3144
  if (signal) {
@@ -3153,8 +3156,8 @@ async function delay(ms, { signal }) {
3153
3156
  });
3154
3157
  }
3155
3158
 
3156
- // ../../node_modules/.pnpm/ky@1.14.1/node_modules/ky/distribution/utils/options.js
3157
- _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
3159
+ // ../../node_modules/.pnpm/ky@1.14.3/node_modules/ky/distribution/utils/options.js
3160
+ _chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
3158
3161
  var findUnknownOptions = (request, options) => {
3159
3162
  const unknownOptions = {};
3160
3163
  for (const key in options) {
@@ -3186,8 +3189,8 @@ var hasSearchParameters = (search) => {
3186
3189
  return Boolean(search);
3187
3190
  };
3188
3191
 
3189
- // ../../node_modules/.pnpm/ky@1.14.1/node_modules/ky/distribution/utils/type-guards.js
3190
- _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
3192
+ // ../../node_modules/.pnpm/ky@1.14.3/node_modules/ky/distribution/utils/type-guards.js
3193
+ _chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
3191
3194
  function isHTTPError(error) {
3192
3195
  return error instanceof HTTPError || _optionalChain([error, 'optionalAccess', _12 => _12.name]) === HTTPError.name;
3193
3196
  }
@@ -3195,7 +3198,7 @@ function isTimeoutError(error) {
3195
3198
  return error instanceof TimeoutError || _optionalChain([error, 'optionalAccess', _13 => _13.name]) === TimeoutError.name;
3196
3199
  }
3197
3200
 
3198
- // ../../node_modules/.pnpm/ky@1.14.1/node_modules/ky/distribution/core/Ky.js
3201
+ // ../../node_modules/.pnpm/ky@1.14.3/node_modules/ky/distribution/core/Ky.js
3199
3202
  var Ky = class _Ky {
3200
3203
  static create(input, options) {
3201
3204
  const ky2 = new _Ky(input, options);
@@ -3207,17 +3210,27 @@ var Ky = class _Ky {
3207
3210
  let response = await ky2.#fetch();
3208
3211
  for (const hook of ky2.#options.hooks.afterResponse) {
3209
3212
  const clonedResponse = ky2.#decorateResponse(response.clone());
3210
- const modifiedResponse = await hook(ky2.request, ky2.#getNormalizedOptions(), clonedResponse, { retryCount: ky2.#retryCount });
3211
- if (modifiedResponse instanceof globalThis.Response) {
3212
- response = modifiedResponse;
3213
+ let modifiedResponse;
3214
+ try {
3215
+ modifiedResponse = await hook(ky2.request, ky2.#getNormalizedOptions(), clonedResponse, { retryCount: ky2.#retryCount });
3216
+ } catch (error) {
3217
+ ky2.#cancelResponseBody(clonedResponse);
3218
+ ky2.#cancelResponseBody(response);
3219
+ throw error;
3213
3220
  }
3214
3221
  if (modifiedResponse instanceof RetryMarker) {
3215
- await Promise.all([
3216
- _optionalChain([clonedResponse, 'access', _14 => _14.body, 'optionalAccess', _15 => _15.cancel, 'call', _16 => _16()]),
3217
- _optionalChain([response, 'access', _17 => _17.body, 'optionalAccess', _18 => _18.cancel, 'call', _19 => _19()])
3218
- ]);
3222
+ ky2.#cancelResponseBody(clonedResponse);
3223
+ ky2.#cancelResponseBody(response);
3219
3224
  throw new ForceRetryError(modifiedResponse.options);
3220
3225
  }
3226
+ const nextResponse = modifiedResponse instanceof globalThis.Response ? modifiedResponse : response;
3227
+ if (clonedResponse !== nextResponse) {
3228
+ ky2.#cancelResponseBody(clonedResponse);
3229
+ }
3230
+ if (response !== nextResponse) {
3231
+ ky2.#cancelResponseBody(response);
3232
+ }
3233
+ response = nextResponse;
3221
3234
  }
3222
3235
  ky2.#decorateResponse(response);
3223
3236
  if (!response.ok && (typeof ky2.#options.throwHttpErrors === "function" ? ky2.#options.throwHttpErrors(response.status) : ky2.#options.throwHttpErrors)) {
@@ -3234,23 +3247,19 @@ var Ky = class _Ky {
3234
3247
  if (!supportsResponseStreams) {
3235
3248
  throw new Error("Streams are not supported in your environment. `ReadableStream` is missing.");
3236
3249
  }
3237
- return streamResponse(response.clone(), ky2.#options.onDownloadProgress);
3250
+ const progressResponse = response.clone();
3251
+ ky2.#cancelResponseBody(response);
3252
+ return streamResponse(progressResponse, ky2.#options.onDownloadProgress);
3238
3253
  }
3239
3254
  return response;
3240
3255
  };
3241
- const result = ky2.#retry(function_).finally(async () => {
3256
+ const result = ky2.#retry(function_).finally(() => {
3242
3257
  const originalRequest = ky2.#originalRequest;
3243
- const cleanupPromises = [];
3244
- if (originalRequest && !originalRequest.bodyUsed) {
3245
- cleanupPromises.push(_optionalChain([originalRequest, 'access', _20 => _20.body, 'optionalAccess', _21 => _21.cancel, 'call', _22 => _22()]));
3246
- }
3247
- if (!ky2.request.bodyUsed) {
3248
- cleanupPromises.push(_optionalChain([ky2, 'access', _23 => _23.request, 'access', _24 => _24.body, 'optionalAccess', _25 => _25.cancel, 'call', _26 => _26()]));
3249
- }
3250
- await Promise.all(cleanupPromises);
3258
+ ky2.#cancelBody(_nullishCoalesce(_optionalChain([originalRequest, 'optionalAccess', _14 => _14.body]), () => ( void 0)));
3259
+ ky2.#cancelBody(_nullishCoalesce(ky2.request.body, () => ( void 0)));
3251
3260
  });
3252
3261
  for (const [type, mimeType] of Object.entries(responseTypes)) {
3253
- if (type === "bytes" && typeof _optionalChain([globalThis, 'access', _27 => _27.Response, 'optionalAccess', _28 => _28.prototype, 'optionalAccess', _29 => _29.bytes]) !== "function") {
3262
+ if (type === "bytes" && typeof _optionalChain([globalThis, 'access', _15 => _15.Response, 'optionalAccess', _16 => _16.prototype, 'optionalAccess', _17 => _17.bytes]) !== "function") {
3254
3263
  continue;
3255
3264
  }
3256
3265
  result[type] = async () => {
@@ -3332,7 +3341,7 @@ var Ky = class _Ky {
3332
3341
  this.#options.duplex = "half";
3333
3342
  }
3334
3343
  if (this.#options.json !== void 0) {
3335
- this.#options.body = _nullishCoalesce(_optionalChain([this, 'access', _30 => _30.#options, 'access', _31 => _31.stringifyJson, 'optionalCall', _32 => _32(this.#options.json)]), () => ( JSON.stringify(this.#options.json)));
3344
+ this.#options.body = _nullishCoalesce(_optionalChain([this, 'access', _18 => _18.#options, 'access', _19 => _19.stringifyJson, 'optionalCall', _20 => _20(this.#options.json)]), () => ( JSON.stringify(this.#options.json)));
3336
3345
  this.#options.headers.set("content-type", _nullishCoalesce(this.#options.headers.get("content-type"), () => ( "application/json")));
3337
3346
  }
3338
3347
  const userProvidedContentType = options.headers && new globalThis.Headers(options.headers).has("content-type");
@@ -3421,6 +3430,15 @@ var Ky = class _Ky {
3421
3430
  }
3422
3431
  return response;
3423
3432
  }
3433
+ #cancelBody(body) {
3434
+ if (!body) {
3435
+ return;
3436
+ }
3437
+ void body.cancel().catch(() => void 0);
3438
+ }
3439
+ #cancelResponseBody(response) {
3440
+ this.#cancelBody(_nullishCoalesce(response.body, () => ( void 0)));
3441
+ }
3424
3442
  async #retry(function_) {
3425
3443
  try {
3426
3444
  return await function_();
@@ -3456,7 +3474,7 @@ var Ky = class _Ky {
3456
3474
  }
3457
3475
  }
3458
3476
  async #fetch() {
3459
- if (_optionalChain([this, 'access', _33 => _33.#abortController, 'optionalAccess', _34 => _34.signal, 'access', _35 => _35.aborted])) {
3477
+ if (_optionalChain([this, 'access', _21 => _21.#abortController, 'optionalAccess', _22 => _22.signal, 'access', _23 => _23.aborted])) {
3460
3478
  this.#abortController = new globalThis.AbortController();
3461
3479
  this.#options.signal = this.#userProvidedAbortSignal ? AbortSignal.any([this.#userProvidedAbortSignal, this.#abortController.signal]) : this.#abortController.signal;
3462
3480
  this.request = new globalThis.Request(this.request, { signal: this.#options.signal });
@@ -3498,7 +3516,7 @@ var Ky = class _Ky {
3498
3516
  }
3499
3517
  };
3500
3518
 
3501
- // ../../node_modules/.pnpm/ky@1.14.1/node_modules/ky/distribution/index.js
3519
+ // ../../node_modules/.pnpm/ky@1.14.3/node_modules/ky/distribution/index.js
3502
3520
  var createInstance = (defaults) => {
3503
3521
  const ky2 = (input, options) => Ky.create(input, validateAndMerge(defaults, options));
3504
3522
  for (const method of requestMethods) {
@@ -3519,8 +3537,8 @@ var ky = createInstance();
3519
3537
  var distribution_default = ky;
3520
3538
 
3521
3539
  // ../../node_modules/.pnpm/registry-url@6.0.1/node_modules/registry-url/index.js
3522
- _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
3523
- var import_rc = _chunk6B2W5NCRcjs.__toESM.call(void 0, require_rc(), 1);
3540
+ _chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
3541
+ var import_rc = _chunkVNVLFUULcjs.__toESM.call(void 0, require_rc(), 1);
3524
3542
  function registryUrl(scope) {
3525
3543
  const result = (0, import_rc.default)("npm", { registry: "https://registry.npmjs.org/" });
3526
3544
  const url = result[`${scope}:registry`] || result.config_registry || result.registry;
@@ -3528,8 +3546,8 @@ function registryUrl(scope) {
3528
3546
  }
3529
3547
 
3530
3548
  // ../../node_modules/.pnpm/package-json@10.0.1/node_modules/package-json/index.js
3531
- var import_registry_auth_token = _chunk6B2W5NCRcjs.__toESM.call(void 0, require_registry_auth_token(), 1);
3532
- var import_semver = _chunk6B2W5NCRcjs.__toESM.call(void 0, _chunkG5STVDEQcjs.require_semver.call(void 0, ), 1);
3549
+ var import_registry_auth_token = _chunkVNVLFUULcjs.__toESM.call(void 0, require_registry_auth_token(), 1);
3550
+ var import_semver = _chunkVNVLFUULcjs.__toESM.call(void 0, _chunkLFBJ4R2Jcjs.require_semver.call(void 0, ), 1);
3533
3551
  var PackageNotFoundError = class extends Error {
3534
3552
  constructor(packageName) {
3535
3553
  super(`Package \`${packageName}\` could not be found`);
@@ -3562,7 +3580,7 @@ async function packageJson(packageName, options = {}) {
3562
3580
  try {
3563
3581
  data = await distribution_default(packageUrl, { headers, keepalive: true }).json();
3564
3582
  } catch (error) {
3565
- if (_optionalChain([error, 'optionalAccess', _36 => _36.response, 'optionalAccess', _37 => _37.status]) === 404) {
3583
+ if (_optionalChain([error, 'optionalAccess', _24 => _24.response, 'optionalAccess', _25 => _25.status]) === 404) {
3566
3584
  throw new PackageNotFoundError(packageName);
3567
3585
  }
3568
3586
  throw error;