@gearbox-protocol/deploy-tools 4.0.0 → 4.1.1-next.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 (2) hide show
  1. package/dist/index.mjs +209 -2208
  2. package/package.json +4 -4
package/dist/index.mjs CHANGED
@@ -171247,9 +171247,9 @@ var require_lru_cache = __commonJS({
171247
171247
  }
171248
171248
  });
171249
171249
 
171250
- // ../../node_modules/@safe-global/protocol-kit/node_modules/semver/internal/parse-options.js
171250
+ // ../../node_modules/semver/internal/parse-options.js
171251
171251
  var require_parse_options = __commonJS({
171252
- "../../node_modules/@safe-global/protocol-kit/node_modules/semver/internal/parse-options.js"(exports2, module2) {
171252
+ "../../node_modules/semver/internal/parse-options.js"(exports2, module2) {
171253
171253
  var looseOption = Object.freeze({ loose: true });
171254
171254
  var emptyOpts = Object.freeze({});
171255
171255
  var parseOptions = (options) => {
@@ -171265,9 +171265,9 @@ var require_parse_options = __commonJS({
171265
171265
  }
171266
171266
  });
171267
171267
 
171268
- // ../../node_modules/@safe-global/protocol-kit/node_modules/semver/internal/constants.js
171268
+ // ../../node_modules/semver/internal/constants.js
171269
171269
  var require_constants7 = __commonJS({
171270
- "../../node_modules/@safe-global/protocol-kit/node_modules/semver/internal/constants.js"(exports2, module2) {
171270
+ "../../node_modules/semver/internal/constants.js"(exports2, module2) {
171271
171271
  var SEMVER_SPEC_VERSION = "2.0.0";
171272
171272
  var MAX_LENGTH = 256;
171273
171273
  var MAX_SAFE_INTEGER3 = Number.MAX_SAFE_INTEGER || /* istanbul ignore next */
@@ -171296,18 +171296,18 @@ var require_constants7 = __commonJS({
171296
171296
  }
171297
171297
  });
171298
171298
 
171299
- // ../../node_modules/@safe-global/protocol-kit/node_modules/semver/internal/debug.js
171299
+ // ../../node_modules/semver/internal/debug.js
171300
171300
  var require_debug2 = __commonJS({
171301
- "../../node_modules/@safe-global/protocol-kit/node_modules/semver/internal/debug.js"(exports2, module2) {
171301
+ "../../node_modules/semver/internal/debug.js"(exports2, module2) {
171302
171302
  var debug = typeof process === "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...args) => console.error("SEMVER", ...args) : () => {
171303
171303
  };
171304
171304
  module2.exports = debug;
171305
171305
  }
171306
171306
  });
171307
171307
 
171308
- // ../../node_modules/@safe-global/protocol-kit/node_modules/semver/internal/re.js
171308
+ // ../../node_modules/semver/internal/re.js
171309
171309
  var require_re = __commonJS({
171310
- "../../node_modules/@safe-global/protocol-kit/node_modules/semver/internal/re.js"(exports2, module2) {
171310
+ "../../node_modules/semver/internal/re.js"(exports2, module2) {
171311
171311
  var {
171312
171312
  MAX_SAFE_COMPONENT_LENGTH,
171313
171313
  MAX_SAFE_BUILD_LENGTH,
@@ -171387,9 +171387,9 @@ var require_re = __commonJS({
171387
171387
  }
171388
171388
  });
171389
171389
 
171390
- // ../../node_modules/@safe-global/protocol-kit/node_modules/semver/internal/identifiers.js
171390
+ // ../../node_modules/semver/internal/identifiers.js
171391
171391
  var require_identifiers = __commonJS({
171392
- "../../node_modules/@safe-global/protocol-kit/node_modules/semver/internal/identifiers.js"(exports2, module2) {
171392
+ "../../node_modules/semver/internal/identifiers.js"(exports2, module2) {
171393
171393
  var numeric = /^[0-9]+$/;
171394
171394
  var compareIdentifiers = (a, b3) => {
171395
171395
  const anum = numeric.test(a);
@@ -171408,9 +171408,9 @@ var require_identifiers = __commonJS({
171408
171408
  }
171409
171409
  });
171410
171410
 
171411
- // ../../node_modules/@safe-global/protocol-kit/node_modules/semver/classes/semver.js
171411
+ // ../../node_modules/semver/classes/semver.js
171412
171412
  var require_semver = __commonJS({
171413
- "../../node_modules/@safe-global/protocol-kit/node_modules/semver/classes/semver.js"(exports2, module2) {
171413
+ "../../node_modules/semver/classes/semver.js"(exports2, module2) {
171414
171414
  var debug = require_debug2();
171415
171415
  var { MAX_LENGTH, MAX_SAFE_INTEGER: MAX_SAFE_INTEGER3 } = require_constants7();
171416
171416
  var { safeRe: re, t } = require_re();
@@ -171650,72 +171650,72 @@ var require_semver = __commonJS({
171650
171650
  }
171651
171651
  });
171652
171652
 
171653
- // ../../node_modules/@safe-global/protocol-kit/node_modules/semver/functions/compare.js
171653
+ // ../../node_modules/semver/functions/compare.js
171654
171654
  var require_compare = __commonJS({
171655
- "../../node_modules/@safe-global/protocol-kit/node_modules/semver/functions/compare.js"(exports2, module2) {
171655
+ "../../node_modules/semver/functions/compare.js"(exports2, module2) {
171656
171656
  var SemVer = require_semver();
171657
171657
  var compare = (a, b3, loose) => new SemVer(a, loose).compare(new SemVer(b3, loose));
171658
171658
  module2.exports = compare;
171659
171659
  }
171660
171660
  });
171661
171661
 
171662
- // ../../node_modules/@safe-global/protocol-kit/node_modules/semver/functions/eq.js
171662
+ // ../../node_modules/semver/functions/eq.js
171663
171663
  var require_eq = __commonJS({
171664
- "../../node_modules/@safe-global/protocol-kit/node_modules/semver/functions/eq.js"(exports2, module2) {
171664
+ "../../node_modules/semver/functions/eq.js"(exports2, module2) {
171665
171665
  var compare = require_compare();
171666
171666
  var eq2 = (a, b3, loose) => compare(a, b3, loose) === 0;
171667
171667
  module2.exports = eq2;
171668
171668
  }
171669
171669
  });
171670
171670
 
171671
- // ../../node_modules/@safe-global/protocol-kit/node_modules/semver/functions/neq.js
171671
+ // ../../node_modules/semver/functions/neq.js
171672
171672
  var require_neq = __commonJS({
171673
- "../../node_modules/@safe-global/protocol-kit/node_modules/semver/functions/neq.js"(exports2, module2) {
171673
+ "../../node_modules/semver/functions/neq.js"(exports2, module2) {
171674
171674
  var compare = require_compare();
171675
171675
  var neq = (a, b3, loose) => compare(a, b3, loose) !== 0;
171676
171676
  module2.exports = neq;
171677
171677
  }
171678
171678
  });
171679
171679
 
171680
- // ../../node_modules/@safe-global/protocol-kit/node_modules/semver/functions/gt.js
171680
+ // ../../node_modules/semver/functions/gt.js
171681
171681
  var require_gt = __commonJS({
171682
- "../../node_modules/@safe-global/protocol-kit/node_modules/semver/functions/gt.js"(exports2, module2) {
171682
+ "../../node_modules/semver/functions/gt.js"(exports2, module2) {
171683
171683
  var compare = require_compare();
171684
171684
  var gt = (a, b3, loose) => compare(a, b3, loose) > 0;
171685
171685
  module2.exports = gt;
171686
171686
  }
171687
171687
  });
171688
171688
 
171689
- // ../../node_modules/@safe-global/protocol-kit/node_modules/semver/functions/gte.js
171689
+ // ../../node_modules/semver/functions/gte.js
171690
171690
  var require_gte = __commonJS({
171691
- "../../node_modules/@safe-global/protocol-kit/node_modules/semver/functions/gte.js"(exports2, module2) {
171691
+ "../../node_modules/semver/functions/gte.js"(exports2, module2) {
171692
171692
  var compare = require_compare();
171693
171693
  var gte = (a, b3, loose) => compare(a, b3, loose) >= 0;
171694
171694
  module2.exports = gte;
171695
171695
  }
171696
171696
  });
171697
171697
 
171698
- // ../../node_modules/@safe-global/protocol-kit/node_modules/semver/functions/lt.js
171698
+ // ../../node_modules/semver/functions/lt.js
171699
171699
  var require_lt = __commonJS({
171700
- "../../node_modules/@safe-global/protocol-kit/node_modules/semver/functions/lt.js"(exports2, module2) {
171700
+ "../../node_modules/semver/functions/lt.js"(exports2, module2) {
171701
171701
  var compare = require_compare();
171702
171702
  var lt = (a, b3, loose) => compare(a, b3, loose) < 0;
171703
171703
  module2.exports = lt;
171704
171704
  }
171705
171705
  });
171706
171706
 
171707
- // ../../node_modules/@safe-global/protocol-kit/node_modules/semver/functions/lte.js
171707
+ // ../../node_modules/semver/functions/lte.js
171708
171708
  var require_lte = __commonJS({
171709
- "../../node_modules/@safe-global/protocol-kit/node_modules/semver/functions/lte.js"(exports2, module2) {
171709
+ "../../node_modules/semver/functions/lte.js"(exports2, module2) {
171710
171710
  var compare = require_compare();
171711
171711
  var lte = (a, b3, loose) => compare(a, b3, loose) <= 0;
171712
171712
  module2.exports = lte;
171713
171713
  }
171714
171714
  });
171715
171715
 
171716
- // ../../node_modules/@safe-global/protocol-kit/node_modules/semver/functions/cmp.js
171716
+ // ../../node_modules/semver/functions/cmp.js
171717
171717
  var require_cmp = __commonJS({
171718
- "../../node_modules/@safe-global/protocol-kit/node_modules/semver/functions/cmp.js"(exports2, module2) {
171718
+ "../../node_modules/semver/functions/cmp.js"(exports2, module2) {
171719
171719
  var eq2 = require_eq();
171720
171720
  var neq = require_neq();
171721
171721
  var gt = require_gt();
@@ -171762,9 +171762,9 @@ var require_cmp = __commonJS({
171762
171762
  }
171763
171763
  });
171764
171764
 
171765
- // ../../node_modules/@safe-global/protocol-kit/node_modules/semver/classes/comparator.js
171765
+ // ../../node_modules/semver/classes/comparator.js
171766
171766
  var require_comparator = __commonJS({
171767
- "../../node_modules/@safe-global/protocol-kit/node_modules/semver/classes/comparator.js"(exports2, module2) {
171767
+ "../../node_modules/semver/classes/comparator.js"(exports2, module2) {
171768
171768
  var ANY = Symbol("SemVer ANY");
171769
171769
  var Comparator = class _Comparator {
171770
171770
  static get ANY() {
@@ -171874,9 +171874,9 @@ var require_comparator = __commonJS({
171874
171874
  }
171875
171875
  });
171876
171876
 
171877
- // ../../node_modules/@safe-global/protocol-kit/node_modules/semver/classes/range.js
171877
+ // ../../node_modules/semver/classes/range.js
171878
171878
  var require_range = __commonJS({
171879
- "../../node_modules/@safe-global/protocol-kit/node_modules/semver/classes/range.js"(exports2, module2) {
171879
+ "../../node_modules/semver/classes/range.js"(exports2, module2) {
171880
171880
  var Range = class _Range {
171881
171881
  constructor(range2, options) {
171882
171882
  options = parseOptions(options);
@@ -172231,9 +172231,9 @@ var require_range = __commonJS({
172231
172231
  }
172232
172232
  });
172233
172233
 
172234
- // ../../node_modules/@safe-global/protocol-kit/node_modules/semver/functions/satisfies.js
172234
+ // ../../node_modules/semver/functions/satisfies.js
172235
172235
  var require_satisfies = __commonJS({
172236
- "../../node_modules/@safe-global/protocol-kit/node_modules/semver/functions/satisfies.js"(exports2, module2) {
172236
+ "../../node_modules/semver/functions/satisfies.js"(exports2, module2) {
172237
172237
  var Range = require_range();
172238
172238
  var satisfies = (version4, range2, options) => {
172239
172239
  try {
@@ -179423,1006 +179423,6 @@ var require_gnosis_safe4 = __commonJS({
179423
179423
  }
179424
179424
  });
179425
179425
 
179426
- // ../../node_modules/@safe-global/safe-deployments/node_modules/semver/internal/parse-options.js
179427
- var require_parse_options2 = __commonJS({
179428
- "../../node_modules/@safe-global/safe-deployments/node_modules/semver/internal/parse-options.js"(exports2, module2) {
179429
- var looseOption = Object.freeze({ loose: true });
179430
- var emptyOpts = Object.freeze({});
179431
- var parseOptions = (options) => {
179432
- if (!options) {
179433
- return emptyOpts;
179434
- }
179435
- if (typeof options !== "object") {
179436
- return looseOption;
179437
- }
179438
- return options;
179439
- };
179440
- module2.exports = parseOptions;
179441
- }
179442
- });
179443
-
179444
- // ../../node_modules/@safe-global/safe-deployments/node_modules/semver/internal/constants.js
179445
- var require_constants8 = __commonJS({
179446
- "../../node_modules/@safe-global/safe-deployments/node_modules/semver/internal/constants.js"(exports2, module2) {
179447
- var SEMVER_SPEC_VERSION = "2.0.0";
179448
- var MAX_LENGTH = 256;
179449
- var MAX_SAFE_INTEGER3 = Number.MAX_SAFE_INTEGER || /* istanbul ignore next */
179450
- 9007199254740991;
179451
- var MAX_SAFE_COMPONENT_LENGTH = 16;
179452
- var MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6;
179453
- var RELEASE_TYPES = [
179454
- "major",
179455
- "premajor",
179456
- "minor",
179457
- "preminor",
179458
- "patch",
179459
- "prepatch",
179460
- "prerelease"
179461
- ];
179462
- module2.exports = {
179463
- MAX_LENGTH,
179464
- MAX_SAFE_COMPONENT_LENGTH,
179465
- MAX_SAFE_BUILD_LENGTH,
179466
- MAX_SAFE_INTEGER: MAX_SAFE_INTEGER3,
179467
- RELEASE_TYPES,
179468
- SEMVER_SPEC_VERSION,
179469
- FLAG_INCLUDE_PRERELEASE: 1,
179470
- FLAG_LOOSE: 2
179471
- };
179472
- }
179473
- });
179474
-
179475
- // ../../node_modules/@safe-global/safe-deployments/node_modules/semver/internal/debug.js
179476
- var require_debug3 = __commonJS({
179477
- "../../node_modules/@safe-global/safe-deployments/node_modules/semver/internal/debug.js"(exports2, module2) {
179478
- var debug = typeof process === "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...args) => console.error("SEMVER", ...args) : () => {
179479
- };
179480
- module2.exports = debug;
179481
- }
179482
- });
179483
-
179484
- // ../../node_modules/@safe-global/safe-deployments/node_modules/semver/internal/re.js
179485
- var require_re2 = __commonJS({
179486
- "../../node_modules/@safe-global/safe-deployments/node_modules/semver/internal/re.js"(exports2, module2) {
179487
- var {
179488
- MAX_SAFE_COMPONENT_LENGTH,
179489
- MAX_SAFE_BUILD_LENGTH,
179490
- MAX_LENGTH
179491
- } = require_constants8();
179492
- var debug = require_debug3();
179493
- exports2 = module2.exports = {};
179494
- var re = exports2.re = [];
179495
- var safeRe = exports2.safeRe = [];
179496
- var src = exports2.src = [];
179497
- var t = exports2.t = {};
179498
- var R = 0;
179499
- var LETTERDASHNUMBER = "[a-zA-Z0-9-]";
179500
- var safeRegexReplacements = [
179501
- ["\\s", 1],
179502
- ["\\d", MAX_LENGTH],
179503
- [LETTERDASHNUMBER, MAX_SAFE_BUILD_LENGTH]
179504
- ];
179505
- var makeSafeRegex = (value) => {
179506
- for (const [token, max] of safeRegexReplacements) {
179507
- value = value.split(`${token}*`).join(`${token}{0,${max}}`).split(`${token}+`).join(`${token}{1,${max}}`);
179508
- }
179509
- return value;
179510
- };
179511
- var createToken = (name, value, isGlobal) => {
179512
- const safe = makeSafeRegex(value);
179513
- const index = R++;
179514
- debug(name, index, value);
179515
- t[name] = index;
179516
- src[index] = value;
179517
- re[index] = new RegExp(value, isGlobal ? "g" : void 0);
179518
- safeRe[index] = new RegExp(safe, isGlobal ? "g" : void 0);
179519
- };
179520
- createToken("NUMERICIDENTIFIER", "0|[1-9]\\d*");
179521
- createToken("NUMERICIDENTIFIERLOOSE", "\\d+");
179522
- createToken("NONNUMERICIDENTIFIER", `\\d*[a-zA-Z-]${LETTERDASHNUMBER}*`);
179523
- createToken("MAINVERSION", `(${src[t.NUMERICIDENTIFIER]})\\.(${src[t.NUMERICIDENTIFIER]})\\.(${src[t.NUMERICIDENTIFIER]})`);
179524
- createToken("MAINVERSIONLOOSE", `(${src[t.NUMERICIDENTIFIERLOOSE]})\\.(${src[t.NUMERICIDENTIFIERLOOSE]})\\.(${src[t.NUMERICIDENTIFIERLOOSE]})`);
179525
- createToken("PRERELEASEIDENTIFIER", `(?:${src[t.NUMERICIDENTIFIER]}|${src[t.NONNUMERICIDENTIFIER]})`);
179526
- createToken("PRERELEASEIDENTIFIERLOOSE", `(?:${src[t.NUMERICIDENTIFIERLOOSE]}|${src[t.NONNUMERICIDENTIFIER]})`);
179527
- createToken("PRERELEASE", `(?:-(${src[t.PRERELEASEIDENTIFIER]}(?:\\.${src[t.PRERELEASEIDENTIFIER]})*))`);
179528
- createToken("PRERELEASELOOSE", `(?:-?(${src[t.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${src[t.PRERELEASEIDENTIFIERLOOSE]})*))`);
179529
- createToken("BUILDIDENTIFIER", `${LETTERDASHNUMBER}+`);
179530
- createToken("BUILD", `(?:\\+(${src[t.BUILDIDENTIFIER]}(?:\\.${src[t.BUILDIDENTIFIER]})*))`);
179531
- createToken("FULLPLAIN", `v?${src[t.MAINVERSION]}${src[t.PRERELEASE]}?${src[t.BUILD]}?`);
179532
- createToken("FULL", `^${src[t.FULLPLAIN]}$`);
179533
- createToken("LOOSEPLAIN", `[v=\\s]*${src[t.MAINVERSIONLOOSE]}${src[t.PRERELEASELOOSE]}?${src[t.BUILD]}?`);
179534
- createToken("LOOSE", `^${src[t.LOOSEPLAIN]}$`);
179535
- createToken("GTLT", "((?:<|>)?=?)");
179536
- createToken("XRANGEIDENTIFIERLOOSE", `${src[t.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);
179537
- createToken("XRANGEIDENTIFIER", `${src[t.NUMERICIDENTIFIER]}|x|X|\\*`);
179538
- createToken("XRANGEPLAIN", `[v=\\s]*(${src[t.XRANGEIDENTIFIER]})(?:\\.(${src[t.XRANGEIDENTIFIER]})(?:\\.(${src[t.XRANGEIDENTIFIER]})(?:${src[t.PRERELEASE]})?${src[t.BUILD]}?)?)?`);
179539
- createToken("XRANGEPLAINLOOSE", `[v=\\s]*(${src[t.XRANGEIDENTIFIERLOOSE]})(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})(?:${src[t.PRERELEASELOOSE]})?${src[t.BUILD]}?)?)?`);
179540
- createToken("XRANGE", `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAIN]}$`);
179541
- createToken("XRANGELOOSE", `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAINLOOSE]}$`);
179542
- createToken("COERCE", `${"(^|[^\\d])(\\d{1,"}${MAX_SAFE_COMPONENT_LENGTH}})(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?(?:$|[^\\d])`);
179543
- createToken("COERCERTL", src[t.COERCE], true);
179544
- createToken("LONETILDE", "(?:~>?)");
179545
- createToken("TILDETRIM", `(\\s*)${src[t.LONETILDE]}\\s+`, true);
179546
- exports2.tildeTrimReplace = "$1~";
179547
- createToken("TILDE", `^${src[t.LONETILDE]}${src[t.XRANGEPLAIN]}$`);
179548
- createToken("TILDELOOSE", `^${src[t.LONETILDE]}${src[t.XRANGEPLAINLOOSE]}$`);
179549
- createToken("LONECARET", "(?:\\^)");
179550
- createToken("CARETTRIM", `(\\s*)${src[t.LONECARET]}\\s+`, true);
179551
- exports2.caretTrimReplace = "$1^";
179552
- createToken("CARET", `^${src[t.LONECARET]}${src[t.XRANGEPLAIN]}$`);
179553
- createToken("CARETLOOSE", `^${src[t.LONECARET]}${src[t.XRANGEPLAINLOOSE]}$`);
179554
- createToken("COMPARATORLOOSE", `^${src[t.GTLT]}\\s*(${src[t.LOOSEPLAIN]})$|^$`);
179555
- createToken("COMPARATOR", `^${src[t.GTLT]}\\s*(${src[t.FULLPLAIN]})$|^$`);
179556
- createToken("COMPARATORTRIM", `(\\s*)${src[t.GTLT]}\\s*(${src[t.LOOSEPLAIN]}|${src[t.XRANGEPLAIN]})`, true);
179557
- exports2.comparatorTrimReplace = "$1$2$3";
179558
- createToken("HYPHENRANGE", `^\\s*(${src[t.XRANGEPLAIN]})\\s+-\\s+(${src[t.XRANGEPLAIN]})\\s*$`);
179559
- createToken("HYPHENRANGELOOSE", `^\\s*(${src[t.XRANGEPLAINLOOSE]})\\s+-\\s+(${src[t.XRANGEPLAINLOOSE]})\\s*$`);
179560
- createToken("STAR", "(<|>)?=?\\s*\\*");
179561
- createToken("GTE0", "^\\s*>=\\s*0\\.0\\.0\\s*$");
179562
- createToken("GTE0PRE", "^\\s*>=\\s*0\\.0\\.0-0\\s*$");
179563
- }
179564
- });
179565
-
179566
- // ../../node_modules/@safe-global/safe-deployments/node_modules/semver/internal/identifiers.js
179567
- var require_identifiers2 = __commonJS({
179568
- "../../node_modules/@safe-global/safe-deployments/node_modules/semver/internal/identifiers.js"(exports2, module2) {
179569
- var numeric = /^[0-9]+$/;
179570
- var compareIdentifiers = (a, b3) => {
179571
- const anum = numeric.test(a);
179572
- const bnum = numeric.test(b3);
179573
- if (anum && bnum) {
179574
- a = +a;
179575
- b3 = +b3;
179576
- }
179577
- return a === b3 ? 0 : anum && !bnum ? -1 : bnum && !anum ? 1 : a < b3 ? -1 : 1;
179578
- };
179579
- var rcompareIdentifiers = (a, b3) => compareIdentifiers(b3, a);
179580
- module2.exports = {
179581
- compareIdentifiers,
179582
- rcompareIdentifiers
179583
- };
179584
- }
179585
- });
179586
-
179587
- // ../../node_modules/@safe-global/safe-deployments/node_modules/semver/classes/semver.js
179588
- var require_semver2 = __commonJS({
179589
- "../../node_modules/@safe-global/safe-deployments/node_modules/semver/classes/semver.js"(exports2, module2) {
179590
- var debug = require_debug3();
179591
- var { MAX_LENGTH, MAX_SAFE_INTEGER: MAX_SAFE_INTEGER3 } = require_constants8();
179592
- var { safeRe: re, t } = require_re2();
179593
- var parseOptions = require_parse_options2();
179594
- var { compareIdentifiers } = require_identifiers2();
179595
- var SemVer = class _SemVer {
179596
- constructor(version4, options) {
179597
- options = parseOptions(options);
179598
- if (version4 instanceof _SemVer) {
179599
- if (version4.loose === !!options.loose && version4.includePrerelease === !!options.includePrerelease) {
179600
- return version4;
179601
- } else {
179602
- version4 = version4.version;
179603
- }
179604
- } else if (typeof version4 !== "string") {
179605
- throw new TypeError(`Invalid version. Must be a string. Got type "${typeof version4}".`);
179606
- }
179607
- if (version4.length > MAX_LENGTH) {
179608
- throw new TypeError(
179609
- `version is longer than ${MAX_LENGTH} characters`
179610
- );
179611
- }
179612
- debug("SemVer", version4, options);
179613
- this.options = options;
179614
- this.loose = !!options.loose;
179615
- this.includePrerelease = !!options.includePrerelease;
179616
- const m = version4.trim().match(options.loose ? re[t.LOOSE] : re[t.FULL]);
179617
- if (!m) {
179618
- throw new TypeError(`Invalid Version: ${version4}`);
179619
- }
179620
- this.raw = version4;
179621
- this.major = +m[1];
179622
- this.minor = +m[2];
179623
- this.patch = +m[3];
179624
- if (this.major > MAX_SAFE_INTEGER3 || this.major < 0) {
179625
- throw new TypeError("Invalid major version");
179626
- }
179627
- if (this.minor > MAX_SAFE_INTEGER3 || this.minor < 0) {
179628
- throw new TypeError("Invalid minor version");
179629
- }
179630
- if (this.patch > MAX_SAFE_INTEGER3 || this.patch < 0) {
179631
- throw new TypeError("Invalid patch version");
179632
- }
179633
- if (!m[4]) {
179634
- this.prerelease = [];
179635
- } else {
179636
- this.prerelease = m[4].split(".").map((id3) => {
179637
- if (/^[0-9]+$/.test(id3)) {
179638
- const num = +id3;
179639
- if (num >= 0 && num < MAX_SAFE_INTEGER3) {
179640
- return num;
179641
- }
179642
- }
179643
- return id3;
179644
- });
179645
- }
179646
- this.build = m[5] ? m[5].split(".") : [];
179647
- this.format();
179648
- }
179649
- format() {
179650
- this.version = `${this.major}.${this.minor}.${this.patch}`;
179651
- if (this.prerelease.length) {
179652
- this.version += `-${this.prerelease.join(".")}`;
179653
- }
179654
- return this.version;
179655
- }
179656
- toString() {
179657
- return this.version;
179658
- }
179659
- compare(other) {
179660
- debug("SemVer.compare", this.version, this.options, other);
179661
- if (!(other instanceof _SemVer)) {
179662
- if (typeof other === "string" && other === this.version) {
179663
- return 0;
179664
- }
179665
- other = new _SemVer(other, this.options);
179666
- }
179667
- if (other.version === this.version) {
179668
- return 0;
179669
- }
179670
- return this.compareMain(other) || this.comparePre(other);
179671
- }
179672
- compareMain(other) {
179673
- if (!(other instanceof _SemVer)) {
179674
- other = new _SemVer(other, this.options);
179675
- }
179676
- return compareIdentifiers(this.major, other.major) || compareIdentifiers(this.minor, other.minor) || compareIdentifiers(this.patch, other.patch);
179677
- }
179678
- comparePre(other) {
179679
- if (!(other instanceof _SemVer)) {
179680
- other = new _SemVer(other, this.options);
179681
- }
179682
- if (this.prerelease.length && !other.prerelease.length) {
179683
- return -1;
179684
- } else if (!this.prerelease.length && other.prerelease.length) {
179685
- return 1;
179686
- } else if (!this.prerelease.length && !other.prerelease.length) {
179687
- return 0;
179688
- }
179689
- let i = 0;
179690
- do {
179691
- const a = this.prerelease[i];
179692
- const b3 = other.prerelease[i];
179693
- debug("prerelease compare", i, a, b3);
179694
- if (a === void 0 && b3 === void 0) {
179695
- return 0;
179696
- } else if (b3 === void 0) {
179697
- return 1;
179698
- } else if (a === void 0) {
179699
- return -1;
179700
- } else if (a === b3) {
179701
- continue;
179702
- } else {
179703
- return compareIdentifiers(a, b3);
179704
- }
179705
- } while (++i);
179706
- }
179707
- compareBuild(other) {
179708
- if (!(other instanceof _SemVer)) {
179709
- other = new _SemVer(other, this.options);
179710
- }
179711
- let i = 0;
179712
- do {
179713
- const a = this.build[i];
179714
- const b3 = other.build[i];
179715
- debug("prerelease compare", i, a, b3);
179716
- if (a === void 0 && b3 === void 0) {
179717
- return 0;
179718
- } else if (b3 === void 0) {
179719
- return 1;
179720
- } else if (a === void 0) {
179721
- return -1;
179722
- } else if (a === b3) {
179723
- continue;
179724
- } else {
179725
- return compareIdentifiers(a, b3);
179726
- }
179727
- } while (++i);
179728
- }
179729
- // preminor will bump the version up to the next minor release, and immediately
179730
- // down to pre-release. premajor and prepatch work the same way.
179731
- inc(release, identifier, identifierBase) {
179732
- switch (release) {
179733
- case "premajor":
179734
- this.prerelease.length = 0;
179735
- this.patch = 0;
179736
- this.minor = 0;
179737
- this.major++;
179738
- this.inc("pre", identifier, identifierBase);
179739
- break;
179740
- case "preminor":
179741
- this.prerelease.length = 0;
179742
- this.patch = 0;
179743
- this.minor++;
179744
- this.inc("pre", identifier, identifierBase);
179745
- break;
179746
- case "prepatch":
179747
- this.prerelease.length = 0;
179748
- this.inc("patch", identifier, identifierBase);
179749
- this.inc("pre", identifier, identifierBase);
179750
- break;
179751
- case "prerelease":
179752
- if (this.prerelease.length === 0) {
179753
- this.inc("patch", identifier, identifierBase);
179754
- }
179755
- this.inc("pre", identifier, identifierBase);
179756
- break;
179757
- case "major":
179758
- if (this.minor !== 0 || this.patch !== 0 || this.prerelease.length === 0) {
179759
- this.major++;
179760
- }
179761
- this.minor = 0;
179762
- this.patch = 0;
179763
- this.prerelease = [];
179764
- break;
179765
- case "minor":
179766
- if (this.patch !== 0 || this.prerelease.length === 0) {
179767
- this.minor++;
179768
- }
179769
- this.patch = 0;
179770
- this.prerelease = [];
179771
- break;
179772
- case "patch":
179773
- if (this.prerelease.length === 0) {
179774
- this.patch++;
179775
- }
179776
- this.prerelease = [];
179777
- break;
179778
- case "pre": {
179779
- const base = Number(identifierBase) ? 1 : 0;
179780
- if (!identifier && identifierBase === false) {
179781
- throw new Error("invalid increment argument: identifier is empty");
179782
- }
179783
- if (this.prerelease.length === 0) {
179784
- this.prerelease = [base];
179785
- } else {
179786
- let i = this.prerelease.length;
179787
- while (--i >= 0) {
179788
- if (typeof this.prerelease[i] === "number") {
179789
- this.prerelease[i]++;
179790
- i = -2;
179791
- }
179792
- }
179793
- if (i === -1) {
179794
- if (identifier === this.prerelease.join(".") && identifierBase === false) {
179795
- throw new Error("invalid increment argument: identifier already exists");
179796
- }
179797
- this.prerelease.push(base);
179798
- }
179799
- }
179800
- if (identifier) {
179801
- let prerelease = [identifier, base];
179802
- if (identifierBase === false) {
179803
- prerelease = [identifier];
179804
- }
179805
- if (compareIdentifiers(this.prerelease[0], identifier) === 0) {
179806
- if (isNaN(this.prerelease[1])) {
179807
- this.prerelease = prerelease;
179808
- }
179809
- } else {
179810
- this.prerelease = prerelease;
179811
- }
179812
- }
179813
- break;
179814
- }
179815
- default:
179816
- throw new Error(`invalid increment argument: ${release}`);
179817
- }
179818
- this.raw = this.format();
179819
- if (this.build.length) {
179820
- this.raw += `+${this.build.join(".")}`;
179821
- }
179822
- return this;
179823
- }
179824
- };
179825
- module2.exports = SemVer;
179826
- }
179827
- });
179828
-
179829
- // ../../node_modules/@safe-global/safe-deployments/node_modules/semver/functions/compare.js
179830
- var require_compare2 = __commonJS({
179831
- "../../node_modules/@safe-global/safe-deployments/node_modules/semver/functions/compare.js"(exports2, module2) {
179832
- var SemVer = require_semver2();
179833
- var compare = (a, b3, loose) => new SemVer(a, loose).compare(new SemVer(b3, loose));
179834
- module2.exports = compare;
179835
- }
179836
- });
179837
-
179838
- // ../../node_modules/@safe-global/safe-deployments/node_modules/semver/functions/eq.js
179839
- var require_eq2 = __commonJS({
179840
- "../../node_modules/@safe-global/safe-deployments/node_modules/semver/functions/eq.js"(exports2, module2) {
179841
- var compare = require_compare2();
179842
- var eq2 = (a, b3, loose) => compare(a, b3, loose) === 0;
179843
- module2.exports = eq2;
179844
- }
179845
- });
179846
-
179847
- // ../../node_modules/@safe-global/safe-deployments/node_modules/semver/functions/neq.js
179848
- var require_neq2 = __commonJS({
179849
- "../../node_modules/@safe-global/safe-deployments/node_modules/semver/functions/neq.js"(exports2, module2) {
179850
- var compare = require_compare2();
179851
- var neq = (a, b3, loose) => compare(a, b3, loose) !== 0;
179852
- module2.exports = neq;
179853
- }
179854
- });
179855
-
179856
- // ../../node_modules/@safe-global/safe-deployments/node_modules/semver/functions/gt.js
179857
- var require_gt2 = __commonJS({
179858
- "../../node_modules/@safe-global/safe-deployments/node_modules/semver/functions/gt.js"(exports2, module2) {
179859
- var compare = require_compare2();
179860
- var gt = (a, b3, loose) => compare(a, b3, loose) > 0;
179861
- module2.exports = gt;
179862
- }
179863
- });
179864
-
179865
- // ../../node_modules/@safe-global/safe-deployments/node_modules/semver/functions/gte.js
179866
- var require_gte2 = __commonJS({
179867
- "../../node_modules/@safe-global/safe-deployments/node_modules/semver/functions/gte.js"(exports2, module2) {
179868
- var compare = require_compare2();
179869
- var gte = (a, b3, loose) => compare(a, b3, loose) >= 0;
179870
- module2.exports = gte;
179871
- }
179872
- });
179873
-
179874
- // ../../node_modules/@safe-global/safe-deployments/node_modules/semver/functions/lt.js
179875
- var require_lt2 = __commonJS({
179876
- "../../node_modules/@safe-global/safe-deployments/node_modules/semver/functions/lt.js"(exports2, module2) {
179877
- var compare = require_compare2();
179878
- var lt = (a, b3, loose) => compare(a, b3, loose) < 0;
179879
- module2.exports = lt;
179880
- }
179881
- });
179882
-
179883
- // ../../node_modules/@safe-global/safe-deployments/node_modules/semver/functions/lte.js
179884
- var require_lte2 = __commonJS({
179885
- "../../node_modules/@safe-global/safe-deployments/node_modules/semver/functions/lte.js"(exports2, module2) {
179886
- var compare = require_compare2();
179887
- var lte = (a, b3, loose) => compare(a, b3, loose) <= 0;
179888
- module2.exports = lte;
179889
- }
179890
- });
179891
-
179892
- // ../../node_modules/@safe-global/safe-deployments/node_modules/semver/functions/cmp.js
179893
- var require_cmp2 = __commonJS({
179894
- "../../node_modules/@safe-global/safe-deployments/node_modules/semver/functions/cmp.js"(exports2, module2) {
179895
- var eq2 = require_eq2();
179896
- var neq = require_neq2();
179897
- var gt = require_gt2();
179898
- var gte = require_gte2();
179899
- var lt = require_lt2();
179900
- var lte = require_lte2();
179901
- var cmp = (a, op, b3, loose) => {
179902
- switch (op) {
179903
- case "===":
179904
- if (typeof a === "object") {
179905
- a = a.version;
179906
- }
179907
- if (typeof b3 === "object") {
179908
- b3 = b3.version;
179909
- }
179910
- return a === b3;
179911
- case "!==":
179912
- if (typeof a === "object") {
179913
- a = a.version;
179914
- }
179915
- if (typeof b3 === "object") {
179916
- b3 = b3.version;
179917
- }
179918
- return a !== b3;
179919
- case "":
179920
- case "=":
179921
- case "==":
179922
- return eq2(a, b3, loose);
179923
- case "!=":
179924
- return neq(a, b3, loose);
179925
- case ">":
179926
- return gt(a, b3, loose);
179927
- case ">=":
179928
- return gte(a, b3, loose);
179929
- case "<":
179930
- return lt(a, b3, loose);
179931
- case "<=":
179932
- return lte(a, b3, loose);
179933
- default:
179934
- throw new TypeError(`Invalid operator: ${op}`);
179935
- }
179936
- };
179937
- module2.exports = cmp;
179938
- }
179939
- });
179940
-
179941
- // ../../node_modules/@safe-global/safe-deployments/node_modules/semver/classes/comparator.js
179942
- var require_comparator2 = __commonJS({
179943
- "../../node_modules/@safe-global/safe-deployments/node_modules/semver/classes/comparator.js"(exports2, module2) {
179944
- var ANY = Symbol("SemVer ANY");
179945
- var Comparator = class _Comparator {
179946
- static get ANY() {
179947
- return ANY;
179948
- }
179949
- constructor(comp, options) {
179950
- options = parseOptions(options);
179951
- if (comp instanceof _Comparator) {
179952
- if (comp.loose === !!options.loose) {
179953
- return comp;
179954
- } else {
179955
- comp = comp.value;
179956
- }
179957
- }
179958
- comp = comp.trim().split(/\s+/).join(" ");
179959
- debug("comparator", comp, options);
179960
- this.options = options;
179961
- this.loose = !!options.loose;
179962
- this.parse(comp);
179963
- if (this.semver === ANY) {
179964
- this.value = "";
179965
- } else {
179966
- this.value = this.operator + this.semver.version;
179967
- }
179968
- debug("comp", this);
179969
- }
179970
- parse(comp) {
179971
- const r = this.options.loose ? re[t.COMPARATORLOOSE] : re[t.COMPARATOR];
179972
- const m = comp.match(r);
179973
- if (!m) {
179974
- throw new TypeError(`Invalid comparator: ${comp}`);
179975
- }
179976
- this.operator = m[1] !== void 0 ? m[1] : "";
179977
- if (this.operator === "=") {
179978
- this.operator = "";
179979
- }
179980
- if (!m[2]) {
179981
- this.semver = ANY;
179982
- } else {
179983
- this.semver = new SemVer(m[2], this.options.loose);
179984
- }
179985
- }
179986
- toString() {
179987
- return this.value;
179988
- }
179989
- test(version4) {
179990
- debug("Comparator.test", version4, this.options.loose);
179991
- if (this.semver === ANY || version4 === ANY) {
179992
- return true;
179993
- }
179994
- if (typeof version4 === "string") {
179995
- try {
179996
- version4 = new SemVer(version4, this.options);
179997
- } catch (er) {
179998
- return false;
179999
- }
180000
- }
180001
- return cmp(version4, this.operator, this.semver, this.options);
180002
- }
180003
- intersects(comp, options) {
180004
- if (!(comp instanceof _Comparator)) {
180005
- throw new TypeError("a Comparator is required");
180006
- }
180007
- if (this.operator === "") {
180008
- if (this.value === "") {
180009
- return true;
180010
- }
180011
- return new Range(comp.value, options).test(this.value);
180012
- } else if (comp.operator === "") {
180013
- if (comp.value === "") {
180014
- return true;
180015
- }
180016
- return new Range(this.value, options).test(comp.semver);
180017
- }
180018
- options = parseOptions(options);
180019
- if (options.includePrerelease && (this.value === "<0.0.0-0" || comp.value === "<0.0.0-0")) {
180020
- return false;
180021
- }
180022
- if (!options.includePrerelease && (this.value.startsWith("<0.0.0") || comp.value.startsWith("<0.0.0"))) {
180023
- return false;
180024
- }
180025
- if (this.operator.startsWith(">") && comp.operator.startsWith(">")) {
180026
- return true;
180027
- }
180028
- if (this.operator.startsWith("<") && comp.operator.startsWith("<")) {
180029
- return true;
180030
- }
180031
- if (this.semver.version === comp.semver.version && this.operator.includes("=") && comp.operator.includes("=")) {
180032
- return true;
180033
- }
180034
- if (cmp(this.semver, "<", comp.semver, options) && this.operator.startsWith(">") && comp.operator.startsWith("<")) {
180035
- return true;
180036
- }
180037
- if (cmp(this.semver, ">", comp.semver, options) && this.operator.startsWith("<") && comp.operator.startsWith(">")) {
180038
- return true;
180039
- }
180040
- return false;
180041
- }
180042
- };
180043
- module2.exports = Comparator;
180044
- var parseOptions = require_parse_options2();
180045
- var { safeRe: re, t } = require_re2();
180046
- var cmp = require_cmp2();
180047
- var debug = require_debug3();
180048
- var SemVer = require_semver2();
180049
- var Range = require_range2();
180050
- }
180051
- });
180052
-
180053
- // ../../node_modules/@safe-global/safe-deployments/node_modules/semver/classes/range.js
180054
- var require_range2 = __commonJS({
180055
- "../../node_modules/@safe-global/safe-deployments/node_modules/semver/classes/range.js"(exports2, module2) {
180056
- var Range = class _Range {
180057
- constructor(range2, options) {
180058
- options = parseOptions(options);
180059
- if (range2 instanceof _Range) {
180060
- if (range2.loose === !!options.loose && range2.includePrerelease === !!options.includePrerelease) {
180061
- return range2;
180062
- } else {
180063
- return new _Range(range2.raw, options);
180064
- }
180065
- }
180066
- if (range2 instanceof Comparator) {
180067
- this.raw = range2.value;
180068
- this.set = [[range2]];
180069
- this.format();
180070
- return this;
180071
- }
180072
- this.options = options;
180073
- this.loose = !!options.loose;
180074
- this.includePrerelease = !!options.includePrerelease;
180075
- this.raw = range2.trim().split(/\s+/).join(" ");
180076
- this.set = this.raw.split("||").map((r) => this.parseRange(r.trim())).filter((c) => c.length);
180077
- if (!this.set.length) {
180078
- throw new TypeError(`Invalid SemVer Range: ${this.raw}`);
180079
- }
180080
- if (this.set.length > 1) {
180081
- const first = this.set[0];
180082
- this.set = this.set.filter((c) => !isNullSet(c[0]));
180083
- if (this.set.length === 0) {
180084
- this.set = [first];
180085
- } else if (this.set.length > 1) {
180086
- for (const c of this.set) {
180087
- if (c.length === 1 && isAny(c[0])) {
180088
- this.set = [c];
180089
- break;
180090
- }
180091
- }
180092
- }
180093
- }
180094
- this.format();
180095
- }
180096
- format() {
180097
- this.range = this.set.map((comps) => comps.join(" ").trim()).join("||").trim();
180098
- return this.range;
180099
- }
180100
- toString() {
180101
- return this.range;
180102
- }
180103
- parseRange(range2) {
180104
- const memoOpts = (this.options.includePrerelease && FLAG_INCLUDE_PRERELEASE) | (this.options.loose && FLAG_LOOSE);
180105
- const memoKey = memoOpts + ":" + range2;
180106
- const cached = cache.get(memoKey);
180107
- if (cached) {
180108
- return cached;
180109
- }
180110
- const loose = this.options.loose;
180111
- const hr = loose ? re[t.HYPHENRANGELOOSE] : re[t.HYPHENRANGE];
180112
- range2 = range2.replace(hr, hyphenReplace(this.options.includePrerelease));
180113
- debug("hyphen replace", range2);
180114
- range2 = range2.replace(re[t.COMPARATORTRIM], comparatorTrimReplace);
180115
- debug("comparator trim", range2);
180116
- range2 = range2.replace(re[t.TILDETRIM], tildeTrimReplace);
180117
- debug("tilde trim", range2);
180118
- range2 = range2.replace(re[t.CARETTRIM], caretTrimReplace);
180119
- debug("caret trim", range2);
180120
- let rangeList = range2.split(" ").map((comp) => parseComparator(comp, this.options)).join(" ").split(/\s+/).map((comp) => replaceGTE0(comp, this.options));
180121
- if (loose) {
180122
- rangeList = rangeList.filter((comp) => {
180123
- debug("loose invalid filter", comp, this.options);
180124
- return !!comp.match(re[t.COMPARATORLOOSE]);
180125
- });
180126
- }
180127
- debug("range list", rangeList);
180128
- const rangeMap = /* @__PURE__ */ new Map();
180129
- const comparators = rangeList.map((comp) => new Comparator(comp, this.options));
180130
- for (const comp of comparators) {
180131
- if (isNullSet(comp)) {
180132
- return [comp];
180133
- }
180134
- rangeMap.set(comp.value, comp);
180135
- }
180136
- if (rangeMap.size > 1 && rangeMap.has("")) {
180137
- rangeMap.delete("");
180138
- }
180139
- const result = [...rangeMap.values()];
180140
- cache.set(memoKey, result);
180141
- return result;
180142
- }
180143
- intersects(range2, options) {
180144
- if (!(range2 instanceof _Range)) {
180145
- throw new TypeError("a Range is required");
180146
- }
180147
- return this.set.some((thisComparators) => {
180148
- return isSatisfiable(thisComparators, options) && range2.set.some((rangeComparators) => {
180149
- return isSatisfiable(rangeComparators, options) && thisComparators.every((thisComparator) => {
180150
- return rangeComparators.every((rangeComparator) => {
180151
- return thisComparator.intersects(rangeComparator, options);
180152
- });
180153
- });
180154
- });
180155
- });
180156
- }
180157
- // if ANY of the sets match ALL of its comparators, then pass
180158
- test(version4) {
180159
- if (!version4) {
180160
- return false;
180161
- }
180162
- if (typeof version4 === "string") {
180163
- try {
180164
- version4 = new SemVer(version4, this.options);
180165
- } catch (er) {
180166
- return false;
180167
- }
180168
- }
180169
- for (let i = 0; i < this.set.length; i++) {
180170
- if (testSet(this.set[i], version4, this.options)) {
180171
- return true;
180172
- }
180173
- }
180174
- return false;
180175
- }
180176
- };
180177
- module2.exports = Range;
180178
- var LRU = require_lru_cache();
180179
- var cache = new LRU({ max: 1e3 });
180180
- var parseOptions = require_parse_options2();
180181
- var Comparator = require_comparator2();
180182
- var debug = require_debug3();
180183
- var SemVer = require_semver2();
180184
- var {
180185
- safeRe: re,
180186
- t,
180187
- comparatorTrimReplace,
180188
- tildeTrimReplace,
180189
- caretTrimReplace
180190
- } = require_re2();
180191
- var { FLAG_INCLUDE_PRERELEASE, FLAG_LOOSE } = require_constants8();
180192
- var isNullSet = (c) => c.value === "<0.0.0-0";
180193
- var isAny = (c) => c.value === "";
180194
- var isSatisfiable = (comparators, options) => {
180195
- let result = true;
180196
- const remainingComparators = comparators.slice();
180197
- let testComparator = remainingComparators.pop();
180198
- while (result && remainingComparators.length) {
180199
- result = remainingComparators.every((otherComparator) => {
180200
- return testComparator.intersects(otherComparator, options);
180201
- });
180202
- testComparator = remainingComparators.pop();
180203
- }
180204
- return result;
180205
- };
180206
- var parseComparator = (comp, options) => {
180207
- debug("comp", comp, options);
180208
- comp = replaceCarets(comp, options);
180209
- debug("caret", comp);
180210
- comp = replaceTildes(comp, options);
180211
- debug("tildes", comp);
180212
- comp = replaceXRanges(comp, options);
180213
- debug("xrange", comp);
180214
- comp = replaceStars(comp, options);
180215
- debug("stars", comp);
180216
- return comp;
180217
- };
180218
- var isX = (id3) => !id3 || id3.toLowerCase() === "x" || id3 === "*";
180219
- var replaceTildes = (comp, options) => {
180220
- return comp.trim().split(/\s+/).map((c) => replaceTilde(c, options)).join(" ");
180221
- };
180222
- var replaceTilde = (comp, options) => {
180223
- const r = options.loose ? re[t.TILDELOOSE] : re[t.TILDE];
180224
- return comp.replace(r, (_, M, m, p, pr) => {
180225
- debug("tilde", comp, _, M, m, p, pr);
180226
- let ret;
180227
- if (isX(M)) {
180228
- ret = "";
180229
- } else if (isX(m)) {
180230
- ret = `>=${M}.0.0 <${+M + 1}.0.0-0`;
180231
- } else if (isX(p)) {
180232
- ret = `>=${M}.${m}.0 <${M}.${+m + 1}.0-0`;
180233
- } else if (pr) {
180234
- debug("replaceTilde pr", pr);
180235
- ret = `>=${M}.${m}.${p}-${pr} <${M}.${+m + 1}.0-0`;
180236
- } else {
180237
- ret = `>=${M}.${m}.${p} <${M}.${+m + 1}.0-0`;
180238
- }
180239
- debug("tilde return", ret);
180240
- return ret;
180241
- });
180242
- };
180243
- var replaceCarets = (comp, options) => {
180244
- return comp.trim().split(/\s+/).map((c) => replaceCaret(c, options)).join(" ");
180245
- };
180246
- var replaceCaret = (comp, options) => {
180247
- debug("caret", comp, options);
180248
- const r = options.loose ? re[t.CARETLOOSE] : re[t.CARET];
180249
- const z = options.includePrerelease ? "-0" : "";
180250
- return comp.replace(r, (_, M, m, p, pr) => {
180251
- debug("caret", comp, _, M, m, p, pr);
180252
- let ret;
180253
- if (isX(M)) {
180254
- ret = "";
180255
- } else if (isX(m)) {
180256
- ret = `>=${M}.0.0${z} <${+M + 1}.0.0-0`;
180257
- } else if (isX(p)) {
180258
- if (M === "0") {
180259
- ret = `>=${M}.${m}.0${z} <${M}.${+m + 1}.0-0`;
180260
- } else {
180261
- ret = `>=${M}.${m}.0${z} <${+M + 1}.0.0-0`;
180262
- }
180263
- } else if (pr) {
180264
- debug("replaceCaret pr", pr);
180265
- if (M === "0") {
180266
- if (m === "0") {
180267
- ret = `>=${M}.${m}.${p}-${pr} <${M}.${m}.${+p + 1}-0`;
180268
- } else {
180269
- ret = `>=${M}.${m}.${p}-${pr} <${M}.${+m + 1}.0-0`;
180270
- }
180271
- } else {
180272
- ret = `>=${M}.${m}.${p}-${pr} <${+M + 1}.0.0-0`;
180273
- }
180274
- } else {
180275
- debug("no pr");
180276
- if (M === "0") {
180277
- if (m === "0") {
180278
- ret = `>=${M}.${m}.${p}${z} <${M}.${m}.${+p + 1}-0`;
180279
- } else {
180280
- ret = `>=${M}.${m}.${p}${z} <${M}.${+m + 1}.0-0`;
180281
- }
180282
- } else {
180283
- ret = `>=${M}.${m}.${p} <${+M + 1}.0.0-0`;
180284
- }
180285
- }
180286
- debug("caret return", ret);
180287
- return ret;
180288
- });
180289
- };
180290
- var replaceXRanges = (comp, options) => {
180291
- debug("replaceXRanges", comp, options);
180292
- return comp.split(/\s+/).map((c) => replaceXRange(c, options)).join(" ");
180293
- };
180294
- var replaceXRange = (comp, options) => {
180295
- comp = comp.trim();
180296
- const r = options.loose ? re[t.XRANGELOOSE] : re[t.XRANGE];
180297
- return comp.replace(r, (ret, gtlt, M, m, p, pr) => {
180298
- debug("xRange", comp, ret, gtlt, M, m, p, pr);
180299
- const xM = isX(M);
180300
- const xm = xM || isX(m);
180301
- const xp = xm || isX(p);
180302
- const anyX = xp;
180303
- if (gtlt === "=" && anyX) {
180304
- gtlt = "";
180305
- }
180306
- pr = options.includePrerelease ? "-0" : "";
180307
- if (xM) {
180308
- if (gtlt === ">" || gtlt === "<") {
180309
- ret = "<0.0.0-0";
180310
- } else {
180311
- ret = "*";
180312
- }
180313
- } else if (gtlt && anyX) {
180314
- if (xm) {
180315
- m = 0;
180316
- }
180317
- p = 0;
180318
- if (gtlt === ">") {
180319
- gtlt = ">=";
180320
- if (xm) {
180321
- M = +M + 1;
180322
- m = 0;
180323
- p = 0;
180324
- } else {
180325
- m = +m + 1;
180326
- p = 0;
180327
- }
180328
- } else if (gtlt === "<=") {
180329
- gtlt = "<";
180330
- if (xm) {
180331
- M = +M + 1;
180332
- } else {
180333
- m = +m + 1;
180334
- }
180335
- }
180336
- if (gtlt === "<") {
180337
- pr = "-0";
180338
- }
180339
- ret = `${gtlt + M}.${m}.${p}${pr}`;
180340
- } else if (xm) {
180341
- ret = `>=${M}.0.0${pr} <${+M + 1}.0.0-0`;
180342
- } else if (xp) {
180343
- ret = `>=${M}.${m}.0${pr} <${M}.${+m + 1}.0-0`;
180344
- }
180345
- debug("xRange return", ret);
180346
- return ret;
180347
- });
180348
- };
180349
- var replaceStars = (comp, options) => {
180350
- debug("replaceStars", comp, options);
180351
- return comp.trim().replace(re[t.STAR], "");
180352
- };
180353
- var replaceGTE0 = (comp, options) => {
180354
- debug("replaceGTE0", comp, options);
180355
- return comp.trim().replace(re[options.includePrerelease ? t.GTE0PRE : t.GTE0], "");
180356
- };
180357
- var hyphenReplace = (incPr) => ($0, from, fM, fm, fp, fpr, fb, to, tM, tm, tp, tpr, tb) => {
180358
- if (isX(fM)) {
180359
- from = "";
180360
- } else if (isX(fm)) {
180361
- from = `>=${fM}.0.0${incPr ? "-0" : ""}`;
180362
- } else if (isX(fp)) {
180363
- from = `>=${fM}.${fm}.0${incPr ? "-0" : ""}`;
180364
- } else if (fpr) {
180365
- from = `>=${from}`;
180366
- } else {
180367
- from = `>=${from}${incPr ? "-0" : ""}`;
180368
- }
180369
- if (isX(tM)) {
180370
- to = "";
180371
- } else if (isX(tm)) {
180372
- to = `<${+tM + 1}.0.0-0`;
180373
- } else if (isX(tp)) {
180374
- to = `<${tM}.${+tm + 1}.0-0`;
180375
- } else if (tpr) {
180376
- to = `<=${tM}.${tm}.${tp}-${tpr}`;
180377
- } else if (incPr) {
180378
- to = `<${tM}.${tm}.${+tp + 1}-0`;
180379
- } else {
180380
- to = `<=${to}`;
180381
- }
180382
- return `${from} ${to}`.trim();
180383
- };
180384
- var testSet = (set, version4, options) => {
180385
- for (let i = 0; i < set.length; i++) {
180386
- if (!set[i].test(version4)) {
180387
- return false;
180388
- }
180389
- }
180390
- if (version4.prerelease.length && !options.includePrerelease) {
180391
- for (let i = 0; i < set.length; i++) {
180392
- debug(set[i].semver);
180393
- if (set[i].semver === Comparator.ANY) {
180394
- continue;
180395
- }
180396
- if (set[i].semver.prerelease.length > 0) {
180397
- const allowed = set[i].semver;
180398
- if (allowed.major === version4.major && allowed.minor === version4.minor && allowed.patch === version4.patch) {
180399
- return true;
180400
- }
180401
- }
180402
- }
180403
- return false;
180404
- }
180405
- return true;
180406
- };
180407
- }
180408
- });
180409
-
180410
- // ../../node_modules/@safe-global/safe-deployments/node_modules/semver/functions/satisfies.js
180411
- var require_satisfies2 = __commonJS({
180412
- "../../node_modules/@safe-global/safe-deployments/node_modules/semver/functions/satisfies.js"(exports2, module2) {
180413
- var Range = require_range2();
180414
- var satisfies = (version4, range2, options) => {
180415
- try {
180416
- range2 = new Range(range2, options);
180417
- } catch (er) {
180418
- return false;
180419
- }
180420
- return range2.test(version4);
180421
- };
180422
- module2.exports = satisfies;
180423
- }
180424
- });
180425
-
180426
179426
  // ../../node_modules/@safe-global/safe-deployments/dist/utils.js
180427
179427
  var require_utils13 = __commonJS({
180428
179428
  "../../node_modules/@safe-global/safe-deployments/dist/utils.js"(exports2) {
@@ -180432,7 +179432,7 @@ var require_utils13 = __commonJS({
180432
179432
  };
180433
179433
  Object.defineProperty(exports2, "__esModule", { value: true });
180434
179434
  exports2.findDeployment = void 0;
180435
- var satisfies_1 = __importDefault2(require_satisfies2());
179435
+ var satisfies_1 = __importDefault2(require_satisfies());
180436
179436
  var DEFAULT_FILTER = { released: true };
180437
179437
  var findDeployment = (criteria = DEFAULT_FILTER, deployments) => {
180438
179438
  const criteriaWithDefaults = Object.assign(Object.assign({}, DEFAULT_FILTER), criteria);
@@ -193055,7 +192055,7 @@ var require_secp256k16 = __commonJS({
193055
192055
  });
193056
192056
 
193057
192057
  // ../../node_modules/@ethereumjs/util/dist/constants.js
193058
- var require_constants9 = __commonJS({
192058
+ var require_constants8 = __commonJS({
193059
192059
  "../../node_modules/@ethereumjs/util/dist/constants.js"(exports2) {
193060
192060
  "use strict";
193061
192061
  Object.defineProperty(exports2, "__esModule", { value: true });
@@ -193775,7 +192775,7 @@ var require_account2 = __commonJS({
193775
192775
  var secp256k1_1 = require_secp256k16();
193776
192776
  var utils_1 = require_utils16();
193777
192777
  var bytes_1 = require_bytes5();
193778
- var constants_1 = require_constants9();
192778
+ var constants_1 = require_constants8();
193779
192779
  var helpers_1 = require_helpers2();
193780
192780
  var internal_1 = require_internal2();
193781
192781
  var _0n8 = BigInt(0);
@@ -194264,7 +193264,7 @@ var require_signature5 = __commonJS({
194264
193264
  var keccak_1 = require_keccak6();
194265
193265
  var secp256k1_1 = require_secp256k16();
194266
193266
  var bytes_1 = require_bytes5();
194267
- var constants_1 = require_constants9();
193267
+ var constants_1 = require_constants8();
194268
193268
  var helpers_1 = require_helpers2();
194269
193269
  function ecsign(msgHash, privateKey, chainId) {
194270
193270
  const sig = secp256k1_1.secp256k1.sign(msgHash, privateKey);
@@ -194922,7 +193922,7 @@ var require_dist7 = __commonJS({
194922
193922
  };
194923
193923
  Object.defineProperty(exports2, "__esModule", { value: true });
194924
193924
  exports2.toAscii = exports2.stripHexPrefix = exports2.padToEven = exports2.isHexString = exports2.isHexPrefixed = exports2.getKeys = exports2.getBinarySize = exports2.fromUtf8 = exports2.fromAscii = exports2.arrayContainsArray = void 0;
194925
- __exportStar2(require_constants9(), exports2);
193925
+ __exportStar2(require_constants8(), exports2);
194926
193926
  __exportStar2(require_units2(), exports2);
194927
193927
  __exportStar2(require_account2(), exports2);
194928
193928
  __exportStar2(require_address9(), exports2);
@@ -205404,7 +204404,7 @@ var require_MultiSendCallOnlyContract_V1_4_1_Ethers = __commonJS({
205404
204404
  });
205405
204405
 
205406
204406
  // ../../node_modules/@safe-global/protocol-kit/dist/src/adapters/ethers/utils/constants.js
205407
- var require_constants10 = __commonJS({
204407
+ var require_constants9 = __commonJS({
205408
204408
  "../../node_modules/@safe-global/protocol-kit/dist/src/adapters/ethers/utils/constants.js"(exports2) {
205409
204409
  "use strict";
205410
204410
  Object.defineProperty(exports2, "__esModule", { value: true });
@@ -205521,7 +204521,7 @@ var require_SafeContract_V1_0_0_Ethers = __commonJS({
205521
204521
  };
205522
204522
  Object.defineProperty(exports2, "__esModule", { value: true });
205523
204523
  var utils_1 = require_utils22();
205524
- var constants_1 = require_constants10();
204524
+ var constants_1 = require_constants9();
205525
204525
  var SafeContractEthers_1 = __importDefault2(require_SafeContractEthers());
205526
204526
  var SafeContract_V1_0_0_Ethers = class extends SafeContractEthers_1.default {
205527
204527
  constructor(contract) {
@@ -205560,7 +204560,7 @@ var require_SafeContract_V1_1_1_Ethers = __commonJS({
205560
204560
  };
205561
204561
  Object.defineProperty(exports2, "__esModule", { value: true });
205562
204562
  var utils_1 = require_utils22();
205563
- var constants_1 = require_constants10();
204563
+ var constants_1 = require_constants9();
205564
204564
  var SafeContractEthers_1 = __importDefault2(require_SafeContractEthers());
205565
204565
  var SafeContract_V1_1_1_Ethers = class extends SafeContractEthers_1.default {
205566
204566
  constructor(contract) {
@@ -205599,7 +204599,7 @@ var require_SafeContract_V1_2_0_Ethers = __commonJS({
205599
204599
  };
205600
204600
  Object.defineProperty(exports2, "__esModule", { value: true });
205601
204601
  var utils_1 = require_utils22();
205602
- var constants_1 = require_constants10();
204602
+ var constants_1 = require_constants9();
205603
204603
  var SafeContractEthers_1 = __importDefault2(require_SafeContractEthers());
205604
204604
  var SafeContract_V1_2_0_Ethers = class extends SafeContractEthers_1.default {
205605
204605
  constructor(contract) {
@@ -205636,7 +204636,7 @@ var require_SafeContract_V1_3_0_Ethers = __commonJS({
205636
204636
  };
205637
204637
  Object.defineProperty(exports2, "__esModule", { value: true });
205638
204638
  var utils_1 = require_utils22();
205639
- var constants_1 = require_constants10();
204639
+ var constants_1 = require_constants9();
205640
204640
  var SafeContractEthers_1 = __importDefault2(require_SafeContractEthers());
205641
204641
  var SafeContract_V1_3_0_Ethers = class extends SafeContractEthers_1.default {
205642
204642
  constructor(contract) {
@@ -205674,7 +204674,7 @@ var require_SafeContract_V1_4_1_Ethers = __commonJS({
205674
204674
  };
205675
204675
  Object.defineProperty(exports2, "__esModule", { value: true });
205676
204676
  var utils_1 = require_utils22();
205677
- var constants_1 = require_constants10();
204677
+ var constants_1 = require_constants9();
205678
204678
  var SafeContractEthers_1 = __importDefault2(require_SafeContractEthers());
205679
204679
  var SafeContract_V1_4_1_Ethers = class extends SafeContractEthers_1.default {
205680
204680
  constructor(contract) {
@@ -206671,7 +205671,7 @@ var require_MultiSendCallOnlyContract_V1_4_1_Web3 = __commonJS({
206671
205671
  });
206672
205672
 
206673
205673
  // ../../node_modules/@safe-global/protocol-kit/dist/src/adapters/web3/utils/constants.js
206674
- var require_constants11 = __commonJS({
205674
+ var require_constants10 = __commonJS({
206675
205675
  "../../node_modules/@safe-global/protocol-kit/dist/src/adapters/web3/utils/constants.js"(exports2) {
206676
205676
  "use strict";
206677
205677
  Object.defineProperty(exports2, "__esModule", { value: true });
@@ -206787,7 +205787,7 @@ var require_SafeContract_V1_0_0_Web3 = __commonJS({
206787
205787
  };
206788
205788
  Object.defineProperty(exports2, "__esModule", { value: true });
206789
205789
  var utils_1 = require_utils23();
206790
- var constants_1 = require_constants11();
205790
+ var constants_1 = require_constants10();
206791
205791
  var SafeContractWeb3_1 = __importDefault2(require_SafeContractWeb3());
206792
205792
  var SafeContract_V1_0_0_Web3 = class extends SafeContractWeb3_1.default {
206793
205793
  constructor(contract) {
@@ -206826,7 +205826,7 @@ var require_SafeContract_V1_1_1_Web3 = __commonJS({
206826
205826
  };
206827
205827
  Object.defineProperty(exports2, "__esModule", { value: true });
206828
205828
  var utils_1 = require_utils23();
206829
- var constants_1 = require_constants11();
205829
+ var constants_1 = require_constants10();
206830
205830
  var SafeContractWeb3_1 = __importDefault2(require_SafeContractWeb3());
206831
205831
  var SafeContract_V1_1_1_Web3 = class extends SafeContractWeb3_1.default {
206832
205832
  constructor(contract) {
@@ -206865,7 +205865,7 @@ var require_SafeContract_V1_2_0_Web3 = __commonJS({
206865
205865
  };
206866
205866
  Object.defineProperty(exports2, "__esModule", { value: true });
206867
205867
  var utils_1 = require_utils23();
206868
- var constants_1 = require_constants11();
205868
+ var constants_1 = require_constants10();
206869
205869
  var SafeContractWeb3_1 = __importDefault2(require_SafeContractWeb3());
206870
205870
  var SafeContract_V1_2_0_Web3 = class extends SafeContractWeb3_1.default {
206871
205871
  constructor(contract) {
@@ -206902,7 +205902,7 @@ var require_SafeContract_V1_3_0_Web3 = __commonJS({
206902
205902
  };
206903
205903
  Object.defineProperty(exports2, "__esModule", { value: true });
206904
205904
  var utils_1 = require_utils23();
206905
- var constants_1 = require_constants11();
205905
+ var constants_1 = require_constants10();
206906
205906
  var SafeContractWeb3_1 = __importDefault2(require_SafeContractWeb3());
206907
205907
  var SafeContract_V1_3_0_Web3 = class extends SafeContractWeb3_1.default {
206908
205908
  constructor(contract) {
@@ -206940,7 +205940,7 @@ var require_SafeContract_V1_4_1_Web3 = __commonJS({
206940
205940
  };
206941
205941
  Object.defineProperty(exports2, "__esModule", { value: true });
206942
205942
  var utils_1 = require_utils23();
206943
- var constants_1 = require_constants11();
205943
+ var constants_1 = require_constants10();
206944
205944
  var SafeContractWeb3_1 = __importDefault2(require_SafeContractWeb3());
206945
205945
  var SafeContract_V1_4_1_Web3 = class extends SafeContractWeb3_1.default {
206946
205946
  constructor(contract) {
@@ -208850,413 +207850,10 @@ var require_logger = __commonJS({
208850
207850
  }
208851
207851
  });
208852
207852
 
208853
- // ../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/internal/constants.js
208854
- var require_constants12 = __commonJS({
208855
- "../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/internal/constants.js"(exports2, module2) {
208856
- var SEMVER_SPEC_VERSION = "2.0.0";
208857
- var MAX_LENGTH = 256;
208858
- var MAX_SAFE_INTEGER3 = Number.MAX_SAFE_INTEGER || /* istanbul ignore next */
208859
- 9007199254740991;
208860
- var MAX_SAFE_COMPONENT_LENGTH = 16;
208861
- var MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6;
208862
- var RELEASE_TYPES = [
208863
- "major",
208864
- "premajor",
208865
- "minor",
208866
- "preminor",
208867
- "patch",
208868
- "prepatch",
208869
- "prerelease"
208870
- ];
208871
- module2.exports = {
208872
- MAX_LENGTH,
208873
- MAX_SAFE_COMPONENT_LENGTH,
208874
- MAX_SAFE_BUILD_LENGTH,
208875
- MAX_SAFE_INTEGER: MAX_SAFE_INTEGER3,
208876
- RELEASE_TYPES,
208877
- SEMVER_SPEC_VERSION,
208878
- FLAG_INCLUDE_PRERELEASE: 1,
208879
- FLAG_LOOSE: 2
208880
- };
208881
- }
208882
- });
208883
-
208884
- // ../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/internal/debug.js
208885
- var require_debug4 = __commonJS({
208886
- "../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/internal/debug.js"(exports2, module2) {
208887
- var debug = typeof process === "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...args) => console.error("SEMVER", ...args) : () => {
208888
- };
208889
- module2.exports = debug;
208890
- }
208891
- });
208892
-
208893
- // ../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/internal/re.js
208894
- var require_re3 = __commonJS({
208895
- "../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/internal/re.js"(exports2, module2) {
208896
- var {
208897
- MAX_SAFE_COMPONENT_LENGTH,
208898
- MAX_SAFE_BUILD_LENGTH,
208899
- MAX_LENGTH
208900
- } = require_constants12();
208901
- var debug = require_debug4();
208902
- exports2 = module2.exports = {};
208903
- var re = exports2.re = [];
208904
- var safeRe = exports2.safeRe = [];
208905
- var src = exports2.src = [];
208906
- var t = exports2.t = {};
208907
- var R = 0;
208908
- var LETTERDASHNUMBER = "[a-zA-Z0-9-]";
208909
- var safeRegexReplacements = [
208910
- ["\\s", 1],
208911
- ["\\d", MAX_LENGTH],
208912
- [LETTERDASHNUMBER, MAX_SAFE_BUILD_LENGTH]
208913
- ];
208914
- var makeSafeRegex = (value) => {
208915
- for (const [token, max] of safeRegexReplacements) {
208916
- value = value.split(`${token}*`).join(`${token}{0,${max}}`).split(`${token}+`).join(`${token}{1,${max}}`);
208917
- }
208918
- return value;
208919
- };
208920
- var createToken = (name, value, isGlobal) => {
208921
- const safe = makeSafeRegex(value);
208922
- const index = R++;
208923
- debug(name, index, value);
208924
- t[name] = index;
208925
- src[index] = value;
208926
- re[index] = new RegExp(value, isGlobal ? "g" : void 0);
208927
- safeRe[index] = new RegExp(safe, isGlobal ? "g" : void 0);
208928
- };
208929
- createToken("NUMERICIDENTIFIER", "0|[1-9]\\d*");
208930
- createToken("NUMERICIDENTIFIERLOOSE", "\\d+");
208931
- createToken("NONNUMERICIDENTIFIER", `\\d*[a-zA-Z-]${LETTERDASHNUMBER}*`);
208932
- createToken("MAINVERSION", `(${src[t.NUMERICIDENTIFIER]})\\.(${src[t.NUMERICIDENTIFIER]})\\.(${src[t.NUMERICIDENTIFIER]})`);
208933
- createToken("MAINVERSIONLOOSE", `(${src[t.NUMERICIDENTIFIERLOOSE]})\\.(${src[t.NUMERICIDENTIFIERLOOSE]})\\.(${src[t.NUMERICIDENTIFIERLOOSE]})`);
208934
- createToken("PRERELEASEIDENTIFIER", `(?:${src[t.NUMERICIDENTIFIER]}|${src[t.NONNUMERICIDENTIFIER]})`);
208935
- createToken("PRERELEASEIDENTIFIERLOOSE", `(?:${src[t.NUMERICIDENTIFIERLOOSE]}|${src[t.NONNUMERICIDENTIFIER]})`);
208936
- createToken("PRERELEASE", `(?:-(${src[t.PRERELEASEIDENTIFIER]}(?:\\.${src[t.PRERELEASEIDENTIFIER]})*))`);
208937
- createToken("PRERELEASELOOSE", `(?:-?(${src[t.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${src[t.PRERELEASEIDENTIFIERLOOSE]})*))`);
208938
- createToken("BUILDIDENTIFIER", `${LETTERDASHNUMBER}+`);
208939
- createToken("BUILD", `(?:\\+(${src[t.BUILDIDENTIFIER]}(?:\\.${src[t.BUILDIDENTIFIER]})*))`);
208940
- createToken("FULLPLAIN", `v?${src[t.MAINVERSION]}${src[t.PRERELEASE]}?${src[t.BUILD]}?`);
208941
- createToken("FULL", `^${src[t.FULLPLAIN]}$`);
208942
- createToken("LOOSEPLAIN", `[v=\\s]*${src[t.MAINVERSIONLOOSE]}${src[t.PRERELEASELOOSE]}?${src[t.BUILD]}?`);
208943
- createToken("LOOSE", `^${src[t.LOOSEPLAIN]}$`);
208944
- createToken("GTLT", "((?:<|>)?=?)");
208945
- createToken("XRANGEIDENTIFIERLOOSE", `${src[t.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);
208946
- createToken("XRANGEIDENTIFIER", `${src[t.NUMERICIDENTIFIER]}|x|X|\\*`);
208947
- createToken("XRANGEPLAIN", `[v=\\s]*(${src[t.XRANGEIDENTIFIER]})(?:\\.(${src[t.XRANGEIDENTIFIER]})(?:\\.(${src[t.XRANGEIDENTIFIER]})(?:${src[t.PRERELEASE]})?${src[t.BUILD]}?)?)?`);
208948
- createToken("XRANGEPLAINLOOSE", `[v=\\s]*(${src[t.XRANGEIDENTIFIERLOOSE]})(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})(?:${src[t.PRERELEASELOOSE]})?${src[t.BUILD]}?)?)?`);
208949
- createToken("XRANGE", `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAIN]}$`);
208950
- createToken("XRANGELOOSE", `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAINLOOSE]}$`);
208951
- createToken("COERCE", `${"(^|[^\\d])(\\d{1,"}${MAX_SAFE_COMPONENT_LENGTH}})(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?(?:$|[^\\d])`);
208952
- createToken("COERCERTL", src[t.COERCE], true);
208953
- createToken("LONETILDE", "(?:~>?)");
208954
- createToken("TILDETRIM", `(\\s*)${src[t.LONETILDE]}\\s+`, true);
208955
- exports2.tildeTrimReplace = "$1~";
208956
- createToken("TILDE", `^${src[t.LONETILDE]}${src[t.XRANGEPLAIN]}$`);
208957
- createToken("TILDELOOSE", `^${src[t.LONETILDE]}${src[t.XRANGEPLAINLOOSE]}$`);
208958
- createToken("LONECARET", "(?:\\^)");
208959
- createToken("CARETTRIM", `(\\s*)${src[t.LONECARET]}\\s+`, true);
208960
- exports2.caretTrimReplace = "$1^";
208961
- createToken("CARET", `^${src[t.LONECARET]}${src[t.XRANGEPLAIN]}$`);
208962
- createToken("CARETLOOSE", `^${src[t.LONECARET]}${src[t.XRANGEPLAINLOOSE]}$`);
208963
- createToken("COMPARATORLOOSE", `^${src[t.GTLT]}\\s*(${src[t.LOOSEPLAIN]})$|^$`);
208964
- createToken("COMPARATOR", `^${src[t.GTLT]}\\s*(${src[t.FULLPLAIN]})$|^$`);
208965
- createToken("COMPARATORTRIM", `(\\s*)${src[t.GTLT]}\\s*(${src[t.LOOSEPLAIN]}|${src[t.XRANGEPLAIN]})`, true);
208966
- exports2.comparatorTrimReplace = "$1$2$3";
208967
- createToken("HYPHENRANGE", `^\\s*(${src[t.XRANGEPLAIN]})\\s+-\\s+(${src[t.XRANGEPLAIN]})\\s*$`);
208968
- createToken("HYPHENRANGELOOSE", `^\\s*(${src[t.XRANGEPLAINLOOSE]})\\s+-\\s+(${src[t.XRANGEPLAINLOOSE]})\\s*$`);
208969
- createToken("STAR", "(<|>)?=?\\s*\\*");
208970
- createToken("GTE0", "^\\s*>=\\s*0\\.0\\.0\\s*$");
208971
- createToken("GTE0PRE", "^\\s*>=\\s*0\\.0\\.0-0\\s*$");
208972
- }
208973
- });
208974
-
208975
- // ../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/internal/parse-options.js
208976
- var require_parse_options3 = __commonJS({
208977
- "../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/internal/parse-options.js"(exports2, module2) {
208978
- var looseOption = Object.freeze({ loose: true });
208979
- var emptyOpts = Object.freeze({});
208980
- var parseOptions = (options) => {
208981
- if (!options) {
208982
- return emptyOpts;
208983
- }
208984
- if (typeof options !== "object") {
208985
- return looseOption;
208986
- }
208987
- return options;
208988
- };
208989
- module2.exports = parseOptions;
208990
- }
208991
- });
208992
-
208993
- // ../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/internal/identifiers.js
208994
- var require_identifiers3 = __commonJS({
208995
- "../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/internal/identifiers.js"(exports2, module2) {
208996
- var numeric = /^[0-9]+$/;
208997
- var compareIdentifiers = (a, b3) => {
208998
- const anum = numeric.test(a);
208999
- const bnum = numeric.test(b3);
209000
- if (anum && bnum) {
209001
- a = +a;
209002
- b3 = +b3;
209003
- }
209004
- return a === b3 ? 0 : anum && !bnum ? -1 : bnum && !anum ? 1 : a < b3 ? -1 : 1;
209005
- };
209006
- var rcompareIdentifiers = (a, b3) => compareIdentifiers(b3, a);
209007
- module2.exports = {
209008
- compareIdentifiers,
209009
- rcompareIdentifiers
209010
- };
209011
- }
209012
- });
209013
-
209014
- // ../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/classes/semver.js
209015
- var require_semver3 = __commonJS({
209016
- "../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/classes/semver.js"(exports2, module2) {
209017
- var debug = require_debug4();
209018
- var { MAX_LENGTH, MAX_SAFE_INTEGER: MAX_SAFE_INTEGER3 } = require_constants12();
209019
- var { safeRe: re, t } = require_re3();
209020
- var parseOptions = require_parse_options3();
209021
- var { compareIdentifiers } = require_identifiers3();
209022
- var SemVer = class _SemVer {
209023
- constructor(version4, options) {
209024
- options = parseOptions(options);
209025
- if (version4 instanceof _SemVer) {
209026
- if (version4.loose === !!options.loose && version4.includePrerelease === !!options.includePrerelease) {
209027
- return version4;
209028
- } else {
209029
- version4 = version4.version;
209030
- }
209031
- } else if (typeof version4 !== "string") {
209032
- throw new TypeError(`Invalid version. Must be a string. Got type "${typeof version4}".`);
209033
- }
209034
- if (version4.length > MAX_LENGTH) {
209035
- throw new TypeError(
209036
- `version is longer than ${MAX_LENGTH} characters`
209037
- );
209038
- }
209039
- debug("SemVer", version4, options);
209040
- this.options = options;
209041
- this.loose = !!options.loose;
209042
- this.includePrerelease = !!options.includePrerelease;
209043
- const m = version4.trim().match(options.loose ? re[t.LOOSE] : re[t.FULL]);
209044
- if (!m) {
209045
- throw new TypeError(`Invalid Version: ${version4}`);
209046
- }
209047
- this.raw = version4;
209048
- this.major = +m[1];
209049
- this.minor = +m[2];
209050
- this.patch = +m[3];
209051
- if (this.major > MAX_SAFE_INTEGER3 || this.major < 0) {
209052
- throw new TypeError("Invalid major version");
209053
- }
209054
- if (this.minor > MAX_SAFE_INTEGER3 || this.minor < 0) {
209055
- throw new TypeError("Invalid minor version");
209056
- }
209057
- if (this.patch > MAX_SAFE_INTEGER3 || this.patch < 0) {
209058
- throw new TypeError("Invalid patch version");
209059
- }
209060
- if (!m[4]) {
209061
- this.prerelease = [];
209062
- } else {
209063
- this.prerelease = m[4].split(".").map((id3) => {
209064
- if (/^[0-9]+$/.test(id3)) {
209065
- const num = +id3;
209066
- if (num >= 0 && num < MAX_SAFE_INTEGER3) {
209067
- return num;
209068
- }
209069
- }
209070
- return id3;
209071
- });
209072
- }
209073
- this.build = m[5] ? m[5].split(".") : [];
209074
- this.format();
209075
- }
209076
- format() {
209077
- this.version = `${this.major}.${this.minor}.${this.patch}`;
209078
- if (this.prerelease.length) {
209079
- this.version += `-${this.prerelease.join(".")}`;
209080
- }
209081
- return this.version;
209082
- }
209083
- toString() {
209084
- return this.version;
209085
- }
209086
- compare(other) {
209087
- debug("SemVer.compare", this.version, this.options, other);
209088
- if (!(other instanceof _SemVer)) {
209089
- if (typeof other === "string" && other === this.version) {
209090
- return 0;
209091
- }
209092
- other = new _SemVer(other, this.options);
209093
- }
209094
- if (other.version === this.version) {
209095
- return 0;
209096
- }
209097
- return this.compareMain(other) || this.comparePre(other);
209098
- }
209099
- compareMain(other) {
209100
- if (!(other instanceof _SemVer)) {
209101
- other = new _SemVer(other, this.options);
209102
- }
209103
- return compareIdentifiers(this.major, other.major) || compareIdentifiers(this.minor, other.minor) || compareIdentifiers(this.patch, other.patch);
209104
- }
209105
- comparePre(other) {
209106
- if (!(other instanceof _SemVer)) {
209107
- other = new _SemVer(other, this.options);
209108
- }
209109
- if (this.prerelease.length && !other.prerelease.length) {
209110
- return -1;
209111
- } else if (!this.prerelease.length && other.prerelease.length) {
209112
- return 1;
209113
- } else if (!this.prerelease.length && !other.prerelease.length) {
209114
- return 0;
209115
- }
209116
- let i = 0;
209117
- do {
209118
- const a = this.prerelease[i];
209119
- const b3 = other.prerelease[i];
209120
- debug("prerelease compare", i, a, b3);
209121
- if (a === void 0 && b3 === void 0) {
209122
- return 0;
209123
- } else if (b3 === void 0) {
209124
- return 1;
209125
- } else if (a === void 0) {
209126
- return -1;
209127
- } else if (a === b3) {
209128
- continue;
209129
- } else {
209130
- return compareIdentifiers(a, b3);
209131
- }
209132
- } while (++i);
209133
- }
209134
- compareBuild(other) {
209135
- if (!(other instanceof _SemVer)) {
209136
- other = new _SemVer(other, this.options);
209137
- }
209138
- let i = 0;
209139
- do {
209140
- const a = this.build[i];
209141
- const b3 = other.build[i];
209142
- debug("prerelease compare", i, a, b3);
209143
- if (a === void 0 && b3 === void 0) {
209144
- return 0;
209145
- } else if (b3 === void 0) {
209146
- return 1;
209147
- } else if (a === void 0) {
209148
- return -1;
209149
- } else if (a === b3) {
209150
- continue;
209151
- } else {
209152
- return compareIdentifiers(a, b3);
209153
- }
209154
- } while (++i);
209155
- }
209156
- // preminor will bump the version up to the next minor release, and immediately
209157
- // down to pre-release. premajor and prepatch work the same way.
209158
- inc(release, identifier, identifierBase) {
209159
- switch (release) {
209160
- case "premajor":
209161
- this.prerelease.length = 0;
209162
- this.patch = 0;
209163
- this.minor = 0;
209164
- this.major++;
209165
- this.inc("pre", identifier, identifierBase);
209166
- break;
209167
- case "preminor":
209168
- this.prerelease.length = 0;
209169
- this.patch = 0;
209170
- this.minor++;
209171
- this.inc("pre", identifier, identifierBase);
209172
- break;
209173
- case "prepatch":
209174
- this.prerelease.length = 0;
209175
- this.inc("patch", identifier, identifierBase);
209176
- this.inc("pre", identifier, identifierBase);
209177
- break;
209178
- case "prerelease":
209179
- if (this.prerelease.length === 0) {
209180
- this.inc("patch", identifier, identifierBase);
209181
- }
209182
- this.inc("pre", identifier, identifierBase);
209183
- break;
209184
- case "major":
209185
- if (this.minor !== 0 || this.patch !== 0 || this.prerelease.length === 0) {
209186
- this.major++;
209187
- }
209188
- this.minor = 0;
209189
- this.patch = 0;
209190
- this.prerelease = [];
209191
- break;
209192
- case "minor":
209193
- if (this.patch !== 0 || this.prerelease.length === 0) {
209194
- this.minor++;
209195
- }
209196
- this.patch = 0;
209197
- this.prerelease = [];
209198
- break;
209199
- case "patch":
209200
- if (this.prerelease.length === 0) {
209201
- this.patch++;
209202
- }
209203
- this.prerelease = [];
209204
- break;
209205
- case "pre": {
209206
- const base = Number(identifierBase) ? 1 : 0;
209207
- if (!identifier && identifierBase === false) {
209208
- throw new Error("invalid increment argument: identifier is empty");
209209
- }
209210
- if (this.prerelease.length === 0) {
209211
- this.prerelease = [base];
209212
- } else {
209213
- let i = this.prerelease.length;
209214
- while (--i >= 0) {
209215
- if (typeof this.prerelease[i] === "number") {
209216
- this.prerelease[i]++;
209217
- i = -2;
209218
- }
209219
- }
209220
- if (i === -1) {
209221
- if (identifier === this.prerelease.join(".") && identifierBase === false) {
209222
- throw new Error("invalid increment argument: identifier already exists");
209223
- }
209224
- this.prerelease.push(base);
209225
- }
209226
- }
209227
- if (identifier) {
209228
- let prerelease = [identifier, base];
209229
- if (identifierBase === false) {
209230
- prerelease = [identifier];
209231
- }
209232
- if (compareIdentifiers(this.prerelease[0], identifier) === 0) {
209233
- if (isNaN(this.prerelease[1])) {
209234
- this.prerelease = prerelease;
209235
- }
209236
- } else {
209237
- this.prerelease = prerelease;
209238
- }
209239
- }
209240
- break;
209241
- }
209242
- default:
209243
- throw new Error(`invalid increment argument: ${release}`);
209244
- }
209245
- this.raw = this.format();
209246
- if (this.build.length) {
209247
- this.raw += `+${this.build.join(".")}`;
209248
- }
209249
- return this;
209250
- }
209251
- };
209252
- module2.exports = SemVer;
209253
- }
209254
- });
209255
-
209256
- // ../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/functions/parse.js
207853
+ // ../../node_modules/semver/functions/parse.js
209257
207854
  var require_parse = __commonJS({
209258
- "../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/functions/parse.js"(exports2, module2) {
209259
- var SemVer = require_semver3();
207855
+ "../../node_modules/semver/functions/parse.js"(exports2, module2) {
207856
+ var SemVer = require_semver();
209260
207857
  var parse2 = (version4, options, throwErrors = false) => {
209261
207858
  if (version4 instanceof SemVer) {
209262
207859
  return version4;
@@ -209274,9 +207871,9 @@ var require_parse = __commonJS({
209274
207871
  }
209275
207872
  });
209276
207873
 
209277
- // ../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/functions/valid.js
207874
+ // ../../node_modules/semver/functions/valid.js
209278
207875
  var require_valid = __commonJS({
209279
- "../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/functions/valid.js"(exports2, module2) {
207876
+ "../../node_modules/semver/functions/valid.js"(exports2, module2) {
209280
207877
  var parse2 = require_parse();
209281
207878
  var valid = (version4, options) => {
209282
207879
  const v = parse2(version4, options);
@@ -209286,9 +207883,9 @@ var require_valid = __commonJS({
209286
207883
  }
209287
207884
  });
209288
207885
 
209289
- // ../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/functions/clean.js
207886
+ // ../../node_modules/semver/functions/clean.js
209290
207887
  var require_clean = __commonJS({
209291
- "../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/functions/clean.js"(exports2, module2) {
207888
+ "../../node_modules/semver/functions/clean.js"(exports2, module2) {
209292
207889
  var parse2 = require_parse();
209293
207890
  var clean = (version4, options) => {
209294
207891
  const s = parse2(version4.trim().replace(/^[=v]+/, ""), options);
@@ -209298,10 +207895,10 @@ var require_clean = __commonJS({
209298
207895
  }
209299
207896
  });
209300
207897
 
209301
- // ../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/functions/inc.js
207898
+ // ../../node_modules/semver/functions/inc.js
209302
207899
  var require_inc = __commonJS({
209303
- "../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/functions/inc.js"(exports2, module2) {
209304
- var SemVer = require_semver3();
207900
+ "../../node_modules/semver/functions/inc.js"(exports2, module2) {
207901
+ var SemVer = require_semver();
209305
207902
  var inc = (version4, release, options, identifier, identifierBase) => {
209306
207903
  if (typeof options === "string") {
209307
207904
  identifierBase = identifier;
@@ -209321,9 +207918,9 @@ var require_inc = __commonJS({
209321
207918
  }
209322
207919
  });
209323
207920
 
209324
- // ../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/functions/diff.js
207921
+ // ../../node_modules/semver/functions/diff.js
209325
207922
  var require_diff = __commonJS({
209326
- "../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/functions/diff.js"(exports2, module2) {
207923
+ "../../node_modules/semver/functions/diff.js"(exports2, module2) {
209327
207924
  var parse2 = require_parse();
209328
207925
  var diff = (version1, version22) => {
209329
207926
  const v1 = parse2(version1, null, true);
@@ -209365,36 +207962,36 @@ var require_diff = __commonJS({
209365
207962
  }
209366
207963
  });
209367
207964
 
209368
- // ../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/functions/major.js
207965
+ // ../../node_modules/semver/functions/major.js
209369
207966
  var require_major = __commonJS({
209370
- "../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/functions/major.js"(exports2, module2) {
209371
- var SemVer = require_semver3();
207967
+ "../../node_modules/semver/functions/major.js"(exports2, module2) {
207968
+ var SemVer = require_semver();
209372
207969
  var major2 = (a, loose) => new SemVer(a, loose).major;
209373
207970
  module2.exports = major2;
209374
207971
  }
209375
207972
  });
209376
207973
 
209377
- // ../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/functions/minor.js
207974
+ // ../../node_modules/semver/functions/minor.js
209378
207975
  var require_minor = __commonJS({
209379
- "../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/functions/minor.js"(exports2, module2) {
209380
- var SemVer = require_semver3();
207976
+ "../../node_modules/semver/functions/minor.js"(exports2, module2) {
207977
+ var SemVer = require_semver();
209381
207978
  var minor = (a, loose) => new SemVer(a, loose).minor;
209382
207979
  module2.exports = minor;
209383
207980
  }
209384
207981
  });
209385
207982
 
209386
- // ../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/functions/patch.js
207983
+ // ../../node_modules/semver/functions/patch.js
209387
207984
  var require_patch = __commonJS({
209388
- "../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/functions/patch.js"(exports2, module2) {
209389
- var SemVer = require_semver3();
207985
+ "../../node_modules/semver/functions/patch.js"(exports2, module2) {
207986
+ var SemVer = require_semver();
209390
207987
  var patch = (a, loose) => new SemVer(a, loose).patch;
209391
207988
  module2.exports = patch;
209392
207989
  }
209393
207990
  });
209394
207991
 
209395
- // ../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/functions/prerelease.js
207992
+ // ../../node_modules/semver/functions/prerelease.js
209396
207993
  var require_prerelease = __commonJS({
209397
- "../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/functions/prerelease.js"(exports2, module2) {
207994
+ "../../node_modules/semver/functions/prerelease.js"(exports2, module2) {
209398
207995
  var parse2 = require_parse();
209399
207996
  var prerelease = (version4, options) => {
209400
207997
  const parsed = parse2(version4, options);
@@ -209404,37 +208001,28 @@ var require_prerelease = __commonJS({
209404
208001
  }
209405
208002
  });
209406
208003
 
209407
- // ../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/functions/compare.js
209408
- var require_compare3 = __commonJS({
209409
- "../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/functions/compare.js"(exports2, module2) {
209410
- var SemVer = require_semver3();
209411
- var compare = (a, b3, loose) => new SemVer(a, loose).compare(new SemVer(b3, loose));
209412
- module2.exports = compare;
209413
- }
209414
- });
209415
-
209416
- // ../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/functions/rcompare.js
208004
+ // ../../node_modules/semver/functions/rcompare.js
209417
208005
  var require_rcompare = __commonJS({
209418
- "../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/functions/rcompare.js"(exports2, module2) {
209419
- var compare = require_compare3();
208006
+ "../../node_modules/semver/functions/rcompare.js"(exports2, module2) {
208007
+ var compare = require_compare();
209420
208008
  var rcompare = (a, b3, loose) => compare(b3, a, loose);
209421
208009
  module2.exports = rcompare;
209422
208010
  }
209423
208011
  });
209424
208012
 
209425
- // ../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/functions/compare-loose.js
208013
+ // ../../node_modules/semver/functions/compare-loose.js
209426
208014
  var require_compare_loose = __commonJS({
209427
- "../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/functions/compare-loose.js"(exports2, module2) {
209428
- var compare = require_compare3();
208015
+ "../../node_modules/semver/functions/compare-loose.js"(exports2, module2) {
208016
+ var compare = require_compare();
209429
208017
  var compareLoose = (a, b3) => compare(a, b3, true);
209430
208018
  module2.exports = compareLoose;
209431
208019
  }
209432
208020
  });
209433
208021
 
209434
- // ../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/functions/compare-build.js
208022
+ // ../../node_modules/semver/functions/compare-build.js
209435
208023
  var require_compare_build = __commonJS({
209436
- "../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/functions/compare-build.js"(exports2, module2) {
209437
- var SemVer = require_semver3();
208024
+ "../../node_modules/semver/functions/compare-build.js"(exports2, module2) {
208025
+ var SemVer = require_semver();
209438
208026
  var compareBuild = (a, b3, loose) => {
209439
208027
  const versionA = new SemVer(a, loose);
209440
208028
  const versionB = new SemVer(b3, loose);
@@ -209444,133 +208032,30 @@ var require_compare_build = __commonJS({
209444
208032
  }
209445
208033
  });
209446
208034
 
209447
- // ../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/functions/sort.js
208035
+ // ../../node_modules/semver/functions/sort.js
209448
208036
  var require_sort = __commonJS({
209449
- "../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/functions/sort.js"(exports2, module2) {
208037
+ "../../node_modules/semver/functions/sort.js"(exports2, module2) {
209450
208038
  var compareBuild = require_compare_build();
209451
208039
  var sort = (list, loose) => list.sort((a, b3) => compareBuild(a, b3, loose));
209452
208040
  module2.exports = sort;
209453
208041
  }
209454
208042
  });
209455
208043
 
209456
- // ../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/functions/rsort.js
208044
+ // ../../node_modules/semver/functions/rsort.js
209457
208045
  var require_rsort = __commonJS({
209458
- "../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/functions/rsort.js"(exports2, module2) {
208046
+ "../../node_modules/semver/functions/rsort.js"(exports2, module2) {
209459
208047
  var compareBuild = require_compare_build();
209460
208048
  var rsort = (list, loose) => list.sort((a, b3) => compareBuild(b3, a, loose));
209461
208049
  module2.exports = rsort;
209462
208050
  }
209463
208051
  });
209464
208052
 
209465
- // ../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/functions/gt.js
209466
- var require_gt3 = __commonJS({
209467
- "../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/functions/gt.js"(exports2, module2) {
209468
- var compare = require_compare3();
209469
- var gt = (a, b3, loose) => compare(a, b3, loose) > 0;
209470
- module2.exports = gt;
209471
- }
209472
- });
209473
-
209474
- // ../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/functions/lt.js
209475
- var require_lt3 = __commonJS({
209476
- "../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/functions/lt.js"(exports2, module2) {
209477
- var compare = require_compare3();
209478
- var lt = (a, b3, loose) => compare(a, b3, loose) < 0;
209479
- module2.exports = lt;
209480
- }
209481
- });
209482
-
209483
- // ../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/functions/eq.js
209484
- var require_eq3 = __commonJS({
209485
- "../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/functions/eq.js"(exports2, module2) {
209486
- var compare = require_compare3();
209487
- var eq2 = (a, b3, loose) => compare(a, b3, loose) === 0;
209488
- module2.exports = eq2;
209489
- }
209490
- });
209491
-
209492
- // ../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/functions/neq.js
209493
- var require_neq3 = __commonJS({
209494
- "../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/functions/neq.js"(exports2, module2) {
209495
- var compare = require_compare3();
209496
- var neq = (a, b3, loose) => compare(a, b3, loose) !== 0;
209497
- module2.exports = neq;
209498
- }
209499
- });
209500
-
209501
- // ../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/functions/gte.js
209502
- var require_gte3 = __commonJS({
209503
- "../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/functions/gte.js"(exports2, module2) {
209504
- var compare = require_compare3();
209505
- var gte = (a, b3, loose) => compare(a, b3, loose) >= 0;
209506
- module2.exports = gte;
209507
- }
209508
- });
209509
-
209510
- // ../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/functions/lte.js
209511
- var require_lte3 = __commonJS({
209512
- "../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/functions/lte.js"(exports2, module2) {
209513
- var compare = require_compare3();
209514
- var lte = (a, b3, loose) => compare(a, b3, loose) <= 0;
209515
- module2.exports = lte;
209516
- }
209517
- });
209518
-
209519
- // ../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/functions/cmp.js
209520
- var require_cmp3 = __commonJS({
209521
- "../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/functions/cmp.js"(exports2, module2) {
209522
- var eq2 = require_eq3();
209523
- var neq = require_neq3();
209524
- var gt = require_gt3();
209525
- var gte = require_gte3();
209526
- var lt = require_lt3();
209527
- var lte = require_lte3();
209528
- var cmp = (a, op, b3, loose) => {
209529
- switch (op) {
209530
- case "===":
209531
- if (typeof a === "object") {
209532
- a = a.version;
209533
- }
209534
- if (typeof b3 === "object") {
209535
- b3 = b3.version;
209536
- }
209537
- return a === b3;
209538
- case "!==":
209539
- if (typeof a === "object") {
209540
- a = a.version;
209541
- }
209542
- if (typeof b3 === "object") {
209543
- b3 = b3.version;
209544
- }
209545
- return a !== b3;
209546
- case "":
209547
- case "=":
209548
- case "==":
209549
- return eq2(a, b3, loose);
209550
- case "!=":
209551
- return neq(a, b3, loose);
209552
- case ">":
209553
- return gt(a, b3, loose);
209554
- case ">=":
209555
- return gte(a, b3, loose);
209556
- case "<":
209557
- return lt(a, b3, loose);
209558
- case "<=":
209559
- return lte(a, b3, loose);
209560
- default:
209561
- throw new TypeError(`Invalid operator: ${op}`);
209562
- }
209563
- };
209564
- module2.exports = cmp;
209565
- }
209566
- });
209567
-
209568
- // ../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/functions/coerce.js
208053
+ // ../../node_modules/semver/functions/coerce.js
209569
208054
  var require_coerce = __commonJS({
209570
- "../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/functions/coerce.js"(exports2, module2) {
209571
- var SemVer = require_semver3();
208055
+ "../../node_modules/semver/functions/coerce.js"(exports2, module2) {
208056
+ var SemVer = require_semver();
209572
208057
  var parse2 = require_parse();
209573
- var { safeRe: re, t } = require_re3();
208058
+ var { safeRe: re, t } = require_re();
209574
208059
  var coerce = (version4, options) => {
209575
208060
  if (version4 instanceof SemVer) {
209576
208061
  return version4;
@@ -209604,505 +208089,20 @@ var require_coerce = __commonJS({
209604
208089
  }
209605
208090
  });
209606
208091
 
209607
- // ../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/classes/range.js
209608
- var require_range3 = __commonJS({
209609
- "../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/classes/range.js"(exports2, module2) {
209610
- var Range = class _Range {
209611
- constructor(range2, options) {
209612
- options = parseOptions(options);
209613
- if (range2 instanceof _Range) {
209614
- if (range2.loose === !!options.loose && range2.includePrerelease === !!options.includePrerelease) {
209615
- return range2;
209616
- } else {
209617
- return new _Range(range2.raw, options);
209618
- }
209619
- }
209620
- if (range2 instanceof Comparator) {
209621
- this.raw = range2.value;
209622
- this.set = [[range2]];
209623
- this.format();
209624
- return this;
209625
- }
209626
- this.options = options;
209627
- this.loose = !!options.loose;
209628
- this.includePrerelease = !!options.includePrerelease;
209629
- this.raw = range2.trim().split(/\s+/).join(" ");
209630
- this.set = this.raw.split("||").map((r) => this.parseRange(r.trim())).filter((c) => c.length);
209631
- if (!this.set.length) {
209632
- throw new TypeError(`Invalid SemVer Range: ${this.raw}`);
209633
- }
209634
- if (this.set.length > 1) {
209635
- const first = this.set[0];
209636
- this.set = this.set.filter((c) => !isNullSet(c[0]));
209637
- if (this.set.length === 0) {
209638
- this.set = [first];
209639
- } else if (this.set.length > 1) {
209640
- for (const c of this.set) {
209641
- if (c.length === 1 && isAny(c[0])) {
209642
- this.set = [c];
209643
- break;
209644
- }
209645
- }
209646
- }
209647
- }
209648
- this.format();
209649
- }
209650
- format() {
209651
- this.range = this.set.map((comps) => comps.join(" ").trim()).join("||").trim();
209652
- return this.range;
209653
- }
209654
- toString() {
209655
- return this.range;
209656
- }
209657
- parseRange(range2) {
209658
- const memoOpts = (this.options.includePrerelease && FLAG_INCLUDE_PRERELEASE) | (this.options.loose && FLAG_LOOSE);
209659
- const memoKey = memoOpts + ":" + range2;
209660
- const cached = cache.get(memoKey);
209661
- if (cached) {
209662
- return cached;
209663
- }
209664
- const loose = this.options.loose;
209665
- const hr = loose ? re[t.HYPHENRANGELOOSE] : re[t.HYPHENRANGE];
209666
- range2 = range2.replace(hr, hyphenReplace(this.options.includePrerelease));
209667
- debug("hyphen replace", range2);
209668
- range2 = range2.replace(re[t.COMPARATORTRIM], comparatorTrimReplace);
209669
- debug("comparator trim", range2);
209670
- range2 = range2.replace(re[t.TILDETRIM], tildeTrimReplace);
209671
- debug("tilde trim", range2);
209672
- range2 = range2.replace(re[t.CARETTRIM], caretTrimReplace);
209673
- debug("caret trim", range2);
209674
- let rangeList = range2.split(" ").map((comp) => parseComparator(comp, this.options)).join(" ").split(/\s+/).map((comp) => replaceGTE0(comp, this.options));
209675
- if (loose) {
209676
- rangeList = rangeList.filter((comp) => {
209677
- debug("loose invalid filter", comp, this.options);
209678
- return !!comp.match(re[t.COMPARATORLOOSE]);
209679
- });
209680
- }
209681
- debug("range list", rangeList);
209682
- const rangeMap = /* @__PURE__ */ new Map();
209683
- const comparators = rangeList.map((comp) => new Comparator(comp, this.options));
209684
- for (const comp of comparators) {
209685
- if (isNullSet(comp)) {
209686
- return [comp];
209687
- }
209688
- rangeMap.set(comp.value, comp);
209689
- }
209690
- if (rangeMap.size > 1 && rangeMap.has("")) {
209691
- rangeMap.delete("");
209692
- }
209693
- const result = [...rangeMap.values()];
209694
- cache.set(memoKey, result);
209695
- return result;
209696
- }
209697
- intersects(range2, options) {
209698
- if (!(range2 instanceof _Range)) {
209699
- throw new TypeError("a Range is required");
209700
- }
209701
- return this.set.some((thisComparators) => {
209702
- return isSatisfiable(thisComparators, options) && range2.set.some((rangeComparators) => {
209703
- return isSatisfiable(rangeComparators, options) && thisComparators.every((thisComparator) => {
209704
- return rangeComparators.every((rangeComparator) => {
209705
- return thisComparator.intersects(rangeComparator, options);
209706
- });
209707
- });
209708
- });
209709
- });
209710
- }
209711
- // if ANY of the sets match ALL of its comparators, then pass
209712
- test(version4) {
209713
- if (!version4) {
209714
- return false;
209715
- }
209716
- if (typeof version4 === "string") {
209717
- try {
209718
- version4 = new SemVer(version4, this.options);
209719
- } catch (er) {
209720
- return false;
209721
- }
209722
- }
209723
- for (let i = 0; i < this.set.length; i++) {
209724
- if (testSet(this.set[i], version4, this.options)) {
209725
- return true;
209726
- }
209727
- }
209728
- return false;
209729
- }
209730
- };
209731
- module2.exports = Range;
209732
- var LRU = require_lru_cache();
209733
- var cache = new LRU({ max: 1e3 });
209734
- var parseOptions = require_parse_options3();
209735
- var Comparator = require_comparator3();
209736
- var debug = require_debug4();
209737
- var SemVer = require_semver3();
209738
- var {
209739
- safeRe: re,
209740
- t,
209741
- comparatorTrimReplace,
209742
- tildeTrimReplace,
209743
- caretTrimReplace
209744
- } = require_re3();
209745
- var { FLAG_INCLUDE_PRERELEASE, FLAG_LOOSE } = require_constants12();
209746
- var isNullSet = (c) => c.value === "<0.0.0-0";
209747
- var isAny = (c) => c.value === "";
209748
- var isSatisfiable = (comparators, options) => {
209749
- let result = true;
209750
- const remainingComparators = comparators.slice();
209751
- let testComparator = remainingComparators.pop();
209752
- while (result && remainingComparators.length) {
209753
- result = remainingComparators.every((otherComparator) => {
209754
- return testComparator.intersects(otherComparator, options);
209755
- });
209756
- testComparator = remainingComparators.pop();
209757
- }
209758
- return result;
209759
- };
209760
- var parseComparator = (comp, options) => {
209761
- debug("comp", comp, options);
209762
- comp = replaceCarets(comp, options);
209763
- debug("caret", comp);
209764
- comp = replaceTildes(comp, options);
209765
- debug("tildes", comp);
209766
- comp = replaceXRanges(comp, options);
209767
- debug("xrange", comp);
209768
- comp = replaceStars(comp, options);
209769
- debug("stars", comp);
209770
- return comp;
209771
- };
209772
- var isX = (id3) => !id3 || id3.toLowerCase() === "x" || id3 === "*";
209773
- var replaceTildes = (comp, options) => {
209774
- return comp.trim().split(/\s+/).map((c) => replaceTilde(c, options)).join(" ");
209775
- };
209776
- var replaceTilde = (comp, options) => {
209777
- const r = options.loose ? re[t.TILDELOOSE] : re[t.TILDE];
209778
- return comp.replace(r, (_, M, m, p, pr) => {
209779
- debug("tilde", comp, _, M, m, p, pr);
209780
- let ret;
209781
- if (isX(M)) {
209782
- ret = "";
209783
- } else if (isX(m)) {
209784
- ret = `>=${M}.0.0 <${+M + 1}.0.0-0`;
209785
- } else if (isX(p)) {
209786
- ret = `>=${M}.${m}.0 <${M}.${+m + 1}.0-0`;
209787
- } else if (pr) {
209788
- debug("replaceTilde pr", pr);
209789
- ret = `>=${M}.${m}.${p}-${pr} <${M}.${+m + 1}.0-0`;
209790
- } else {
209791
- ret = `>=${M}.${m}.${p} <${M}.${+m + 1}.0-0`;
209792
- }
209793
- debug("tilde return", ret);
209794
- return ret;
209795
- });
209796
- };
209797
- var replaceCarets = (comp, options) => {
209798
- return comp.trim().split(/\s+/).map((c) => replaceCaret(c, options)).join(" ");
209799
- };
209800
- var replaceCaret = (comp, options) => {
209801
- debug("caret", comp, options);
209802
- const r = options.loose ? re[t.CARETLOOSE] : re[t.CARET];
209803
- const z = options.includePrerelease ? "-0" : "";
209804
- return comp.replace(r, (_, M, m, p, pr) => {
209805
- debug("caret", comp, _, M, m, p, pr);
209806
- let ret;
209807
- if (isX(M)) {
209808
- ret = "";
209809
- } else if (isX(m)) {
209810
- ret = `>=${M}.0.0${z} <${+M + 1}.0.0-0`;
209811
- } else if (isX(p)) {
209812
- if (M === "0") {
209813
- ret = `>=${M}.${m}.0${z} <${M}.${+m + 1}.0-0`;
209814
- } else {
209815
- ret = `>=${M}.${m}.0${z} <${+M + 1}.0.0-0`;
209816
- }
209817
- } else if (pr) {
209818
- debug("replaceCaret pr", pr);
209819
- if (M === "0") {
209820
- if (m === "0") {
209821
- ret = `>=${M}.${m}.${p}-${pr} <${M}.${m}.${+p + 1}-0`;
209822
- } else {
209823
- ret = `>=${M}.${m}.${p}-${pr} <${M}.${+m + 1}.0-0`;
209824
- }
209825
- } else {
209826
- ret = `>=${M}.${m}.${p}-${pr} <${+M + 1}.0.0-0`;
209827
- }
209828
- } else {
209829
- debug("no pr");
209830
- if (M === "0") {
209831
- if (m === "0") {
209832
- ret = `>=${M}.${m}.${p}${z} <${M}.${m}.${+p + 1}-0`;
209833
- } else {
209834
- ret = `>=${M}.${m}.${p}${z} <${M}.${+m + 1}.0-0`;
209835
- }
209836
- } else {
209837
- ret = `>=${M}.${m}.${p} <${+M + 1}.0.0-0`;
209838
- }
209839
- }
209840
- debug("caret return", ret);
209841
- return ret;
209842
- });
209843
- };
209844
- var replaceXRanges = (comp, options) => {
209845
- debug("replaceXRanges", comp, options);
209846
- return comp.split(/\s+/).map((c) => replaceXRange(c, options)).join(" ");
209847
- };
209848
- var replaceXRange = (comp, options) => {
209849
- comp = comp.trim();
209850
- const r = options.loose ? re[t.XRANGELOOSE] : re[t.XRANGE];
209851
- return comp.replace(r, (ret, gtlt, M, m, p, pr) => {
209852
- debug("xRange", comp, ret, gtlt, M, m, p, pr);
209853
- const xM = isX(M);
209854
- const xm = xM || isX(m);
209855
- const xp = xm || isX(p);
209856
- const anyX = xp;
209857
- if (gtlt === "=" && anyX) {
209858
- gtlt = "";
209859
- }
209860
- pr = options.includePrerelease ? "-0" : "";
209861
- if (xM) {
209862
- if (gtlt === ">" || gtlt === "<") {
209863
- ret = "<0.0.0-0";
209864
- } else {
209865
- ret = "*";
209866
- }
209867
- } else if (gtlt && anyX) {
209868
- if (xm) {
209869
- m = 0;
209870
- }
209871
- p = 0;
209872
- if (gtlt === ">") {
209873
- gtlt = ">=";
209874
- if (xm) {
209875
- M = +M + 1;
209876
- m = 0;
209877
- p = 0;
209878
- } else {
209879
- m = +m + 1;
209880
- p = 0;
209881
- }
209882
- } else if (gtlt === "<=") {
209883
- gtlt = "<";
209884
- if (xm) {
209885
- M = +M + 1;
209886
- } else {
209887
- m = +m + 1;
209888
- }
209889
- }
209890
- if (gtlt === "<") {
209891
- pr = "-0";
209892
- }
209893
- ret = `${gtlt + M}.${m}.${p}${pr}`;
209894
- } else if (xm) {
209895
- ret = `>=${M}.0.0${pr} <${+M + 1}.0.0-0`;
209896
- } else if (xp) {
209897
- ret = `>=${M}.${m}.0${pr} <${M}.${+m + 1}.0-0`;
209898
- }
209899
- debug("xRange return", ret);
209900
- return ret;
209901
- });
209902
- };
209903
- var replaceStars = (comp, options) => {
209904
- debug("replaceStars", comp, options);
209905
- return comp.trim().replace(re[t.STAR], "");
209906
- };
209907
- var replaceGTE0 = (comp, options) => {
209908
- debug("replaceGTE0", comp, options);
209909
- return comp.trim().replace(re[options.includePrerelease ? t.GTE0PRE : t.GTE0], "");
209910
- };
209911
- var hyphenReplace = (incPr) => ($0, from, fM, fm, fp, fpr, fb, to, tM, tm, tp, tpr, tb) => {
209912
- if (isX(fM)) {
209913
- from = "";
209914
- } else if (isX(fm)) {
209915
- from = `>=${fM}.0.0${incPr ? "-0" : ""}`;
209916
- } else if (isX(fp)) {
209917
- from = `>=${fM}.${fm}.0${incPr ? "-0" : ""}`;
209918
- } else if (fpr) {
209919
- from = `>=${from}`;
209920
- } else {
209921
- from = `>=${from}${incPr ? "-0" : ""}`;
209922
- }
209923
- if (isX(tM)) {
209924
- to = "";
209925
- } else if (isX(tm)) {
209926
- to = `<${+tM + 1}.0.0-0`;
209927
- } else if (isX(tp)) {
209928
- to = `<${tM}.${+tm + 1}.0-0`;
209929
- } else if (tpr) {
209930
- to = `<=${tM}.${tm}.${tp}-${tpr}`;
209931
- } else if (incPr) {
209932
- to = `<${tM}.${tm}.${+tp + 1}-0`;
209933
- } else {
209934
- to = `<=${to}`;
209935
- }
209936
- return `${from} ${to}`.trim();
209937
- };
209938
- var testSet = (set, version4, options) => {
209939
- for (let i = 0; i < set.length; i++) {
209940
- if (!set[i].test(version4)) {
209941
- return false;
209942
- }
209943
- }
209944
- if (version4.prerelease.length && !options.includePrerelease) {
209945
- for (let i = 0; i < set.length; i++) {
209946
- debug(set[i].semver);
209947
- if (set[i].semver === Comparator.ANY) {
209948
- continue;
209949
- }
209950
- if (set[i].semver.prerelease.length > 0) {
209951
- const allowed = set[i].semver;
209952
- if (allowed.major === version4.major && allowed.minor === version4.minor && allowed.patch === version4.patch) {
209953
- return true;
209954
- }
209955
- }
209956
- }
209957
- return false;
209958
- }
209959
- return true;
209960
- };
209961
- }
209962
- });
209963
-
209964
- // ../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/classes/comparator.js
209965
- var require_comparator3 = __commonJS({
209966
- "../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/classes/comparator.js"(exports2, module2) {
209967
- var ANY = Symbol("SemVer ANY");
209968
- var Comparator = class _Comparator {
209969
- static get ANY() {
209970
- return ANY;
209971
- }
209972
- constructor(comp, options) {
209973
- options = parseOptions(options);
209974
- if (comp instanceof _Comparator) {
209975
- if (comp.loose === !!options.loose) {
209976
- return comp;
209977
- } else {
209978
- comp = comp.value;
209979
- }
209980
- }
209981
- comp = comp.trim().split(/\s+/).join(" ");
209982
- debug("comparator", comp, options);
209983
- this.options = options;
209984
- this.loose = !!options.loose;
209985
- this.parse(comp);
209986
- if (this.semver === ANY) {
209987
- this.value = "";
209988
- } else {
209989
- this.value = this.operator + this.semver.version;
209990
- }
209991
- debug("comp", this);
209992
- }
209993
- parse(comp) {
209994
- const r = this.options.loose ? re[t.COMPARATORLOOSE] : re[t.COMPARATOR];
209995
- const m = comp.match(r);
209996
- if (!m) {
209997
- throw new TypeError(`Invalid comparator: ${comp}`);
209998
- }
209999
- this.operator = m[1] !== void 0 ? m[1] : "";
210000
- if (this.operator === "=") {
210001
- this.operator = "";
210002
- }
210003
- if (!m[2]) {
210004
- this.semver = ANY;
210005
- } else {
210006
- this.semver = new SemVer(m[2], this.options.loose);
210007
- }
210008
- }
210009
- toString() {
210010
- return this.value;
210011
- }
210012
- test(version4) {
210013
- debug("Comparator.test", version4, this.options.loose);
210014
- if (this.semver === ANY || version4 === ANY) {
210015
- return true;
210016
- }
210017
- if (typeof version4 === "string") {
210018
- try {
210019
- version4 = new SemVer(version4, this.options);
210020
- } catch (er) {
210021
- return false;
210022
- }
210023
- }
210024
- return cmp(version4, this.operator, this.semver, this.options);
210025
- }
210026
- intersects(comp, options) {
210027
- if (!(comp instanceof _Comparator)) {
210028
- throw new TypeError("a Comparator is required");
210029
- }
210030
- if (this.operator === "") {
210031
- if (this.value === "") {
210032
- return true;
210033
- }
210034
- return new Range(comp.value, options).test(this.value);
210035
- } else if (comp.operator === "") {
210036
- if (comp.value === "") {
210037
- return true;
210038
- }
210039
- return new Range(this.value, options).test(comp.semver);
210040
- }
210041
- options = parseOptions(options);
210042
- if (options.includePrerelease && (this.value === "<0.0.0-0" || comp.value === "<0.0.0-0")) {
210043
- return false;
210044
- }
210045
- if (!options.includePrerelease && (this.value.startsWith("<0.0.0") || comp.value.startsWith("<0.0.0"))) {
210046
- return false;
210047
- }
210048
- if (this.operator.startsWith(">") && comp.operator.startsWith(">")) {
210049
- return true;
210050
- }
210051
- if (this.operator.startsWith("<") && comp.operator.startsWith("<")) {
210052
- return true;
210053
- }
210054
- if (this.semver.version === comp.semver.version && this.operator.includes("=") && comp.operator.includes("=")) {
210055
- return true;
210056
- }
210057
- if (cmp(this.semver, "<", comp.semver, options) && this.operator.startsWith(">") && comp.operator.startsWith("<")) {
210058
- return true;
210059
- }
210060
- if (cmp(this.semver, ">", comp.semver, options) && this.operator.startsWith("<") && comp.operator.startsWith(">")) {
210061
- return true;
210062
- }
210063
- return false;
210064
- }
210065
- };
210066
- module2.exports = Comparator;
210067
- var parseOptions = require_parse_options3();
210068
- var { safeRe: re, t } = require_re3();
210069
- var cmp = require_cmp3();
210070
- var debug = require_debug4();
210071
- var SemVer = require_semver3();
210072
- var Range = require_range3();
210073
- }
210074
- });
210075
-
210076
- // ../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/functions/satisfies.js
210077
- var require_satisfies3 = __commonJS({
210078
- "../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/functions/satisfies.js"(exports2, module2) {
210079
- var Range = require_range3();
210080
- var satisfies = (version4, range2, options) => {
210081
- try {
210082
- range2 = new Range(range2, options);
210083
- } catch (er) {
210084
- return false;
210085
- }
210086
- return range2.test(version4);
210087
- };
210088
- module2.exports = satisfies;
210089
- }
210090
- });
210091
-
210092
- // ../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/ranges/to-comparators.js
208092
+ // ../../node_modules/semver/ranges/to-comparators.js
210093
208093
  var require_to_comparators = __commonJS({
210094
- "../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/ranges/to-comparators.js"(exports2, module2) {
210095
- var Range = require_range3();
208094
+ "../../node_modules/semver/ranges/to-comparators.js"(exports2, module2) {
208095
+ var Range = require_range();
210096
208096
  var toComparators = (range2, options) => new Range(range2, options).set.map((comp) => comp.map((c) => c.value).join(" ").trim().split(" "));
210097
208097
  module2.exports = toComparators;
210098
208098
  }
210099
208099
  });
210100
208100
 
210101
- // ../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/ranges/max-satisfying.js
208101
+ // ../../node_modules/semver/ranges/max-satisfying.js
210102
208102
  var require_max_satisfying = __commonJS({
210103
- "../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/ranges/max-satisfying.js"(exports2, module2) {
210104
- var SemVer = require_semver3();
210105
- var Range = require_range3();
208103
+ "../../node_modules/semver/ranges/max-satisfying.js"(exports2, module2) {
208104
+ var SemVer = require_semver();
208105
+ var Range = require_range();
210106
208106
  var maxSatisfying = (versions, range2, options) => {
210107
208107
  let max = null;
210108
208108
  let maxSV = null;
@@ -210126,11 +208126,11 @@ var require_max_satisfying = __commonJS({
210126
208126
  }
210127
208127
  });
210128
208128
 
210129
- // ../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/ranges/min-satisfying.js
208129
+ // ../../node_modules/semver/ranges/min-satisfying.js
210130
208130
  var require_min_satisfying = __commonJS({
210131
- "../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/ranges/min-satisfying.js"(exports2, module2) {
210132
- var SemVer = require_semver3();
210133
- var Range = require_range3();
208131
+ "../../node_modules/semver/ranges/min-satisfying.js"(exports2, module2) {
208132
+ var SemVer = require_semver();
208133
+ var Range = require_range();
210134
208134
  var minSatisfying = (versions, range2, options) => {
210135
208135
  let min = null;
210136
208136
  let minSV = null;
@@ -210154,12 +208154,12 @@ var require_min_satisfying = __commonJS({
210154
208154
  }
210155
208155
  });
210156
208156
 
210157
- // ../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/ranges/min-version.js
208157
+ // ../../node_modules/semver/ranges/min-version.js
210158
208158
  var require_min_version = __commonJS({
210159
- "../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/ranges/min-version.js"(exports2, module2) {
210160
- var SemVer = require_semver3();
210161
- var Range = require_range3();
210162
- var gt = require_gt3();
208159
+ "../../node_modules/semver/ranges/min-version.js"(exports2, module2) {
208160
+ var SemVer = require_semver();
208161
+ var Range = require_range();
208162
+ var gt = require_gt();
210163
208163
  var minVersion = (range2, loose) => {
210164
208164
  range2 = new Range(range2, loose);
210165
208165
  let minver = new SemVer("0.0.0");
@@ -210210,10 +208210,10 @@ var require_min_version = __commonJS({
210210
208210
  }
210211
208211
  });
210212
208212
 
210213
- // ../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/ranges/valid.js
208213
+ // ../../node_modules/semver/ranges/valid.js
210214
208214
  var require_valid2 = __commonJS({
210215
- "../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/ranges/valid.js"(exports2, module2) {
210216
- var Range = require_range3();
208215
+ "../../node_modules/semver/ranges/valid.js"(exports2, module2) {
208216
+ var Range = require_range();
210217
208217
  var validRange = (range2, options) => {
210218
208218
  try {
210219
208219
  return new Range(range2, options).range || "*";
@@ -210225,18 +208225,18 @@ var require_valid2 = __commonJS({
210225
208225
  }
210226
208226
  });
210227
208227
 
210228
- // ../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/ranges/outside.js
208228
+ // ../../node_modules/semver/ranges/outside.js
210229
208229
  var require_outside = __commonJS({
210230
- "../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/ranges/outside.js"(exports2, module2) {
210231
- var SemVer = require_semver3();
210232
- var Comparator = require_comparator3();
208230
+ "../../node_modules/semver/ranges/outside.js"(exports2, module2) {
208231
+ var SemVer = require_semver();
208232
+ var Comparator = require_comparator();
210233
208233
  var { ANY } = Comparator;
210234
- var Range = require_range3();
210235
- var satisfies = require_satisfies3();
210236
- var gt = require_gt3();
210237
- var lt = require_lt3();
210238
- var lte = require_lte3();
210239
- var gte = require_gte3();
208234
+ var Range = require_range();
208235
+ var satisfies = require_satisfies();
208236
+ var gt = require_gt();
208237
+ var lt = require_lt();
208238
+ var lte = require_lte();
208239
+ var gte = require_gte();
210240
208240
  var outside = (version4, range2, hilo, options) => {
210241
208241
  version4 = new SemVer(version4, options);
210242
208242
  range2 = new Range(range2, options);
@@ -210293,28 +208293,28 @@ var require_outside = __commonJS({
210293
208293
  }
210294
208294
  });
210295
208295
 
210296
- // ../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/ranges/gtr.js
208296
+ // ../../node_modules/semver/ranges/gtr.js
210297
208297
  var require_gtr = __commonJS({
210298
- "../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/ranges/gtr.js"(exports2, module2) {
208298
+ "../../node_modules/semver/ranges/gtr.js"(exports2, module2) {
210299
208299
  var outside = require_outside();
210300
208300
  var gtr = (version4, range2, options) => outside(version4, range2, ">", options);
210301
208301
  module2.exports = gtr;
210302
208302
  }
210303
208303
  });
210304
208304
 
210305
- // ../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/ranges/ltr.js
208305
+ // ../../node_modules/semver/ranges/ltr.js
210306
208306
  var require_ltr = __commonJS({
210307
- "../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/ranges/ltr.js"(exports2, module2) {
208307
+ "../../node_modules/semver/ranges/ltr.js"(exports2, module2) {
210308
208308
  var outside = require_outside();
210309
208309
  var ltr = (version4, range2, options) => outside(version4, range2, "<", options);
210310
208310
  module2.exports = ltr;
210311
208311
  }
210312
208312
  });
210313
208313
 
210314
- // ../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/ranges/intersects.js
208314
+ // ../../node_modules/semver/ranges/intersects.js
210315
208315
  var require_intersects = __commonJS({
210316
- "../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/ranges/intersects.js"(exports2, module2) {
210317
- var Range = require_range3();
208316
+ "../../node_modules/semver/ranges/intersects.js"(exports2, module2) {
208317
+ var Range = require_range();
210318
208318
  var intersects = (r1, r2, options) => {
210319
208319
  r1 = new Range(r1, options);
210320
208320
  r2 = new Range(r2, options);
@@ -210324,11 +208324,11 @@ var require_intersects = __commonJS({
210324
208324
  }
210325
208325
  });
210326
208326
 
210327
- // ../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/ranges/simplify.js
208327
+ // ../../node_modules/semver/ranges/simplify.js
210328
208328
  var require_simplify = __commonJS({
210329
- "../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/ranges/simplify.js"(exports2, module2) {
210330
- var satisfies = require_satisfies3();
210331
- var compare = require_compare3();
208329
+ "../../node_modules/semver/ranges/simplify.js"(exports2, module2) {
208330
+ var satisfies = require_satisfies();
208331
+ var compare = require_compare();
210332
208332
  module2.exports = (versions, range2, options) => {
210333
208333
  const set = [];
210334
208334
  let first = null;
@@ -210373,14 +208373,14 @@ var require_simplify = __commonJS({
210373
208373
  }
210374
208374
  });
210375
208375
 
210376
- // ../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/ranges/subset.js
208376
+ // ../../node_modules/semver/ranges/subset.js
210377
208377
  var require_subset = __commonJS({
210378
- "../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/ranges/subset.js"(exports2, module2) {
210379
- var Range = require_range3();
210380
- var Comparator = require_comparator3();
208378
+ "../../node_modules/semver/ranges/subset.js"(exports2, module2) {
208379
+ var Range = require_range();
208380
+ var Comparator = require_comparator();
210381
208381
  var { ANY } = Comparator;
210382
- var satisfies = require_satisfies3();
210383
- var compare = require_compare3();
208382
+ var satisfies = require_satisfies();
208383
+ var compare = require_compare();
210384
208384
  var subset = (sub, dom, options = {}) => {
210385
208385
  if (sub === dom) {
210386
208386
  return true;
@@ -210535,13 +208535,13 @@ var require_subset = __commonJS({
210535
208535
  }
210536
208536
  });
210537
208537
 
210538
- // ../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/index.js
210539
- var require_semver4 = __commonJS({
210540
- "../../node_modules/@ethereum-sourcify/lib-sourcify/node_modules/semver/index.js"(exports2, module2) {
210541
- var internalRe = require_re3();
210542
- var constants = require_constants12();
210543
- var SemVer = require_semver3();
210544
- var identifiers = require_identifiers3();
208538
+ // ../../node_modules/semver/index.js
208539
+ var require_semver2 = __commonJS({
208540
+ "../../node_modules/semver/index.js"(exports2, module2) {
208541
+ var internalRe = require_re();
208542
+ var constants = require_constants7();
208543
+ var SemVer = require_semver();
208544
+ var identifiers = require_identifiers();
210545
208545
  var parse2 = require_parse();
210546
208546
  var valid = require_valid();
210547
208547
  var clean = require_clean();
@@ -210551,23 +208551,23 @@ var require_semver4 = __commonJS({
210551
208551
  var minor = require_minor();
210552
208552
  var patch = require_patch();
210553
208553
  var prerelease = require_prerelease();
210554
- var compare = require_compare3();
208554
+ var compare = require_compare();
210555
208555
  var rcompare = require_rcompare();
210556
208556
  var compareLoose = require_compare_loose();
210557
208557
  var compareBuild = require_compare_build();
210558
208558
  var sort = require_sort();
210559
208559
  var rsort = require_rsort();
210560
- var gt = require_gt3();
210561
- var lt = require_lt3();
210562
- var eq2 = require_eq3();
210563
- var neq = require_neq3();
210564
- var gte = require_gte3();
210565
- var lte = require_lte3();
210566
- var cmp = require_cmp3();
208560
+ var gt = require_gt();
208561
+ var lt = require_lt();
208562
+ var eq2 = require_eq();
208563
+ var neq = require_neq();
208564
+ var gte = require_gte();
208565
+ var lte = require_lte();
208566
+ var cmp = require_cmp();
210567
208567
  var coerce = require_coerce();
210568
- var Comparator = require_comparator3();
210569
- var Range = require_range3();
210570
- var satisfies = require_satisfies3();
208568
+ var Comparator = require_comparator();
208569
+ var Range = require_range();
208570
+ var satisfies = require_satisfies();
210571
208571
  var toComparators = require_to_comparators();
210572
208572
  var maxSatisfying = require_max_satisfying();
210573
208573
  var minSatisfying = require_min_satisfying();
@@ -211639,7 +209639,7 @@ var require_translate = __commonJS({
211639
209639
  });
211640
209640
 
211641
209641
  // ../../node_modules/solc/node_modules/semver/semver.js
211642
- var require_semver5 = __commonJS({
209642
+ var require_semver3 = __commonJS({
211643
209643
  "../../node_modules/solc/node_modules/semver/semver.js"(exports2, module2) {
211644
209644
  exports2 = module2.exports = SemVer;
211645
209645
  var debug;
@@ -212750,7 +210750,7 @@ var require_core = __commonJS({
212750
210750
  exports2.setupCore = void 0;
212751
210751
  var helpers_1 = require_helpers4();
212752
210752
  var translate_1 = __importDefault2(require_translate());
212753
- var semver = __importStar2(require_semver5());
210753
+ var semver = __importStar2(require_semver3());
212754
210754
  var helpers_2 = require_helpers3();
212755
210755
  function setupCore(solJson) {
212756
210756
  const core = {
@@ -215802,7 +213802,7 @@ var require_solidityCompiler = __commonJS({
215802
213802
  var utils_1 = require_utils24();
215803
213803
  var http_status_codes_1 = require_cjs();
215804
213804
  var logger_1 = require_logger();
215805
- var semver_1 = __importDefault2(require_semver4());
213805
+ var semver_1 = __importDefault2(require_semver2());
215806
213806
  var worker_threads_1 = __require("worker_threads");
215807
213807
  var solc = require_solc();
215808
213808
  var HOST_SOLC_REPO = " https://binaries.soliditylang.org/";
@@ -217078,7 +215078,7 @@ var require_CheckedContract = __commonJS({
217078
215078
  Object.defineProperty(exports2, "__esModule", { value: true });
217079
215079
  exports2.findContractPathFromContractName = exports2.getIpfsGateway = exports2.isEmpty = exports2.getGithubUrl = exports2.performFetch = exports2.CheckedContract = void 0;
217080
215080
  var ethers_1 = require_lib228();
217081
- var semver_1 = __importDefault2(require_semver4());
215081
+ var semver_1 = __importDefault2(require_semver2());
217082
215082
  var solidityCompiler_1 = require_solidityCompiler();
217083
215083
  var utils_1 = require_utils24();
217084
215084
  var validation_1 = require_validation3();
@@ -225384,7 +223384,7 @@ var require_inflate = __commonJS({
225384
223384
  });
225385
223385
 
225386
223386
  // ../../node_modules/pako/lib/zlib/constants.js
225387
- var require_constants13 = __commonJS({
223387
+ var require_constants11 = __commonJS({
225388
223388
  "../../node_modules/pako/lib/zlib/constants.js"(exports2, module2) {
225389
223389
  "use strict";
225390
223390
  module2.exports = {
@@ -225457,7 +223457,7 @@ var require_inflate2 = __commonJS({
225457
223457
  var zlib_inflate = require_inflate();
225458
223458
  var utils = require_common4();
225459
223459
  var strings = require_strings15();
225460
- var c = require_constants13();
223460
+ var c = require_constants11();
225461
223461
  var msg = require_messages();
225462
223462
  var ZStream = require_zstream();
225463
223463
  var GZheader = require_gzheader();
@@ -225632,7 +223632,7 @@ var require_pako = __commonJS({
225632
223632
  var assign = require_common4().assign;
225633
223633
  var deflate = require_deflate2();
225634
223634
  var inflate = require_inflate2();
225635
- var constants = require_constants13();
223635
+ var constants = require_constants11();
225636
223636
  var pako = {};
225637
223637
  assign(pako, deflate, inflate, constants);
225638
223638
  module2.exports = pako;
@@ -232968,10 +230968,10 @@ var require_verification = __commonJS({
232968
230968
  var ethers_1 = require_lib228();
232969
230969
  var bytes_1 = require_lib224();
232970
230970
  var bignumber_1 = require_lib236();
232971
- var satisfies_1 = __importDefault2(require_satisfies3());
230971
+ var satisfies_1 = __importDefault2(require_satisfies());
232972
230972
  var abi_1 = require_lib245();
232973
230973
  var logger_1 = require_logger();
232974
- var semver_1 = require_semver4();
230974
+ var semver_1 = require_semver2();
232975
230975
  async function verifyDeployed(checkedContract, sourcifyChain, address, creatorTxHash, forceEmscripten = false) {
232976
230976
  var _a, _b, _c;
232977
230977
  const match = {
@@ -234408,7 +232408,7 @@ var require_compareDesc = __commonJS({
234408
232408
  });
234409
232409
 
234410
232410
  // ../../node_modules/date-fns/constants/index.js
234411
- var require_constants14 = __commonJS({
232411
+ var require_constants12 = __commonJS({
234412
232412
  "../../node_modules/date-fns/constants/index.js"(exports2) {
234413
232413
  "use strict";
234414
232414
  Object.defineProperty(exports2, "__esModule", {
@@ -234464,7 +232464,7 @@ var require_daysToWeeks = __commonJS({
234464
232464
  });
234465
232465
  exports2.default = daysToWeeks;
234466
232466
  var _index = _interopRequireDefault(require_requiredArgs());
234467
- var _index2 = require_constants14();
232467
+ var _index2 = require_constants12();
234468
232468
  function daysToWeeks(days) {
234469
232469
  (0, _index.default)(1, arguments);
234470
232470
  var weeks = days / _index2.daysInWeek;
@@ -234823,7 +232823,7 @@ var require_differenceInHours = __commonJS({
234823
232823
  value: true
234824
232824
  });
234825
232825
  exports2.default = differenceInHours;
234826
- var _index = require_constants14();
232826
+ var _index = require_constants12();
234827
232827
  var _index2 = _interopRequireDefault(require_differenceInMilliseconds());
234828
232828
  var _index3 = _interopRequireDefault(require_requiredArgs());
234829
232829
  var _index4 = require_roundingMethods();
@@ -234895,7 +232895,7 @@ var require_differenceInMinutes = __commonJS({
234895
232895
  value: true
234896
232896
  });
234897
232897
  exports2.default = differenceInMinutes;
234898
- var _index = require_constants14();
232898
+ var _index = require_constants12();
234899
232899
  var _index2 = _interopRequireDefault(require_differenceInMilliseconds());
234900
232900
  var _index3 = _interopRequireDefault(require_requiredArgs());
234901
232901
  var _index4 = require_roundingMethods();
@@ -238974,7 +236974,7 @@ var require_hoursToMilliseconds = __commonJS({
238974
236974
  });
238975
236975
  exports2.default = hoursToMilliseconds;
238976
236976
  var _index = _interopRequireDefault(require_requiredArgs());
238977
- var _index2 = require_constants14();
236977
+ var _index2 = require_constants12();
238978
236978
  function hoursToMilliseconds(hours) {
238979
236979
  (0, _index.default)(1, arguments);
238980
236980
  return Math.floor(hours * _index2.millisecondsInHour);
@@ -238993,7 +236993,7 @@ var require_hoursToMinutes = __commonJS({
238993
236993
  });
238994
236994
  exports2.default = hoursToMinutes;
238995
236995
  var _index = _interopRequireDefault(require_requiredArgs());
238996
- var _index2 = require_constants14();
236996
+ var _index2 = require_constants12();
238997
236997
  function hoursToMinutes(hours) {
238998
236998
  (0, _index.default)(1, arguments);
238999
236999
  return Math.floor(hours * _index2.minutesInHour);
@@ -239012,7 +237012,7 @@ var require_hoursToSeconds = __commonJS({
239012
237012
  });
239013
237013
  exports2.default = hoursToSeconds;
239014
237014
  var _index = _interopRequireDefault(require_requiredArgs());
239015
- var _index2 = require_constants14();
237015
+ var _index2 = require_constants12();
239016
237016
  function hoursToSeconds(hours) {
239017
237017
  (0, _index.default)(1, arguments);
239018
237018
  return Math.floor(hours * _index2.secondsInHour);
@@ -239114,7 +237114,7 @@ var require_intlFormatDistance = __commonJS({
239114
237114
  value: true
239115
237115
  });
239116
237116
  exports2.default = intlFormatDistance;
239117
- var _index = require_constants14();
237117
+ var _index = require_constants12();
239118
237118
  var _index2 = _interopRequireDefault(require_differenceInCalendarDays());
239119
237119
  var _index3 = _interopRequireDefault(require_differenceInCalendarMonths());
239120
237120
  var _index4 = _interopRequireDefault(require_differenceInCalendarQuarters());
@@ -239856,7 +237856,7 @@ var require_EraParser = __commonJS({
239856
237856
  });
239857
237857
 
239858
237858
  // ../../node_modules/date-fns/parse/_lib/constants.js
239859
- var require_constants15 = __commonJS({
237859
+ var require_constants13 = __commonJS({
239860
237860
  "../../node_modules/date-fns/parse/_lib/constants.js"(exports2) {
239861
237861
  "use strict";
239862
237862
  Object.defineProperty(exports2, "__esModule", {
@@ -239930,8 +237930,8 @@ var require_utils27 = __commonJS({
239930
237930
  exports2.parseNDigitsSigned = parseNDigitsSigned;
239931
237931
  exports2.parseNumericPattern = parseNumericPattern;
239932
237932
  exports2.parseTimezonePattern = parseTimezonePattern;
239933
- var _index = require_constants14();
239934
- var _constants = require_constants15();
237933
+ var _index = require_constants12();
237934
+ var _constants = require_constants13();
239935
237935
  function mapValue(parseFnResult, mapFn) {
239936
237936
  if (!parseFnResult) {
239937
237937
  return parseFnResult;
@@ -240498,7 +238498,7 @@ var require_MonthParser = __commonJS({
240498
238498
  var _defineProperty2 = _interopRequireDefault(require_defineProperty());
240499
238499
  var _utils = require_utils27();
240500
238500
  var _Parser2 = require_Parser();
240501
- var _constants = require_constants15();
238501
+ var _constants = require_constants13();
240502
238502
  var MonthParser = /* @__PURE__ */ function(_Parser) {
240503
238503
  (0, _inherits2.default)(MonthParser2, _Parser);
240504
238504
  var _super = (0, _createSuper2.default)(MonthParser2);
@@ -240590,7 +238590,7 @@ var require_StandAloneMonthParser = __commonJS({
240590
238590
  var _createSuper2 = _interopRequireDefault(require_createSuper());
240591
238591
  var _defineProperty2 = _interopRequireDefault(require_defineProperty());
240592
238592
  var _Parser2 = require_Parser();
240593
- var _constants = require_constants15();
238593
+ var _constants = require_constants13();
240594
238594
  var _utils = require_utils27();
240595
238595
  var StandAloneMonthParser = /* @__PURE__ */ function(_Parser) {
240596
238596
  (0, _inherits2.default)(StandAloneMonthParser2, _Parser);
@@ -240708,7 +238708,7 @@ var require_LocalWeekParser = __commonJS({
240708
238708
  var _createSuper2 = _interopRequireDefault(require_createSuper());
240709
238709
  var _defineProperty2 = _interopRequireDefault(require_defineProperty());
240710
238710
  var _Parser2 = require_Parser();
240711
- var _constants = require_constants15();
238711
+ var _constants = require_constants13();
240712
238712
  var _utils = require_utils27();
240713
238713
  var _index = _interopRequireDefault(require_setUTCWeek());
240714
238714
  var _index2 = _interopRequireDefault(require_startOfUTCWeek());
@@ -240798,7 +238798,7 @@ var require_ISOWeekParser = __commonJS({
240798
238798
  var _createSuper2 = _interopRequireDefault(require_createSuper());
240799
238799
  var _defineProperty2 = _interopRequireDefault(require_defineProperty());
240800
238800
  var _Parser2 = require_Parser();
240801
- var _constants = require_constants15();
238801
+ var _constants = require_constants13();
240802
238802
  var _utils = require_utils27();
240803
238803
  var _index = _interopRequireDefault(require_setUTCISOWeek());
240804
238804
  var _index2 = _interopRequireDefault(require_startOfUTCISOWeek());
@@ -240864,7 +238864,7 @@ var require_DateParser = __commonJS({
240864
238864
  var _defineProperty2 = _interopRequireDefault(require_defineProperty());
240865
238865
  var _utils = require_utils27();
240866
238866
  var _Parser2 = require_Parser();
240867
- var _constants = require_constants15();
238867
+ var _constants = require_constants13();
240868
238868
  var DAYS_IN_MONTH = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
240869
238869
  var DAYS_IN_MONTH_LEAP_YEAR = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
240870
238870
  var DateParser = /* @__PURE__ */ function(_Parser) {
@@ -240938,7 +238938,7 @@ var require_DayOfYearParser = __commonJS({
240938
238938
  var _createSuper2 = _interopRequireDefault(require_createSuper());
240939
238939
  var _defineProperty2 = _interopRequireDefault(require_defineProperty());
240940
238940
  var _Parser2 = require_Parser();
240941
- var _constants = require_constants15();
238941
+ var _constants = require_constants13();
240942
238942
  var _utils = require_utils27();
240943
238943
  var DayOfYearParser = /* @__PURE__ */ function(_Parser) {
240944
238944
  (0, _inherits2.default)(DayOfYearParser2, _Parser);
@@ -241727,7 +239727,7 @@ var require_Hour1to12Parser = __commonJS({
241727
239727
  var _createSuper2 = _interopRequireDefault(require_createSuper());
241728
239728
  var _defineProperty2 = _interopRequireDefault(require_defineProperty());
241729
239729
  var _Parser2 = require_Parser();
241730
- var _constants = require_constants15();
239730
+ var _constants = require_constants13();
241731
239731
  var _utils = require_utils27();
241732
239732
  var Hour1to12Parser = /* @__PURE__ */ function(_Parser) {
241733
239733
  (0, _inherits2.default)(Hour1to12Parser2, _Parser);
@@ -241798,7 +239798,7 @@ var require_Hour0to23Parser = __commonJS({
241798
239798
  var _createSuper2 = _interopRequireDefault(require_createSuper());
241799
239799
  var _defineProperty2 = _interopRequireDefault(require_defineProperty());
241800
239800
  var _Parser2 = require_Parser();
241801
- var _constants = require_constants15();
239801
+ var _constants = require_constants13();
241802
239802
  var _utils = require_utils27();
241803
239803
  var Hour0to23Parser = /* @__PURE__ */ function(_Parser) {
241804
239804
  (0, _inherits2.default)(Hour0to23Parser2, _Parser);
@@ -241862,7 +239862,7 @@ var require_Hour0To11Parser = __commonJS({
241862
239862
  var _createSuper2 = _interopRequireDefault(require_createSuper());
241863
239863
  var _defineProperty2 = _interopRequireDefault(require_defineProperty());
241864
239864
  var _Parser2 = require_Parser();
241865
- var _constants = require_constants15();
239865
+ var _constants = require_constants13();
241866
239866
  var _utils = require_utils27();
241867
239867
  var Hour0To11Parser = /* @__PURE__ */ function(_Parser) {
241868
239868
  (0, _inherits2.default)(Hour0To11Parser2, _Parser);
@@ -241931,7 +239931,7 @@ var require_Hour1To24Parser = __commonJS({
241931
239931
  var _createSuper2 = _interopRequireDefault(require_createSuper());
241932
239932
  var _defineProperty2 = _interopRequireDefault(require_defineProperty());
241933
239933
  var _Parser2 = require_Parser();
241934
- var _constants = require_constants15();
239934
+ var _constants = require_constants13();
241935
239935
  var _utils = require_utils27();
241936
239936
  var Hour1To24Parser = /* @__PURE__ */ function(_Parser) {
241937
239937
  (0, _inherits2.default)(Hour1To24Parser2, _Parser);
@@ -241996,7 +239996,7 @@ var require_MinuteParser = __commonJS({
241996
239996
  var _createSuper2 = _interopRequireDefault(require_createSuper());
241997
239997
  var _defineProperty2 = _interopRequireDefault(require_defineProperty());
241998
239998
  var _Parser2 = require_Parser();
241999
- var _constants = require_constants15();
239999
+ var _constants = require_constants13();
242000
240000
  var _utils = require_utils27();
242001
240001
  var MinuteParser = /* @__PURE__ */ function(_Parser) {
242002
240002
  (0, _inherits2.default)(MinuteParser2, _Parser);
@@ -242060,7 +240060,7 @@ var require_SecondParser = __commonJS({
242060
240060
  var _createSuper2 = _interopRequireDefault(require_createSuper());
242061
240061
  var _defineProperty2 = _interopRequireDefault(require_defineProperty());
242062
240062
  var _Parser2 = require_Parser();
242063
- var _constants = require_constants15();
240063
+ var _constants = require_constants13();
242064
240064
  var _utils = require_utils27();
242065
240065
  var SecondParser = /* @__PURE__ */ function(_Parser) {
242066
240066
  (0, _inherits2.default)(SecondParser2, _Parser);
@@ -242176,7 +240176,7 @@ var require_ISOTimezoneWithZParser = __commonJS({
242176
240176
  var _createSuper2 = _interopRequireDefault(require_createSuper());
242177
240177
  var _defineProperty2 = _interopRequireDefault(require_defineProperty());
242178
240178
  var _Parser2 = require_Parser();
242179
- var _constants = require_constants15();
240179
+ var _constants = require_constants13();
242180
240180
  var _utils = require_utils27();
242181
240181
  var ISOTimezoneWithZParser = /* @__PURE__ */ function(_Parser) {
242182
240182
  (0, _inherits2.default)(ISOTimezoneWithZParser2, _Parser);
@@ -242240,7 +240240,7 @@ var require_ISOTimezoneParser = __commonJS({
242240
240240
  var _createSuper2 = _interopRequireDefault(require_createSuper());
242241
240241
  var _defineProperty2 = _interopRequireDefault(require_defineProperty());
242242
240242
  var _Parser2 = require_Parser();
242243
- var _constants = require_constants15();
240243
+ var _constants = require_constants13();
242244
240244
  var _utils = require_utils27();
242245
240245
  var ISOTimezoneParser = /* @__PURE__ */ function(_Parser) {
242246
240246
  (0, _inherits2.default)(ISOTimezoneParser2, _Parser);
@@ -243509,7 +241509,7 @@ var require_millisecondsToHours = __commonJS({
243509
241509
  });
243510
241510
  exports2.default = millisecondsToHours;
243511
241511
  var _index = _interopRequireDefault(require_requiredArgs());
243512
- var _index2 = require_constants14();
241512
+ var _index2 = require_constants12();
243513
241513
  function millisecondsToHours(milliseconds) {
243514
241514
  (0, _index.default)(1, arguments);
243515
241515
  var hours = milliseconds / _index2.millisecondsInHour;
@@ -243529,7 +241529,7 @@ var require_millisecondsToMinutes = __commonJS({
243529
241529
  });
243530
241530
  exports2.default = millisecondsToMinutes;
243531
241531
  var _index = _interopRequireDefault(require_requiredArgs());
243532
- var _index2 = require_constants14();
241532
+ var _index2 = require_constants12();
243533
241533
  function millisecondsToMinutes(milliseconds) {
243534
241534
  (0, _index.default)(1, arguments);
243535
241535
  var minutes = milliseconds / _index2.millisecondsInMinute;
@@ -243549,7 +241549,7 @@ var require_millisecondsToSeconds = __commonJS({
243549
241549
  });
243550
241550
  exports2.default = millisecondsToSeconds;
243551
241551
  var _index = _interopRequireDefault(require_requiredArgs());
243552
- var _index2 = require_constants14();
241552
+ var _index2 = require_constants12();
243553
241553
  function millisecondsToSeconds(milliseconds) {
243554
241554
  (0, _index.default)(1, arguments);
243555
241555
  var seconds = milliseconds / _index2.millisecondsInSecond;
@@ -243569,7 +241569,7 @@ var require_minutesToHours = __commonJS({
243569
241569
  });
243570
241570
  exports2.default = minutesToHours;
243571
241571
  var _index = _interopRequireDefault(require_requiredArgs());
243572
- var _index2 = require_constants14();
241572
+ var _index2 = require_constants12();
243573
241573
  function minutesToHours(minutes) {
243574
241574
  (0, _index.default)(1, arguments);
243575
241575
  var hours = minutes / _index2.minutesInHour;
@@ -243589,7 +241589,7 @@ var require_minutesToMilliseconds = __commonJS({
243589
241589
  });
243590
241590
  exports2.default = minutesToMilliseconds;
243591
241591
  var _index = _interopRequireDefault(require_requiredArgs());
243592
- var _index2 = require_constants14();
241592
+ var _index2 = require_constants12();
243593
241593
  function minutesToMilliseconds(minutes) {
243594
241594
  (0, _index.default)(1, arguments);
243595
241595
  return Math.floor(minutes * _index2.millisecondsInMinute);
@@ -243608,7 +241608,7 @@ var require_minutesToSeconds = __commonJS({
243608
241608
  });
243609
241609
  exports2.default = minutesToSeconds;
243610
241610
  var _index = _interopRequireDefault(require_requiredArgs());
243611
- var _index2 = require_constants14();
241611
+ var _index2 = require_constants12();
243612
241612
  function minutesToSeconds(minutes) {
243613
241613
  (0, _index.default)(1, arguments);
243614
241614
  return Math.floor(minutes * _index2.secondsInMinute);
@@ -243627,7 +241627,7 @@ var require_monthsToQuarters = __commonJS({
243627
241627
  });
243628
241628
  exports2.default = monthsToQuarters;
243629
241629
  var _index = _interopRequireDefault(require_requiredArgs());
243630
- var _index2 = require_constants14();
241630
+ var _index2 = require_constants12();
243631
241631
  function monthsToQuarters(months) {
243632
241632
  (0, _index.default)(1, arguments);
243633
241633
  var quarters = months / _index2.monthsInQuarter;
@@ -243647,7 +241647,7 @@ var require_monthsToYears = __commonJS({
243647
241647
  });
243648
241648
  exports2.default = monthsToYears;
243649
241649
  var _index = _interopRequireDefault(require_requiredArgs());
243650
- var _index2 = require_constants14();
241650
+ var _index2 = require_constants12();
243651
241651
  function monthsToYears(months) {
243652
241652
  (0, _index.default)(1, arguments);
243653
241653
  var years = months / _index2.monthsInYear;
@@ -243822,7 +241822,7 @@ var require_parseISO = __commonJS({
243822
241822
  value: true
243823
241823
  });
243824
241824
  exports2.default = parseISO;
243825
- var _index = require_constants14();
241825
+ var _index = require_constants12();
243826
241826
  var _index2 = _interopRequireDefault(require_requiredArgs());
243827
241827
  var _index3 = _interopRequireDefault(require_toInteger());
243828
241828
  function parseISO(argument, options) {
@@ -244202,7 +242202,7 @@ var require_quartersToMonths = __commonJS({
244202
242202
  });
244203
242203
  exports2.default = quartersToMonths;
244204
242204
  var _index = _interopRequireDefault(require_requiredArgs());
244205
- var _index2 = require_constants14();
242205
+ var _index2 = require_constants12();
244206
242206
  function quartersToMonths(quarters) {
244207
242207
  (0, _index.default)(1, arguments);
244208
242208
  return Math.floor(quarters * _index2.monthsInQuarter);
@@ -244221,7 +242221,7 @@ var require_quartersToYears = __commonJS({
244221
242221
  });
244222
242222
  exports2.default = quartersToYears;
244223
242223
  var _index = _interopRequireDefault(require_requiredArgs());
244224
- var _index2 = require_constants14();
242224
+ var _index2 = require_constants12();
244225
242225
  function quartersToYears(quarters) {
244226
242226
  (0, _index.default)(1, arguments);
244227
242227
  var years = quarters / _index2.quartersInYear;
@@ -244275,7 +242275,7 @@ var require_secondsToHours = __commonJS({
244275
242275
  });
244276
242276
  exports2.default = secondsToHours;
244277
242277
  var _index = _interopRequireDefault(require_requiredArgs());
244278
- var _index2 = require_constants14();
242278
+ var _index2 = require_constants12();
244279
242279
  function secondsToHours(seconds) {
244280
242280
  (0, _index.default)(1, arguments);
244281
242281
  var hours = seconds / _index2.secondsInHour;
@@ -244295,7 +242295,7 @@ var require_secondsToMilliseconds = __commonJS({
244295
242295
  });
244296
242296
  exports2.default = secondsToMilliseconds;
244297
242297
  var _index = _interopRequireDefault(require_requiredArgs());
244298
- var _index2 = require_constants14();
242298
+ var _index2 = require_constants12();
244299
242299
  function secondsToMilliseconds(seconds) {
244300
242300
  (0, _index.default)(1, arguments);
244301
242301
  return seconds * _index2.millisecondsInSecond;
@@ -244314,7 +242314,7 @@ var require_secondsToMinutes = __commonJS({
244314
242314
  });
244315
242315
  exports2.default = secondsToMinutes;
244316
242316
  var _index = _interopRequireDefault(require_requiredArgs());
244317
- var _index2 = require_constants14();
242317
+ var _index2 = require_constants12();
244318
242318
  function secondsToMinutes(seconds) {
244319
242319
  (0, _index.default)(1, arguments);
244320
242320
  var minutes = seconds / _index2.secondsInMinute;
@@ -245076,7 +243076,7 @@ var require_weeksToDays = __commonJS({
245076
243076
  });
245077
243077
  exports2.default = weeksToDays;
245078
243078
  var _index = _interopRequireDefault(require_requiredArgs());
245079
- var _index2 = require_constants14();
243079
+ var _index2 = require_constants12();
245080
243080
  function weeksToDays(weeks) {
245081
243081
  (0, _index.default)(1, arguments);
245082
243082
  return Math.floor(weeks * _index2.daysInWeek);
@@ -245095,7 +243095,7 @@ var require_yearsToMonths = __commonJS({
245095
243095
  });
245096
243096
  exports2.default = yearsToMonths;
245097
243097
  var _index = _interopRequireDefault(require_requiredArgs());
245098
- var _index2 = require_constants14();
243098
+ var _index2 = require_constants12();
245099
243099
  function yearsToMonths(years) {
245100
243100
  (0, _index.default)(1, arguments);
245101
243101
  return Math.floor(years * _index2.monthsInYear);
@@ -245114,7 +243114,7 @@ var require_yearsToQuarters = __commonJS({
245114
243114
  });
245115
243115
  exports2.default = yearsToQuarters;
245116
243116
  var _index = _interopRequireDefault(require_requiredArgs());
245117
- var _index2 = require_constants14();
243117
+ var _index2 = require_constants12();
245118
243118
  function yearsToQuarters(years) {
245119
243119
  (0, _index.default)(1, arguments);
245120
243120
  return Math.floor(years * _index2.quartersInYear);
@@ -247045,7 +245045,7 @@ var require_date_fns = __commonJS({
247045
245045
  var _index237 = _interopRequireDefault(require_weeksToDays());
247046
245046
  var _index238 = _interopRequireDefault(require_yearsToMonths());
247047
245047
  var _index239 = _interopRequireDefault(require_yearsToQuarters());
247048
- var _index240 = require_constants14();
245048
+ var _index240 = require_constants12();
247049
245049
  Object.keys(_index240).forEach(function(key) {
247050
245050
  if (key === "default" || key === "__esModule")
247051
245051
  return;
@@ -325924,6 +323924,7 @@ var CreditConfiguratorV3Parser = class extends AbstractParser {
325924
323924
  parseAddress("credit facade"),
325925
323925
  this.#parseCreditManagerOpts
325926
323926
  ],
323927
+ "addCollateralToken(address,uint16)": [parseToken(), parsePercent()],
325927
323928
  "setController(address)": [parseAddress()],
325928
323929
  "allowAdapter(address)": [parseAddress()],
325929
323930
  "setFees(uint16,uint16,uint16,uint16,uint16)": [
@@ -328598,7 +326599,7 @@ function zeroLT() {
328598
326599
  }
328599
326600
 
328600
326601
  // package.json
328601
- var version3 = "3.4.1-next.8";
326602
+ var version3 = "4.1.0";
328602
326603
 
328603
326604
  // src/index.ts
328604
326605
  var program2 = new Command();