@storm-software/linting-tools 1.120.1 → 1.120.3

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.
package/bin/lint.js CHANGED
@@ -3,7 +3,7 @@ import {
3
3
  require_clean,
4
4
  require_semver,
5
5
  require_valid
6
- } from "./chunk-QWB3CCUF.js";
6
+ } from "./chunk-7YW6SYK4.js";
7
7
  import {
8
8
  basename,
9
9
  be,
@@ -303418,9 +303418,9 @@ var require_js_tokens = __commonJS({
303418
303418
  }
303419
303419
  });
303420
303420
 
303421
- // ../../node_modules/.pnpm/@babel+helper-validator-identifier@7.25.9/node_modules/@babel/helper-validator-identifier/lib/identifier.js
303421
+ // ../../node_modules/.pnpm/@babel+helper-validator-identifier@7.27.1/node_modules/@babel/helper-validator-identifier/lib/identifier.js
303422
303422
  var require_identifier = __commonJS({
303423
- "../../node_modules/.pnpm/@babel+helper-validator-identifier@7.25.9/node_modules/@babel/helper-validator-identifier/lib/identifier.js"(exports2) {
303423
+ "../../node_modules/.pnpm/@babel+helper-validator-identifier@7.27.1/node_modules/@babel/helper-validator-identifier/lib/identifier.js"(exports2) {
303424
303424
  "use strict";
303425
303425
  init_esm_shims();
303426
303426
  Object.defineProperty(exports2, "__esModule", {
@@ -303492,9 +303492,9 @@ var require_identifier = __commonJS({
303492
303492
  }
303493
303493
  });
303494
303494
 
303495
- // ../../node_modules/.pnpm/@babel+helper-validator-identifier@7.25.9/node_modules/@babel/helper-validator-identifier/lib/keyword.js
303495
+ // ../../node_modules/.pnpm/@babel+helper-validator-identifier@7.27.1/node_modules/@babel/helper-validator-identifier/lib/keyword.js
303496
303496
  var require_keyword = __commonJS({
303497
- "../../node_modules/.pnpm/@babel+helper-validator-identifier@7.25.9/node_modules/@babel/helper-validator-identifier/lib/keyword.js"(exports2) {
303497
+ "../../node_modules/.pnpm/@babel+helper-validator-identifier@7.27.1/node_modules/@babel/helper-validator-identifier/lib/keyword.js"(exports2) {
303498
303498
  "use strict";
303499
303499
  init_esm_shims();
303500
303500
  Object.defineProperty(exports2, "__esModule", {
@@ -303531,9 +303531,9 @@ var require_keyword = __commonJS({
303531
303531
  }
303532
303532
  });
303533
303533
 
303534
- // ../../node_modules/.pnpm/@babel+helper-validator-identifier@7.25.9/node_modules/@babel/helper-validator-identifier/lib/index.js
303534
+ // ../../node_modules/.pnpm/@babel+helper-validator-identifier@7.27.1/node_modules/@babel/helper-validator-identifier/lib/index.js
303535
303535
  var require_lib23 = __commonJS({
303536
- "../../node_modules/.pnpm/@babel+helper-validator-identifier@7.25.9/node_modules/@babel/helper-validator-identifier/lib/index.js"(exports2) {
303536
+ "../../node_modules/.pnpm/@babel+helper-validator-identifier@7.27.1/node_modules/@babel/helper-validator-identifier/lib/index.js"(exports2) {
303537
303537
  init_esm_shims();
303538
303538
  var __import___identifier_js = __toESM(require_identifier());
303539
303539
  var __import___keyword_js = __toESM(require_keyword());
@@ -303593,9 +303593,9 @@ var require_lib23 = __commonJS({
303593
303593
  }
303594
303594
  });
303595
303595
 
303596
- // ../../node_modules/.pnpm/@babel+code-frame@7.26.2/node_modules/@babel/code-frame/lib/index.js
303596
+ // ../../node_modules/.pnpm/@babel+code-frame@7.27.1/node_modules/@babel/code-frame/lib/index.js
303597
303597
  var require_lib24 = __commonJS({
303598
- "../../node_modules/.pnpm/@babel+code-frame@7.26.2/node_modules/@babel/code-frame/lib/index.js"(exports2) {
303598
+ "../../node_modules/.pnpm/@babel+code-frame@7.27.1/node_modules/@babel/code-frame/lib/index.js"(exports2) {
303599
303599
  init_esm_shims();
303600
303600
  var __import_picocolors = __toESM(require_picocolors());
303601
303601
  var __import_jsTokens = __toESM(require_js_tokens());
@@ -308805,2033 +308805,6 @@ var require_light = __commonJS({
308805
308805
  }
308806
308806
  });
308807
308807
 
308808
- // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/constants.js
308809
- var require_constants5 = __commonJS({
308810
- "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/constants.js"(exports2, module) {
308811
- init_esm_shims();
308812
- var SEMVER_SPEC_VERSION = "2.0.0";
308813
- var MAX_LENGTH = 256;
308814
- var MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || /* istanbul ignore next */
308815
- 9007199254740991;
308816
- var MAX_SAFE_COMPONENT_LENGTH = 16;
308817
- var MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6;
308818
- var RELEASE_TYPES = [
308819
- "major",
308820
- "premajor",
308821
- "minor",
308822
- "preminor",
308823
- "patch",
308824
- "prepatch",
308825
- "prerelease"
308826
- ];
308827
- module.exports = {
308828
- MAX_LENGTH,
308829
- MAX_SAFE_COMPONENT_LENGTH,
308830
- MAX_SAFE_BUILD_LENGTH,
308831
- MAX_SAFE_INTEGER,
308832
- RELEASE_TYPES,
308833
- SEMVER_SPEC_VERSION,
308834
- FLAG_INCLUDE_PRERELEASE: 1,
308835
- FLAG_LOOSE: 2
308836
- };
308837
- }
308838
- });
308839
-
308840
- // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/debug.js
308841
- var require_debug2 = __commonJS({
308842
- "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/debug.js"(exports2, module) {
308843
- init_esm_shims();
308844
- var debug14 = typeof process === "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...args) => console.error("SEMVER", ...args) : () => {
308845
- };
308846
- module.exports = debug14;
308847
- }
308848
- });
308849
-
308850
- // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/re.js
308851
- var require_re = __commonJS({
308852
- "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/re.js"(exports2, module) {
308853
- init_esm_shims();
308854
- var __import___constants = __toESM(require_constants5());
308855
- var __import___debug = __toESM(require_debug2());
308856
- var {
308857
- MAX_SAFE_COMPONENT_LENGTH,
308858
- MAX_SAFE_BUILD_LENGTH,
308859
- MAX_LENGTH
308860
- } = __import___constants;
308861
- var debug14 = __import___debug;
308862
- exports2 = module.exports = {};
308863
- var re = exports2.re = [];
308864
- var safeRe = exports2.safeRe = [];
308865
- var src = exports2.src = [];
308866
- var safeSrc = exports2.safeSrc = [];
308867
- var t = exports2.t = {};
308868
- var R = 0;
308869
- var LETTERDASHNUMBER = "[a-zA-Z0-9-]";
308870
- var safeRegexReplacements = [
308871
- ["\\s", 1],
308872
- ["\\d", MAX_LENGTH],
308873
- [LETTERDASHNUMBER, MAX_SAFE_BUILD_LENGTH]
308874
- ];
308875
- var makeSafeRegex = (value2) => {
308876
- for (const [token, max4] of safeRegexReplacements) {
308877
- value2 = value2.split(`${token}*`).join(`${token}{0,${max4}}`).split(`${token}+`).join(`${token}{1,${max4}}`);
308878
- }
308879
- return value2;
308880
- };
308881
- var createToken = (name3, value2, isGlobal) => {
308882
- const safe = makeSafeRegex(value2);
308883
- const index2 = R++;
308884
- debug14(name3, index2, value2);
308885
- t[name3] = index2;
308886
- src[index2] = value2;
308887
- safeSrc[index2] = safe;
308888
- re[index2] = new RegExp(value2, isGlobal ? "g" : void 0);
308889
- safeRe[index2] = new RegExp(safe, isGlobal ? "g" : void 0);
308890
- };
308891
- createToken("NUMERICIDENTIFIER", "0|[1-9]\\d*");
308892
- createToken("NUMERICIDENTIFIERLOOSE", "\\d+");
308893
- createToken("NONNUMERICIDENTIFIER", `\\d*[a-zA-Z-]${LETTERDASHNUMBER}*`);
308894
- createToken("MAINVERSION", `(${src[t.NUMERICIDENTIFIER]})\\.(${src[t.NUMERICIDENTIFIER]})\\.(${src[t.NUMERICIDENTIFIER]})`);
308895
- createToken("MAINVERSIONLOOSE", `(${src[t.NUMERICIDENTIFIERLOOSE]})\\.(${src[t.NUMERICIDENTIFIERLOOSE]})\\.(${src[t.NUMERICIDENTIFIERLOOSE]})`);
308896
- createToken("PRERELEASEIDENTIFIER", `(?:${src[t.NUMERICIDENTIFIER]}|${src[t.NONNUMERICIDENTIFIER]})`);
308897
- createToken("PRERELEASEIDENTIFIERLOOSE", `(?:${src[t.NUMERICIDENTIFIERLOOSE]}|${src[t.NONNUMERICIDENTIFIER]})`);
308898
- createToken("PRERELEASE", `(?:-(${src[t.PRERELEASEIDENTIFIER]}(?:\\.${src[t.PRERELEASEIDENTIFIER]})*))`);
308899
- createToken("PRERELEASELOOSE", `(?:-?(${src[t.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${src[t.PRERELEASEIDENTIFIERLOOSE]})*))`);
308900
- createToken("BUILDIDENTIFIER", `${LETTERDASHNUMBER}+`);
308901
- createToken("BUILD", `(?:\\+(${src[t.BUILDIDENTIFIER]}(?:\\.${src[t.BUILDIDENTIFIER]})*))`);
308902
- createToken("FULLPLAIN", `v?${src[t.MAINVERSION]}${src[t.PRERELEASE]}?${src[t.BUILD]}?`);
308903
- createToken("FULL", `^${src[t.FULLPLAIN]}$`);
308904
- createToken("LOOSEPLAIN", `[v=\\s]*${src[t.MAINVERSIONLOOSE]}${src[t.PRERELEASELOOSE]}?${src[t.BUILD]}?`);
308905
- createToken("LOOSE", `^${src[t.LOOSEPLAIN]}$`);
308906
- createToken("GTLT", "((?:<|>)?=?)");
308907
- createToken("XRANGEIDENTIFIERLOOSE", `${src[t.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);
308908
- createToken("XRANGEIDENTIFIER", `${src[t.NUMERICIDENTIFIER]}|x|X|\\*`);
308909
- createToken("XRANGEPLAIN", `[v=\\s]*(${src[t.XRANGEIDENTIFIER]})(?:\\.(${src[t.XRANGEIDENTIFIER]})(?:\\.(${src[t.XRANGEIDENTIFIER]})(?:${src[t.PRERELEASE]})?${src[t.BUILD]}?)?)?`);
308910
- createToken("XRANGEPLAINLOOSE", `[v=\\s]*(${src[t.XRANGEIDENTIFIERLOOSE]})(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})(?:${src[t.PRERELEASELOOSE]})?${src[t.BUILD]}?)?)?`);
308911
- createToken("XRANGE", `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAIN]}$`);
308912
- createToken("XRANGELOOSE", `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAINLOOSE]}$`);
308913
- createToken("COERCEPLAIN", `${"(^|[^\\d])(\\d{1,"}${MAX_SAFE_COMPONENT_LENGTH}})(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?`);
308914
- createToken("COERCE", `${src[t.COERCEPLAIN]}(?:$|[^\\d])`);
308915
- createToken("COERCEFULL", src[t.COERCEPLAIN] + `(?:${src[t.PRERELEASE]})?(?:${src[t.BUILD]})?(?:$|[^\\d])`);
308916
- createToken("COERCERTL", src[t.COERCE], true);
308917
- createToken("COERCERTLFULL", src[t.COERCEFULL], true);
308918
- createToken("LONETILDE", "(?:~>?)");
308919
- createToken("TILDETRIM", `(\\s*)${src[t.LONETILDE]}\\s+`, true);
308920
- exports2.tildeTrimReplace = "$1~";
308921
- createToken("TILDE", `^${src[t.LONETILDE]}${src[t.XRANGEPLAIN]}$`);
308922
- createToken("TILDELOOSE", `^${src[t.LONETILDE]}${src[t.XRANGEPLAINLOOSE]}$`);
308923
- createToken("LONECARET", "(?:\\^)");
308924
- createToken("CARETTRIM", `(\\s*)${src[t.LONECARET]}\\s+`, true);
308925
- exports2.caretTrimReplace = "$1^";
308926
- createToken("CARET", `^${src[t.LONECARET]}${src[t.XRANGEPLAIN]}$`);
308927
- createToken("CARETLOOSE", `^${src[t.LONECARET]}${src[t.XRANGEPLAINLOOSE]}$`);
308928
- createToken("COMPARATORLOOSE", `^${src[t.GTLT]}\\s*(${src[t.LOOSEPLAIN]})$|^$`);
308929
- createToken("COMPARATOR", `^${src[t.GTLT]}\\s*(${src[t.FULLPLAIN]})$|^$`);
308930
- createToken("COMPARATORTRIM", `(\\s*)${src[t.GTLT]}\\s*(${src[t.LOOSEPLAIN]}|${src[t.XRANGEPLAIN]})`, true);
308931
- exports2.comparatorTrimReplace = "$1$2$3";
308932
- createToken("HYPHENRANGE", `^\\s*(${src[t.XRANGEPLAIN]})\\s+-\\s+(${src[t.XRANGEPLAIN]})\\s*$`);
308933
- createToken("HYPHENRANGELOOSE", `^\\s*(${src[t.XRANGEPLAINLOOSE]})\\s+-\\s+(${src[t.XRANGEPLAINLOOSE]})\\s*$`);
308934
- createToken("STAR", "(<|>)?=?\\s*\\*");
308935
- createToken("GTE0", "^\\s*>=\\s*0\\.0\\.0\\s*$");
308936
- createToken("GTE0PRE", "^\\s*>=\\s*0\\.0\\.0-0\\s*$");
308937
- }
308938
- });
308939
-
308940
- // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/parse-options.js
308941
- var require_parse_options = __commonJS({
308942
- "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/parse-options.js"(exports2, module) {
308943
- init_esm_shims();
308944
- var looseOption = Object.freeze({ loose: true });
308945
- var emptyOpts = Object.freeze({});
308946
- var parseOptions = (options) => {
308947
- if (!options) {
308948
- return emptyOpts;
308949
- }
308950
- if (typeof options !== "object") {
308951
- return looseOption;
308952
- }
308953
- return options;
308954
- };
308955
- module.exports = parseOptions;
308956
- }
308957
- });
308958
-
308959
- // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/identifiers.js
308960
- var require_identifiers = __commonJS({
308961
- "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/identifiers.js"(exports2, module) {
308962
- init_esm_shims();
308963
- var numeric = /^[0-9]+$/;
308964
- var compareIdentifiers = (a, b) => {
308965
- const anum = numeric.test(a);
308966
- const bnum = numeric.test(b);
308967
- if (anum && bnum) {
308968
- a = +a;
308969
- b = +b;
308970
- }
308971
- return a === b ? 0 : anum && !bnum ? -1 : bnum && !anum ? 1 : a < b ? -1 : 1;
308972
- };
308973
- var rcompareIdentifiers = (a, b) => compareIdentifiers(b, a);
308974
- module.exports = {
308975
- compareIdentifiers,
308976
- rcompareIdentifiers
308977
- };
308978
- }
308979
- });
308980
-
308981
- // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/classes/semver.js
308982
- var require_semver2 = __commonJS({
308983
- "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/classes/semver.js"(exports2, module) {
308984
- init_esm_shims();
308985
- var __import____internal_debug = __toESM(require_debug2());
308986
- var __import____internal_constants = __toESM(require_constants5());
308987
- var __import____internal_re = __toESM(require_re());
308988
- var __import____internal_parseOptions = __toESM(require_parse_options());
308989
- var __import____internal_identifiers = __toESM(require_identifiers());
308990
- var debug14 = __import____internal_debug;
308991
- var { MAX_LENGTH, MAX_SAFE_INTEGER } = __import____internal_constants;
308992
- var { safeRe: re, safeSrc: src, t } = __import____internal_re;
308993
- var parseOptions = __import____internal_parseOptions;
308994
- var { compareIdentifiers } = __import____internal_identifiers;
308995
- var SemVer = class _SemVer {
308996
- constructor(version5, options) {
308997
- options = parseOptions(options);
308998
- if (version5 instanceof _SemVer) {
308999
- if (version5.loose === !!options.loose && version5.includePrerelease === !!options.includePrerelease) {
309000
- return version5;
309001
- } else {
309002
- version5 = version5.version;
309003
- }
309004
- } else if (typeof version5 !== "string") {
309005
- throw new TypeError(`Invalid version. Must be a string. Got type "${typeof version5}".`);
309006
- }
309007
- if (version5.length > MAX_LENGTH) {
309008
- throw new TypeError(
309009
- `version is longer than ${MAX_LENGTH} characters`
309010
- );
309011
- }
309012
- debug14("SemVer", version5, options);
309013
- this.options = options;
309014
- this.loose = !!options.loose;
309015
- this.includePrerelease = !!options.includePrerelease;
309016
- const m = version5.trim().match(options.loose ? re[t.LOOSE] : re[t.FULL]);
309017
- if (!m) {
309018
- throw new TypeError(`Invalid Version: ${version5}`);
309019
- }
309020
- this.raw = version5;
309021
- this.major = +m[1];
309022
- this.minor = +m[2];
309023
- this.patch = +m[3];
309024
- if (this.major > MAX_SAFE_INTEGER || this.major < 0) {
309025
- throw new TypeError("Invalid major version");
309026
- }
309027
- if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) {
309028
- throw new TypeError("Invalid minor version");
309029
- }
309030
- if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) {
309031
- throw new TypeError("Invalid patch version");
309032
- }
309033
- if (!m[4]) {
309034
- this.prerelease = [];
309035
- } else {
309036
- this.prerelease = m[4].split(".").map((id) => {
309037
- if (/^[0-9]+$/.test(id)) {
309038
- const num = +id;
309039
- if (num >= 0 && num < MAX_SAFE_INTEGER) {
309040
- return num;
309041
- }
309042
- }
309043
- return id;
309044
- });
309045
- }
309046
- this.build = m[5] ? m[5].split(".") : [];
309047
- this.format();
309048
- }
309049
- format() {
309050
- this.version = `${this.major}.${this.minor}.${this.patch}`;
309051
- if (this.prerelease.length) {
309052
- this.version += `-${this.prerelease.join(".")}`;
309053
- }
309054
- return this.version;
309055
- }
309056
- toString() {
309057
- return this.version;
309058
- }
309059
- compare(other) {
309060
- debug14("SemVer.compare", this.version, this.options, other);
309061
- if (!(other instanceof _SemVer)) {
309062
- if (typeof other === "string" && other === this.version) {
309063
- return 0;
309064
- }
309065
- other = new _SemVer(other, this.options);
309066
- }
309067
- if (other.version === this.version) {
309068
- return 0;
309069
- }
309070
- return this.compareMain(other) || this.comparePre(other);
309071
- }
309072
- compareMain(other) {
309073
- if (!(other instanceof _SemVer)) {
309074
- other = new _SemVer(other, this.options);
309075
- }
309076
- return compareIdentifiers(this.major, other.major) || compareIdentifiers(this.minor, other.minor) || compareIdentifiers(this.patch, other.patch);
309077
- }
309078
- comparePre(other) {
309079
- if (!(other instanceof _SemVer)) {
309080
- other = new _SemVer(other, this.options);
309081
- }
309082
- if (this.prerelease.length && !other.prerelease.length) {
309083
- return -1;
309084
- } else if (!this.prerelease.length && other.prerelease.length) {
309085
- return 1;
309086
- } else if (!this.prerelease.length && !other.prerelease.length) {
309087
- return 0;
309088
- }
309089
- let i = 0;
309090
- do {
309091
- const a = this.prerelease[i];
309092
- const b = other.prerelease[i];
309093
- debug14("prerelease compare", i, a, b);
309094
- if (a === void 0 && b === void 0) {
309095
- return 0;
309096
- } else if (b === void 0) {
309097
- return 1;
309098
- } else if (a === void 0) {
309099
- return -1;
309100
- } else if (a === b) {
309101
- continue;
309102
- } else {
309103
- return compareIdentifiers(a, b);
309104
- }
309105
- } while (++i);
309106
- }
309107
- compareBuild(other) {
309108
- if (!(other instanceof _SemVer)) {
309109
- other = new _SemVer(other, this.options);
309110
- }
309111
- let i = 0;
309112
- do {
309113
- const a = this.build[i];
309114
- const b = other.build[i];
309115
- debug14("build compare", i, a, b);
309116
- if (a === void 0 && b === void 0) {
309117
- return 0;
309118
- } else if (b === void 0) {
309119
- return 1;
309120
- } else if (a === void 0) {
309121
- return -1;
309122
- } else if (a === b) {
309123
- continue;
309124
- } else {
309125
- return compareIdentifiers(a, b);
309126
- }
309127
- } while (++i);
309128
- }
309129
- // preminor will bump the version up to the next minor release, and immediately
309130
- // down to pre-release. premajor and prepatch work the same way.
309131
- inc(release, identifier, identifierBase) {
309132
- if (release.startsWith("pre")) {
309133
- if (!identifier && identifierBase === false) {
309134
- throw new Error("invalid increment argument: identifier is empty");
309135
- }
309136
- if (identifier) {
309137
- const r = new RegExp(`^${this.options.loose ? src[t.PRERELEASELOOSE] : src[t.PRERELEASE]}$`);
309138
- const match4 = `-${identifier}`.match(r);
309139
- if (!match4 || match4[1] !== identifier) {
309140
- throw new Error(`invalid identifier: ${identifier}`);
309141
- }
309142
- }
309143
- }
309144
- switch (release) {
309145
- case "premajor":
309146
- this.prerelease.length = 0;
309147
- this.patch = 0;
309148
- this.minor = 0;
309149
- this.major++;
309150
- this.inc("pre", identifier, identifierBase);
309151
- break;
309152
- case "preminor":
309153
- this.prerelease.length = 0;
309154
- this.patch = 0;
309155
- this.minor++;
309156
- this.inc("pre", identifier, identifierBase);
309157
- break;
309158
- case "prepatch":
309159
- this.prerelease.length = 0;
309160
- this.inc("patch", identifier, identifierBase);
309161
- this.inc("pre", identifier, identifierBase);
309162
- break;
309163
- // If the input is a non-prerelease version, this acts the same as
309164
- // prepatch.
309165
- case "prerelease":
309166
- if (this.prerelease.length === 0) {
309167
- this.inc("patch", identifier, identifierBase);
309168
- }
309169
- this.inc("pre", identifier, identifierBase);
309170
- break;
309171
- case "release":
309172
- if (this.prerelease.length === 0) {
309173
- throw new Error(`version ${this.raw} is not a prerelease`);
309174
- }
309175
- this.prerelease.length = 0;
309176
- break;
309177
- case "major":
309178
- if (this.minor !== 0 || this.patch !== 0 || this.prerelease.length === 0) {
309179
- this.major++;
309180
- }
309181
- this.minor = 0;
309182
- this.patch = 0;
309183
- this.prerelease = [];
309184
- break;
309185
- case "minor":
309186
- if (this.patch !== 0 || this.prerelease.length === 0) {
309187
- this.minor++;
309188
- }
309189
- this.patch = 0;
309190
- this.prerelease = [];
309191
- break;
309192
- case "patch":
309193
- if (this.prerelease.length === 0) {
309194
- this.patch++;
309195
- }
309196
- this.prerelease = [];
309197
- break;
309198
- // This probably shouldn't be used publicly.
309199
- // 1.0.0 'pre' would become 1.0.0-0 which is the wrong direction.
309200
- case "pre": {
309201
- const base2 = Number(identifierBase) ? 1 : 0;
309202
- if (this.prerelease.length === 0) {
309203
- this.prerelease = [base2];
309204
- } else {
309205
- let i = this.prerelease.length;
309206
- while (--i >= 0) {
309207
- if (typeof this.prerelease[i] === "number") {
309208
- this.prerelease[i]++;
309209
- i = -2;
309210
- }
309211
- }
309212
- if (i === -1) {
309213
- if (identifier === this.prerelease.join(".") && identifierBase === false) {
309214
- throw new Error("invalid increment argument: identifier already exists");
309215
- }
309216
- this.prerelease.push(base2);
309217
- }
309218
- }
309219
- if (identifier) {
309220
- let prerelease = [identifier, base2];
309221
- if (identifierBase === false) {
309222
- prerelease = [identifier];
309223
- }
309224
- if (compareIdentifiers(this.prerelease[0], identifier) === 0) {
309225
- if (isNaN(this.prerelease[1])) {
309226
- this.prerelease = prerelease;
309227
- }
309228
- } else {
309229
- this.prerelease = prerelease;
309230
- }
309231
- }
309232
- break;
309233
- }
309234
- default:
309235
- throw new Error(`invalid increment argument: ${release}`);
309236
- }
309237
- this.raw = this.format();
309238
- if (this.build.length) {
309239
- this.raw += `+${this.build.join(".")}`;
309240
- }
309241
- return this;
309242
- }
309243
- };
309244
- module.exports = SemVer;
309245
- }
309246
- });
309247
-
309248
- // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/parse.js
309249
- var require_parse6 = __commonJS({
309250
- "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/parse.js"(exports2, module) {
309251
- init_esm_shims();
309252
- var __import____classes_semver = __toESM(require_semver2());
309253
- var SemVer = __import____classes_semver;
309254
- var parse8 = (version5, options, throwErrors = false) => {
309255
- if (version5 instanceof SemVer) {
309256
- return version5;
309257
- }
309258
- try {
309259
- return new SemVer(version5, options);
309260
- } catch (er) {
309261
- if (!throwErrors) {
309262
- return null;
309263
- }
309264
- throw er;
309265
- }
309266
- };
309267
- module.exports = parse8;
309268
- }
309269
- });
309270
-
309271
- // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/valid.js
309272
- var require_valid2 = __commonJS({
309273
- "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/valid.js"(exports2, module) {
309274
- init_esm_shims();
309275
- var __import___parse = __toESM(require_parse6());
309276
- var parse8 = __import___parse;
309277
- var valid = (version5, options) => {
309278
- const v = parse8(version5, options);
309279
- return v ? v.version : null;
309280
- };
309281
- module.exports = valid;
309282
- }
309283
- });
309284
-
309285
- // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/clean.js
309286
- var require_clean2 = __commonJS({
309287
- "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/clean.js"(exports2, module) {
309288
- init_esm_shims();
309289
- var __import___parse = __toESM(require_parse6());
309290
- var parse8 = __import___parse;
309291
- var clean6 = (version5, options) => {
309292
- const s = parse8(version5.trim().replace(/^[=v]+/, ""), options);
309293
- return s ? s.version : null;
309294
- };
309295
- module.exports = clean6;
309296
- }
309297
- });
309298
-
309299
- // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/inc.js
309300
- var require_inc = __commonJS({
309301
- "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/inc.js"(exports2, module) {
309302
- init_esm_shims();
309303
- var __import____classes_semver = __toESM(require_semver2());
309304
- var SemVer = __import____classes_semver;
309305
- var inc = (version5, release, options, identifier, identifierBase) => {
309306
- if (typeof options === "string") {
309307
- identifierBase = identifier;
309308
- identifier = options;
309309
- options = void 0;
309310
- }
309311
- try {
309312
- return new SemVer(
309313
- version5 instanceof SemVer ? version5.version : version5,
309314
- options
309315
- ).inc(release, identifier, identifierBase).version;
309316
- } catch (er) {
309317
- return null;
309318
- }
309319
- };
309320
- module.exports = inc;
309321
- }
309322
- });
309323
-
309324
- // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/diff.js
309325
- var require_diff = __commonJS({
309326
- "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/diff.js"(exports2, module) {
309327
- init_esm_shims();
309328
- var __import___parse_js = __toESM(require_parse6());
309329
- var parse8 = __import___parse_js;
309330
- var diff = (version1, version22) => {
309331
- const v1 = parse8(version1, null, true);
309332
- const v2 = parse8(version22, null, true);
309333
- const comparison = v1.compare(v2);
309334
- if (comparison === 0) {
309335
- return null;
309336
- }
309337
- const v1Higher = comparison > 0;
309338
- const highVersion = v1Higher ? v1 : v2;
309339
- const lowVersion = v1Higher ? v2 : v1;
309340
- const highHasPre = !!highVersion.prerelease.length;
309341
- const lowHasPre = !!lowVersion.prerelease.length;
309342
- if (lowHasPre && !highHasPre) {
309343
- if (!lowVersion.patch && !lowVersion.minor) {
309344
- return "major";
309345
- }
309346
- if (lowVersion.compareMain(highVersion) === 0) {
309347
- if (lowVersion.minor && !lowVersion.patch) {
309348
- return "minor";
309349
- }
309350
- return "patch";
309351
- }
309352
- }
309353
- const prefix = highHasPre ? "pre" : "";
309354
- if (v1.major !== v2.major) {
309355
- return prefix + "major";
309356
- }
309357
- if (v1.minor !== v2.minor) {
309358
- return prefix + "minor";
309359
- }
309360
- if (v1.patch !== v2.patch) {
309361
- return prefix + "patch";
309362
- }
309363
- return "prerelease";
309364
- };
309365
- module.exports = diff;
309366
- }
309367
- });
309368
-
309369
- // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/major.js
309370
- var require_major = __commonJS({
309371
- "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/major.js"(exports2, module) {
309372
- init_esm_shims();
309373
- var __import____classes_semver = __toESM(require_semver2());
309374
- var SemVer = __import____classes_semver;
309375
- var major = (a, loose) => new SemVer(a, loose).major;
309376
- module.exports = major;
309377
- }
309378
- });
309379
-
309380
- // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/minor.js
309381
- var require_minor = __commonJS({
309382
- "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/minor.js"(exports2, module) {
309383
- init_esm_shims();
309384
- var __import____classes_semver = __toESM(require_semver2());
309385
- var SemVer = __import____classes_semver;
309386
- var minor = (a, loose) => new SemVer(a, loose).minor;
309387
- module.exports = minor;
309388
- }
309389
- });
309390
-
309391
- // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/patch.js
309392
- var require_patch = __commonJS({
309393
- "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/patch.js"(exports2, module) {
309394
- init_esm_shims();
309395
- var __import____classes_semver = __toESM(require_semver2());
309396
- var SemVer = __import____classes_semver;
309397
- var patch2 = (a, loose) => new SemVer(a, loose).patch;
309398
- module.exports = patch2;
309399
- }
309400
- });
309401
-
309402
- // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/prerelease.js
309403
- var require_prerelease = __commonJS({
309404
- "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/prerelease.js"(exports2, module) {
309405
- init_esm_shims();
309406
- var __import___parse = __toESM(require_parse6());
309407
- var parse8 = __import___parse;
309408
- var prerelease = (version5, options) => {
309409
- const parsed = parse8(version5, options);
309410
- return parsed && parsed.prerelease.length ? parsed.prerelease : null;
309411
- };
309412
- module.exports = prerelease;
309413
- }
309414
- });
309415
-
309416
- // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/compare.js
309417
- var require_compare = __commonJS({
309418
- "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/compare.js"(exports2, module) {
309419
- init_esm_shims();
309420
- var __import____classes_semver = __toESM(require_semver2());
309421
- var SemVer = __import____classes_semver;
309422
- var compare6 = (a, b, loose) => new SemVer(a, loose).compare(new SemVer(b, loose));
309423
- module.exports = compare6;
309424
- }
309425
- });
309426
-
309427
- // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/rcompare.js
309428
- var require_rcompare = __commonJS({
309429
- "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/rcompare.js"(exports2, module) {
309430
- init_esm_shims();
309431
- var __import___compare = __toESM(require_compare());
309432
- var compare6 = __import___compare;
309433
- var rcompare2 = (a, b, loose) => compare6(b, a, loose);
309434
- module.exports = rcompare2;
309435
- }
309436
- });
309437
-
309438
- // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/compare-loose.js
309439
- var require_compare_loose = __commonJS({
309440
- "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/compare-loose.js"(exports2, module) {
309441
- init_esm_shims();
309442
- var __import___compare = __toESM(require_compare());
309443
- var compare6 = __import___compare;
309444
- var compareLoose = (a, b) => compare6(a, b, true);
309445
- module.exports = compareLoose;
309446
- }
309447
- });
309448
-
309449
- // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/compare-build.js
309450
- var require_compare_build = __commonJS({
309451
- "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/compare-build.js"(exports2, module) {
309452
- init_esm_shims();
309453
- var __import____classes_semver = __toESM(require_semver2());
309454
- var SemVer = __import____classes_semver;
309455
- var compareBuild = (a, b, loose) => {
309456
- const versionA = new SemVer(a, loose);
309457
- const versionB = new SemVer(b, loose);
309458
- return versionA.compare(versionB) || versionA.compareBuild(versionB);
309459
- };
309460
- module.exports = compareBuild;
309461
- }
309462
- });
309463
-
309464
- // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/sort.js
309465
- var require_sort = __commonJS({
309466
- "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/sort.js"(exports2, module) {
309467
- init_esm_shims();
309468
- var __import___compareBuild = __toESM(require_compare_build());
309469
- var compareBuild = __import___compareBuild;
309470
- var sort = (list, loose) => list.sort((a, b) => compareBuild(a, b, loose));
309471
- module.exports = sort;
309472
- }
309473
- });
309474
-
309475
- // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/rsort.js
309476
- var require_rsort = __commonJS({
309477
- "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/rsort.js"(exports2, module) {
309478
- init_esm_shims();
309479
- var __import___compareBuild = __toESM(require_compare_build());
309480
- var compareBuild = __import___compareBuild;
309481
- var rsort = (list, loose) => list.sort((a, b) => compareBuild(b, a, loose));
309482
- module.exports = rsort;
309483
- }
309484
- });
309485
-
309486
- // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/gt.js
309487
- var require_gt = __commonJS({
309488
- "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/gt.js"(exports2, module) {
309489
- init_esm_shims();
309490
- var __import___compare = __toESM(require_compare());
309491
- var compare6 = __import___compare;
309492
- var gt = (a, b, loose) => compare6(a, b, loose) > 0;
309493
- module.exports = gt;
309494
- }
309495
- });
309496
-
309497
- // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/lt.js
309498
- var require_lt = __commonJS({
309499
- "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/lt.js"(exports2, module) {
309500
- init_esm_shims();
309501
- var __import___compare = __toESM(require_compare());
309502
- var compare6 = __import___compare;
309503
- var lt = (a, b, loose) => compare6(a, b, loose) < 0;
309504
- module.exports = lt;
309505
- }
309506
- });
309507
-
309508
- // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/eq.js
309509
- var require_eq = __commonJS({
309510
- "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/eq.js"(exports2, module) {
309511
- init_esm_shims();
309512
- var __import___compare = __toESM(require_compare());
309513
- var compare6 = __import___compare;
309514
- var eq2 = (a, b, loose) => compare6(a, b, loose) === 0;
309515
- module.exports = eq2;
309516
- }
309517
- });
309518
-
309519
- // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/neq.js
309520
- var require_neq = __commonJS({
309521
- "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/neq.js"(exports2, module) {
309522
- init_esm_shims();
309523
- var __import___compare = __toESM(require_compare());
309524
- var compare6 = __import___compare;
309525
- var neq = (a, b, loose) => compare6(a, b, loose) !== 0;
309526
- module.exports = neq;
309527
- }
309528
- });
309529
-
309530
- // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/gte.js
309531
- var require_gte = __commonJS({
309532
- "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/gte.js"(exports2, module) {
309533
- init_esm_shims();
309534
- var __import___compare = __toESM(require_compare());
309535
- var compare6 = __import___compare;
309536
- var gte = (a, b, loose) => compare6(a, b, loose) >= 0;
309537
- module.exports = gte;
309538
- }
309539
- });
309540
-
309541
- // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/lte.js
309542
- var require_lte = __commonJS({
309543
- "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/lte.js"(exports2, module) {
309544
- init_esm_shims();
309545
- var __import___compare = __toESM(require_compare());
309546
- var compare6 = __import___compare;
309547
- var lte = (a, b, loose) => compare6(a, b, loose) <= 0;
309548
- module.exports = lte;
309549
- }
309550
- });
309551
-
309552
- // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/cmp.js
309553
- var require_cmp = __commonJS({
309554
- "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/cmp.js"(exports2, module) {
309555
- init_esm_shims();
309556
- var __import___eq = __toESM(require_eq());
309557
- var __import___neq = __toESM(require_neq());
309558
- var __import___gt = __toESM(require_gt());
309559
- var __import___gte = __toESM(require_gte());
309560
- var __import___lt = __toESM(require_lt());
309561
- var __import___lte = __toESM(require_lte());
309562
- var eq2 = __import___eq;
309563
- var neq = __import___neq;
309564
- var gt = __import___gt;
309565
- var gte = __import___gte;
309566
- var lt = __import___lt;
309567
- var lte = __import___lte;
309568
- var cmp = (a, op, b, loose) => {
309569
- switch (op) {
309570
- case "===":
309571
- if (typeof a === "object") {
309572
- a = a.version;
309573
- }
309574
- if (typeof b === "object") {
309575
- b = b.version;
309576
- }
309577
- return a === b;
309578
- case "!==":
309579
- if (typeof a === "object") {
309580
- a = a.version;
309581
- }
309582
- if (typeof b === "object") {
309583
- b = b.version;
309584
- }
309585
- return a !== b;
309586
- case "":
309587
- case "=":
309588
- case "==":
309589
- return eq2(a, b, loose);
309590
- case "!=":
309591
- return neq(a, b, loose);
309592
- case ">":
309593
- return gt(a, b, loose);
309594
- case ">=":
309595
- return gte(a, b, loose);
309596
- case "<":
309597
- return lt(a, b, loose);
309598
- case "<=":
309599
- return lte(a, b, loose);
309600
- default:
309601
- throw new TypeError(`Invalid operator: ${op}`);
309602
- }
309603
- };
309604
- module.exports = cmp;
309605
- }
309606
- });
309607
-
309608
- // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/coerce.js
309609
- var require_coerce = __commonJS({
309610
- "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/coerce.js"(exports2, module) {
309611
- init_esm_shims();
309612
- var __import____classes_semver = __toESM(require_semver2());
309613
- var __import___parse = __toESM(require_parse6());
309614
- var __import____internal_re = __toESM(require_re());
309615
- var SemVer = __import____classes_semver;
309616
- var parse8 = __import___parse;
309617
- var { safeRe: re, t } = __import____internal_re;
309618
- var coerce2 = (version5, options) => {
309619
- if (version5 instanceof SemVer) {
309620
- return version5;
309621
- }
309622
- if (typeof version5 === "number") {
309623
- version5 = String(version5);
309624
- }
309625
- if (typeof version5 !== "string") {
309626
- return null;
309627
- }
309628
- options = options || {};
309629
- let match4 = null;
309630
- if (!options.rtl) {
309631
- match4 = version5.match(options.includePrerelease ? re[t.COERCEFULL] : re[t.COERCE]);
309632
- } else {
309633
- const coerceRtlRegex = options.includePrerelease ? re[t.COERCERTLFULL] : re[t.COERCERTL];
309634
- let next;
309635
- while ((next = coerceRtlRegex.exec(version5)) && (!match4 || match4.index + match4[0].length !== version5.length)) {
309636
- if (!match4 || next.index + next[0].length !== match4.index + match4[0].length) {
309637
- match4 = next;
309638
- }
309639
- coerceRtlRegex.lastIndex = next.index + next[1].length + next[2].length;
309640
- }
309641
- coerceRtlRegex.lastIndex = -1;
309642
- }
309643
- if (match4 === null) {
309644
- return null;
309645
- }
309646
- const major = match4[2];
309647
- const minor = match4[3] || "0";
309648
- const patch2 = match4[4] || "0";
309649
- const prerelease = options.includePrerelease && match4[5] ? `-${match4[5]}` : "";
309650
- const build = options.includePrerelease && match4[6] ? `+${match4[6]}` : "";
309651
- return parse8(`${major}.${minor}.${patch2}${prerelease}${build}`, options);
309652
- };
309653
- module.exports = coerce2;
309654
- }
309655
- });
309656
-
309657
- // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/lrucache.js
309658
- var require_lrucache = __commonJS({
309659
- "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/lrucache.js"(exports2, module) {
309660
- init_esm_shims();
309661
- var LRUCache3 = class {
309662
- constructor() {
309663
- this.max = 1e3;
309664
- this.map = /* @__PURE__ */ new Map();
309665
- }
309666
- get(key) {
309667
- const value2 = this.map.get(key);
309668
- if (value2 === void 0) {
309669
- return void 0;
309670
- } else {
309671
- this.map.delete(key);
309672
- this.map.set(key, value2);
309673
- return value2;
309674
- }
309675
- }
309676
- delete(key) {
309677
- return this.map.delete(key);
309678
- }
309679
- set(key, value2) {
309680
- const deleted = this.delete(key);
309681
- if (!deleted && value2 !== void 0) {
309682
- if (this.map.size >= this.max) {
309683
- const firstKey = this.map.keys().next().value;
309684
- this.delete(firstKey);
309685
- }
309686
- this.map.set(key, value2);
309687
- }
309688
- return this;
309689
- }
309690
- };
309691
- module.exports = LRUCache3;
309692
- }
309693
- });
309694
-
309695
- // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/classes/range.js
309696
- var require_range = __commonJS({
309697
- "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/classes/range.js"(exports2, module) {
309698
- init_esm_shims();
309699
- var __import____internal_lrucache = __toESM(require_lrucache());
309700
- var __import____internal_parseOptions = __toESM(require_parse_options());
309701
- var __import___comparator = __toESM(require_comparator());
309702
- var __import____internal_debug = __toESM(require_debug2());
309703
- var __import___semver = __toESM(require_semver2());
309704
- var __import____internal_re = __toESM(require_re());
309705
- var __import____internal_constants = __toESM(require_constants5());
309706
- var SPACE_CHARACTERS = /\s+/g;
309707
- var Range2 = class _Range {
309708
- constructor(range, options) {
309709
- options = parseOptions(options);
309710
- if (range instanceof _Range) {
309711
- if (range.loose === !!options.loose && range.includePrerelease === !!options.includePrerelease) {
309712
- return range;
309713
- } else {
309714
- return new _Range(range.raw, options);
309715
- }
309716
- }
309717
- if (range instanceof Comparator2) {
309718
- this.raw = range.value;
309719
- this.set = [[range]];
309720
- this.formatted = void 0;
309721
- return this;
309722
- }
309723
- this.options = options;
309724
- this.loose = !!options.loose;
309725
- this.includePrerelease = !!options.includePrerelease;
309726
- this.raw = range.trim().replace(SPACE_CHARACTERS, " ");
309727
- this.set = this.raw.split("||").map((r) => this.parseRange(r.trim())).filter((c) => c.length);
309728
- if (!this.set.length) {
309729
- throw new TypeError(`Invalid SemVer Range: ${this.raw}`);
309730
- }
309731
- if (this.set.length > 1) {
309732
- const first3 = this.set[0];
309733
- this.set = this.set.filter((c) => !isNullSet(c[0]));
309734
- if (this.set.length === 0) {
309735
- this.set = [first3];
309736
- } else if (this.set.length > 1) {
309737
- for (const c of this.set) {
309738
- if (c.length === 1 && isAny(c[0])) {
309739
- this.set = [c];
309740
- break;
309741
- }
309742
- }
309743
- }
309744
- }
309745
- this.formatted = void 0;
309746
- }
309747
- get range() {
309748
- if (this.formatted === void 0) {
309749
- this.formatted = "";
309750
- for (let i = 0; i < this.set.length; i++) {
309751
- if (i > 0) {
309752
- this.formatted += "||";
309753
- }
309754
- const comps = this.set[i];
309755
- for (let k = 0; k < comps.length; k++) {
309756
- if (k > 0) {
309757
- this.formatted += " ";
309758
- }
309759
- this.formatted += comps[k].toString().trim();
309760
- }
309761
- }
309762
- }
309763
- return this.formatted;
309764
- }
309765
- format() {
309766
- return this.range;
309767
- }
309768
- toString() {
309769
- return this.range;
309770
- }
309771
- parseRange(range) {
309772
- const memoOpts = (this.options.includePrerelease && FLAG_INCLUDE_PRERELEASE) | (this.options.loose && FLAG_LOOSE);
309773
- const memoKey = memoOpts + ":" + range;
309774
- const cached = cache5.get(memoKey);
309775
- if (cached) {
309776
- return cached;
309777
- }
309778
- const loose = this.options.loose;
309779
- const hr = loose ? re[t.HYPHENRANGELOOSE] : re[t.HYPHENRANGE];
309780
- range = range.replace(hr, hyphenReplace(this.options.includePrerelease));
309781
- debug14("hyphen replace", range);
309782
- range = range.replace(re[t.COMPARATORTRIM], comparatorTrimReplace);
309783
- debug14("comparator trim", range);
309784
- range = range.replace(re[t.TILDETRIM], tildeTrimReplace);
309785
- debug14("tilde trim", range);
309786
- range = range.replace(re[t.CARETTRIM], caretTrimReplace);
309787
- debug14("caret trim", range);
309788
- let rangeList = range.split(" ").map((comp) => parseComparator(comp, this.options)).join(" ").split(/\s+/).map((comp) => replaceGTE0(comp, this.options));
309789
- if (loose) {
309790
- rangeList = rangeList.filter((comp) => {
309791
- debug14("loose invalid filter", comp, this.options);
309792
- return !!comp.match(re[t.COMPARATORLOOSE]);
309793
- });
309794
- }
309795
- debug14("range list", rangeList);
309796
- const rangeMap = /* @__PURE__ */ new Map();
309797
- const comparators = rangeList.map((comp) => new Comparator2(comp, this.options));
309798
- for (const comp of comparators) {
309799
- if (isNullSet(comp)) {
309800
- return [comp];
309801
- }
309802
- rangeMap.set(comp.value, comp);
309803
- }
309804
- if (rangeMap.size > 1 && rangeMap.has("")) {
309805
- rangeMap.delete("");
309806
- }
309807
- const result = [...rangeMap.values()];
309808
- cache5.set(memoKey, result);
309809
- return result;
309810
- }
309811
- intersects(range, options) {
309812
- if (!(range instanceof _Range)) {
309813
- throw new TypeError("a Range is required");
309814
- }
309815
- return this.set.some((thisComparators) => {
309816
- return isSatisfiable(thisComparators, options) && range.set.some((rangeComparators) => {
309817
- return isSatisfiable(rangeComparators, options) && thisComparators.every((thisComparator) => {
309818
- return rangeComparators.every((rangeComparator) => {
309819
- return thisComparator.intersects(rangeComparator, options);
309820
- });
309821
- });
309822
- });
309823
- });
309824
- }
309825
- // if ANY of the sets match ALL of its comparators, then pass
309826
- test(version5) {
309827
- if (!version5) {
309828
- return false;
309829
- }
309830
- if (typeof version5 === "string") {
309831
- try {
309832
- version5 = new SemVer(version5, this.options);
309833
- } catch (er) {
309834
- return false;
309835
- }
309836
- }
309837
- for (let i = 0; i < this.set.length; i++) {
309838
- if (testSet(this.set[i], version5, this.options)) {
309839
- return true;
309840
- }
309841
- }
309842
- return false;
309843
- }
309844
- };
309845
- module.exports = Range2;
309846
- var LRU = __import____internal_lrucache;
309847
- var cache5 = new LRU();
309848
- var parseOptions = __import____internal_parseOptions;
309849
- var Comparator2 = __import___comparator;
309850
- var debug14 = __import____internal_debug;
309851
- var SemVer = __import___semver;
309852
- var {
309853
- safeRe: re,
309854
- t,
309855
- comparatorTrimReplace,
309856
- tildeTrimReplace,
309857
- caretTrimReplace
309858
- } = __import____internal_re;
309859
- var { FLAG_INCLUDE_PRERELEASE, FLAG_LOOSE } = __import____internal_constants;
309860
- var isNullSet = (c) => c.value === "<0.0.0-0";
309861
- var isAny = (c) => c.value === "";
309862
- var isSatisfiable = (comparators, options) => {
309863
- let result = true;
309864
- const remainingComparators = comparators.slice();
309865
- let testComparator = remainingComparators.pop();
309866
- while (result && remainingComparators.length) {
309867
- result = remainingComparators.every((otherComparator) => {
309868
- return testComparator.intersects(otherComparator, options);
309869
- });
309870
- testComparator = remainingComparators.pop();
309871
- }
309872
- return result;
309873
- };
309874
- var parseComparator = (comp, options) => {
309875
- debug14("comp", comp, options);
309876
- comp = replaceCarets(comp, options);
309877
- debug14("caret", comp);
309878
- comp = replaceTildes(comp, options);
309879
- debug14("tildes", comp);
309880
- comp = replaceXRanges(comp, options);
309881
- debug14("xrange", comp);
309882
- comp = replaceStars(comp, options);
309883
- debug14("stars", comp);
309884
- return comp;
309885
- };
309886
- var isX = (id) => !id || id.toLowerCase() === "x" || id === "*";
309887
- var replaceTildes = (comp, options) => {
309888
- return comp.trim().split(/\s+/).map((c) => replaceTilde(c, options)).join(" ");
309889
- };
309890
- var replaceTilde = (comp, options) => {
309891
- const r = options.loose ? re[t.TILDELOOSE] : re[t.TILDE];
309892
- return comp.replace(r, (_, M, m, p, pr) => {
309893
- debug14("tilde", comp, _, M, m, p, pr);
309894
- let ret;
309895
- if (isX(M)) {
309896
- ret = "";
309897
- } else if (isX(m)) {
309898
- ret = `>=${M}.0.0 <${+M + 1}.0.0-0`;
309899
- } else if (isX(p)) {
309900
- ret = `>=${M}.${m}.0 <${M}.${+m + 1}.0-0`;
309901
- } else if (pr) {
309902
- debug14("replaceTilde pr", pr);
309903
- ret = `>=${M}.${m}.${p}-${pr} <${M}.${+m + 1}.0-0`;
309904
- } else {
309905
- ret = `>=${M}.${m}.${p} <${M}.${+m + 1}.0-0`;
309906
- }
309907
- debug14("tilde return", ret);
309908
- return ret;
309909
- });
309910
- };
309911
- var replaceCarets = (comp, options) => {
309912
- return comp.trim().split(/\s+/).map((c) => replaceCaret(c, options)).join(" ");
309913
- };
309914
- var replaceCaret = (comp, options) => {
309915
- debug14("caret", comp, options);
309916
- const r = options.loose ? re[t.CARETLOOSE] : re[t.CARET];
309917
- const z2 = options.includePrerelease ? "-0" : "";
309918
- return comp.replace(r, (_, M, m, p, pr) => {
309919
- debug14("caret", comp, _, M, m, p, pr);
309920
- let ret;
309921
- if (isX(M)) {
309922
- ret = "";
309923
- } else if (isX(m)) {
309924
- ret = `>=${M}.0.0${z2} <${+M + 1}.0.0-0`;
309925
- } else if (isX(p)) {
309926
- if (M === "0") {
309927
- ret = `>=${M}.${m}.0${z2} <${M}.${+m + 1}.0-0`;
309928
- } else {
309929
- ret = `>=${M}.${m}.0${z2} <${+M + 1}.0.0-0`;
309930
- }
309931
- } else if (pr) {
309932
- debug14("replaceCaret pr", pr);
309933
- if (M === "0") {
309934
- if (m === "0") {
309935
- ret = `>=${M}.${m}.${p}-${pr} <${M}.${m}.${+p + 1}-0`;
309936
- } else {
309937
- ret = `>=${M}.${m}.${p}-${pr} <${M}.${+m + 1}.0-0`;
309938
- }
309939
- } else {
309940
- ret = `>=${M}.${m}.${p}-${pr} <${+M + 1}.0.0-0`;
309941
- }
309942
- } else {
309943
- debug14("no pr");
309944
- if (M === "0") {
309945
- if (m === "0") {
309946
- ret = `>=${M}.${m}.${p}${z2} <${M}.${m}.${+p + 1}-0`;
309947
- } else {
309948
- ret = `>=${M}.${m}.${p}${z2} <${M}.${+m + 1}.0-0`;
309949
- }
309950
- } else {
309951
- ret = `>=${M}.${m}.${p} <${+M + 1}.0.0-0`;
309952
- }
309953
- }
309954
- debug14("caret return", ret);
309955
- return ret;
309956
- });
309957
- };
309958
- var replaceXRanges = (comp, options) => {
309959
- debug14("replaceXRanges", comp, options);
309960
- return comp.split(/\s+/).map((c) => replaceXRange(c, options)).join(" ");
309961
- };
309962
- var replaceXRange = (comp, options) => {
309963
- comp = comp.trim();
309964
- const r = options.loose ? re[t.XRANGELOOSE] : re[t.XRANGE];
309965
- return comp.replace(r, (ret, gtlt, M, m, p, pr) => {
309966
- debug14("xRange", comp, ret, gtlt, M, m, p, pr);
309967
- const xM = isX(M);
309968
- const xm = xM || isX(m);
309969
- const xp = xm || isX(p);
309970
- const anyX = xp;
309971
- if (gtlt === "=" && anyX) {
309972
- gtlt = "";
309973
- }
309974
- pr = options.includePrerelease ? "-0" : "";
309975
- if (xM) {
309976
- if (gtlt === ">" || gtlt === "<") {
309977
- ret = "<0.0.0-0";
309978
- } else {
309979
- ret = "*";
309980
- }
309981
- } else if (gtlt && anyX) {
309982
- if (xm) {
309983
- m = 0;
309984
- }
309985
- p = 0;
309986
- if (gtlt === ">") {
309987
- gtlt = ">=";
309988
- if (xm) {
309989
- M = +M + 1;
309990
- m = 0;
309991
- p = 0;
309992
- } else {
309993
- m = +m + 1;
309994
- p = 0;
309995
- }
309996
- } else if (gtlt === "<=") {
309997
- gtlt = "<";
309998
- if (xm) {
309999
- M = +M + 1;
310000
- } else {
310001
- m = +m + 1;
310002
- }
310003
- }
310004
- if (gtlt === "<") {
310005
- pr = "-0";
310006
- }
310007
- ret = `${gtlt + M}.${m}.${p}${pr}`;
310008
- } else if (xm) {
310009
- ret = `>=${M}.0.0${pr} <${+M + 1}.0.0-0`;
310010
- } else if (xp) {
310011
- ret = `>=${M}.${m}.0${pr} <${M}.${+m + 1}.0-0`;
310012
- }
310013
- debug14("xRange return", ret);
310014
- return ret;
310015
- });
310016
- };
310017
- var replaceStars = (comp, options) => {
310018
- debug14("replaceStars", comp, options);
310019
- return comp.trim().replace(re[t.STAR], "");
310020
- };
310021
- var replaceGTE0 = (comp, options) => {
310022
- debug14("replaceGTE0", comp, options);
310023
- return comp.trim().replace(re[options.includePrerelease ? t.GTE0PRE : t.GTE0], "");
310024
- };
310025
- var hyphenReplace = (incPr) => ($0, from, fM, fm, fp, fpr, fb, to, tM, tm, tp, tpr) => {
310026
- if (isX(fM)) {
310027
- from = "";
310028
- } else if (isX(fm)) {
310029
- from = `>=${fM}.0.0${incPr ? "-0" : ""}`;
310030
- } else if (isX(fp)) {
310031
- from = `>=${fM}.${fm}.0${incPr ? "-0" : ""}`;
310032
- } else if (fpr) {
310033
- from = `>=${from}`;
310034
- } else {
310035
- from = `>=${from}${incPr ? "-0" : ""}`;
310036
- }
310037
- if (isX(tM)) {
310038
- to = "";
310039
- } else if (isX(tm)) {
310040
- to = `<${+tM + 1}.0.0-0`;
310041
- } else if (isX(tp)) {
310042
- to = `<${tM}.${+tm + 1}.0-0`;
310043
- } else if (tpr) {
310044
- to = `<=${tM}.${tm}.${tp}-${tpr}`;
310045
- } else if (incPr) {
310046
- to = `<${tM}.${tm}.${+tp + 1}-0`;
310047
- } else {
310048
- to = `<=${to}`;
310049
- }
310050
- return `${from} ${to}`.trim();
310051
- };
310052
- var testSet = (set5, version5, options) => {
310053
- for (let i = 0; i < set5.length; i++) {
310054
- if (!set5[i].test(version5)) {
310055
- return false;
310056
- }
310057
- }
310058
- if (version5.prerelease.length && !options.includePrerelease) {
310059
- for (let i = 0; i < set5.length; i++) {
310060
- debug14(set5[i].semver);
310061
- if (set5[i].semver === Comparator2.ANY) {
310062
- continue;
310063
- }
310064
- if (set5[i].semver.prerelease.length > 0) {
310065
- const allowed = set5[i].semver;
310066
- if (allowed.major === version5.major && allowed.minor === version5.minor && allowed.patch === version5.patch) {
310067
- return true;
310068
- }
310069
- }
310070
- }
310071
- return false;
310072
- }
310073
- return true;
310074
- };
310075
- }
310076
- });
310077
-
310078
- // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/classes/comparator.js
310079
- var require_comparator = __commonJS({
310080
- "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/classes/comparator.js"(exports2, module) {
310081
- init_esm_shims();
310082
- var __import____internal_parseOptions = __toESM(require_parse_options());
310083
- var __import____internal_re = __toESM(require_re());
310084
- var __import____functions_cmp = __toESM(require_cmp());
310085
- var __import____internal_debug = __toESM(require_debug2());
310086
- var __import___semver = __toESM(require_semver2());
310087
- var __import___range = __toESM(require_range());
310088
- var ANY = Symbol("SemVer ANY");
310089
- var Comparator2 = class _Comparator {
310090
- static get ANY() {
310091
- return ANY;
310092
- }
310093
- constructor(comp, options) {
310094
- options = parseOptions(options);
310095
- if (comp instanceof _Comparator) {
310096
- if (comp.loose === !!options.loose) {
310097
- return comp;
310098
- } else {
310099
- comp = comp.value;
310100
- }
310101
- }
310102
- comp = comp.trim().split(/\s+/).join(" ");
310103
- debug14("comparator", comp, options);
310104
- this.options = options;
310105
- this.loose = !!options.loose;
310106
- this.parse(comp);
310107
- if (this.semver === ANY) {
310108
- this.value = "";
310109
- } else {
310110
- this.value = this.operator + this.semver.version;
310111
- }
310112
- debug14("comp", this);
310113
- }
310114
- parse(comp) {
310115
- const r = this.options.loose ? re[t.COMPARATORLOOSE] : re[t.COMPARATOR];
310116
- const m = comp.match(r);
310117
- if (!m) {
310118
- throw new TypeError(`Invalid comparator: ${comp}`);
310119
- }
310120
- this.operator = m[1] !== void 0 ? m[1] : "";
310121
- if (this.operator === "=") {
310122
- this.operator = "";
310123
- }
310124
- if (!m[2]) {
310125
- this.semver = ANY;
310126
- } else {
310127
- this.semver = new SemVer(m[2], this.options.loose);
310128
- }
310129
- }
310130
- toString() {
310131
- return this.value;
310132
- }
310133
- test(version5) {
310134
- debug14("Comparator.test", version5, this.options.loose);
310135
- if (this.semver === ANY || version5 === ANY) {
310136
- return true;
310137
- }
310138
- if (typeof version5 === "string") {
310139
- try {
310140
- version5 = new SemVer(version5, this.options);
310141
- } catch (er) {
310142
- return false;
310143
- }
310144
- }
310145
- return cmp(version5, this.operator, this.semver, this.options);
310146
- }
310147
- intersects(comp, options) {
310148
- if (!(comp instanceof _Comparator)) {
310149
- throw new TypeError("a Comparator is required");
310150
- }
310151
- if (this.operator === "") {
310152
- if (this.value === "") {
310153
- return true;
310154
- }
310155
- return new Range2(comp.value, options).test(this.value);
310156
- } else if (comp.operator === "") {
310157
- if (comp.value === "") {
310158
- return true;
310159
- }
310160
- return new Range2(this.value, options).test(comp.semver);
310161
- }
310162
- options = parseOptions(options);
310163
- if (options.includePrerelease && (this.value === "<0.0.0-0" || comp.value === "<0.0.0-0")) {
310164
- return false;
310165
- }
310166
- if (!options.includePrerelease && (this.value.startsWith("<0.0.0") || comp.value.startsWith("<0.0.0"))) {
310167
- return false;
310168
- }
310169
- if (this.operator.startsWith(">") && comp.operator.startsWith(">")) {
310170
- return true;
310171
- }
310172
- if (this.operator.startsWith("<") && comp.operator.startsWith("<")) {
310173
- return true;
310174
- }
310175
- if (this.semver.version === comp.semver.version && this.operator.includes("=") && comp.operator.includes("=")) {
310176
- return true;
310177
- }
310178
- if (cmp(this.semver, "<", comp.semver, options) && this.operator.startsWith(">") && comp.operator.startsWith("<")) {
310179
- return true;
310180
- }
310181
- if (cmp(this.semver, ">", comp.semver, options) && this.operator.startsWith("<") && comp.operator.startsWith(">")) {
310182
- return true;
310183
- }
310184
- return false;
310185
- }
310186
- };
310187
- module.exports = Comparator2;
310188
- var parseOptions = __import____internal_parseOptions;
310189
- var { safeRe: re, t } = __import____internal_re;
310190
- var cmp = __import____functions_cmp;
310191
- var debug14 = __import____internal_debug;
310192
- var SemVer = __import___semver;
310193
- var Range2 = __import___range;
310194
- }
310195
- });
310196
-
310197
- // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/satisfies.js
310198
- var require_satisfies = __commonJS({
310199
- "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/satisfies.js"(exports2, module) {
310200
- init_esm_shims();
310201
- var __import____classes_range = __toESM(require_range());
310202
- var Range2 = __import____classes_range;
310203
- var satisfies = (version5, range, options) => {
310204
- try {
310205
- range = new Range2(range, options);
310206
- } catch (er) {
310207
- return false;
310208
- }
310209
- return range.test(version5);
310210
- };
310211
- module.exports = satisfies;
310212
- }
310213
- });
310214
-
310215
- // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/ranges/to-comparators.js
310216
- var require_to_comparators = __commonJS({
310217
- "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/ranges/to-comparators.js"(exports2, module) {
310218
- init_esm_shims();
310219
- var __import____classes_range = __toESM(require_range());
310220
- var Range2 = __import____classes_range;
310221
- var toComparators = (range, options) => new Range2(range, options).set.map((comp) => comp.map((c) => c.value).join(" ").trim().split(" "));
310222
- module.exports = toComparators;
310223
- }
310224
- });
310225
-
310226
- // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/ranges/max-satisfying.js
310227
- var require_max_satisfying = __commonJS({
310228
- "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/ranges/max-satisfying.js"(exports2, module) {
310229
- init_esm_shims();
310230
- var __import____classes_semver = __toESM(require_semver2());
310231
- var __import____classes_range = __toESM(require_range());
310232
- var SemVer = __import____classes_semver;
310233
- var Range2 = __import____classes_range;
310234
- var maxSatisfying = (versions, range, options) => {
310235
- let max4 = null;
310236
- let maxSV = null;
310237
- let rangeObj = null;
310238
- try {
310239
- rangeObj = new Range2(range, options);
310240
- } catch (er) {
310241
- return null;
310242
- }
310243
- versions.forEach((v) => {
310244
- if (rangeObj.test(v)) {
310245
- if (!max4 || maxSV.compare(v) === -1) {
310246
- max4 = v;
310247
- maxSV = new SemVer(max4, options);
310248
- }
310249
- }
310250
- });
310251
- return max4;
310252
- };
310253
- module.exports = maxSatisfying;
310254
- }
310255
- });
310256
-
310257
- // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/ranges/min-satisfying.js
310258
- var require_min_satisfying = __commonJS({
310259
- "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/ranges/min-satisfying.js"(exports2, module) {
310260
- init_esm_shims();
310261
- var __import____classes_semver = __toESM(require_semver2());
310262
- var __import____classes_range = __toESM(require_range());
310263
- var SemVer = __import____classes_semver;
310264
- var Range2 = __import____classes_range;
310265
- var minSatisfying = (versions, range, options) => {
310266
- let min3 = null;
310267
- let minSV = null;
310268
- let rangeObj = null;
310269
- try {
310270
- rangeObj = new Range2(range, options);
310271
- } catch (er) {
310272
- return null;
310273
- }
310274
- versions.forEach((v) => {
310275
- if (rangeObj.test(v)) {
310276
- if (!min3 || minSV.compare(v) === 1) {
310277
- min3 = v;
310278
- minSV = new SemVer(min3, options);
310279
- }
310280
- }
310281
- });
310282
- return min3;
310283
- };
310284
- module.exports = minSatisfying;
310285
- }
310286
- });
310287
-
310288
- // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/ranges/min-version.js
310289
- var require_min_version = __commonJS({
310290
- "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/ranges/min-version.js"(exports2, module) {
310291
- init_esm_shims();
310292
- var __import____classes_semver = __toESM(require_semver2());
310293
- var __import____classes_range = __toESM(require_range());
310294
- var __import____functions_gt = __toESM(require_gt());
310295
- var SemVer = __import____classes_semver;
310296
- var Range2 = __import____classes_range;
310297
- var gt = __import____functions_gt;
310298
- var minVersion = (range, loose) => {
310299
- range = new Range2(range, loose);
310300
- let minver = new SemVer("0.0.0");
310301
- if (range.test(minver)) {
310302
- return minver;
310303
- }
310304
- minver = new SemVer("0.0.0-0");
310305
- if (range.test(minver)) {
310306
- return minver;
310307
- }
310308
- minver = null;
310309
- for (let i = 0; i < range.set.length; ++i) {
310310
- const comparators = range.set[i];
310311
- let setMin = null;
310312
- comparators.forEach((comparator) => {
310313
- const compver = new SemVer(comparator.semver.version);
310314
- switch (comparator.operator) {
310315
- case ">":
310316
- if (compver.prerelease.length === 0) {
310317
- compver.patch++;
310318
- } else {
310319
- compver.prerelease.push(0);
310320
- }
310321
- compver.raw = compver.format();
310322
- /* fallthrough */
310323
- case "":
310324
- case ">=":
310325
- if (!setMin || gt(compver, setMin)) {
310326
- setMin = compver;
310327
- }
310328
- break;
310329
- case "<":
310330
- case "<=":
310331
- break;
310332
- /* istanbul ignore next */
310333
- default:
310334
- throw new Error(`Unexpected operation: ${comparator.operator}`);
310335
- }
310336
- });
310337
- if (setMin && (!minver || gt(minver, setMin))) {
310338
- minver = setMin;
310339
- }
310340
- }
310341
- if (minver && range.test(minver)) {
310342
- return minver;
310343
- }
310344
- return null;
310345
- };
310346
- module.exports = minVersion;
310347
- }
310348
- });
310349
-
310350
- // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/ranges/valid.js
310351
- var require_valid3 = __commonJS({
310352
- "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/ranges/valid.js"(exports2, module) {
310353
- init_esm_shims();
310354
- var __import____classes_range = __toESM(require_range());
310355
- var Range2 = __import____classes_range;
310356
- var validRange3 = (range, options) => {
310357
- try {
310358
- return new Range2(range, options).range || "*";
310359
- } catch (er) {
310360
- return null;
310361
- }
310362
- };
310363
- module.exports = validRange3;
310364
- }
310365
- });
310366
-
310367
- // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/ranges/outside.js
310368
- var require_outside = __commonJS({
310369
- "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/ranges/outside.js"(exports2, module) {
310370
- init_esm_shims();
310371
- var __import____classes_semver = __toESM(require_semver2());
310372
- var __import____classes_comparator = __toESM(require_comparator());
310373
- var __import____classes_range = __toESM(require_range());
310374
- var __import____functions_satisfies = __toESM(require_satisfies());
310375
- var __import____functions_gt = __toESM(require_gt());
310376
- var __import____functions_lt = __toESM(require_lt());
310377
- var __import____functions_lte = __toESM(require_lte());
310378
- var __import____functions_gte = __toESM(require_gte());
310379
- var SemVer = __import____classes_semver;
310380
- var Comparator2 = __import____classes_comparator;
310381
- var { ANY } = Comparator2;
310382
- var Range2 = __import____classes_range;
310383
- var satisfies = __import____functions_satisfies;
310384
- var gt = __import____functions_gt;
310385
- var lt = __import____functions_lt;
310386
- var lte = __import____functions_lte;
310387
- var gte = __import____functions_gte;
310388
- var outside = (version5, range, hilo, options) => {
310389
- version5 = new SemVer(version5, options);
310390
- range = new Range2(range, options);
310391
- let gtfn, ltefn, ltfn, comp, ecomp;
310392
- switch (hilo) {
310393
- case ">":
310394
- gtfn = gt;
310395
- ltefn = lte;
310396
- ltfn = lt;
310397
- comp = ">";
310398
- ecomp = ">=";
310399
- break;
310400
- case "<":
310401
- gtfn = lt;
310402
- ltefn = gte;
310403
- ltfn = gt;
310404
- comp = "<";
310405
- ecomp = "<=";
310406
- break;
310407
- default:
310408
- throw new TypeError('Must provide a hilo val of "<" or ">"');
310409
- }
310410
- if (satisfies(version5, range, options)) {
310411
- return false;
310412
- }
310413
- for (let i = 0; i < range.set.length; ++i) {
310414
- const comparators = range.set[i];
310415
- let high = null;
310416
- let low = null;
310417
- comparators.forEach((comparator) => {
310418
- if (comparator.semver === ANY) {
310419
- comparator = new Comparator2(">=0.0.0");
310420
- }
310421
- high = high || comparator;
310422
- low = low || comparator;
310423
- if (gtfn(comparator.semver, high.semver, options)) {
310424
- high = comparator;
310425
- } else if (ltfn(comparator.semver, low.semver, options)) {
310426
- low = comparator;
310427
- }
310428
- });
310429
- if (high.operator === comp || high.operator === ecomp) {
310430
- return false;
310431
- }
310432
- if ((!low.operator || low.operator === comp) && ltefn(version5, low.semver)) {
310433
- return false;
310434
- } else if (low.operator === ecomp && ltfn(version5, low.semver)) {
310435
- return false;
310436
- }
310437
- }
310438
- return true;
310439
- };
310440
- module.exports = outside;
310441
- }
310442
- });
310443
-
310444
- // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/ranges/gtr.js
310445
- var require_gtr = __commonJS({
310446
- "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/ranges/gtr.js"(exports2, module) {
310447
- init_esm_shims();
310448
- var __import___outside = __toESM(require_outside());
310449
- var outside = __import___outside;
310450
- var gtr = (version5, range, options) => outside(version5, range, ">", options);
310451
- module.exports = gtr;
310452
- }
310453
- });
310454
-
310455
- // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/ranges/ltr.js
310456
- var require_ltr = __commonJS({
310457
- "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/ranges/ltr.js"(exports2, module) {
310458
- init_esm_shims();
310459
- var __import___outside = __toESM(require_outside());
310460
- var outside = __import___outside;
310461
- var ltr = (version5, range, options) => outside(version5, range, "<", options);
310462
- module.exports = ltr;
310463
- }
310464
- });
310465
-
310466
- // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/ranges/intersects.js
310467
- var require_intersects = __commonJS({
310468
- "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/ranges/intersects.js"(exports2, module) {
310469
- init_esm_shims();
310470
- var __import____classes_range = __toESM(require_range());
310471
- var Range2 = __import____classes_range;
310472
- var intersects = (r1, r2, options) => {
310473
- r1 = new Range2(r1, options);
310474
- r2 = new Range2(r2, options);
310475
- return r1.intersects(r2, options);
310476
- };
310477
- module.exports = intersects;
310478
- }
310479
- });
310480
-
310481
- // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/ranges/simplify.js
310482
- var require_simplify = __commonJS({
310483
- "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/ranges/simplify.js"(exports2, module) {
310484
- init_esm_shims();
310485
- var __import____functions_satisfies_js = __toESM(require_satisfies());
310486
- var __import____functions_compare_js = __toESM(require_compare());
310487
- var satisfies = __import____functions_satisfies_js;
310488
- var compare6 = __import____functions_compare_js;
310489
- module.exports = (versions, range, options) => {
310490
- const set5 = [];
310491
- let first3 = null;
310492
- let prev = null;
310493
- const v = versions.sort((a, b) => compare6(a, b, options));
310494
- for (const version5 of v) {
310495
- const included = satisfies(version5, range, options);
310496
- if (included) {
310497
- prev = version5;
310498
- if (!first3) {
310499
- first3 = version5;
310500
- }
310501
- } else {
310502
- if (prev) {
310503
- set5.push([first3, prev]);
310504
- }
310505
- prev = null;
310506
- first3 = null;
310507
- }
310508
- }
310509
- if (first3) {
310510
- set5.push([first3, null]);
310511
- }
310512
- const ranges = [];
310513
- for (const [min3, max4] of set5) {
310514
- if (min3 === max4) {
310515
- ranges.push(min3);
310516
- } else if (!max4 && min3 === v[0]) {
310517
- ranges.push("*");
310518
- } else if (!max4) {
310519
- ranges.push(`>=${min3}`);
310520
- } else if (min3 === v[0]) {
310521
- ranges.push(`<=${max4}`);
310522
- } else {
310523
- ranges.push(`${min3} - ${max4}`);
310524
- }
310525
- }
310526
- const simplified = ranges.join(" || ");
310527
- const original = typeof range.raw === "string" ? range.raw : String(range);
310528
- return simplified.length < original.length ? simplified : range;
310529
- };
310530
- }
310531
- });
310532
-
310533
- // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/ranges/subset.js
310534
- var require_subset = __commonJS({
310535
- "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/ranges/subset.js"(exports2, module) {
310536
- init_esm_shims();
310537
- var __import____classes_range_js = __toESM(require_range());
310538
- var __import____classes_comparator_js = __toESM(require_comparator());
310539
- var __import____functions_satisfies_js = __toESM(require_satisfies());
310540
- var __import____functions_compare_js = __toESM(require_compare());
310541
- var Range2 = __import____classes_range_js;
310542
- var Comparator2 = __import____classes_comparator_js;
310543
- var { ANY } = Comparator2;
310544
- var satisfies = __import____functions_satisfies_js;
310545
- var compare6 = __import____functions_compare_js;
310546
- var subset = (sub, dom, options = {}) => {
310547
- if (sub === dom) {
310548
- return true;
310549
- }
310550
- sub = new Range2(sub, options);
310551
- dom = new Range2(dom, options);
310552
- let sawNonNull = false;
310553
- OUTER: for (const simpleSub of sub.set) {
310554
- for (const simpleDom of dom.set) {
310555
- const isSub = simpleSubset(simpleSub, simpleDom, options);
310556
- sawNonNull = sawNonNull || isSub !== null;
310557
- if (isSub) {
310558
- continue OUTER;
310559
- }
310560
- }
310561
- if (sawNonNull) {
310562
- return false;
310563
- }
310564
- }
310565
- return true;
310566
- };
310567
- var minimumVersionWithPreRelease = [new Comparator2(">=0.0.0-0")];
310568
- var minimumVersion = [new Comparator2(">=0.0.0")];
310569
- var simpleSubset = (sub, dom, options) => {
310570
- if (sub === dom) {
310571
- return true;
310572
- }
310573
- if (sub.length === 1 && sub[0].semver === ANY) {
310574
- if (dom.length === 1 && dom[0].semver === ANY) {
310575
- return true;
310576
- } else if (options.includePrerelease) {
310577
- sub = minimumVersionWithPreRelease;
310578
- } else {
310579
- sub = minimumVersion;
310580
- }
310581
- }
310582
- if (dom.length === 1 && dom[0].semver === ANY) {
310583
- if (options.includePrerelease) {
310584
- return true;
310585
- } else {
310586
- dom = minimumVersion;
310587
- }
310588
- }
310589
- const eqSet = /* @__PURE__ */ new Set();
310590
- let gt, lt;
310591
- for (const c of sub) {
310592
- if (c.operator === ">" || c.operator === ">=") {
310593
- gt = higherGT(gt, c, options);
310594
- } else if (c.operator === "<" || c.operator === "<=") {
310595
- lt = lowerLT(lt, c, options);
310596
- } else {
310597
- eqSet.add(c.semver);
310598
- }
310599
- }
310600
- if (eqSet.size > 1) {
310601
- return null;
310602
- }
310603
- let gtltComp;
310604
- if (gt && lt) {
310605
- gtltComp = compare6(gt.semver, lt.semver, options);
310606
- if (gtltComp > 0) {
310607
- return null;
310608
- } else if (gtltComp === 0 && (gt.operator !== ">=" || lt.operator !== "<=")) {
310609
- return null;
310610
- }
310611
- }
310612
- for (const eq2 of eqSet) {
310613
- if (gt && !satisfies(eq2, String(gt), options)) {
310614
- return null;
310615
- }
310616
- if (lt && !satisfies(eq2, String(lt), options)) {
310617
- return null;
310618
- }
310619
- for (const c of dom) {
310620
- if (!satisfies(eq2, String(c), options)) {
310621
- return false;
310622
- }
310623
- }
310624
- return true;
310625
- }
310626
- let higher, lower;
310627
- let hasDomLT, hasDomGT;
310628
- let needDomLTPre = lt && !options.includePrerelease && lt.semver.prerelease.length ? lt.semver : false;
310629
- let needDomGTPre = gt && !options.includePrerelease && gt.semver.prerelease.length ? gt.semver : false;
310630
- if (needDomLTPre && needDomLTPre.prerelease.length === 1 && lt.operator === "<" && needDomLTPre.prerelease[0] === 0) {
310631
- needDomLTPre = false;
310632
- }
310633
- for (const c of dom) {
310634
- hasDomGT = hasDomGT || c.operator === ">" || c.operator === ">=";
310635
- hasDomLT = hasDomLT || c.operator === "<" || c.operator === "<=";
310636
- if (gt) {
310637
- if (needDomGTPre) {
310638
- if (c.semver.prerelease && c.semver.prerelease.length && c.semver.major === needDomGTPre.major && c.semver.minor === needDomGTPre.minor && c.semver.patch === needDomGTPre.patch) {
310639
- needDomGTPre = false;
310640
- }
310641
- }
310642
- if (c.operator === ">" || c.operator === ">=") {
310643
- higher = higherGT(gt, c, options);
310644
- if (higher === c && higher !== gt) {
310645
- return false;
310646
- }
310647
- } else if (gt.operator === ">=" && !satisfies(gt.semver, String(c), options)) {
310648
- return false;
310649
- }
310650
- }
310651
- if (lt) {
310652
- if (needDomLTPre) {
310653
- if (c.semver.prerelease && c.semver.prerelease.length && c.semver.major === needDomLTPre.major && c.semver.minor === needDomLTPre.minor && c.semver.patch === needDomLTPre.patch) {
310654
- needDomLTPre = false;
310655
- }
310656
- }
310657
- if (c.operator === "<" || c.operator === "<=") {
310658
- lower = lowerLT(lt, c, options);
310659
- if (lower === c && lower !== lt) {
310660
- return false;
310661
- }
310662
- } else if (lt.operator === "<=" && !satisfies(lt.semver, String(c), options)) {
310663
- return false;
310664
- }
310665
- }
310666
- if (!c.operator && (lt || gt) && gtltComp !== 0) {
310667
- return false;
310668
- }
310669
- }
310670
- if (gt && hasDomLT && !lt && gtltComp !== 0) {
310671
- return false;
310672
- }
310673
- if (lt && hasDomGT && !gt && gtltComp !== 0) {
310674
- return false;
310675
- }
310676
- if (needDomGTPre || needDomLTPre) {
310677
- return false;
310678
- }
310679
- return true;
310680
- };
310681
- var higherGT = (a, b, options) => {
310682
- if (!a) {
310683
- return b;
310684
- }
310685
- const comp = compare6(a.semver, b.semver, options);
310686
- return comp > 0 ? a : comp < 0 ? b : b.operator === ">" && a.operator === ">=" ? b : a;
310687
- };
310688
- var lowerLT = (a, b, options) => {
310689
- if (!a) {
310690
- return b;
310691
- }
310692
- const comp = compare6(a.semver, b.semver, options);
310693
- return comp < 0 ? a : comp > 0 ? b : b.operator === "<" && a.operator === "<=" ? b : a;
310694
- };
310695
- module.exports = subset;
310696
- }
310697
- });
310698
-
310699
- // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/index.js
310700
- var require_semver3 = __commonJS({
310701
- "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/index.js"(exports2, module) {
310702
- init_esm_shims();
310703
- var __import___internal_re = __toESM(require_re());
310704
- var __import___internal_constants = __toESM(require_constants5());
310705
- var __import___classes_semver = __toESM(require_semver2());
310706
- var __import___internal_identifiers = __toESM(require_identifiers());
310707
- var __import___functions_parse = __toESM(require_parse6());
310708
- var __import___functions_valid = __toESM(require_valid2());
310709
- var __import___functions_clean = __toESM(require_clean2());
310710
- var __import___functions_inc = __toESM(require_inc());
310711
- var __import___functions_diff = __toESM(require_diff());
310712
- var __import___functions_major = __toESM(require_major());
310713
- var __import___functions_minor = __toESM(require_minor());
310714
- var __import___functions_patch = __toESM(require_patch());
310715
- var __import___functions_prerelease = __toESM(require_prerelease());
310716
- var __import___functions_compare = __toESM(require_compare());
310717
- var __import___functions_rcompare = __toESM(require_rcompare());
310718
- var __import___functions_compareLoose = __toESM(require_compare_loose());
310719
- var __import___functions_compareBuild = __toESM(require_compare_build());
310720
- var __import___functions_sort = __toESM(require_sort());
310721
- var __import___functions_rsort = __toESM(require_rsort());
310722
- var __import___functions_gt = __toESM(require_gt());
310723
- var __import___functions_lt = __toESM(require_lt());
310724
- var __import___functions_eq = __toESM(require_eq());
310725
- var __import___functions_neq = __toESM(require_neq());
310726
- var __import___functions_gte = __toESM(require_gte());
310727
- var __import___functions_lte = __toESM(require_lte());
310728
- var __import___functions_cmp = __toESM(require_cmp());
310729
- var __import___functions_coerce = __toESM(require_coerce());
310730
- var __import___classes_comparator = __toESM(require_comparator());
310731
- var __import___classes_range = __toESM(require_range());
310732
- var __import___functions_satisfies = __toESM(require_satisfies());
310733
- var __import___ranges_toComparators = __toESM(require_to_comparators());
310734
- var __import___ranges_maxSatisfying = __toESM(require_max_satisfying());
310735
- var __import___ranges_minSatisfying = __toESM(require_min_satisfying());
310736
- var __import___ranges_minVersion = __toESM(require_min_version());
310737
- var __import___ranges_valid = __toESM(require_valid3());
310738
- var __import___ranges_outside = __toESM(require_outside());
310739
- var __import___ranges_gtr = __toESM(require_gtr());
310740
- var __import___ranges_ltr = __toESM(require_ltr());
310741
- var __import___ranges_intersects = __toESM(require_intersects());
310742
- var __import___ranges_simplify = __toESM(require_simplify());
310743
- var __import___ranges_subset = __toESM(require_subset());
310744
- var internalRe = __import___internal_re;
310745
- var constants = __import___internal_constants;
310746
- var SemVer = __import___classes_semver;
310747
- var identifiers = __import___internal_identifiers;
310748
- var parse8 = __import___functions_parse;
310749
- var valid = __import___functions_valid;
310750
- var clean6 = __import___functions_clean;
310751
- var inc = __import___functions_inc;
310752
- var diff = __import___functions_diff;
310753
- var major = __import___functions_major;
310754
- var minor = __import___functions_minor;
310755
- var patch2 = __import___functions_patch;
310756
- var prerelease = __import___functions_prerelease;
310757
- var compare6 = __import___functions_compare;
310758
- var rcompare2 = __import___functions_rcompare;
310759
- var compareLoose = __import___functions_compareLoose;
310760
- var compareBuild = __import___functions_compareBuild;
310761
- var sort = __import___functions_sort;
310762
- var rsort = __import___functions_rsort;
310763
- var gt = __import___functions_gt;
310764
- var lt = __import___functions_lt;
310765
- var eq2 = __import___functions_eq;
310766
- var neq = __import___functions_neq;
310767
- var gte = __import___functions_gte;
310768
- var lte = __import___functions_lte;
310769
- var cmp = __import___functions_cmp;
310770
- var coerce2 = __import___functions_coerce;
310771
- var Comparator2 = __import___classes_comparator;
310772
- var Range2 = __import___classes_range;
310773
- var satisfies = __import___functions_satisfies;
310774
- var toComparators = __import___ranges_toComparators;
310775
- var maxSatisfying = __import___ranges_maxSatisfying;
310776
- var minSatisfying = __import___ranges_minSatisfying;
310777
- var minVersion = __import___ranges_minVersion;
310778
- var validRange3 = __import___ranges_valid;
310779
- var outside = __import___ranges_outside;
310780
- var gtr = __import___ranges_gtr;
310781
- var ltr = __import___ranges_ltr;
310782
- var intersects = __import___ranges_intersects;
310783
- var simplifyRange = __import___ranges_simplify;
310784
- var subset = __import___ranges_subset;
310785
- module.exports = {
310786
- parse: parse8,
310787
- valid,
310788
- clean: clean6,
310789
- inc,
310790
- diff,
310791
- major,
310792
- minor,
310793
- patch: patch2,
310794
- prerelease,
310795
- compare: compare6,
310796
- rcompare: rcompare2,
310797
- compareLoose,
310798
- compareBuild,
310799
- sort,
310800
- rsort,
310801
- gt,
310802
- lt,
310803
- eq: eq2,
310804
- neq,
310805
- gte,
310806
- lte,
310807
- cmp,
310808
- coerce: coerce2,
310809
- Comparator: Comparator2,
310810
- Range: Range2,
310811
- satisfies,
310812
- toComparators,
310813
- maxSatisfying,
310814
- minSatisfying,
310815
- minVersion,
310816
- validRange: validRange3,
310817
- outside,
310818
- gtr,
310819
- ltr,
310820
- intersects,
310821
- simplifyRange,
310822
- subset,
310823
- SemVer,
310824
- re: internalRe.re,
310825
- src: internalRe.src,
310826
- tokens: internalRe.t,
310827
- SEMVER_SPEC_VERSION: constants.SEMVER_SPEC_VERSION,
310828
- RELEASE_TYPES: constants.RELEASE_TYPES,
310829
- compareIdentifiers: identifiers.compareIdentifiers,
310830
- rcompareIdentifiers: identifiers.rcompareIdentifiers
310831
- };
310832
- }
310833
- });
310834
-
310835
308808
  // ../../node_modules/.pnpm/parse-github-url@1.0.3/node_modules/parse-github-url/index.js
310836
308809
  import * as __import_url7 from "url";
310837
308810
  var require_parse_github_url = __commonJS({
@@ -311014,7 +308987,7 @@ var require_unicode = __commonJS({
311014
308987
  });
311015
308988
 
311016
308989
  // ../../node_modules/.pnpm/jju@1.4.0/node_modules/jju/lib/parse.js
311017
- var require_parse7 = __commonJS({
308990
+ var require_parse6 = __commonJS({
311018
308991
  "../../node_modules/.pnpm/jju@1.4.0/node_modules/jju/lib/parse.js"(exports2, module) {
311019
308992
  init_esm_shims();
311020
308993
  var __import___unicode = __toESM(require_unicode());
@@ -311814,7 +309787,7 @@ var require_stringify4 = __commonJS({
311814
309787
  var require_analyze = __commonJS({
311815
309788
  "../../node_modules/.pnpm/jju@1.4.0/node_modules/jju/lib/analyze.js"(exports2, module) {
311816
309789
  init_esm_shims();
311817
- var __import___parse = __toESM(require_parse7());
309790
+ var __import___parse = __toESM(require_parse6());
311818
309791
  var tokenize = __import___parse.tokenize;
311819
309792
  module.exports.analyze = function analyzeJSON(input, options) {
311820
309793
  if (options == null) options = {};
@@ -311894,7 +309867,7 @@ import * as __import_assert3 from "assert";
311894
309867
  var require_document = __commonJS({
311895
309868
  "../../node_modules/.pnpm/jju@1.4.0/node_modules/jju/lib/document.js"(exports2, module) {
311896
309869
  init_esm_shims();
311897
- var __import___parse = __toESM(require_parse7());
309870
+ var __import___parse = __toESM(require_parse6());
311898
309871
  var __import___stringify = __toESM(require_stringify4());
311899
309872
  var __import___analyze = __toESM(require_analyze());
311900
309873
  var assert28 = __import_assert3;
@@ -312276,7 +310249,7 @@ var require_utils13 = __commonJS({
312276
310249
  var require_jju = __commonJS({
312277
310250
  "../../node_modules/.pnpm/jju@1.4.0/node_modules/jju/index.js"(exports2, module) {
312278
310251
  init_esm_shims();
312279
- var __import___lib_parse = __toESM(require_parse7());
310252
+ var __import___lib_parse = __toESM(require_parse6());
312280
310253
  var __import___lib_stringify = __toESM(require_stringify4());
312281
310254
  var __import___lib_document = __toESM(require_document());
312282
310255
  var __import___lib_analyze = __toESM(require_analyze());
@@ -315038,7 +313011,7 @@ var require_readShebang = __commonJS({
315038
313011
  });
315039
313012
 
315040
313013
  // ../../node_modules/.pnpm/cross-spawn@5.1.0/node_modules/cross-spawn/lib/parse.js
315041
- var require_parse8 = __commonJS({
313014
+ var require_parse7 = __commonJS({
315042
313015
  "../../node_modules/.pnpm/cross-spawn@5.1.0/node_modules/cross-spawn/lib/parse.js"(exports2, module) {
315043
313016
  init_esm_shims();
315044
313017
  var __import___util_resolveCommand = __toESM(require_resolveCommand());
@@ -315188,7 +313161,7 @@ import * as __import_child_process2 from "child_process";
315188
313161
  var require_cross_spawn = __commonJS({
315189
313162
  "../../node_modules/.pnpm/cross-spawn@5.1.0/node_modules/cross-spawn/index.js"(exports2, module) {
315190
313163
  init_esm_shims();
315191
- var __import___lib_parse = __toESM(require_parse8());
313164
+ var __import___lib_parse = __toESM(require_parse7());
315192
313165
  var __import___lib_enoent = __toESM(require_enoent());
315193
313166
  var cp = __import_child_process2;
315194
313167
  var parse8 = __import___lib_parse;
@@ -374362,7 +372335,7 @@ init_esm_shims();
374362
372335
 
374363
372336
  // ../../node_modules/.pnpm/@manypkg+cli@0.23.0/node_modules/@manypkg/cli/src/checks/utils.ts
374364
372337
  init_esm_shims();
374365
- var semver4 = __toESM(require_semver3());
372338
+ var semver4 = __toESM(require_semver());
374366
372339
 
374367
372340
  // ../../node_modules/.pnpm/sembear@0.7.0/node_modules/sembear/dist/sembear.esm.js
374368
372341
  init_esm_shims();
@@ -374616,7 +372589,7 @@ function makeCheck(check3) {
374616
372589
  }
374617
372590
 
374618
372591
  // ../../node_modules/.pnpm/@manypkg+cli@0.23.0/node_modules/@manypkg/cli/src/checks/EXTERNAL_MISMATCH.ts
374619
- var import_semver5 = __toESM(require_semver3());
372592
+ var import_semver5 = __toESM(require_semver());
374620
372593
  var EXTERNAL_MISMATCH_default = makeCheck({
374621
372594
  validate: (workspace, allWorkspace) => {
374622
372595
  let errors = [];
@@ -374656,7 +372629,7 @@ var EXTERNAL_MISMATCH_default = makeCheck({
374656
372629
 
374657
372630
  // ../../node_modules/.pnpm/@manypkg+cli@0.23.0/node_modules/@manypkg/cli/src/checks/INTERNAL_MISMATCH.ts
374658
372631
  init_esm_shims();
374659
- var import_semver6 = __toESM(require_semver3());
372632
+ var import_semver6 = __toESM(require_semver());
374660
372633
  var INTERNAL_MISMATCH_default = makeCheck({
374661
372634
  validate: (workspace, allWorkspaces) => {
374662
372635
  let errors = [];
@@ -374696,7 +372669,7 @@ var INTERNAL_MISMATCH_default = makeCheck({
374696
372669
 
374697
372670
  // ../../node_modules/.pnpm/@manypkg+cli@0.23.0/node_modules/@manypkg/cli/src/checks/INVALID_DEV_AND_PEER_DEPENDENCY_RELATIONSHIP.ts
374698
372671
  init_esm_shims();
374699
- var import_semver7 = __toESM(require_semver3());
372672
+ var import_semver7 = __toESM(require_semver());
374700
372673
  var INVALID_DEV_AND_PEER_DEPENDENCY_RELATIONSHIP_default = makeCheck({
374701
372674
  type: "all",
374702
372675
  validate: (workspace, allWorkspaces) => {
@@ -375129,7 +373102,7 @@ ${matchingPackages.map((x) => x.packageJson.name).join("\n")}`
375129
373102
  // ../../node_modules/.pnpm/@manypkg+cli@0.23.0/node_modules/@manypkg/cli/src/upgrade.ts
375130
373103
  init_esm_shims();
375131
373104
  var import_get_packages3 = __toESM(require_manypkg_get_packages_cjs());
375132
- var import_semver8 = __toESM(require_semver3());
373105
+ var import_semver8 = __toESM(require_semver());
375133
373106
  var import_p_limit2 = __toESM(require_p_limit());
375134
373107
 
375135
373108
  // ../../node_modules/.pnpm/@manypkg+cli@0.23.0/node_modules/@manypkg/cli/src/utils.ts
@@ -375237,7 +373210,7 @@ async function upgradeDependency([name3, tag = "latest"]) {
375237
373210
  var npmRequestLimit = (0, import_p_limit2.default)(40);
375238
373211
  function getPackageInfo(pkgName) {
375239
373212
  return npmRequestLimit(async () => {
375240
- const getPackageJson = (await import("./package-json-UUJYNTEB.js")).default;
373213
+ const getPackageJson = (await import("./package-json-EKGDZK3M.js")).default;
375241
373214
  return getPackageJson(pkgName, {
375242
373215
  allVersions: true
375243
373216
  });