@storm-software/linting-tools 1.132.69 → 1.132.71

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 (4) hide show
  1. package/README.md +6 -6
  2. package/bin/lint.cjs +1885 -10
  3. package/bin/lint.js +2002 -9
  4. package/package.json +2 -2
package/bin/lint.cjs CHANGED
@@ -261459,11 +261459,1886 @@ var require_spawn = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
261459
261459
  }
261460
261460
  });
261461
261461
 
261462
+ // ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/constants.js
261463
+ var require_constants5 = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
261464
+ "../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/constants.js"(exports, module) {
261465
+ _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
261466
+ var SEMVER_SPEC_VERSION = "2.0.0";
261467
+ var MAX_LENGTH = 256;
261468
+ var MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || /* istanbul ignore next */
261469
+ 9007199254740991;
261470
+ var MAX_SAFE_COMPONENT_LENGTH = 16;
261471
+ var MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6;
261472
+ var RELEASE_TYPES = [
261473
+ "major",
261474
+ "premajor",
261475
+ "minor",
261476
+ "preminor",
261477
+ "patch",
261478
+ "prepatch",
261479
+ "prerelease"
261480
+ ];
261481
+ module.exports = {
261482
+ MAX_LENGTH,
261483
+ MAX_SAFE_COMPONENT_LENGTH,
261484
+ MAX_SAFE_BUILD_LENGTH,
261485
+ MAX_SAFE_INTEGER,
261486
+ RELEASE_TYPES,
261487
+ SEMVER_SPEC_VERSION,
261488
+ FLAG_INCLUDE_PRERELEASE: 1,
261489
+ FLAG_LOOSE: 2
261490
+ };
261491
+ }
261492
+ });
261493
+
261494
+ // ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/debug.js
261495
+ var require_debug2 = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
261496
+ "../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/debug.js"(exports, module) {
261497
+ _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
261498
+ var debug14 = typeof process === "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...args) => console.error("SEMVER", ...args) : () => {
261499
+ };
261500
+ module.exports = debug14;
261501
+ }
261502
+ });
261503
+
261504
+ // ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/re.js
261505
+ var require_re = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
261506
+ "../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/re.js"(exports, module) {
261507
+ _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
261508
+ var {
261509
+ MAX_SAFE_COMPONENT_LENGTH,
261510
+ MAX_SAFE_BUILD_LENGTH,
261511
+ MAX_LENGTH
261512
+ } = require_constants5();
261513
+ var debug14 = require_debug2();
261514
+ exports = module.exports = {};
261515
+ var re = exports.re = [];
261516
+ var safeRe = exports.safeRe = [];
261517
+ var src = exports.src = [];
261518
+ var t = exports.t = {};
261519
+ var R = 0;
261520
+ var LETTERDASHNUMBER = "[a-zA-Z0-9-]";
261521
+ var safeRegexReplacements = [
261522
+ ["\\s", 1],
261523
+ ["\\d", MAX_LENGTH],
261524
+ [LETTERDASHNUMBER, MAX_SAFE_BUILD_LENGTH]
261525
+ ];
261526
+ var makeSafeRegex = (value) => {
261527
+ for (const [token, max4] of safeRegexReplacements) {
261528
+ value = value.split(`${token}*`).join(`${token}{0,${max4}}`).split(`${token}+`).join(`${token}{1,${max4}}`);
261529
+ }
261530
+ return value;
261531
+ };
261532
+ var createToken = (name2, value, isGlobal) => {
261533
+ const safe = makeSafeRegex(value);
261534
+ const index2 = R++;
261535
+ debug14(name2, index2, value);
261536
+ t[name2] = index2;
261537
+ src[index2] = value;
261538
+ re[index2] = new RegExp(value, isGlobal ? "g" : void 0);
261539
+ safeRe[index2] = new RegExp(safe, isGlobal ? "g" : void 0);
261540
+ };
261541
+ createToken("NUMERICIDENTIFIER", "0|[1-9]\\d*");
261542
+ createToken("NUMERICIDENTIFIERLOOSE", "\\d+");
261543
+ createToken("NONNUMERICIDENTIFIER", `\\d*[a-zA-Z-]${LETTERDASHNUMBER}*`);
261544
+ createToken("MAINVERSION", `(${src[t.NUMERICIDENTIFIER]})\\.(${src[t.NUMERICIDENTIFIER]})\\.(${src[t.NUMERICIDENTIFIER]})`);
261545
+ createToken("MAINVERSIONLOOSE", `(${src[t.NUMERICIDENTIFIERLOOSE]})\\.(${src[t.NUMERICIDENTIFIERLOOSE]})\\.(${src[t.NUMERICIDENTIFIERLOOSE]})`);
261546
+ createToken("PRERELEASEIDENTIFIER", `(?:${src[t.NUMERICIDENTIFIER]}|${src[t.NONNUMERICIDENTIFIER]})`);
261547
+ createToken("PRERELEASEIDENTIFIERLOOSE", `(?:${src[t.NUMERICIDENTIFIERLOOSE]}|${src[t.NONNUMERICIDENTIFIER]})`);
261548
+ createToken("PRERELEASE", `(?:-(${src[t.PRERELEASEIDENTIFIER]}(?:\\.${src[t.PRERELEASEIDENTIFIER]})*))`);
261549
+ createToken("PRERELEASELOOSE", `(?:-?(${src[t.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${src[t.PRERELEASEIDENTIFIERLOOSE]})*))`);
261550
+ createToken("BUILDIDENTIFIER", `${LETTERDASHNUMBER}+`);
261551
+ createToken("BUILD", `(?:\\+(${src[t.BUILDIDENTIFIER]}(?:\\.${src[t.BUILDIDENTIFIER]})*))`);
261552
+ createToken("FULLPLAIN", `v?${src[t.MAINVERSION]}${src[t.PRERELEASE]}?${src[t.BUILD]}?`);
261553
+ createToken("FULL", `^${src[t.FULLPLAIN]}$`);
261554
+ createToken("LOOSEPLAIN", `[v=\\s]*${src[t.MAINVERSIONLOOSE]}${src[t.PRERELEASELOOSE]}?${src[t.BUILD]}?`);
261555
+ createToken("LOOSE", `^${src[t.LOOSEPLAIN]}$`);
261556
+ createToken("GTLT", "((?:<|>)?=?)");
261557
+ createToken("XRANGEIDENTIFIERLOOSE", `${src[t.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);
261558
+ createToken("XRANGEIDENTIFIER", `${src[t.NUMERICIDENTIFIER]}|x|X|\\*`);
261559
+ createToken("XRANGEPLAIN", `[v=\\s]*(${src[t.XRANGEIDENTIFIER]})(?:\\.(${src[t.XRANGEIDENTIFIER]})(?:\\.(${src[t.XRANGEIDENTIFIER]})(?:${src[t.PRERELEASE]})?${src[t.BUILD]}?)?)?`);
261560
+ createToken("XRANGEPLAINLOOSE", `[v=\\s]*(${src[t.XRANGEIDENTIFIERLOOSE]})(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})(?:${src[t.PRERELEASELOOSE]})?${src[t.BUILD]}?)?)?`);
261561
+ createToken("XRANGE", `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAIN]}$`);
261562
+ createToken("XRANGELOOSE", `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAINLOOSE]}$`);
261563
+ createToken("COERCEPLAIN", `${"(^|[^\\d])(\\d{1,"}${MAX_SAFE_COMPONENT_LENGTH}})(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?`);
261564
+ createToken("COERCE", `${src[t.COERCEPLAIN]}(?:$|[^\\d])`);
261565
+ createToken("COERCEFULL", src[t.COERCEPLAIN] + `(?:${src[t.PRERELEASE]})?(?:${src[t.BUILD]})?(?:$|[^\\d])`);
261566
+ createToken("COERCERTL", src[t.COERCE], true);
261567
+ createToken("COERCERTLFULL", src[t.COERCEFULL], true);
261568
+ createToken("LONETILDE", "(?:~>?)");
261569
+ createToken("TILDETRIM", `(\\s*)${src[t.LONETILDE]}\\s+`, true);
261570
+ exports.tildeTrimReplace = "$1~";
261571
+ createToken("TILDE", `^${src[t.LONETILDE]}${src[t.XRANGEPLAIN]}$`);
261572
+ createToken("TILDELOOSE", `^${src[t.LONETILDE]}${src[t.XRANGEPLAINLOOSE]}$`);
261573
+ createToken("LONECARET", "(?:\\^)");
261574
+ createToken("CARETTRIM", `(\\s*)${src[t.LONECARET]}\\s+`, true);
261575
+ exports.caretTrimReplace = "$1^";
261576
+ createToken("CARET", `^${src[t.LONECARET]}${src[t.XRANGEPLAIN]}$`);
261577
+ createToken("CARETLOOSE", `^${src[t.LONECARET]}${src[t.XRANGEPLAINLOOSE]}$`);
261578
+ createToken("COMPARATORLOOSE", `^${src[t.GTLT]}\\s*(${src[t.LOOSEPLAIN]})$|^$`);
261579
+ createToken("COMPARATOR", `^${src[t.GTLT]}\\s*(${src[t.FULLPLAIN]})$|^$`);
261580
+ createToken("COMPARATORTRIM", `(\\s*)${src[t.GTLT]}\\s*(${src[t.LOOSEPLAIN]}|${src[t.XRANGEPLAIN]})`, true);
261581
+ exports.comparatorTrimReplace = "$1$2$3";
261582
+ createToken("HYPHENRANGE", `^\\s*(${src[t.XRANGEPLAIN]})\\s+-\\s+(${src[t.XRANGEPLAIN]})\\s*$`);
261583
+ createToken("HYPHENRANGELOOSE", `^\\s*(${src[t.XRANGEPLAINLOOSE]})\\s+-\\s+(${src[t.XRANGEPLAINLOOSE]})\\s*$`);
261584
+ createToken("STAR", "(<|>)?=?\\s*\\*");
261585
+ createToken("GTE0", "^\\s*>=\\s*0\\.0\\.0\\s*$");
261586
+ createToken("GTE0PRE", "^\\s*>=\\s*0\\.0\\.0-0\\s*$");
261587
+ }
261588
+ });
261589
+
261590
+ // ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/parse-options.js
261591
+ var require_parse_options = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
261592
+ "../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/parse-options.js"(exports, module) {
261593
+ _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
261594
+ var looseOption = Object.freeze({ loose: true });
261595
+ var emptyOpts = Object.freeze({});
261596
+ var parseOptions = (options) => {
261597
+ if (!options) {
261598
+ return emptyOpts;
261599
+ }
261600
+ if (typeof options !== "object") {
261601
+ return looseOption;
261602
+ }
261603
+ return options;
261604
+ };
261605
+ module.exports = parseOptions;
261606
+ }
261607
+ });
261608
+
261609
+ // ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/identifiers.js
261610
+ var require_identifiers = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
261611
+ "../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/identifiers.js"(exports, module) {
261612
+ _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
261613
+ var numeric2 = /^[0-9]+$/;
261614
+ var compareIdentifiers = (a, b) => {
261615
+ const anum = numeric2.test(a);
261616
+ const bnum = numeric2.test(b);
261617
+ if (anum && bnum) {
261618
+ a = +a;
261619
+ b = +b;
261620
+ }
261621
+ return a === b ? 0 : anum && !bnum ? -1 : bnum && !anum ? 1 : a < b ? -1 : 1;
261622
+ };
261623
+ var rcompareIdentifiers = (a, b) => compareIdentifiers(b, a);
261624
+ module.exports = {
261625
+ compareIdentifiers,
261626
+ rcompareIdentifiers
261627
+ };
261628
+ }
261629
+ });
261630
+
261631
+ // ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/semver.js
261632
+ var require_semver2 = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
261633
+ "../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/semver.js"(exports, module) {
261634
+ _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
261635
+ var debug14 = require_debug2();
261636
+ var { MAX_LENGTH, MAX_SAFE_INTEGER } = require_constants5();
261637
+ var { safeRe: re, t } = require_re();
261638
+ var parseOptions = require_parse_options();
261639
+ var { compareIdentifiers } = require_identifiers();
261640
+ var SemVer = class _SemVer {
261641
+ constructor(version5, options) {
261642
+ options = parseOptions(options);
261643
+ if (version5 instanceof _SemVer) {
261644
+ if (version5.loose === !!options.loose && version5.includePrerelease === !!options.includePrerelease) {
261645
+ return version5;
261646
+ } else {
261647
+ version5 = version5.version;
261648
+ }
261649
+ } else if (typeof version5 !== "string") {
261650
+ throw new TypeError(`Invalid version. Must be a string. Got type "${typeof version5}".`);
261651
+ }
261652
+ if (version5.length > MAX_LENGTH) {
261653
+ throw new TypeError(
261654
+ `version is longer than ${MAX_LENGTH} characters`
261655
+ );
261656
+ }
261657
+ debug14("SemVer", version5, options);
261658
+ this.options = options;
261659
+ this.loose = !!options.loose;
261660
+ this.includePrerelease = !!options.includePrerelease;
261661
+ const m = version5.trim().match(options.loose ? re[t.LOOSE] : re[t.FULL]);
261662
+ if (!m) {
261663
+ throw new TypeError(`Invalid Version: ${version5}`);
261664
+ }
261665
+ this.raw = version5;
261666
+ this.major = +m[1];
261667
+ this.minor = +m[2];
261668
+ this.patch = +m[3];
261669
+ if (this.major > MAX_SAFE_INTEGER || this.major < 0) {
261670
+ throw new TypeError("Invalid major version");
261671
+ }
261672
+ if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) {
261673
+ throw new TypeError("Invalid minor version");
261674
+ }
261675
+ if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) {
261676
+ throw new TypeError("Invalid patch version");
261677
+ }
261678
+ if (!m[4]) {
261679
+ this.prerelease = [];
261680
+ } else {
261681
+ this.prerelease = m[4].split(".").map((id) => {
261682
+ if (/^[0-9]+$/.test(id)) {
261683
+ const num = +id;
261684
+ if (num >= 0 && num < MAX_SAFE_INTEGER) {
261685
+ return num;
261686
+ }
261687
+ }
261688
+ return id;
261689
+ });
261690
+ }
261691
+ this.build = m[5] ? m[5].split(".") : [];
261692
+ this.format();
261693
+ }
261694
+ format() {
261695
+ this.version = `${this.major}.${this.minor}.${this.patch}`;
261696
+ if (this.prerelease.length) {
261697
+ this.version += `-${this.prerelease.join(".")}`;
261698
+ }
261699
+ return this.version;
261700
+ }
261701
+ toString() {
261702
+ return this.version;
261703
+ }
261704
+ compare(other) {
261705
+ debug14("SemVer.compare", this.version, this.options, other);
261706
+ if (!(other instanceof _SemVer)) {
261707
+ if (typeof other === "string" && other === this.version) {
261708
+ return 0;
261709
+ }
261710
+ other = new _SemVer(other, this.options);
261711
+ }
261712
+ if (other.version === this.version) {
261713
+ return 0;
261714
+ }
261715
+ return this.compareMain(other) || this.comparePre(other);
261716
+ }
261717
+ compareMain(other) {
261718
+ if (!(other instanceof _SemVer)) {
261719
+ other = new _SemVer(other, this.options);
261720
+ }
261721
+ return compareIdentifiers(this.major, other.major) || compareIdentifiers(this.minor, other.minor) || compareIdentifiers(this.patch, other.patch);
261722
+ }
261723
+ comparePre(other) {
261724
+ if (!(other instanceof _SemVer)) {
261725
+ other = new _SemVer(other, this.options);
261726
+ }
261727
+ if (this.prerelease.length && !other.prerelease.length) {
261728
+ return -1;
261729
+ } else if (!this.prerelease.length && other.prerelease.length) {
261730
+ return 1;
261731
+ } else if (!this.prerelease.length && !other.prerelease.length) {
261732
+ return 0;
261733
+ }
261734
+ let i = 0;
261735
+ do {
261736
+ const a = this.prerelease[i];
261737
+ const b = other.prerelease[i];
261738
+ debug14("prerelease compare", i, a, b);
261739
+ if (a === void 0 && b === void 0) {
261740
+ return 0;
261741
+ } else if (b === void 0) {
261742
+ return 1;
261743
+ } else if (a === void 0) {
261744
+ return -1;
261745
+ } else if (a === b) {
261746
+ continue;
261747
+ } else {
261748
+ return compareIdentifiers(a, b);
261749
+ }
261750
+ } while (++i);
261751
+ }
261752
+ compareBuild(other) {
261753
+ if (!(other instanceof _SemVer)) {
261754
+ other = new _SemVer(other, this.options);
261755
+ }
261756
+ let i = 0;
261757
+ do {
261758
+ const a = this.build[i];
261759
+ const b = other.build[i];
261760
+ debug14("build compare", i, a, b);
261761
+ if (a === void 0 && b === void 0) {
261762
+ return 0;
261763
+ } else if (b === void 0) {
261764
+ return 1;
261765
+ } else if (a === void 0) {
261766
+ return -1;
261767
+ } else if (a === b) {
261768
+ continue;
261769
+ } else {
261770
+ return compareIdentifiers(a, b);
261771
+ }
261772
+ } while (++i);
261773
+ }
261774
+ // preminor will bump the version up to the next minor release, and immediately
261775
+ // down to pre-release. premajor and prepatch work the same way.
261776
+ inc(release, identifier, identifierBase) {
261777
+ switch (release) {
261778
+ case "premajor":
261779
+ this.prerelease.length = 0;
261780
+ this.patch = 0;
261781
+ this.minor = 0;
261782
+ this.major++;
261783
+ this.inc("pre", identifier, identifierBase);
261784
+ break;
261785
+ case "preminor":
261786
+ this.prerelease.length = 0;
261787
+ this.patch = 0;
261788
+ this.minor++;
261789
+ this.inc("pre", identifier, identifierBase);
261790
+ break;
261791
+ case "prepatch":
261792
+ this.prerelease.length = 0;
261793
+ this.inc("patch", identifier, identifierBase);
261794
+ this.inc("pre", identifier, identifierBase);
261795
+ break;
261796
+ // If the input is a non-prerelease version, this acts the same as
261797
+ // prepatch.
261798
+ case "prerelease":
261799
+ if (this.prerelease.length === 0) {
261800
+ this.inc("patch", identifier, identifierBase);
261801
+ }
261802
+ this.inc("pre", identifier, identifierBase);
261803
+ break;
261804
+ case "major":
261805
+ if (this.minor !== 0 || this.patch !== 0 || this.prerelease.length === 0) {
261806
+ this.major++;
261807
+ }
261808
+ this.minor = 0;
261809
+ this.patch = 0;
261810
+ this.prerelease = [];
261811
+ break;
261812
+ case "minor":
261813
+ if (this.patch !== 0 || this.prerelease.length === 0) {
261814
+ this.minor++;
261815
+ }
261816
+ this.patch = 0;
261817
+ this.prerelease = [];
261818
+ break;
261819
+ case "patch":
261820
+ if (this.prerelease.length === 0) {
261821
+ this.patch++;
261822
+ }
261823
+ this.prerelease = [];
261824
+ break;
261825
+ // This probably shouldn't be used publicly.
261826
+ // 1.0.0 'pre' would become 1.0.0-0 which is the wrong direction.
261827
+ case "pre": {
261828
+ const base2 = Number(identifierBase) ? 1 : 0;
261829
+ if (!identifier && identifierBase === false) {
261830
+ throw new Error("invalid increment argument: identifier is empty");
261831
+ }
261832
+ if (this.prerelease.length === 0) {
261833
+ this.prerelease = [base2];
261834
+ } else {
261835
+ let i = this.prerelease.length;
261836
+ while (--i >= 0) {
261837
+ if (typeof this.prerelease[i] === "number") {
261838
+ this.prerelease[i]++;
261839
+ i = -2;
261840
+ }
261841
+ }
261842
+ if (i === -1) {
261843
+ if (identifier === this.prerelease.join(".") && identifierBase === false) {
261844
+ throw new Error("invalid increment argument: identifier already exists");
261845
+ }
261846
+ this.prerelease.push(base2);
261847
+ }
261848
+ }
261849
+ if (identifier) {
261850
+ let prerelease = [identifier, base2];
261851
+ if (identifierBase === false) {
261852
+ prerelease = [identifier];
261853
+ }
261854
+ if (compareIdentifiers(this.prerelease[0], identifier) === 0) {
261855
+ if (isNaN(this.prerelease[1])) {
261856
+ this.prerelease = prerelease;
261857
+ }
261858
+ } else {
261859
+ this.prerelease = prerelease;
261860
+ }
261861
+ }
261862
+ break;
261863
+ }
261864
+ default:
261865
+ throw new Error(`invalid increment argument: ${release}`);
261866
+ }
261867
+ this.raw = this.format();
261868
+ if (this.build.length) {
261869
+ this.raw += `+${this.build.join(".")}`;
261870
+ }
261871
+ return this;
261872
+ }
261873
+ };
261874
+ module.exports = SemVer;
261875
+ }
261876
+ });
261877
+
261878
+ // ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/parse.js
261879
+ var require_parse5 = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
261880
+ "../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/parse.js"(exports, module) {
261881
+ _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
261882
+ var SemVer = require_semver2();
261883
+ var parse8 = (version5, options, throwErrors = false) => {
261884
+ if (version5 instanceof SemVer) {
261885
+ return version5;
261886
+ }
261887
+ try {
261888
+ return new SemVer(version5, options);
261889
+ } catch (er) {
261890
+ if (!throwErrors) {
261891
+ return null;
261892
+ }
261893
+ throw er;
261894
+ }
261895
+ };
261896
+ module.exports = parse8;
261897
+ }
261898
+ });
261899
+
261900
+ // ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/valid.js
261901
+ var require_valid2 = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
261902
+ "../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/valid.js"(exports, module) {
261903
+ _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
261904
+ var parse8 = require_parse5();
261905
+ var valid = (version5, options) => {
261906
+ const v = parse8(version5, options);
261907
+ return v ? v.version : null;
261908
+ };
261909
+ module.exports = valid;
261910
+ }
261911
+ });
261912
+
261913
+ // ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/clean.js
261914
+ var require_clean2 = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
261915
+ "../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/clean.js"(exports, module) {
261916
+ _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
261917
+ var parse8 = require_parse5();
261918
+ var clean6 = (version5, options) => {
261919
+ const s = parse8(version5.trim().replace(/^[=v]+/, ""), options);
261920
+ return s ? s.version : null;
261921
+ };
261922
+ module.exports = clean6;
261923
+ }
261924
+ });
261925
+
261926
+ // ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/inc.js
261927
+ var require_inc = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
261928
+ "../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/inc.js"(exports, module) {
261929
+ _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
261930
+ var SemVer = require_semver2();
261931
+ var inc = (version5, release, options, identifier, identifierBase) => {
261932
+ if (typeof options === "string") {
261933
+ identifierBase = identifier;
261934
+ identifier = options;
261935
+ options = void 0;
261936
+ }
261937
+ try {
261938
+ return new SemVer(
261939
+ version5 instanceof SemVer ? version5.version : version5,
261940
+ options
261941
+ ).inc(release, identifier, identifierBase).version;
261942
+ } catch (er) {
261943
+ return null;
261944
+ }
261945
+ };
261946
+ module.exports = inc;
261947
+ }
261948
+ });
261949
+
261950
+ // ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/diff.js
261951
+ var require_diff = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
261952
+ "../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/diff.js"(exports, module) {
261953
+ _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
261954
+ var parse8 = require_parse5();
261955
+ var diff = (version1, version22) => {
261956
+ const v1 = parse8(version1, null, true);
261957
+ const v2 = parse8(version22, null, true);
261958
+ const comparison = v1.compare(v2);
261959
+ if (comparison === 0) {
261960
+ return null;
261961
+ }
261962
+ const v1Higher = comparison > 0;
261963
+ const highVersion = v1Higher ? v1 : v2;
261964
+ const lowVersion = v1Higher ? v2 : v1;
261965
+ const highHasPre = !!highVersion.prerelease.length;
261966
+ const lowHasPre = !!lowVersion.prerelease.length;
261967
+ if (lowHasPre && !highHasPre) {
261968
+ if (!lowVersion.patch && !lowVersion.minor) {
261969
+ return "major";
261970
+ }
261971
+ if (highVersion.patch) {
261972
+ return "patch";
261973
+ }
261974
+ if (highVersion.minor) {
261975
+ return "minor";
261976
+ }
261977
+ return "major";
261978
+ }
261979
+ const prefix = highHasPre ? "pre" : "";
261980
+ if (v1.major !== v2.major) {
261981
+ return prefix + "major";
261982
+ }
261983
+ if (v1.minor !== v2.minor) {
261984
+ return prefix + "minor";
261985
+ }
261986
+ if (v1.patch !== v2.patch) {
261987
+ return prefix + "patch";
261988
+ }
261989
+ return "prerelease";
261990
+ };
261991
+ module.exports = diff;
261992
+ }
261993
+ });
261994
+
261995
+ // ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/major.js
261996
+ var require_major = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
261997
+ "../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/major.js"(exports, module) {
261998
+ _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
261999
+ var SemVer = require_semver2();
262000
+ var major = (a, loose) => new SemVer(a, loose).major;
262001
+ module.exports = major;
262002
+ }
262003
+ });
262004
+
262005
+ // ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/minor.js
262006
+ var require_minor = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
262007
+ "../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/minor.js"(exports, module) {
262008
+ _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
262009
+ var SemVer = require_semver2();
262010
+ var minor = (a, loose) => new SemVer(a, loose).minor;
262011
+ module.exports = minor;
262012
+ }
262013
+ });
262014
+
262015
+ // ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/patch.js
262016
+ var require_patch = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
262017
+ "../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/patch.js"(exports, module) {
262018
+ _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
262019
+ var SemVer = require_semver2();
262020
+ var patch2 = (a, loose) => new SemVer(a, loose).patch;
262021
+ module.exports = patch2;
262022
+ }
262023
+ });
262024
+
262025
+ // ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/prerelease.js
262026
+ var require_prerelease = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
262027
+ "../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/prerelease.js"(exports, module) {
262028
+ _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
262029
+ var parse8 = require_parse5();
262030
+ var prerelease = (version5, options) => {
262031
+ const parsed = parse8(version5, options);
262032
+ return parsed && parsed.prerelease.length ? parsed.prerelease : null;
262033
+ };
262034
+ module.exports = prerelease;
262035
+ }
262036
+ });
262037
+
262038
+ // ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/compare.js
262039
+ var require_compare = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
262040
+ "../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/compare.js"(exports, module) {
262041
+ _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
262042
+ var SemVer = require_semver2();
262043
+ var compare6 = (a, b, loose) => new SemVer(a, loose).compare(new SemVer(b, loose));
262044
+ module.exports = compare6;
262045
+ }
262046
+ });
262047
+
262048
+ // ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/rcompare.js
262049
+ var require_rcompare = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
262050
+ "../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/rcompare.js"(exports, module) {
262051
+ _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
262052
+ var compare6 = require_compare();
262053
+ var rcompare2 = (a, b, loose) => compare6(b, a, loose);
262054
+ module.exports = rcompare2;
262055
+ }
262056
+ });
262057
+
262058
+ // ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/compare-loose.js
262059
+ var require_compare_loose = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
262060
+ "../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/compare-loose.js"(exports, module) {
262061
+ _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
262062
+ var compare6 = require_compare();
262063
+ var compareLoose = (a, b) => compare6(a, b, true);
262064
+ module.exports = compareLoose;
262065
+ }
262066
+ });
262067
+
262068
+ // ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/compare-build.js
262069
+ var require_compare_build = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
262070
+ "../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/compare-build.js"(exports, module) {
262071
+ _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
262072
+ var SemVer = require_semver2();
262073
+ var compareBuild = (a, b, loose) => {
262074
+ const versionA = new SemVer(a, loose);
262075
+ const versionB = new SemVer(b, loose);
262076
+ return versionA.compare(versionB) || versionA.compareBuild(versionB);
262077
+ };
262078
+ module.exports = compareBuild;
262079
+ }
262080
+ });
262081
+
262082
+ // ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/sort.js
262083
+ var require_sort = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
262084
+ "../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/sort.js"(exports, module) {
262085
+ _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
262086
+ var compareBuild = require_compare_build();
262087
+ var sort = (list, loose) => list.sort((a, b) => compareBuild(a, b, loose));
262088
+ module.exports = sort;
262089
+ }
262090
+ });
262091
+
262092
+ // ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/rsort.js
262093
+ var require_rsort = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
262094
+ "../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/rsort.js"(exports, module) {
262095
+ _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
262096
+ var compareBuild = require_compare_build();
262097
+ var rsort = (list, loose) => list.sort((a, b) => compareBuild(b, a, loose));
262098
+ module.exports = rsort;
262099
+ }
262100
+ });
262101
+
262102
+ // ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/gt.js
262103
+ var require_gt = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
262104
+ "../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/gt.js"(exports, module) {
262105
+ _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
262106
+ var compare6 = require_compare();
262107
+ var gt = (a, b, loose) => compare6(a, b, loose) > 0;
262108
+ module.exports = gt;
262109
+ }
262110
+ });
262111
+
262112
+ // ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/lt.js
262113
+ var require_lt = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
262114
+ "../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/lt.js"(exports, module) {
262115
+ _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
262116
+ var compare6 = require_compare();
262117
+ var lt = (a, b, loose) => compare6(a, b, loose) < 0;
262118
+ module.exports = lt;
262119
+ }
262120
+ });
262121
+
262122
+ // ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/eq.js
262123
+ var require_eq = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
262124
+ "../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/eq.js"(exports, module) {
262125
+ _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
262126
+ var compare6 = require_compare();
262127
+ var eq2 = (a, b, loose) => compare6(a, b, loose) === 0;
262128
+ module.exports = eq2;
262129
+ }
262130
+ });
262131
+
262132
+ // ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/neq.js
262133
+ var require_neq = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
262134
+ "../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/neq.js"(exports, module) {
262135
+ _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
262136
+ var compare6 = require_compare();
262137
+ var neq = (a, b, loose) => compare6(a, b, loose) !== 0;
262138
+ module.exports = neq;
262139
+ }
262140
+ });
262141
+
262142
+ // ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/gte.js
262143
+ var require_gte = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
262144
+ "../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/gte.js"(exports, module) {
262145
+ _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
262146
+ var compare6 = require_compare();
262147
+ var gte2 = (a, b, loose) => compare6(a, b, loose) >= 0;
262148
+ module.exports = gte2;
262149
+ }
262150
+ });
262151
+
262152
+ // ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/lte.js
262153
+ var require_lte = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
262154
+ "../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/lte.js"(exports, module) {
262155
+ _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
262156
+ var compare6 = require_compare();
262157
+ var lte2 = (a, b, loose) => compare6(a, b, loose) <= 0;
262158
+ module.exports = lte2;
262159
+ }
262160
+ });
262161
+
262162
+ // ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/cmp.js
262163
+ var require_cmp = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
262164
+ "../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/cmp.js"(exports, module) {
262165
+ _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
262166
+ var eq2 = require_eq();
262167
+ var neq = require_neq();
262168
+ var gt = require_gt();
262169
+ var gte2 = require_gte();
262170
+ var lt = require_lt();
262171
+ var lte2 = require_lte();
262172
+ var cmp = (a, op, b, loose) => {
262173
+ switch (op) {
262174
+ case "===":
262175
+ if (typeof a === "object") {
262176
+ a = a.version;
262177
+ }
262178
+ if (typeof b === "object") {
262179
+ b = b.version;
262180
+ }
262181
+ return a === b;
262182
+ case "!==":
262183
+ if (typeof a === "object") {
262184
+ a = a.version;
262185
+ }
262186
+ if (typeof b === "object") {
262187
+ b = b.version;
262188
+ }
262189
+ return a !== b;
262190
+ case "":
262191
+ case "=":
262192
+ case "==":
262193
+ return eq2(a, b, loose);
262194
+ case "!=":
262195
+ return neq(a, b, loose);
262196
+ case ">":
262197
+ return gt(a, b, loose);
262198
+ case ">=":
262199
+ return gte2(a, b, loose);
262200
+ case "<":
262201
+ return lt(a, b, loose);
262202
+ case "<=":
262203
+ return lte2(a, b, loose);
262204
+ default:
262205
+ throw new TypeError(`Invalid operator: ${op}`);
262206
+ }
262207
+ };
262208
+ module.exports = cmp;
262209
+ }
262210
+ });
262211
+
262212
+ // ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/coerce.js
262213
+ var require_coerce = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
262214
+ "../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/coerce.js"(exports, module) {
262215
+ _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
262216
+ var SemVer = require_semver2();
262217
+ var parse8 = require_parse5();
262218
+ var { safeRe: re, t } = require_re();
262219
+ var coerce = (version5, options) => {
262220
+ if (version5 instanceof SemVer) {
262221
+ return version5;
262222
+ }
262223
+ if (typeof version5 === "number") {
262224
+ version5 = String(version5);
262225
+ }
262226
+ if (typeof version5 !== "string") {
262227
+ return null;
262228
+ }
262229
+ options = options || {};
262230
+ let match4 = null;
262231
+ if (!options.rtl) {
262232
+ match4 = version5.match(options.includePrerelease ? re[t.COERCEFULL] : re[t.COERCE]);
262233
+ } else {
262234
+ const coerceRtlRegex = options.includePrerelease ? re[t.COERCERTLFULL] : re[t.COERCERTL];
262235
+ let next;
262236
+ while ((next = coerceRtlRegex.exec(version5)) && (!match4 || match4.index + match4[0].length !== version5.length)) {
262237
+ if (!match4 || next.index + next[0].length !== match4.index + match4[0].length) {
262238
+ match4 = next;
262239
+ }
262240
+ coerceRtlRegex.lastIndex = next.index + next[1].length + next[2].length;
262241
+ }
262242
+ coerceRtlRegex.lastIndex = -1;
262243
+ }
262244
+ if (match4 === null) {
262245
+ return null;
262246
+ }
262247
+ const major = match4[2];
262248
+ const minor = match4[3] || "0";
262249
+ const patch2 = match4[4] || "0";
262250
+ const prerelease = options.includePrerelease && match4[5] ? `-${match4[5]}` : "";
262251
+ const build2 = options.includePrerelease && match4[6] ? `+${match4[6]}` : "";
262252
+ return parse8(`${major}.${minor}.${patch2}${prerelease}${build2}`, options);
262253
+ };
262254
+ module.exports = coerce;
262255
+ }
262256
+ });
262257
+
262258
+ // ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/lrucache.js
262259
+ var require_lrucache = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
262260
+ "../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/lrucache.js"(exports, module) {
262261
+ _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
262262
+ var LRUCache3 = class {
262263
+ constructor() {
262264
+ this.max = 1e3;
262265
+ this.map = /* @__PURE__ */ new Map();
262266
+ }
262267
+ get(key) {
262268
+ const value = this.map.get(key);
262269
+ if (value === void 0) {
262270
+ return void 0;
262271
+ } else {
262272
+ this.map.delete(key);
262273
+ this.map.set(key, value);
262274
+ return value;
262275
+ }
262276
+ }
262277
+ delete(key) {
262278
+ return this.map.delete(key);
262279
+ }
262280
+ set(key, value) {
262281
+ const deleted = this.delete(key);
262282
+ if (!deleted && value !== void 0) {
262283
+ if (this.map.size >= this.max) {
262284
+ const firstKey = this.map.keys().next().value;
262285
+ this.delete(firstKey);
262286
+ }
262287
+ this.map.set(key, value);
262288
+ }
262289
+ return this;
262290
+ }
262291
+ };
262292
+ module.exports = LRUCache3;
262293
+ }
262294
+ });
262295
+
262296
+ // ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/range.js
262297
+ var require_range = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
262298
+ "../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/range.js"(exports, module) {
262299
+ _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
262300
+ var Range2 = class _Range {
262301
+ constructor(range2, options) {
262302
+ options = parseOptions(options);
262303
+ if (range2 instanceof _Range) {
262304
+ if (range2.loose === !!options.loose && range2.includePrerelease === !!options.includePrerelease) {
262305
+ return range2;
262306
+ } else {
262307
+ return new _Range(range2.raw, options);
262308
+ }
262309
+ }
262310
+ if (range2 instanceof Comparator2) {
262311
+ this.raw = range2.value;
262312
+ this.set = [[range2]];
262313
+ this.format();
262314
+ return this;
262315
+ }
262316
+ this.options = options;
262317
+ this.loose = !!options.loose;
262318
+ this.includePrerelease = !!options.includePrerelease;
262319
+ this.raw = range2.trim().split(/\s+/).join(" ");
262320
+ this.set = this.raw.split("||").map((r) => this.parseRange(r.trim())).filter((c) => c.length);
262321
+ if (!this.set.length) {
262322
+ throw new TypeError(`Invalid SemVer Range: ${this.raw}`);
262323
+ }
262324
+ if (this.set.length > 1) {
262325
+ const first3 = this.set[0];
262326
+ this.set = this.set.filter((c) => !isNullSet(c[0]));
262327
+ if (this.set.length === 0) {
262328
+ this.set = [first3];
262329
+ } else if (this.set.length > 1) {
262330
+ for (const c of this.set) {
262331
+ if (c.length === 1 && isAny(c[0])) {
262332
+ this.set = [c];
262333
+ break;
262334
+ }
262335
+ }
262336
+ }
262337
+ }
262338
+ this.format();
262339
+ }
262340
+ format() {
262341
+ this.range = this.set.map((comps) => comps.join(" ").trim()).join("||").trim();
262342
+ return this.range;
262343
+ }
262344
+ toString() {
262345
+ return this.range;
262346
+ }
262347
+ parseRange(range2) {
262348
+ const memoOpts = (this.options.includePrerelease && FLAG_INCLUDE_PRERELEASE) | (this.options.loose && FLAG_LOOSE);
262349
+ const memoKey = memoOpts + ":" + range2;
262350
+ const cached2 = cache5.get(memoKey);
262351
+ if (cached2) {
262352
+ return cached2;
262353
+ }
262354
+ const loose = this.options.loose;
262355
+ const hr = loose ? re[t.HYPHENRANGELOOSE] : re[t.HYPHENRANGE];
262356
+ range2 = range2.replace(hr, hyphenReplace(this.options.includePrerelease));
262357
+ debug14("hyphen replace", range2);
262358
+ range2 = range2.replace(re[t.COMPARATORTRIM], comparatorTrimReplace);
262359
+ debug14("comparator trim", range2);
262360
+ range2 = range2.replace(re[t.TILDETRIM], tildeTrimReplace);
262361
+ debug14("tilde trim", range2);
262362
+ range2 = range2.replace(re[t.CARETTRIM], caretTrimReplace);
262363
+ debug14("caret trim", range2);
262364
+ let rangeList = range2.split(" ").map((comp) => parseComparator(comp, this.options)).join(" ").split(/\s+/).map((comp) => replaceGTE0(comp, this.options));
262365
+ if (loose) {
262366
+ rangeList = rangeList.filter((comp) => {
262367
+ debug14("loose invalid filter", comp, this.options);
262368
+ return !!comp.match(re[t.COMPARATORLOOSE]);
262369
+ });
262370
+ }
262371
+ debug14("range list", rangeList);
262372
+ const rangeMap = /* @__PURE__ */ new Map();
262373
+ const comparators = rangeList.map((comp) => new Comparator2(comp, this.options));
262374
+ for (const comp of comparators) {
262375
+ if (isNullSet(comp)) {
262376
+ return [comp];
262377
+ }
262378
+ rangeMap.set(comp.value, comp);
262379
+ }
262380
+ if (rangeMap.size > 1 && rangeMap.has("")) {
262381
+ rangeMap.delete("");
262382
+ }
262383
+ const result = [...rangeMap.values()];
262384
+ cache5.set(memoKey, result);
262385
+ return result;
262386
+ }
262387
+ intersects(range2, options) {
262388
+ if (!(range2 instanceof _Range)) {
262389
+ throw new TypeError("a Range is required");
262390
+ }
262391
+ return this.set.some((thisComparators) => {
262392
+ return isSatisfiable(thisComparators, options) && range2.set.some((rangeComparators) => {
262393
+ return isSatisfiable(rangeComparators, options) && thisComparators.every((thisComparator) => {
262394
+ return rangeComparators.every((rangeComparator) => {
262395
+ return thisComparator.intersects(rangeComparator, options);
262396
+ });
262397
+ });
262398
+ });
262399
+ });
262400
+ }
262401
+ // if ANY of the sets match ALL of its comparators, then pass
262402
+ test(version5) {
262403
+ if (!version5) {
262404
+ return false;
262405
+ }
262406
+ if (typeof version5 === "string") {
262407
+ try {
262408
+ version5 = new SemVer(version5, this.options);
262409
+ } catch (er) {
262410
+ return false;
262411
+ }
262412
+ }
262413
+ for (let i = 0; i < this.set.length; i++) {
262414
+ if (testSet(this.set[i], version5, this.options)) {
262415
+ return true;
262416
+ }
262417
+ }
262418
+ return false;
262419
+ }
262420
+ };
262421
+ module.exports = Range2;
262422
+ var LRU = require_lrucache();
262423
+ var cache5 = new LRU();
262424
+ var parseOptions = require_parse_options();
262425
+ var Comparator2 = require_comparator();
262426
+ var debug14 = require_debug2();
262427
+ var SemVer = require_semver2();
262428
+ var {
262429
+ safeRe: re,
262430
+ t,
262431
+ comparatorTrimReplace,
262432
+ tildeTrimReplace,
262433
+ caretTrimReplace
262434
+ } = require_re();
262435
+ var { FLAG_INCLUDE_PRERELEASE, FLAG_LOOSE } = require_constants5();
262436
+ var isNullSet = (c) => c.value === "<0.0.0-0";
262437
+ var isAny = (c) => c.value === "";
262438
+ var isSatisfiable = (comparators, options) => {
262439
+ let result = true;
262440
+ const remainingComparators = comparators.slice();
262441
+ let testComparator = remainingComparators.pop();
262442
+ while (result && remainingComparators.length) {
262443
+ result = remainingComparators.every((otherComparator) => {
262444
+ return testComparator.intersects(otherComparator, options);
262445
+ });
262446
+ testComparator = remainingComparators.pop();
262447
+ }
262448
+ return result;
262449
+ };
262450
+ var parseComparator = (comp, options) => {
262451
+ debug14("comp", comp, options);
262452
+ comp = replaceCarets(comp, options);
262453
+ debug14("caret", comp);
262454
+ comp = replaceTildes(comp, options);
262455
+ debug14("tildes", comp);
262456
+ comp = replaceXRanges(comp, options);
262457
+ debug14("xrange", comp);
262458
+ comp = replaceStars(comp, options);
262459
+ debug14("stars", comp);
262460
+ return comp;
262461
+ };
262462
+ var isX = (id) => !id || id.toLowerCase() === "x" || id === "*";
262463
+ var replaceTildes = (comp, options) => {
262464
+ return comp.trim().split(/\s+/).map((c) => replaceTilde(c, options)).join(" ");
262465
+ };
262466
+ var replaceTilde = (comp, options) => {
262467
+ const r = options.loose ? re[t.TILDELOOSE] : re[t.TILDE];
262468
+ return comp.replace(r, (_, M, m, p, pr) => {
262469
+ debug14("tilde", comp, _, M, m, p, pr);
262470
+ let ret;
262471
+ if (isX(M)) {
262472
+ ret = "";
262473
+ } else if (isX(m)) {
262474
+ ret = `>=${M}.0.0 <${+M + 1}.0.0-0`;
262475
+ } else if (isX(p)) {
262476
+ ret = `>=${M}.${m}.0 <${M}.${+m + 1}.0-0`;
262477
+ } else if (pr) {
262478
+ debug14("replaceTilde pr", pr);
262479
+ ret = `>=${M}.${m}.${p}-${pr} <${M}.${+m + 1}.0-0`;
262480
+ } else {
262481
+ ret = `>=${M}.${m}.${p} <${M}.${+m + 1}.0-0`;
262482
+ }
262483
+ debug14("tilde return", ret);
262484
+ return ret;
262485
+ });
262486
+ };
262487
+ var replaceCarets = (comp, options) => {
262488
+ return comp.trim().split(/\s+/).map((c) => replaceCaret(c, options)).join(" ");
262489
+ };
262490
+ var replaceCaret = (comp, options) => {
262491
+ debug14("caret", comp, options);
262492
+ const r = options.loose ? re[t.CARETLOOSE] : re[t.CARET];
262493
+ const z = options.includePrerelease ? "-0" : "";
262494
+ return comp.replace(r, (_, M, m, p, pr) => {
262495
+ debug14("caret", comp, _, M, m, p, pr);
262496
+ let ret;
262497
+ if (isX(M)) {
262498
+ ret = "";
262499
+ } else if (isX(m)) {
262500
+ ret = `>=${M}.0.0${z} <${+M + 1}.0.0-0`;
262501
+ } else if (isX(p)) {
262502
+ if (M === "0") {
262503
+ ret = `>=${M}.${m}.0${z} <${M}.${+m + 1}.0-0`;
262504
+ } else {
262505
+ ret = `>=${M}.${m}.0${z} <${+M + 1}.0.0-0`;
262506
+ }
262507
+ } else if (pr) {
262508
+ debug14("replaceCaret pr", pr);
262509
+ if (M === "0") {
262510
+ if (m === "0") {
262511
+ ret = `>=${M}.${m}.${p}-${pr} <${M}.${m}.${+p + 1}-0`;
262512
+ } else {
262513
+ ret = `>=${M}.${m}.${p}-${pr} <${M}.${+m + 1}.0-0`;
262514
+ }
262515
+ } else {
262516
+ ret = `>=${M}.${m}.${p}-${pr} <${+M + 1}.0.0-0`;
262517
+ }
262518
+ } else {
262519
+ debug14("no pr");
262520
+ if (M === "0") {
262521
+ if (m === "0") {
262522
+ ret = `>=${M}.${m}.${p}${z} <${M}.${m}.${+p + 1}-0`;
262523
+ } else {
262524
+ ret = `>=${M}.${m}.${p}${z} <${M}.${+m + 1}.0-0`;
262525
+ }
262526
+ } else {
262527
+ ret = `>=${M}.${m}.${p} <${+M + 1}.0.0-0`;
262528
+ }
262529
+ }
262530
+ debug14("caret return", ret);
262531
+ return ret;
262532
+ });
262533
+ };
262534
+ var replaceXRanges = (comp, options) => {
262535
+ debug14("replaceXRanges", comp, options);
262536
+ return comp.split(/\s+/).map((c) => replaceXRange(c, options)).join(" ");
262537
+ };
262538
+ var replaceXRange = (comp, options) => {
262539
+ comp = comp.trim();
262540
+ const r = options.loose ? re[t.XRANGELOOSE] : re[t.XRANGE];
262541
+ return comp.replace(r, (ret, gtlt, M, m, p, pr) => {
262542
+ debug14("xRange", comp, ret, gtlt, M, m, p, pr);
262543
+ const xM = isX(M);
262544
+ const xm = xM || isX(m);
262545
+ const xp = xm || isX(p);
262546
+ const anyX = xp;
262547
+ if (gtlt === "=" && anyX) {
262548
+ gtlt = "";
262549
+ }
262550
+ pr = options.includePrerelease ? "-0" : "";
262551
+ if (xM) {
262552
+ if (gtlt === ">" || gtlt === "<") {
262553
+ ret = "<0.0.0-0";
262554
+ } else {
262555
+ ret = "*";
262556
+ }
262557
+ } else if (gtlt && anyX) {
262558
+ if (xm) {
262559
+ m = 0;
262560
+ }
262561
+ p = 0;
262562
+ if (gtlt === ">") {
262563
+ gtlt = ">=";
262564
+ if (xm) {
262565
+ M = +M + 1;
262566
+ m = 0;
262567
+ p = 0;
262568
+ } else {
262569
+ m = +m + 1;
262570
+ p = 0;
262571
+ }
262572
+ } else if (gtlt === "<=") {
262573
+ gtlt = "<";
262574
+ if (xm) {
262575
+ M = +M + 1;
262576
+ } else {
262577
+ m = +m + 1;
262578
+ }
262579
+ }
262580
+ if (gtlt === "<") {
262581
+ pr = "-0";
262582
+ }
262583
+ ret = `${gtlt + M}.${m}.${p}${pr}`;
262584
+ } else if (xm) {
262585
+ ret = `>=${M}.0.0${pr} <${+M + 1}.0.0-0`;
262586
+ } else if (xp) {
262587
+ ret = `>=${M}.${m}.0${pr} <${M}.${+m + 1}.0-0`;
262588
+ }
262589
+ debug14("xRange return", ret);
262590
+ return ret;
262591
+ });
262592
+ };
262593
+ var replaceStars = (comp, options) => {
262594
+ debug14("replaceStars", comp, options);
262595
+ return comp.trim().replace(re[t.STAR], "");
262596
+ };
262597
+ var replaceGTE0 = (comp, options) => {
262598
+ debug14("replaceGTE0", comp, options);
262599
+ return comp.trim().replace(re[options.includePrerelease ? t.GTE0PRE : t.GTE0], "");
262600
+ };
262601
+ var hyphenReplace = (incPr) => ($0, from, fM, fm, fp, fpr, fb, to, tM, tm, tp, tpr) => {
262602
+ if (isX(fM)) {
262603
+ from = "";
262604
+ } else if (isX(fm)) {
262605
+ from = `>=${fM}.0.0${incPr ? "-0" : ""}`;
262606
+ } else if (isX(fp)) {
262607
+ from = `>=${fM}.${fm}.0${incPr ? "-0" : ""}`;
262608
+ } else if (fpr) {
262609
+ from = `>=${from}`;
262610
+ } else {
262611
+ from = `>=${from}${incPr ? "-0" : ""}`;
262612
+ }
262613
+ if (isX(tM)) {
262614
+ to = "";
262615
+ } else if (isX(tm)) {
262616
+ to = `<${+tM + 1}.0.0-0`;
262617
+ } else if (isX(tp)) {
262618
+ to = `<${tM}.${+tm + 1}.0-0`;
262619
+ } else if (tpr) {
262620
+ to = `<=${tM}.${tm}.${tp}-${tpr}`;
262621
+ } else if (incPr) {
262622
+ to = `<${tM}.${tm}.${+tp + 1}-0`;
262623
+ } else {
262624
+ to = `<=${to}`;
262625
+ }
262626
+ return `${from} ${to}`.trim();
262627
+ };
262628
+ var testSet = (set4, version5, options) => {
262629
+ for (let i = 0; i < set4.length; i++) {
262630
+ if (!set4[i].test(version5)) {
262631
+ return false;
262632
+ }
262633
+ }
262634
+ if (version5.prerelease.length && !options.includePrerelease) {
262635
+ for (let i = 0; i < set4.length; i++) {
262636
+ debug14(set4[i].semver);
262637
+ if (set4[i].semver === Comparator2.ANY) {
262638
+ continue;
262639
+ }
262640
+ if (set4[i].semver.prerelease.length > 0) {
262641
+ const allowed = set4[i].semver;
262642
+ if (allowed.major === version5.major && allowed.minor === version5.minor && allowed.patch === version5.patch) {
262643
+ return true;
262644
+ }
262645
+ }
262646
+ }
262647
+ return false;
262648
+ }
262649
+ return true;
262650
+ };
262651
+ }
262652
+ });
262653
+
262654
+ // ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/comparator.js
262655
+ var require_comparator = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
262656
+ "../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/comparator.js"(exports, module) {
262657
+ _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
262658
+ var ANY = Symbol("SemVer ANY");
262659
+ var Comparator2 = class _Comparator {
262660
+ static get ANY() {
262661
+ return ANY;
262662
+ }
262663
+ constructor(comp, options) {
262664
+ options = parseOptions(options);
262665
+ if (comp instanceof _Comparator) {
262666
+ if (comp.loose === !!options.loose) {
262667
+ return comp;
262668
+ } else {
262669
+ comp = comp.value;
262670
+ }
262671
+ }
262672
+ comp = comp.trim().split(/\s+/).join(" ");
262673
+ debug14("comparator", comp, options);
262674
+ this.options = options;
262675
+ this.loose = !!options.loose;
262676
+ this.parse(comp);
262677
+ if (this.semver === ANY) {
262678
+ this.value = "";
262679
+ } else {
262680
+ this.value = this.operator + this.semver.version;
262681
+ }
262682
+ debug14("comp", this);
262683
+ }
262684
+ parse(comp) {
262685
+ const r = this.options.loose ? re[t.COMPARATORLOOSE] : re[t.COMPARATOR];
262686
+ const m = comp.match(r);
262687
+ if (!m) {
262688
+ throw new TypeError(`Invalid comparator: ${comp}`);
262689
+ }
262690
+ this.operator = m[1] !== void 0 ? m[1] : "";
262691
+ if (this.operator === "=") {
262692
+ this.operator = "";
262693
+ }
262694
+ if (!m[2]) {
262695
+ this.semver = ANY;
262696
+ } else {
262697
+ this.semver = new SemVer(m[2], this.options.loose);
262698
+ }
262699
+ }
262700
+ toString() {
262701
+ return this.value;
262702
+ }
262703
+ test(version5) {
262704
+ debug14("Comparator.test", version5, this.options.loose);
262705
+ if (this.semver === ANY || version5 === ANY) {
262706
+ return true;
262707
+ }
262708
+ if (typeof version5 === "string") {
262709
+ try {
262710
+ version5 = new SemVer(version5, this.options);
262711
+ } catch (er) {
262712
+ return false;
262713
+ }
262714
+ }
262715
+ return cmp(version5, this.operator, this.semver, this.options);
262716
+ }
262717
+ intersects(comp, options) {
262718
+ if (!(comp instanceof _Comparator)) {
262719
+ throw new TypeError("a Comparator is required");
262720
+ }
262721
+ if (this.operator === "") {
262722
+ if (this.value === "") {
262723
+ return true;
262724
+ }
262725
+ return new Range2(comp.value, options).test(this.value);
262726
+ } else if (comp.operator === "") {
262727
+ if (comp.value === "") {
262728
+ return true;
262729
+ }
262730
+ return new Range2(this.value, options).test(comp.semver);
262731
+ }
262732
+ options = parseOptions(options);
262733
+ if (options.includePrerelease && (this.value === "<0.0.0-0" || comp.value === "<0.0.0-0")) {
262734
+ return false;
262735
+ }
262736
+ if (!options.includePrerelease && (this.value.startsWith("<0.0.0") || comp.value.startsWith("<0.0.0"))) {
262737
+ return false;
262738
+ }
262739
+ if (this.operator.startsWith(">") && comp.operator.startsWith(">")) {
262740
+ return true;
262741
+ }
262742
+ if (this.operator.startsWith("<") && comp.operator.startsWith("<")) {
262743
+ return true;
262744
+ }
262745
+ if (this.semver.version === comp.semver.version && this.operator.includes("=") && comp.operator.includes("=")) {
262746
+ return true;
262747
+ }
262748
+ if (cmp(this.semver, "<", comp.semver, options) && this.operator.startsWith(">") && comp.operator.startsWith("<")) {
262749
+ return true;
262750
+ }
262751
+ if (cmp(this.semver, ">", comp.semver, options) && this.operator.startsWith("<") && comp.operator.startsWith(">")) {
262752
+ return true;
262753
+ }
262754
+ return false;
262755
+ }
262756
+ };
262757
+ module.exports = Comparator2;
262758
+ var parseOptions = require_parse_options();
262759
+ var { safeRe: re, t } = require_re();
262760
+ var cmp = require_cmp();
262761
+ var debug14 = require_debug2();
262762
+ var SemVer = require_semver2();
262763
+ var Range2 = require_range();
262764
+ }
262765
+ });
262766
+
262767
+ // ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/satisfies.js
262768
+ var require_satisfies = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
262769
+ "../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/satisfies.js"(exports, module) {
262770
+ _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
262771
+ var Range2 = require_range();
262772
+ var satisfies = (version5, range2, options) => {
262773
+ try {
262774
+ range2 = new Range2(range2, options);
262775
+ } catch (er) {
262776
+ return false;
262777
+ }
262778
+ return range2.test(version5);
262779
+ };
262780
+ module.exports = satisfies;
262781
+ }
262782
+ });
262783
+
262784
+ // ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/to-comparators.js
262785
+ var require_to_comparators = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
262786
+ "../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/to-comparators.js"(exports, module) {
262787
+ _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
262788
+ var Range2 = require_range();
262789
+ var toComparators = (range2, options) => new Range2(range2, options).set.map((comp) => comp.map((c) => c.value).join(" ").trim().split(" "));
262790
+ module.exports = toComparators;
262791
+ }
262792
+ });
262793
+
262794
+ // ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/max-satisfying.js
262795
+ var require_max_satisfying = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
262796
+ "../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/max-satisfying.js"(exports, module) {
262797
+ _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
262798
+ var SemVer = require_semver2();
262799
+ var Range2 = require_range();
262800
+ var maxSatisfying = (versions, range2, options) => {
262801
+ let max4 = null;
262802
+ let maxSV = null;
262803
+ let rangeObj = null;
262804
+ try {
262805
+ rangeObj = new Range2(range2, options);
262806
+ } catch (er) {
262807
+ return null;
262808
+ }
262809
+ versions.forEach((v) => {
262810
+ if (rangeObj.test(v)) {
262811
+ if (!max4 || maxSV.compare(v) === -1) {
262812
+ max4 = v;
262813
+ maxSV = new SemVer(max4, options);
262814
+ }
262815
+ }
262816
+ });
262817
+ return max4;
262818
+ };
262819
+ module.exports = maxSatisfying;
262820
+ }
262821
+ });
262822
+
262823
+ // ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/min-satisfying.js
262824
+ var require_min_satisfying = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
262825
+ "../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/min-satisfying.js"(exports, module) {
262826
+ _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
262827
+ var SemVer = require_semver2();
262828
+ var Range2 = require_range();
262829
+ var minSatisfying = (versions, range2, options) => {
262830
+ let min3 = null;
262831
+ let minSV = null;
262832
+ let rangeObj = null;
262833
+ try {
262834
+ rangeObj = new Range2(range2, options);
262835
+ } catch (er) {
262836
+ return null;
262837
+ }
262838
+ versions.forEach((v) => {
262839
+ if (rangeObj.test(v)) {
262840
+ if (!min3 || minSV.compare(v) === 1) {
262841
+ min3 = v;
262842
+ minSV = new SemVer(min3, options);
262843
+ }
262844
+ }
262845
+ });
262846
+ return min3;
262847
+ };
262848
+ module.exports = minSatisfying;
262849
+ }
262850
+ });
262851
+
262852
+ // ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/min-version.js
262853
+ var require_min_version = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
262854
+ "../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/min-version.js"(exports, module) {
262855
+ _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
262856
+ var SemVer = require_semver2();
262857
+ var Range2 = require_range();
262858
+ var gt = require_gt();
262859
+ var minVersion = (range2, loose) => {
262860
+ range2 = new Range2(range2, loose);
262861
+ let minver = new SemVer("0.0.0");
262862
+ if (range2.test(minver)) {
262863
+ return minver;
262864
+ }
262865
+ minver = new SemVer("0.0.0-0");
262866
+ if (range2.test(minver)) {
262867
+ return minver;
262868
+ }
262869
+ minver = null;
262870
+ for (let i = 0; i < range2.set.length; ++i) {
262871
+ const comparators = range2.set[i];
262872
+ let setMin = null;
262873
+ comparators.forEach((comparator) => {
262874
+ const compver = new SemVer(comparator.semver.version);
262875
+ switch (comparator.operator) {
262876
+ case ">":
262877
+ if (compver.prerelease.length === 0) {
262878
+ compver.patch++;
262879
+ } else {
262880
+ compver.prerelease.push(0);
262881
+ }
262882
+ compver.raw = compver.format();
262883
+ /* fallthrough */
262884
+ case "":
262885
+ case ">=":
262886
+ if (!setMin || gt(compver, setMin)) {
262887
+ setMin = compver;
262888
+ }
262889
+ break;
262890
+ case "<":
262891
+ case "<=":
262892
+ break;
262893
+ /* istanbul ignore next */
262894
+ default:
262895
+ throw new Error(`Unexpected operation: ${comparator.operator}`);
262896
+ }
262897
+ });
262898
+ if (setMin && (!minver || gt(minver, setMin))) {
262899
+ minver = setMin;
262900
+ }
262901
+ }
262902
+ if (minver && range2.test(minver)) {
262903
+ return minver;
262904
+ }
262905
+ return null;
262906
+ };
262907
+ module.exports = minVersion;
262908
+ }
262909
+ });
262910
+
262911
+ // ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/valid.js
262912
+ var require_valid3 = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
262913
+ "../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/valid.js"(exports, module) {
262914
+ _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
262915
+ var Range2 = require_range();
262916
+ var validRange3 = (range2, options) => {
262917
+ try {
262918
+ return new Range2(range2, options).range || "*";
262919
+ } catch (er) {
262920
+ return null;
262921
+ }
262922
+ };
262923
+ module.exports = validRange3;
262924
+ }
262925
+ });
262926
+
262927
+ // ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/outside.js
262928
+ var require_outside = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
262929
+ "../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/outside.js"(exports, module) {
262930
+ _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
262931
+ var SemVer = require_semver2();
262932
+ var Comparator2 = require_comparator();
262933
+ var { ANY } = Comparator2;
262934
+ var Range2 = require_range();
262935
+ var satisfies = require_satisfies();
262936
+ var gt = require_gt();
262937
+ var lt = require_lt();
262938
+ var lte2 = require_lte();
262939
+ var gte2 = require_gte();
262940
+ var outside = (version5, range2, hilo, options) => {
262941
+ version5 = new SemVer(version5, options);
262942
+ range2 = new Range2(range2, options);
262943
+ let gtfn, ltefn, ltfn, comp, ecomp;
262944
+ switch (hilo) {
262945
+ case ">":
262946
+ gtfn = gt;
262947
+ ltefn = lte2;
262948
+ ltfn = lt;
262949
+ comp = ">";
262950
+ ecomp = ">=";
262951
+ break;
262952
+ case "<":
262953
+ gtfn = lt;
262954
+ ltefn = gte2;
262955
+ ltfn = gt;
262956
+ comp = "<";
262957
+ ecomp = "<=";
262958
+ break;
262959
+ default:
262960
+ throw new TypeError('Must provide a hilo val of "<" or ">"');
262961
+ }
262962
+ if (satisfies(version5, range2, options)) {
262963
+ return false;
262964
+ }
262965
+ for (let i = 0; i < range2.set.length; ++i) {
262966
+ const comparators = range2.set[i];
262967
+ let high = null;
262968
+ let low = null;
262969
+ comparators.forEach((comparator) => {
262970
+ if (comparator.semver === ANY) {
262971
+ comparator = new Comparator2(">=0.0.0");
262972
+ }
262973
+ high = high || comparator;
262974
+ low = low || comparator;
262975
+ if (gtfn(comparator.semver, high.semver, options)) {
262976
+ high = comparator;
262977
+ } else if (ltfn(comparator.semver, low.semver, options)) {
262978
+ low = comparator;
262979
+ }
262980
+ });
262981
+ if (high.operator === comp || high.operator === ecomp) {
262982
+ return false;
262983
+ }
262984
+ if ((!low.operator || low.operator === comp) && ltefn(version5, low.semver)) {
262985
+ return false;
262986
+ } else if (low.operator === ecomp && ltfn(version5, low.semver)) {
262987
+ return false;
262988
+ }
262989
+ }
262990
+ return true;
262991
+ };
262992
+ module.exports = outside;
262993
+ }
262994
+ });
262995
+
262996
+ // ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/gtr.js
262997
+ var require_gtr = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
262998
+ "../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/gtr.js"(exports, module) {
262999
+ _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
263000
+ var outside = require_outside();
263001
+ var gtr = (version5, range2, options) => outside(version5, range2, ">", options);
263002
+ module.exports = gtr;
263003
+ }
263004
+ });
263005
+
263006
+ // ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/ltr.js
263007
+ var require_ltr = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
263008
+ "../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/ltr.js"(exports, module) {
263009
+ _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
263010
+ var outside = require_outside();
263011
+ var ltr = (version5, range2, options) => outside(version5, range2, "<", options);
263012
+ module.exports = ltr;
263013
+ }
263014
+ });
263015
+
263016
+ // ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/intersects.js
263017
+ var require_intersects = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
263018
+ "../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/intersects.js"(exports, module) {
263019
+ _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
263020
+ var Range2 = require_range();
263021
+ var intersects = (r1, r2, options) => {
263022
+ r1 = new Range2(r1, options);
263023
+ r2 = new Range2(r2, options);
263024
+ return r1.intersects(r2, options);
263025
+ };
263026
+ module.exports = intersects;
263027
+ }
263028
+ });
263029
+
263030
+ // ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/simplify.js
263031
+ var require_simplify = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
263032
+ "../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/simplify.js"(exports, module) {
263033
+ _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
263034
+ var satisfies = require_satisfies();
263035
+ var compare6 = require_compare();
263036
+ module.exports = (versions, range2, options) => {
263037
+ const set4 = [];
263038
+ let first3 = null;
263039
+ let prev = null;
263040
+ const v = versions.sort((a, b) => compare6(a, b, options));
263041
+ for (const version5 of v) {
263042
+ const included = satisfies(version5, range2, options);
263043
+ if (included) {
263044
+ prev = version5;
263045
+ if (!first3) {
263046
+ first3 = version5;
263047
+ }
263048
+ } else {
263049
+ if (prev) {
263050
+ set4.push([first3, prev]);
263051
+ }
263052
+ prev = null;
263053
+ first3 = null;
263054
+ }
263055
+ }
263056
+ if (first3) {
263057
+ set4.push([first3, null]);
263058
+ }
263059
+ const ranges = [];
263060
+ for (const [min3, max4] of set4) {
263061
+ if (min3 === max4) {
263062
+ ranges.push(min3);
263063
+ } else if (!max4 && min3 === v[0]) {
263064
+ ranges.push("*");
263065
+ } else if (!max4) {
263066
+ ranges.push(`>=${min3}`);
263067
+ } else if (min3 === v[0]) {
263068
+ ranges.push(`<=${max4}`);
263069
+ } else {
263070
+ ranges.push(`${min3} - ${max4}`);
263071
+ }
263072
+ }
263073
+ const simplified = ranges.join(" || ");
263074
+ const original = typeof range2.raw === "string" ? range2.raw : String(range2);
263075
+ return simplified.length < original.length ? simplified : range2;
263076
+ };
263077
+ }
263078
+ });
263079
+
263080
+ // ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/subset.js
263081
+ var require_subset = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
263082
+ "../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/subset.js"(exports, module) {
263083
+ _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
263084
+ var Range2 = require_range();
263085
+ var Comparator2 = require_comparator();
263086
+ var { ANY } = Comparator2;
263087
+ var satisfies = require_satisfies();
263088
+ var compare6 = require_compare();
263089
+ var subset = (sub, dom, options = {}) => {
263090
+ if (sub === dom) {
263091
+ return true;
263092
+ }
263093
+ sub = new Range2(sub, options);
263094
+ dom = new Range2(dom, options);
263095
+ let sawNonNull = false;
263096
+ OUTER: for (const simpleSub of sub.set) {
263097
+ for (const simpleDom of dom.set) {
263098
+ const isSub = simpleSubset(simpleSub, simpleDom, options);
263099
+ sawNonNull = sawNonNull || isSub !== null;
263100
+ if (isSub) {
263101
+ continue OUTER;
263102
+ }
263103
+ }
263104
+ if (sawNonNull) {
263105
+ return false;
263106
+ }
263107
+ }
263108
+ return true;
263109
+ };
263110
+ var minimumVersionWithPreRelease = [new Comparator2(">=0.0.0-0")];
263111
+ var minimumVersion = [new Comparator2(">=0.0.0")];
263112
+ var simpleSubset = (sub, dom, options) => {
263113
+ if (sub === dom) {
263114
+ return true;
263115
+ }
263116
+ if (sub.length === 1 && sub[0].semver === ANY) {
263117
+ if (dom.length === 1 && dom[0].semver === ANY) {
263118
+ return true;
263119
+ } else if (options.includePrerelease) {
263120
+ sub = minimumVersionWithPreRelease;
263121
+ } else {
263122
+ sub = minimumVersion;
263123
+ }
263124
+ }
263125
+ if (dom.length === 1 && dom[0].semver === ANY) {
263126
+ if (options.includePrerelease) {
263127
+ return true;
263128
+ } else {
263129
+ dom = minimumVersion;
263130
+ }
263131
+ }
263132
+ const eqSet = /* @__PURE__ */ new Set();
263133
+ let gt, lt;
263134
+ for (const c of sub) {
263135
+ if (c.operator === ">" || c.operator === ">=") {
263136
+ gt = higherGT(gt, c, options);
263137
+ } else if (c.operator === "<" || c.operator === "<=") {
263138
+ lt = lowerLT(lt, c, options);
263139
+ } else {
263140
+ eqSet.add(c.semver);
263141
+ }
263142
+ }
263143
+ if (eqSet.size > 1) {
263144
+ return null;
263145
+ }
263146
+ let gtltComp;
263147
+ if (gt && lt) {
263148
+ gtltComp = compare6(gt.semver, lt.semver, options);
263149
+ if (gtltComp > 0) {
263150
+ return null;
263151
+ } else if (gtltComp === 0 && (gt.operator !== ">=" || lt.operator !== "<=")) {
263152
+ return null;
263153
+ }
263154
+ }
263155
+ for (const eq2 of eqSet) {
263156
+ if (gt && !satisfies(eq2, String(gt), options)) {
263157
+ return null;
263158
+ }
263159
+ if (lt && !satisfies(eq2, String(lt), options)) {
263160
+ return null;
263161
+ }
263162
+ for (const c of dom) {
263163
+ if (!satisfies(eq2, String(c), options)) {
263164
+ return false;
263165
+ }
263166
+ }
263167
+ return true;
263168
+ }
263169
+ let higher, lower;
263170
+ let hasDomLT, hasDomGT;
263171
+ let needDomLTPre = lt && !options.includePrerelease && lt.semver.prerelease.length ? lt.semver : false;
263172
+ let needDomGTPre = gt && !options.includePrerelease && gt.semver.prerelease.length ? gt.semver : false;
263173
+ if (needDomLTPre && needDomLTPre.prerelease.length === 1 && lt.operator === "<" && needDomLTPre.prerelease[0] === 0) {
263174
+ needDomLTPre = false;
263175
+ }
263176
+ for (const c of dom) {
263177
+ hasDomGT = hasDomGT || c.operator === ">" || c.operator === ">=";
263178
+ hasDomLT = hasDomLT || c.operator === "<" || c.operator === "<=";
263179
+ if (gt) {
263180
+ if (needDomGTPre) {
263181
+ if (c.semver.prerelease && c.semver.prerelease.length && c.semver.major === needDomGTPre.major && c.semver.minor === needDomGTPre.minor && c.semver.patch === needDomGTPre.patch) {
263182
+ needDomGTPre = false;
263183
+ }
263184
+ }
263185
+ if (c.operator === ">" || c.operator === ">=") {
263186
+ higher = higherGT(gt, c, options);
263187
+ if (higher === c && higher !== gt) {
263188
+ return false;
263189
+ }
263190
+ } else if (gt.operator === ">=" && !satisfies(gt.semver, String(c), options)) {
263191
+ return false;
263192
+ }
263193
+ }
263194
+ if (lt) {
263195
+ if (needDomLTPre) {
263196
+ if (c.semver.prerelease && c.semver.prerelease.length && c.semver.major === needDomLTPre.major && c.semver.minor === needDomLTPre.minor && c.semver.patch === needDomLTPre.patch) {
263197
+ needDomLTPre = false;
263198
+ }
263199
+ }
263200
+ if (c.operator === "<" || c.operator === "<=") {
263201
+ lower = lowerLT(lt, c, options);
263202
+ if (lower === c && lower !== lt) {
263203
+ return false;
263204
+ }
263205
+ } else if (lt.operator === "<=" && !satisfies(lt.semver, String(c), options)) {
263206
+ return false;
263207
+ }
263208
+ }
263209
+ if (!c.operator && (lt || gt) && gtltComp !== 0) {
263210
+ return false;
263211
+ }
263212
+ }
263213
+ if (gt && hasDomLT && !lt && gtltComp !== 0) {
263214
+ return false;
263215
+ }
263216
+ if (lt && hasDomGT && !gt && gtltComp !== 0) {
263217
+ return false;
263218
+ }
263219
+ if (needDomGTPre || needDomLTPre) {
263220
+ return false;
263221
+ }
263222
+ return true;
263223
+ };
263224
+ var higherGT = (a, b, options) => {
263225
+ if (!a) {
263226
+ return b;
263227
+ }
263228
+ const comp = compare6(a.semver, b.semver, options);
263229
+ return comp > 0 ? a : comp < 0 ? b : b.operator === ">" && a.operator === ">=" ? b : a;
263230
+ };
263231
+ var lowerLT = (a, b, options) => {
263232
+ if (!a) {
263233
+ return b;
263234
+ }
263235
+ const comp = compare6(a.semver, b.semver, options);
263236
+ return comp < 0 ? a : comp > 0 ? b : b.operator === "<" && a.operator === "<=" ? b : a;
263237
+ };
263238
+ module.exports = subset;
263239
+ }
263240
+ });
263241
+
263242
+ // ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/index.js
263243
+ var require_semver3 = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
263244
+ "../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/index.js"(exports, module) {
263245
+ _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
263246
+ var internalRe = require_re();
263247
+ var constants = require_constants5();
263248
+ var SemVer = require_semver2();
263249
+ var identifiers = require_identifiers();
263250
+ var parse8 = require_parse5();
263251
+ var valid = require_valid2();
263252
+ var clean6 = require_clean2();
263253
+ var inc = require_inc();
263254
+ var diff = require_diff();
263255
+ var major = require_major();
263256
+ var minor = require_minor();
263257
+ var patch2 = require_patch();
263258
+ var prerelease = require_prerelease();
263259
+ var compare6 = require_compare();
263260
+ var rcompare2 = require_rcompare();
263261
+ var compareLoose = require_compare_loose();
263262
+ var compareBuild = require_compare_build();
263263
+ var sort = require_sort();
263264
+ var rsort = require_rsort();
263265
+ var gt = require_gt();
263266
+ var lt = require_lt();
263267
+ var eq2 = require_eq();
263268
+ var neq = require_neq();
263269
+ var gte2 = require_gte();
263270
+ var lte2 = require_lte();
263271
+ var cmp = require_cmp();
263272
+ var coerce = require_coerce();
263273
+ var Comparator2 = require_comparator();
263274
+ var Range2 = require_range();
263275
+ var satisfies = require_satisfies();
263276
+ var toComparators = require_to_comparators();
263277
+ var maxSatisfying = require_max_satisfying();
263278
+ var minSatisfying = require_min_satisfying();
263279
+ var minVersion = require_min_version();
263280
+ var validRange3 = require_valid3();
263281
+ var outside = require_outside();
263282
+ var gtr = require_gtr();
263283
+ var ltr = require_ltr();
263284
+ var intersects = require_intersects();
263285
+ var simplifyRange = require_simplify();
263286
+ var subset = require_subset();
263287
+ module.exports = {
263288
+ parse: parse8,
263289
+ valid,
263290
+ clean: clean6,
263291
+ inc,
263292
+ diff,
263293
+ major,
263294
+ minor,
263295
+ patch: patch2,
263296
+ prerelease,
263297
+ compare: compare6,
263298
+ rcompare: rcompare2,
263299
+ compareLoose,
263300
+ compareBuild,
263301
+ sort,
263302
+ rsort,
263303
+ gt,
263304
+ lt,
263305
+ eq: eq2,
263306
+ neq,
263307
+ gte: gte2,
263308
+ lte: lte2,
263309
+ cmp,
263310
+ coerce,
263311
+ Comparator: Comparator2,
263312
+ Range: Range2,
263313
+ satisfies,
263314
+ toComparators,
263315
+ maxSatisfying,
263316
+ minSatisfying,
263317
+ minVersion,
263318
+ validRange: validRange3,
263319
+ outside,
263320
+ gtr,
263321
+ ltr,
263322
+ intersects,
263323
+ simplifyRange,
263324
+ subset,
263325
+ SemVer,
263326
+ re: internalRe.re,
263327
+ src: internalRe.src,
263328
+ tokens: internalRe.t,
263329
+ SEMVER_SPEC_VERSION: constants.SEMVER_SPEC_VERSION,
263330
+ RELEASE_TYPES: constants.RELEASE_TYPES,
263331
+ compareIdentifiers: identifiers.compareIdentifiers,
263332
+ rcompareIdentifiers: identifiers.rcompareIdentifiers
263333
+ };
263334
+ }
263335
+ });
263336
+
261462
263337
  // ../../node_modules/.pnpm/@npmcli+git@5.0.8/node_modules/@npmcli/git/lib/lines-to-revs.js
261463
263338
  var require_lines_to_revs = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
261464
263339
  "../../node_modules/.pnpm/@npmcli+git@5.0.8/node_modules/@npmcli/git/lib/lines-to-revs.js"(exports, module) {
261465
263340
  _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
261466
- var semver8 = _chunkG5STVDEQcjs.require_semver.call(void 0, );
263341
+ var semver8 = require_semver3();
261467
263342
  module.exports = (lines) => finish(lines.reduce(linesToRevsReducer, {
261468
263343
  versions: {},
261469
263344
  "dist-tags": {},
@@ -263416,7 +265291,7 @@ var require_scan3 = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
263416
265291
  });
263417
265292
 
263418
265293
  // ../../node_modules/.pnpm/spdx-expression-parse@3.0.1/node_modules/spdx-expression-parse/parse.js
263419
- var require_parse5 = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
265294
+ var require_parse6 = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
263420
265295
  "../../node_modules/.pnpm/spdx-expression-parse@3.0.1/node_modules/spdx-expression-parse/parse.js"(exports, module) {
263421
265296
  "use strict";
263422
265297
  _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
@@ -263536,7 +265411,7 @@ var require_spdx_expression_parse = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
263536
265411
  "use strict";
263537
265412
  _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
263538
265413
  var scan3 = require_scan3();
263539
- var parse8 = require_parse5();
265414
+ var parse8 = require_parse6();
263540
265415
  module.exports = function(source) {
263541
265416
  return parse8(scan3(source));
263542
265417
  };
@@ -277661,7 +279536,7 @@ var require_unicode = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
277661
279536
  });
277662
279537
 
277663
279538
  // ../../node_modules/.pnpm/jju@1.4.0/node_modules/jju/lib/parse.js
277664
- var require_parse6 = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
279539
+ var require_parse7 = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
277665
279540
  "../../node_modules/.pnpm/jju@1.4.0/node_modules/jju/lib/parse.js"(exports, module) {
277666
279541
  _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
277667
279542
  var Uni = require_unicode();
@@ -278459,7 +280334,7 @@ var require_stringify4 = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
278459
280334
  var require_analyze = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
278460
280335
  "../../node_modules/.pnpm/jju@1.4.0/node_modules/jju/lib/analyze.js"(exports, module) {
278461
280336
  _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
278462
- var tokenize = require_parse6().tokenize;
280337
+ var tokenize = require_parse7().tokenize;
278463
280338
  module.exports.analyze = function analyzeJSON(input, options) {
278464
280339
  if (options == null) options = {};
278465
280340
  if (!Array.isArray(input)) {
@@ -278538,7 +280413,7 @@ var require_document = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
278538
280413
  "../../node_modules/.pnpm/jju@1.4.0/node_modules/jju/lib/document.js"(exports, module) {
278539
280414
  _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
278540
280415
  var assert31 = _chunk6B2W5NCRcjs.__require.call(void 0, "assert");
278541
- var tokenize = require_parse6().tokenize;
280416
+ var tokenize = require_parse7().tokenize;
278542
280417
  var stringify4 = require_stringify4().stringify;
278543
280418
  var analyze = require_analyze().analyze;
278544
280419
  function isObject4(x) {
@@ -278914,13 +280789,13 @@ var require_jju = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
278914
280789
  "../../node_modules/.pnpm/jju@1.4.0/node_modules/jju/index.js"(exports, module) {
278915
280790
  _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
278916
280791
  module.exports.__defineGetter__("parse", function() {
278917
- return require_parse6().parse;
280792
+ return require_parse7().parse;
278918
280793
  });
278919
280794
  module.exports.__defineGetter__("stringify", function() {
278920
280795
  return require_stringify4().stringify;
278921
280796
  });
278922
280797
  module.exports.__defineGetter__("tokenize", function() {
278923
- return require_parse6().tokenize;
280798
+ return require_parse7().tokenize;
278924
280799
  });
278925
280800
  module.exports.__defineGetter__("update", function() {
278926
280801
  return require_document().update;
@@ -281644,7 +283519,7 @@ var require_readShebang = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
281644
283519
  });
281645
283520
 
281646
283521
  // ../../node_modules/.pnpm/cross-spawn@5.1.0/node_modules/cross-spawn/lib/parse.js
281647
- var require_parse7 = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
283522
+ var require_parse8 = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
281648
283523
  "../../node_modules/.pnpm/cross-spawn@5.1.0/node_modules/cross-spawn/lib/parse.js"(exports, module) {
281649
283524
  "use strict";
281650
283525
  _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
@@ -281791,7 +283666,7 @@ var require_cross_spawn = _chunk6B2W5NCRcjs.__commonJS.call(void 0, {
281791
283666
  "use strict";
281792
283667
  _chunk6B2W5NCRcjs.init_cjs_shims.call(void 0, );
281793
283668
  var cp = _chunk6B2W5NCRcjs.__require.call(void 0, "child_process");
281794
- var parse8 = require_parse7();
283669
+ var parse8 = require_parse8();
281795
283670
  var enoent = require_enoent();
281796
283671
  var cpSpawnSync = cp.spawnSync;
281797
283672
  function spawn2(command, args, options) {