@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/README.md +2 -1
- package/bin/{chunk-QWB3CCUF.js → chunk-7YW6SYK4.js} +137 -103
- package/bin/{chunk-GCHM5BQL.cjs → chunk-ZQIF6N27.cjs} +137 -103
- package/bin/lint.cjs +34 -1943
- package/bin/lint.js +21 -2048
- package/{dist/package-json-UUJYNTEB.js → bin/package-json-EKGDZK3M.js} +1 -1
- package/{dist/package-json-GJOLFYGO.cjs → bin/package-json-RT6O5R6O.cjs} +2 -2
- package/dist/{chunk-QWB3CCUF.js → chunk-7YW6SYK4.js} +137 -103
- package/dist/{chunk-GCHM5BQL.cjs → chunk-ZQIF6N27.cjs} +137 -103
- package/dist/index.cjs +34 -1943
- package/dist/index.js +21 -2048
- package/{bin/package-json-UUJYNTEB.js → dist/package-json-EKGDZK3M.js} +1 -1
- package/{bin/package-json-GJOLFYGO.cjs → dist/package-json-RT6O5R6O.cjs} +2 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkZQIF6N27cjs = require('./chunk-ZQIF6N27.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
@@ -290260,7 +290260,7 @@ var require_type_defs2 = _chunkTGYUEFVAcjs.__commonJS.call(void 0, {
|
|
|
290260
290260
|
};
|
|
290261
290261
|
var Semver = class {
|
|
290262
290262
|
};
|
|
290263
|
-
var semverValid =
|
|
290263
|
+
var semverValid = _chunkZQIF6N27cjs.require_valid.call(void 0, );
|
|
290264
290264
|
var validateSemver = (data, k, val) => {
|
|
290265
290265
|
const valid = semverValid(val);
|
|
290266
290266
|
if (!valid) {
|
|
@@ -292233,7 +292233,7 @@ var require_spawn = _chunkTGYUEFVAcjs.__commonJS.call(void 0, {
|
|
|
292233
292233
|
var require_lines_to_revs = _chunkTGYUEFVAcjs.__commonJS.call(void 0, {
|
|
292234
292234
|
"../../node_modules/.pnpm/@npmcli+git@5.0.8/node_modules/@npmcli/git/lib/lines-to-revs.js"(exports, module) {
|
|
292235
292235
|
_chunkTGYUEFVAcjs.init_cjs_shims.call(void 0, );
|
|
292236
|
-
var semver8 =
|
|
292236
|
+
var semver8 = _chunkZQIF6N27cjs.require_semver.call(void 0, );
|
|
292237
292237
|
module.exports = (lines) => finish(lines.reduce(linesToRevsReducer, {
|
|
292238
292238
|
versions: {},
|
|
292239
292239
|
"dist-tags": {},
|
|
@@ -292476,7 +292476,7 @@ var require_npa = _chunkTGYUEFVAcjs.__commonJS.call(void 0, {
|
|
|
292476
292476
|
module.exports.Result = Result;
|
|
292477
292477
|
var { URL: URL4 } = _chunkTGYUEFVAcjs.__require.call(void 0, "url");
|
|
292478
292478
|
var HostedGit = require_lib10();
|
|
292479
|
-
var semver8 =
|
|
292479
|
+
var semver8 = _chunkZQIF6N27cjs.require_semver.call(void 0, );
|
|
292480
292480
|
var path32 = global.FAKE_WINDOWS ? _chunkTGYUEFVAcjs.__require.call(void 0, "path").win32 : _chunkTGYUEFVAcjs.__require.call(void 0, "path");
|
|
292481
292481
|
var validatePackageName = require_lib13();
|
|
292482
292482
|
var { homedir: homedir6 } = _chunkTGYUEFVAcjs.__require.call(void 0, "os");
|
|
@@ -292817,7 +292817,7 @@ var require_npa = _chunkTGYUEFVAcjs.__commonJS.call(void 0, {
|
|
|
292817
292817
|
var require_lib14 = _chunkTGYUEFVAcjs.__commonJS.call(void 0, {
|
|
292818
292818
|
"../../node_modules/.pnpm/npm-install-checks@6.3.0/node_modules/npm-install-checks/lib/index.js"(exports, module) {
|
|
292819
292819
|
_chunkTGYUEFVAcjs.init_cjs_shims.call(void 0, );
|
|
292820
|
-
var semver8 =
|
|
292820
|
+
var semver8 = _chunkZQIF6N27cjs.require_semver.call(void 0, );
|
|
292821
292821
|
var checkEngine = (target, npmVer, nodeVer, force = false) => {
|
|
292822
292822
|
const nodev = force ? null : nodeVer;
|
|
292823
292823
|
const eng = target.engines;
|
|
@@ -292966,7 +292966,7 @@ var require_lib16 = _chunkTGYUEFVAcjs.__commonJS.call(void 0, {
|
|
|
292966
292966
|
"use strict";
|
|
292967
292967
|
_chunkTGYUEFVAcjs.init_cjs_shims.call(void 0, );
|
|
292968
292968
|
var npa = require_npa();
|
|
292969
|
-
var semver8 =
|
|
292969
|
+
var semver8 = _chunkZQIF6N27cjs.require_semver.call(void 0, );
|
|
292970
292970
|
var { checkEngine } = require_lib14();
|
|
292971
292971
|
var normalizeBin = require_lib15();
|
|
292972
292972
|
var engineOk = (manifest, npmVersion, nodeVersion) => {
|
|
@@ -294762,8 +294762,8 @@ var require_typos = _chunkTGYUEFVAcjs.__commonJS.call(void 0, {
|
|
|
294762
294762
|
var require_fixer = _chunkTGYUEFVAcjs.__commonJS.call(void 0, {
|
|
294763
294763
|
"../../node_modules/.pnpm/normalize-package-data@6.0.2/node_modules/normalize-package-data/lib/fixer.js"(exports, module) {
|
|
294764
294764
|
_chunkTGYUEFVAcjs.init_cjs_shims.call(void 0, );
|
|
294765
|
-
var isValidSemver =
|
|
294766
|
-
var cleanSemver =
|
|
294765
|
+
var isValidSemver = _chunkZQIF6N27cjs.require_valid.call(void 0, );
|
|
294766
|
+
var cleanSemver = _chunkZQIF6N27cjs.require_clean.call(void 0, );
|
|
294767
294767
|
var validateLicense = require_validate_npm_package_license();
|
|
294768
294768
|
var hostedGitInfo = require_lib10();
|
|
294769
294769
|
var moduleBuiltin = _chunkTGYUEFVAcjs.__require.call(void 0, "module");
|
|
@@ -295258,8 +295258,8 @@ var require_make_warning = _chunkTGYUEFVAcjs.__commonJS.call(void 0, {
|
|
|
295258
295258
|
var require_normalize = _chunkTGYUEFVAcjs.__commonJS.call(void 0, {
|
|
295259
295259
|
"../../node_modules/.pnpm/@npmcli+package-json@5.2.1/node_modules/@npmcli/package-json/lib/normalize.js"(exports, module) {
|
|
295260
295260
|
_chunkTGYUEFVAcjs.init_cjs_shims.call(void 0, );
|
|
295261
|
-
var valid =
|
|
295262
|
-
var clean6 =
|
|
295261
|
+
var valid = _chunkZQIF6N27cjs.require_valid.call(void 0, );
|
|
295262
|
+
var clean6 = _chunkZQIF6N27cjs.require_clean.call(void 0, );
|
|
295263
295263
|
var fs19 = _chunkTGYUEFVAcjs.__require.call(void 0, "fs/promises");
|
|
295264
295264
|
var path32 = _chunkTGYUEFVAcjs.__require.call(void 0, "path");
|
|
295265
295265
|
var { log: log4 } = require_lib8();
|
|
@@ -300062,9 +300062,9 @@ var require_js_tokens = _chunkTGYUEFVAcjs.__commonJS.call(void 0, {
|
|
|
300062
300062
|
}
|
|
300063
300063
|
});
|
|
300064
300064
|
|
|
300065
|
-
// ../../node_modules/.pnpm/@babel+helper-validator-identifier@7.
|
|
300065
|
+
// ../../node_modules/.pnpm/@babel+helper-validator-identifier@7.27.1/node_modules/@babel/helper-validator-identifier/lib/identifier.js
|
|
300066
300066
|
var require_identifier = _chunkTGYUEFVAcjs.__commonJS.call(void 0, {
|
|
300067
|
-
"../../node_modules/.pnpm/@babel+helper-validator-identifier@7.
|
|
300067
|
+
"../../node_modules/.pnpm/@babel+helper-validator-identifier@7.27.1/node_modules/@babel/helper-validator-identifier/lib/identifier.js"(exports) {
|
|
300068
300068
|
"use strict";
|
|
300069
300069
|
_chunkTGYUEFVAcjs.init_cjs_shims.call(void 0, );
|
|
300070
300070
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -300136,9 +300136,9 @@ var require_identifier = _chunkTGYUEFVAcjs.__commonJS.call(void 0, {
|
|
|
300136
300136
|
}
|
|
300137
300137
|
});
|
|
300138
300138
|
|
|
300139
|
-
// ../../node_modules/.pnpm/@babel+helper-validator-identifier@7.
|
|
300139
|
+
// ../../node_modules/.pnpm/@babel+helper-validator-identifier@7.27.1/node_modules/@babel/helper-validator-identifier/lib/keyword.js
|
|
300140
300140
|
var require_keyword = _chunkTGYUEFVAcjs.__commonJS.call(void 0, {
|
|
300141
|
-
"../../node_modules/.pnpm/@babel+helper-validator-identifier@7.
|
|
300141
|
+
"../../node_modules/.pnpm/@babel+helper-validator-identifier@7.27.1/node_modules/@babel/helper-validator-identifier/lib/keyword.js"(exports) {
|
|
300142
300142
|
"use strict";
|
|
300143
300143
|
_chunkTGYUEFVAcjs.init_cjs_shims.call(void 0, );
|
|
300144
300144
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -300175,9 +300175,9 @@ var require_keyword = _chunkTGYUEFVAcjs.__commonJS.call(void 0, {
|
|
|
300175
300175
|
}
|
|
300176
300176
|
});
|
|
300177
300177
|
|
|
300178
|
-
// ../../node_modules/.pnpm/@babel+helper-validator-identifier@7.
|
|
300178
|
+
// ../../node_modules/.pnpm/@babel+helper-validator-identifier@7.27.1/node_modules/@babel/helper-validator-identifier/lib/index.js
|
|
300179
300179
|
var require_lib23 = _chunkTGYUEFVAcjs.__commonJS.call(void 0, {
|
|
300180
|
-
"../../node_modules/.pnpm/@babel+helper-validator-identifier@7.
|
|
300180
|
+
"../../node_modules/.pnpm/@babel+helper-validator-identifier@7.27.1/node_modules/@babel/helper-validator-identifier/lib/index.js"(exports) {
|
|
300181
300181
|
"use strict";
|
|
300182
300182
|
_chunkTGYUEFVAcjs.init_cjs_shims.call(void 0, );
|
|
300183
300183
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -300236,9 +300236,9 @@ var require_lib23 = _chunkTGYUEFVAcjs.__commonJS.call(void 0, {
|
|
|
300236
300236
|
}
|
|
300237
300237
|
});
|
|
300238
300238
|
|
|
300239
|
-
// ../../node_modules/.pnpm/@babel+code-frame@7.
|
|
300239
|
+
// ../../node_modules/.pnpm/@babel+code-frame@7.27.1/node_modules/@babel/code-frame/lib/index.js
|
|
300240
300240
|
var require_lib24 = _chunkTGYUEFVAcjs.__commonJS.call(void 0, {
|
|
300241
|
-
"../../node_modules/.pnpm/@babel+code-frame@7.
|
|
300241
|
+
"../../node_modules/.pnpm/@babel+code-frame@7.27.1/node_modules/@babel/code-frame/lib/index.js"(exports) {
|
|
300242
300242
|
"use strict";
|
|
300243
300243
|
_chunkTGYUEFVAcjs.init_cjs_shims.call(void 0, );
|
|
300244
300244
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -305406,1915 +305406,6 @@ var require_light = _chunkTGYUEFVAcjs.__commonJS.call(void 0, {
|
|
|
305406
305406
|
}
|
|
305407
305407
|
});
|
|
305408
305408
|
|
|
305409
|
-
// ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/constants.js
|
|
305410
|
-
var require_constants5 = _chunkTGYUEFVAcjs.__commonJS.call(void 0, {
|
|
305411
|
-
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/constants.js"(exports, module) {
|
|
305412
|
-
_chunkTGYUEFVAcjs.init_cjs_shims.call(void 0, );
|
|
305413
|
-
var SEMVER_SPEC_VERSION = "2.0.0";
|
|
305414
|
-
var MAX_LENGTH = 256;
|
|
305415
|
-
var MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || /* istanbul ignore next */
|
|
305416
|
-
9007199254740991;
|
|
305417
|
-
var MAX_SAFE_COMPONENT_LENGTH = 16;
|
|
305418
|
-
var MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6;
|
|
305419
|
-
var RELEASE_TYPES = [
|
|
305420
|
-
"major",
|
|
305421
|
-
"premajor",
|
|
305422
|
-
"minor",
|
|
305423
|
-
"preminor",
|
|
305424
|
-
"patch",
|
|
305425
|
-
"prepatch",
|
|
305426
|
-
"prerelease"
|
|
305427
|
-
];
|
|
305428
|
-
module.exports = {
|
|
305429
|
-
MAX_LENGTH,
|
|
305430
|
-
MAX_SAFE_COMPONENT_LENGTH,
|
|
305431
|
-
MAX_SAFE_BUILD_LENGTH,
|
|
305432
|
-
MAX_SAFE_INTEGER,
|
|
305433
|
-
RELEASE_TYPES,
|
|
305434
|
-
SEMVER_SPEC_VERSION,
|
|
305435
|
-
FLAG_INCLUDE_PRERELEASE: 1,
|
|
305436
|
-
FLAG_LOOSE: 2
|
|
305437
|
-
};
|
|
305438
|
-
}
|
|
305439
|
-
});
|
|
305440
|
-
|
|
305441
|
-
// ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/debug.js
|
|
305442
|
-
var require_debug2 = _chunkTGYUEFVAcjs.__commonJS.call(void 0, {
|
|
305443
|
-
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/debug.js"(exports, module) {
|
|
305444
|
-
_chunkTGYUEFVAcjs.init_cjs_shims.call(void 0, );
|
|
305445
|
-
var debug14 = typeof process === "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...args) => console.error("SEMVER", ...args) : () => {
|
|
305446
|
-
};
|
|
305447
|
-
module.exports = debug14;
|
|
305448
|
-
}
|
|
305449
|
-
});
|
|
305450
|
-
|
|
305451
|
-
// ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/re.js
|
|
305452
|
-
var require_re = _chunkTGYUEFVAcjs.__commonJS.call(void 0, {
|
|
305453
|
-
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/re.js"(exports, module) {
|
|
305454
|
-
_chunkTGYUEFVAcjs.init_cjs_shims.call(void 0, );
|
|
305455
|
-
var {
|
|
305456
|
-
MAX_SAFE_COMPONENT_LENGTH,
|
|
305457
|
-
MAX_SAFE_BUILD_LENGTH,
|
|
305458
|
-
MAX_LENGTH
|
|
305459
|
-
} = require_constants5();
|
|
305460
|
-
var debug14 = require_debug2();
|
|
305461
|
-
exports = module.exports = {};
|
|
305462
|
-
var re = exports.re = [];
|
|
305463
|
-
var safeRe = exports.safeRe = [];
|
|
305464
|
-
var src = exports.src = [];
|
|
305465
|
-
var safeSrc = exports.safeSrc = [];
|
|
305466
|
-
var t = exports.t = {};
|
|
305467
|
-
var R = 0;
|
|
305468
|
-
var LETTERDASHNUMBER = "[a-zA-Z0-9-]";
|
|
305469
|
-
var safeRegexReplacements = [
|
|
305470
|
-
["\\s", 1],
|
|
305471
|
-
["\\d", MAX_LENGTH],
|
|
305472
|
-
[LETTERDASHNUMBER, MAX_SAFE_BUILD_LENGTH]
|
|
305473
|
-
];
|
|
305474
|
-
var makeSafeRegex = (value2) => {
|
|
305475
|
-
for (const [token, max4] of safeRegexReplacements) {
|
|
305476
|
-
value2 = value2.split(`${token}*`).join(`${token}{0,${max4}}`).split(`${token}+`).join(`${token}{1,${max4}}`);
|
|
305477
|
-
}
|
|
305478
|
-
return value2;
|
|
305479
|
-
};
|
|
305480
|
-
var createToken = (name2, value2, isGlobal) => {
|
|
305481
|
-
const safe = makeSafeRegex(value2);
|
|
305482
|
-
const index2 = R++;
|
|
305483
|
-
debug14(name2, index2, value2);
|
|
305484
|
-
t[name2] = index2;
|
|
305485
|
-
src[index2] = value2;
|
|
305486
|
-
safeSrc[index2] = safe;
|
|
305487
|
-
re[index2] = new RegExp(value2, isGlobal ? "g" : void 0);
|
|
305488
|
-
safeRe[index2] = new RegExp(safe, isGlobal ? "g" : void 0);
|
|
305489
|
-
};
|
|
305490
|
-
createToken("NUMERICIDENTIFIER", "0|[1-9]\\d*");
|
|
305491
|
-
createToken("NUMERICIDENTIFIERLOOSE", "\\d+");
|
|
305492
|
-
createToken("NONNUMERICIDENTIFIER", `\\d*[a-zA-Z-]${LETTERDASHNUMBER}*`);
|
|
305493
|
-
createToken("MAINVERSION", `(${src[t.NUMERICIDENTIFIER]})\\.(${src[t.NUMERICIDENTIFIER]})\\.(${src[t.NUMERICIDENTIFIER]})`);
|
|
305494
|
-
createToken("MAINVERSIONLOOSE", `(${src[t.NUMERICIDENTIFIERLOOSE]})\\.(${src[t.NUMERICIDENTIFIERLOOSE]})\\.(${src[t.NUMERICIDENTIFIERLOOSE]})`);
|
|
305495
|
-
createToken("PRERELEASEIDENTIFIER", `(?:${src[t.NUMERICIDENTIFIER]}|${src[t.NONNUMERICIDENTIFIER]})`);
|
|
305496
|
-
createToken("PRERELEASEIDENTIFIERLOOSE", `(?:${src[t.NUMERICIDENTIFIERLOOSE]}|${src[t.NONNUMERICIDENTIFIER]})`);
|
|
305497
|
-
createToken("PRERELEASE", `(?:-(${src[t.PRERELEASEIDENTIFIER]}(?:\\.${src[t.PRERELEASEIDENTIFIER]})*))`);
|
|
305498
|
-
createToken("PRERELEASELOOSE", `(?:-?(${src[t.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${src[t.PRERELEASEIDENTIFIERLOOSE]})*))`);
|
|
305499
|
-
createToken("BUILDIDENTIFIER", `${LETTERDASHNUMBER}+`);
|
|
305500
|
-
createToken("BUILD", `(?:\\+(${src[t.BUILDIDENTIFIER]}(?:\\.${src[t.BUILDIDENTIFIER]})*))`);
|
|
305501
|
-
createToken("FULLPLAIN", `v?${src[t.MAINVERSION]}${src[t.PRERELEASE]}?${src[t.BUILD]}?`);
|
|
305502
|
-
createToken("FULL", `^${src[t.FULLPLAIN]}$`);
|
|
305503
|
-
createToken("LOOSEPLAIN", `[v=\\s]*${src[t.MAINVERSIONLOOSE]}${src[t.PRERELEASELOOSE]}?${src[t.BUILD]}?`);
|
|
305504
|
-
createToken("LOOSE", `^${src[t.LOOSEPLAIN]}$`);
|
|
305505
|
-
createToken("GTLT", "((?:<|>)?=?)");
|
|
305506
|
-
createToken("XRANGEIDENTIFIERLOOSE", `${src[t.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);
|
|
305507
|
-
createToken("XRANGEIDENTIFIER", `${src[t.NUMERICIDENTIFIER]}|x|X|\\*`);
|
|
305508
|
-
createToken("XRANGEPLAIN", `[v=\\s]*(${src[t.XRANGEIDENTIFIER]})(?:\\.(${src[t.XRANGEIDENTIFIER]})(?:\\.(${src[t.XRANGEIDENTIFIER]})(?:${src[t.PRERELEASE]})?${src[t.BUILD]}?)?)?`);
|
|
305509
|
-
createToken("XRANGEPLAINLOOSE", `[v=\\s]*(${src[t.XRANGEIDENTIFIERLOOSE]})(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})(?:${src[t.PRERELEASELOOSE]})?${src[t.BUILD]}?)?)?`);
|
|
305510
|
-
createToken("XRANGE", `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAIN]}$`);
|
|
305511
|
-
createToken("XRANGELOOSE", `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAINLOOSE]}$`);
|
|
305512
|
-
createToken("COERCEPLAIN", `${"(^|[^\\d])(\\d{1,"}${MAX_SAFE_COMPONENT_LENGTH}})(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?`);
|
|
305513
|
-
createToken("COERCE", `${src[t.COERCEPLAIN]}(?:$|[^\\d])`);
|
|
305514
|
-
createToken("COERCEFULL", src[t.COERCEPLAIN] + `(?:${src[t.PRERELEASE]})?(?:${src[t.BUILD]})?(?:$|[^\\d])`);
|
|
305515
|
-
createToken("COERCERTL", src[t.COERCE], true);
|
|
305516
|
-
createToken("COERCERTLFULL", src[t.COERCEFULL], true);
|
|
305517
|
-
createToken("LONETILDE", "(?:~>?)");
|
|
305518
|
-
createToken("TILDETRIM", `(\\s*)${src[t.LONETILDE]}\\s+`, true);
|
|
305519
|
-
exports.tildeTrimReplace = "$1~";
|
|
305520
|
-
createToken("TILDE", `^${src[t.LONETILDE]}${src[t.XRANGEPLAIN]}$`);
|
|
305521
|
-
createToken("TILDELOOSE", `^${src[t.LONETILDE]}${src[t.XRANGEPLAINLOOSE]}$`);
|
|
305522
|
-
createToken("LONECARET", "(?:\\^)");
|
|
305523
|
-
createToken("CARETTRIM", `(\\s*)${src[t.LONECARET]}\\s+`, true);
|
|
305524
|
-
exports.caretTrimReplace = "$1^";
|
|
305525
|
-
createToken("CARET", `^${src[t.LONECARET]}${src[t.XRANGEPLAIN]}$`);
|
|
305526
|
-
createToken("CARETLOOSE", `^${src[t.LONECARET]}${src[t.XRANGEPLAINLOOSE]}$`);
|
|
305527
|
-
createToken("COMPARATORLOOSE", `^${src[t.GTLT]}\\s*(${src[t.LOOSEPLAIN]})$|^$`);
|
|
305528
|
-
createToken("COMPARATOR", `^${src[t.GTLT]}\\s*(${src[t.FULLPLAIN]})$|^$`);
|
|
305529
|
-
createToken("COMPARATORTRIM", `(\\s*)${src[t.GTLT]}\\s*(${src[t.LOOSEPLAIN]}|${src[t.XRANGEPLAIN]})`, true);
|
|
305530
|
-
exports.comparatorTrimReplace = "$1$2$3";
|
|
305531
|
-
createToken("HYPHENRANGE", `^\\s*(${src[t.XRANGEPLAIN]})\\s+-\\s+(${src[t.XRANGEPLAIN]})\\s*$`);
|
|
305532
|
-
createToken("HYPHENRANGELOOSE", `^\\s*(${src[t.XRANGEPLAINLOOSE]})\\s+-\\s+(${src[t.XRANGEPLAINLOOSE]})\\s*$`);
|
|
305533
|
-
createToken("STAR", "(<|>)?=?\\s*\\*");
|
|
305534
|
-
createToken("GTE0", "^\\s*>=\\s*0\\.0\\.0\\s*$");
|
|
305535
|
-
createToken("GTE0PRE", "^\\s*>=\\s*0\\.0\\.0-0\\s*$");
|
|
305536
|
-
}
|
|
305537
|
-
});
|
|
305538
|
-
|
|
305539
|
-
// ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/parse-options.js
|
|
305540
|
-
var require_parse_options = _chunkTGYUEFVAcjs.__commonJS.call(void 0, {
|
|
305541
|
-
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/parse-options.js"(exports, module) {
|
|
305542
|
-
_chunkTGYUEFVAcjs.init_cjs_shims.call(void 0, );
|
|
305543
|
-
var looseOption = Object.freeze({ loose: true });
|
|
305544
|
-
var emptyOpts = Object.freeze({});
|
|
305545
|
-
var parseOptions = (options) => {
|
|
305546
|
-
if (!options) {
|
|
305547
|
-
return emptyOpts;
|
|
305548
|
-
}
|
|
305549
|
-
if (typeof options !== "object") {
|
|
305550
|
-
return looseOption;
|
|
305551
|
-
}
|
|
305552
|
-
return options;
|
|
305553
|
-
};
|
|
305554
|
-
module.exports = parseOptions;
|
|
305555
|
-
}
|
|
305556
|
-
});
|
|
305557
|
-
|
|
305558
|
-
// ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/identifiers.js
|
|
305559
|
-
var require_identifiers = _chunkTGYUEFVAcjs.__commonJS.call(void 0, {
|
|
305560
|
-
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/identifiers.js"(exports, module) {
|
|
305561
|
-
_chunkTGYUEFVAcjs.init_cjs_shims.call(void 0, );
|
|
305562
|
-
var numeric = /^[0-9]+$/;
|
|
305563
|
-
var compareIdentifiers = (a, b) => {
|
|
305564
|
-
const anum = numeric.test(a);
|
|
305565
|
-
const bnum = numeric.test(b);
|
|
305566
|
-
if (anum && bnum) {
|
|
305567
|
-
a = +a;
|
|
305568
|
-
b = +b;
|
|
305569
|
-
}
|
|
305570
|
-
return a === b ? 0 : anum && !bnum ? -1 : bnum && !anum ? 1 : a < b ? -1 : 1;
|
|
305571
|
-
};
|
|
305572
|
-
var rcompareIdentifiers = (a, b) => compareIdentifiers(b, a);
|
|
305573
|
-
module.exports = {
|
|
305574
|
-
compareIdentifiers,
|
|
305575
|
-
rcompareIdentifiers
|
|
305576
|
-
};
|
|
305577
|
-
}
|
|
305578
|
-
});
|
|
305579
|
-
|
|
305580
|
-
// ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/classes/semver.js
|
|
305581
|
-
var require_semver2 = _chunkTGYUEFVAcjs.__commonJS.call(void 0, {
|
|
305582
|
-
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/classes/semver.js"(exports, module) {
|
|
305583
|
-
_chunkTGYUEFVAcjs.init_cjs_shims.call(void 0, );
|
|
305584
|
-
var debug14 = require_debug2();
|
|
305585
|
-
var { MAX_LENGTH, MAX_SAFE_INTEGER } = require_constants5();
|
|
305586
|
-
var { safeRe: re, safeSrc: src, t } = require_re();
|
|
305587
|
-
var parseOptions = require_parse_options();
|
|
305588
|
-
var { compareIdentifiers } = require_identifiers();
|
|
305589
|
-
var SemVer = class _SemVer {
|
|
305590
|
-
constructor(version4, options) {
|
|
305591
|
-
options = parseOptions(options);
|
|
305592
|
-
if (version4 instanceof _SemVer) {
|
|
305593
|
-
if (version4.loose === !!options.loose && version4.includePrerelease === !!options.includePrerelease) {
|
|
305594
|
-
return version4;
|
|
305595
|
-
} else {
|
|
305596
|
-
version4 = version4.version;
|
|
305597
|
-
}
|
|
305598
|
-
} else if (typeof version4 !== "string") {
|
|
305599
|
-
throw new TypeError(`Invalid version. Must be a string. Got type "${typeof version4}".`);
|
|
305600
|
-
}
|
|
305601
|
-
if (version4.length > MAX_LENGTH) {
|
|
305602
|
-
throw new TypeError(
|
|
305603
|
-
`version is longer than ${MAX_LENGTH} characters`
|
|
305604
|
-
);
|
|
305605
|
-
}
|
|
305606
|
-
debug14("SemVer", version4, options);
|
|
305607
|
-
this.options = options;
|
|
305608
|
-
this.loose = !!options.loose;
|
|
305609
|
-
this.includePrerelease = !!options.includePrerelease;
|
|
305610
|
-
const m = version4.trim().match(options.loose ? re[t.LOOSE] : re[t.FULL]);
|
|
305611
|
-
if (!m) {
|
|
305612
|
-
throw new TypeError(`Invalid Version: ${version4}`);
|
|
305613
|
-
}
|
|
305614
|
-
this.raw = version4;
|
|
305615
|
-
this.major = +m[1];
|
|
305616
|
-
this.minor = +m[2];
|
|
305617
|
-
this.patch = +m[3];
|
|
305618
|
-
if (this.major > MAX_SAFE_INTEGER || this.major < 0) {
|
|
305619
|
-
throw new TypeError("Invalid major version");
|
|
305620
|
-
}
|
|
305621
|
-
if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) {
|
|
305622
|
-
throw new TypeError("Invalid minor version");
|
|
305623
|
-
}
|
|
305624
|
-
if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) {
|
|
305625
|
-
throw new TypeError("Invalid patch version");
|
|
305626
|
-
}
|
|
305627
|
-
if (!m[4]) {
|
|
305628
|
-
this.prerelease = [];
|
|
305629
|
-
} else {
|
|
305630
|
-
this.prerelease = m[4].split(".").map((id) => {
|
|
305631
|
-
if (/^[0-9]+$/.test(id)) {
|
|
305632
|
-
const num = +id;
|
|
305633
|
-
if (num >= 0 && num < MAX_SAFE_INTEGER) {
|
|
305634
|
-
return num;
|
|
305635
|
-
}
|
|
305636
|
-
}
|
|
305637
|
-
return id;
|
|
305638
|
-
});
|
|
305639
|
-
}
|
|
305640
|
-
this.build = m[5] ? m[5].split(".") : [];
|
|
305641
|
-
this.format();
|
|
305642
|
-
}
|
|
305643
|
-
format() {
|
|
305644
|
-
this.version = `${this.major}.${this.minor}.${this.patch}`;
|
|
305645
|
-
if (this.prerelease.length) {
|
|
305646
|
-
this.version += `-${this.prerelease.join(".")}`;
|
|
305647
|
-
}
|
|
305648
|
-
return this.version;
|
|
305649
|
-
}
|
|
305650
|
-
toString() {
|
|
305651
|
-
return this.version;
|
|
305652
|
-
}
|
|
305653
|
-
compare(other) {
|
|
305654
|
-
debug14("SemVer.compare", this.version, this.options, other);
|
|
305655
|
-
if (!(other instanceof _SemVer)) {
|
|
305656
|
-
if (typeof other === "string" && other === this.version) {
|
|
305657
|
-
return 0;
|
|
305658
|
-
}
|
|
305659
|
-
other = new _SemVer(other, this.options);
|
|
305660
|
-
}
|
|
305661
|
-
if (other.version === this.version) {
|
|
305662
|
-
return 0;
|
|
305663
|
-
}
|
|
305664
|
-
return this.compareMain(other) || this.comparePre(other);
|
|
305665
|
-
}
|
|
305666
|
-
compareMain(other) {
|
|
305667
|
-
if (!(other instanceof _SemVer)) {
|
|
305668
|
-
other = new _SemVer(other, this.options);
|
|
305669
|
-
}
|
|
305670
|
-
return compareIdentifiers(this.major, other.major) || compareIdentifiers(this.minor, other.minor) || compareIdentifiers(this.patch, other.patch);
|
|
305671
|
-
}
|
|
305672
|
-
comparePre(other) {
|
|
305673
|
-
if (!(other instanceof _SemVer)) {
|
|
305674
|
-
other = new _SemVer(other, this.options);
|
|
305675
|
-
}
|
|
305676
|
-
if (this.prerelease.length && !other.prerelease.length) {
|
|
305677
|
-
return -1;
|
|
305678
|
-
} else if (!this.prerelease.length && other.prerelease.length) {
|
|
305679
|
-
return 1;
|
|
305680
|
-
} else if (!this.prerelease.length && !other.prerelease.length) {
|
|
305681
|
-
return 0;
|
|
305682
|
-
}
|
|
305683
|
-
let i = 0;
|
|
305684
|
-
do {
|
|
305685
|
-
const a = this.prerelease[i];
|
|
305686
|
-
const b = other.prerelease[i];
|
|
305687
|
-
debug14("prerelease compare", i, a, b);
|
|
305688
|
-
if (a === void 0 && b === void 0) {
|
|
305689
|
-
return 0;
|
|
305690
|
-
} else if (b === void 0) {
|
|
305691
|
-
return 1;
|
|
305692
|
-
} else if (a === void 0) {
|
|
305693
|
-
return -1;
|
|
305694
|
-
} else if (a === b) {
|
|
305695
|
-
continue;
|
|
305696
|
-
} else {
|
|
305697
|
-
return compareIdentifiers(a, b);
|
|
305698
|
-
}
|
|
305699
|
-
} while (++i);
|
|
305700
|
-
}
|
|
305701
|
-
compareBuild(other) {
|
|
305702
|
-
if (!(other instanceof _SemVer)) {
|
|
305703
|
-
other = new _SemVer(other, this.options);
|
|
305704
|
-
}
|
|
305705
|
-
let i = 0;
|
|
305706
|
-
do {
|
|
305707
|
-
const a = this.build[i];
|
|
305708
|
-
const b = other.build[i];
|
|
305709
|
-
debug14("build compare", i, a, b);
|
|
305710
|
-
if (a === void 0 && b === void 0) {
|
|
305711
|
-
return 0;
|
|
305712
|
-
} else if (b === void 0) {
|
|
305713
|
-
return 1;
|
|
305714
|
-
} else if (a === void 0) {
|
|
305715
|
-
return -1;
|
|
305716
|
-
} else if (a === b) {
|
|
305717
|
-
continue;
|
|
305718
|
-
} else {
|
|
305719
|
-
return compareIdentifiers(a, b);
|
|
305720
|
-
}
|
|
305721
|
-
} while (++i);
|
|
305722
|
-
}
|
|
305723
|
-
// preminor will bump the version up to the next minor release, and immediately
|
|
305724
|
-
// down to pre-release. premajor and prepatch work the same way.
|
|
305725
|
-
inc(release, identifier, identifierBase) {
|
|
305726
|
-
if (release.startsWith("pre")) {
|
|
305727
|
-
if (!identifier && identifierBase === false) {
|
|
305728
|
-
throw new Error("invalid increment argument: identifier is empty");
|
|
305729
|
-
}
|
|
305730
|
-
if (identifier) {
|
|
305731
|
-
const r = new RegExp(`^${this.options.loose ? src[t.PRERELEASELOOSE] : src[t.PRERELEASE]}$`);
|
|
305732
|
-
const match4 = `-${identifier}`.match(r);
|
|
305733
|
-
if (!match4 || match4[1] !== identifier) {
|
|
305734
|
-
throw new Error(`invalid identifier: ${identifier}`);
|
|
305735
|
-
}
|
|
305736
|
-
}
|
|
305737
|
-
}
|
|
305738
|
-
switch (release) {
|
|
305739
|
-
case "premajor":
|
|
305740
|
-
this.prerelease.length = 0;
|
|
305741
|
-
this.patch = 0;
|
|
305742
|
-
this.minor = 0;
|
|
305743
|
-
this.major++;
|
|
305744
|
-
this.inc("pre", identifier, identifierBase);
|
|
305745
|
-
break;
|
|
305746
|
-
case "preminor":
|
|
305747
|
-
this.prerelease.length = 0;
|
|
305748
|
-
this.patch = 0;
|
|
305749
|
-
this.minor++;
|
|
305750
|
-
this.inc("pre", identifier, identifierBase);
|
|
305751
|
-
break;
|
|
305752
|
-
case "prepatch":
|
|
305753
|
-
this.prerelease.length = 0;
|
|
305754
|
-
this.inc("patch", identifier, identifierBase);
|
|
305755
|
-
this.inc("pre", identifier, identifierBase);
|
|
305756
|
-
break;
|
|
305757
|
-
// If the input is a non-prerelease version, this acts the same as
|
|
305758
|
-
// prepatch.
|
|
305759
|
-
case "prerelease":
|
|
305760
|
-
if (this.prerelease.length === 0) {
|
|
305761
|
-
this.inc("patch", identifier, identifierBase);
|
|
305762
|
-
}
|
|
305763
|
-
this.inc("pre", identifier, identifierBase);
|
|
305764
|
-
break;
|
|
305765
|
-
case "release":
|
|
305766
|
-
if (this.prerelease.length === 0) {
|
|
305767
|
-
throw new Error(`version ${this.raw} is not a prerelease`);
|
|
305768
|
-
}
|
|
305769
|
-
this.prerelease.length = 0;
|
|
305770
|
-
break;
|
|
305771
|
-
case "major":
|
|
305772
|
-
if (this.minor !== 0 || this.patch !== 0 || this.prerelease.length === 0) {
|
|
305773
|
-
this.major++;
|
|
305774
|
-
}
|
|
305775
|
-
this.minor = 0;
|
|
305776
|
-
this.patch = 0;
|
|
305777
|
-
this.prerelease = [];
|
|
305778
|
-
break;
|
|
305779
|
-
case "minor":
|
|
305780
|
-
if (this.patch !== 0 || this.prerelease.length === 0) {
|
|
305781
|
-
this.minor++;
|
|
305782
|
-
}
|
|
305783
|
-
this.patch = 0;
|
|
305784
|
-
this.prerelease = [];
|
|
305785
|
-
break;
|
|
305786
|
-
case "patch":
|
|
305787
|
-
if (this.prerelease.length === 0) {
|
|
305788
|
-
this.patch++;
|
|
305789
|
-
}
|
|
305790
|
-
this.prerelease = [];
|
|
305791
|
-
break;
|
|
305792
|
-
// This probably shouldn't be used publicly.
|
|
305793
|
-
// 1.0.0 'pre' would become 1.0.0-0 which is the wrong direction.
|
|
305794
|
-
case "pre": {
|
|
305795
|
-
const base2 = Number(identifierBase) ? 1 : 0;
|
|
305796
|
-
if (this.prerelease.length === 0) {
|
|
305797
|
-
this.prerelease = [base2];
|
|
305798
|
-
} else {
|
|
305799
|
-
let i = this.prerelease.length;
|
|
305800
|
-
while (--i >= 0) {
|
|
305801
|
-
if (typeof this.prerelease[i] === "number") {
|
|
305802
|
-
this.prerelease[i]++;
|
|
305803
|
-
i = -2;
|
|
305804
|
-
}
|
|
305805
|
-
}
|
|
305806
|
-
if (i === -1) {
|
|
305807
|
-
if (identifier === this.prerelease.join(".") && identifierBase === false) {
|
|
305808
|
-
throw new Error("invalid increment argument: identifier already exists");
|
|
305809
|
-
}
|
|
305810
|
-
this.prerelease.push(base2);
|
|
305811
|
-
}
|
|
305812
|
-
}
|
|
305813
|
-
if (identifier) {
|
|
305814
|
-
let prerelease = [identifier, base2];
|
|
305815
|
-
if (identifierBase === false) {
|
|
305816
|
-
prerelease = [identifier];
|
|
305817
|
-
}
|
|
305818
|
-
if (compareIdentifiers(this.prerelease[0], identifier) === 0) {
|
|
305819
|
-
if (isNaN(this.prerelease[1])) {
|
|
305820
|
-
this.prerelease = prerelease;
|
|
305821
|
-
}
|
|
305822
|
-
} else {
|
|
305823
|
-
this.prerelease = prerelease;
|
|
305824
|
-
}
|
|
305825
|
-
}
|
|
305826
|
-
break;
|
|
305827
|
-
}
|
|
305828
|
-
default:
|
|
305829
|
-
throw new Error(`invalid increment argument: ${release}`);
|
|
305830
|
-
}
|
|
305831
|
-
this.raw = this.format();
|
|
305832
|
-
if (this.build.length) {
|
|
305833
|
-
this.raw += `+${this.build.join(".")}`;
|
|
305834
|
-
}
|
|
305835
|
-
return this;
|
|
305836
|
-
}
|
|
305837
|
-
};
|
|
305838
|
-
module.exports = SemVer;
|
|
305839
|
-
}
|
|
305840
|
-
});
|
|
305841
|
-
|
|
305842
|
-
// ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/parse.js
|
|
305843
|
-
var require_parse6 = _chunkTGYUEFVAcjs.__commonJS.call(void 0, {
|
|
305844
|
-
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/parse.js"(exports, module) {
|
|
305845
|
-
_chunkTGYUEFVAcjs.init_cjs_shims.call(void 0, );
|
|
305846
|
-
var SemVer = require_semver2();
|
|
305847
|
-
var parse7 = (version4, options, throwErrors = false) => {
|
|
305848
|
-
if (version4 instanceof SemVer) {
|
|
305849
|
-
return version4;
|
|
305850
|
-
}
|
|
305851
|
-
try {
|
|
305852
|
-
return new SemVer(version4, options);
|
|
305853
|
-
} catch (er) {
|
|
305854
|
-
if (!throwErrors) {
|
|
305855
|
-
return null;
|
|
305856
|
-
}
|
|
305857
|
-
throw er;
|
|
305858
|
-
}
|
|
305859
|
-
};
|
|
305860
|
-
module.exports = parse7;
|
|
305861
|
-
}
|
|
305862
|
-
});
|
|
305863
|
-
|
|
305864
|
-
// ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/valid.js
|
|
305865
|
-
var require_valid2 = _chunkTGYUEFVAcjs.__commonJS.call(void 0, {
|
|
305866
|
-
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/valid.js"(exports, module) {
|
|
305867
|
-
_chunkTGYUEFVAcjs.init_cjs_shims.call(void 0, );
|
|
305868
|
-
var parse7 = require_parse6();
|
|
305869
|
-
var valid = (version4, options) => {
|
|
305870
|
-
const v = parse7(version4, options);
|
|
305871
|
-
return v ? v.version : null;
|
|
305872
|
-
};
|
|
305873
|
-
module.exports = valid;
|
|
305874
|
-
}
|
|
305875
|
-
});
|
|
305876
|
-
|
|
305877
|
-
// ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/clean.js
|
|
305878
|
-
var require_clean2 = _chunkTGYUEFVAcjs.__commonJS.call(void 0, {
|
|
305879
|
-
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/clean.js"(exports, module) {
|
|
305880
|
-
_chunkTGYUEFVAcjs.init_cjs_shims.call(void 0, );
|
|
305881
|
-
var parse7 = require_parse6();
|
|
305882
|
-
var clean6 = (version4, options) => {
|
|
305883
|
-
const s = parse7(version4.trim().replace(/^[=v]+/, ""), options);
|
|
305884
|
-
return s ? s.version : null;
|
|
305885
|
-
};
|
|
305886
|
-
module.exports = clean6;
|
|
305887
|
-
}
|
|
305888
|
-
});
|
|
305889
|
-
|
|
305890
|
-
// ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/inc.js
|
|
305891
|
-
var require_inc = _chunkTGYUEFVAcjs.__commonJS.call(void 0, {
|
|
305892
|
-
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/inc.js"(exports, module) {
|
|
305893
|
-
_chunkTGYUEFVAcjs.init_cjs_shims.call(void 0, );
|
|
305894
|
-
var SemVer = require_semver2();
|
|
305895
|
-
var inc = (version4, release, options, identifier, identifierBase) => {
|
|
305896
|
-
if (typeof options === "string") {
|
|
305897
|
-
identifierBase = identifier;
|
|
305898
|
-
identifier = options;
|
|
305899
|
-
options = void 0;
|
|
305900
|
-
}
|
|
305901
|
-
try {
|
|
305902
|
-
return new SemVer(
|
|
305903
|
-
version4 instanceof SemVer ? version4.version : version4,
|
|
305904
|
-
options
|
|
305905
|
-
).inc(release, identifier, identifierBase).version;
|
|
305906
|
-
} catch (er) {
|
|
305907
|
-
return null;
|
|
305908
|
-
}
|
|
305909
|
-
};
|
|
305910
|
-
module.exports = inc;
|
|
305911
|
-
}
|
|
305912
|
-
});
|
|
305913
|
-
|
|
305914
|
-
// ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/diff.js
|
|
305915
|
-
var require_diff = _chunkTGYUEFVAcjs.__commonJS.call(void 0, {
|
|
305916
|
-
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/diff.js"(exports, module) {
|
|
305917
|
-
_chunkTGYUEFVAcjs.init_cjs_shims.call(void 0, );
|
|
305918
|
-
var parse7 = require_parse6();
|
|
305919
|
-
var diff = (version1, version22) => {
|
|
305920
|
-
const v1 = parse7(version1, null, true);
|
|
305921
|
-
const v2 = parse7(version22, null, true);
|
|
305922
|
-
const comparison = v1.compare(v2);
|
|
305923
|
-
if (comparison === 0) {
|
|
305924
|
-
return null;
|
|
305925
|
-
}
|
|
305926
|
-
const v1Higher = comparison > 0;
|
|
305927
|
-
const highVersion = v1Higher ? v1 : v2;
|
|
305928
|
-
const lowVersion = v1Higher ? v2 : v1;
|
|
305929
|
-
const highHasPre = !!highVersion.prerelease.length;
|
|
305930
|
-
const lowHasPre = !!lowVersion.prerelease.length;
|
|
305931
|
-
if (lowHasPre && !highHasPre) {
|
|
305932
|
-
if (!lowVersion.patch && !lowVersion.minor) {
|
|
305933
|
-
return "major";
|
|
305934
|
-
}
|
|
305935
|
-
if (lowVersion.compareMain(highVersion) === 0) {
|
|
305936
|
-
if (lowVersion.minor && !lowVersion.patch) {
|
|
305937
|
-
return "minor";
|
|
305938
|
-
}
|
|
305939
|
-
return "patch";
|
|
305940
|
-
}
|
|
305941
|
-
}
|
|
305942
|
-
const prefix = highHasPre ? "pre" : "";
|
|
305943
|
-
if (v1.major !== v2.major) {
|
|
305944
|
-
return prefix + "major";
|
|
305945
|
-
}
|
|
305946
|
-
if (v1.minor !== v2.minor) {
|
|
305947
|
-
return prefix + "minor";
|
|
305948
|
-
}
|
|
305949
|
-
if (v1.patch !== v2.patch) {
|
|
305950
|
-
return prefix + "patch";
|
|
305951
|
-
}
|
|
305952
|
-
return "prerelease";
|
|
305953
|
-
};
|
|
305954
|
-
module.exports = diff;
|
|
305955
|
-
}
|
|
305956
|
-
});
|
|
305957
|
-
|
|
305958
|
-
// ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/major.js
|
|
305959
|
-
var require_major = _chunkTGYUEFVAcjs.__commonJS.call(void 0, {
|
|
305960
|
-
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/major.js"(exports, module) {
|
|
305961
|
-
_chunkTGYUEFVAcjs.init_cjs_shims.call(void 0, );
|
|
305962
|
-
var SemVer = require_semver2();
|
|
305963
|
-
var major = (a, loose) => new SemVer(a, loose).major;
|
|
305964
|
-
module.exports = major;
|
|
305965
|
-
}
|
|
305966
|
-
});
|
|
305967
|
-
|
|
305968
|
-
// ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/minor.js
|
|
305969
|
-
var require_minor = _chunkTGYUEFVAcjs.__commonJS.call(void 0, {
|
|
305970
|
-
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/minor.js"(exports, module) {
|
|
305971
|
-
_chunkTGYUEFVAcjs.init_cjs_shims.call(void 0, );
|
|
305972
|
-
var SemVer = require_semver2();
|
|
305973
|
-
var minor = (a, loose) => new SemVer(a, loose).minor;
|
|
305974
|
-
module.exports = minor;
|
|
305975
|
-
}
|
|
305976
|
-
});
|
|
305977
|
-
|
|
305978
|
-
// ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/patch.js
|
|
305979
|
-
var require_patch = _chunkTGYUEFVAcjs.__commonJS.call(void 0, {
|
|
305980
|
-
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/patch.js"(exports, module) {
|
|
305981
|
-
_chunkTGYUEFVAcjs.init_cjs_shims.call(void 0, );
|
|
305982
|
-
var SemVer = require_semver2();
|
|
305983
|
-
var patch2 = (a, loose) => new SemVer(a, loose).patch;
|
|
305984
|
-
module.exports = patch2;
|
|
305985
|
-
}
|
|
305986
|
-
});
|
|
305987
|
-
|
|
305988
|
-
// ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/prerelease.js
|
|
305989
|
-
var require_prerelease = _chunkTGYUEFVAcjs.__commonJS.call(void 0, {
|
|
305990
|
-
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/prerelease.js"(exports, module) {
|
|
305991
|
-
_chunkTGYUEFVAcjs.init_cjs_shims.call(void 0, );
|
|
305992
|
-
var parse7 = require_parse6();
|
|
305993
|
-
var prerelease = (version4, options) => {
|
|
305994
|
-
const parsed = parse7(version4, options);
|
|
305995
|
-
return parsed && parsed.prerelease.length ? parsed.prerelease : null;
|
|
305996
|
-
};
|
|
305997
|
-
module.exports = prerelease;
|
|
305998
|
-
}
|
|
305999
|
-
});
|
|
306000
|
-
|
|
306001
|
-
// ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/compare.js
|
|
306002
|
-
var require_compare = _chunkTGYUEFVAcjs.__commonJS.call(void 0, {
|
|
306003
|
-
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/compare.js"(exports, module) {
|
|
306004
|
-
_chunkTGYUEFVAcjs.init_cjs_shims.call(void 0, );
|
|
306005
|
-
var SemVer = require_semver2();
|
|
306006
|
-
var compare6 = (a, b, loose) => new SemVer(a, loose).compare(new SemVer(b, loose));
|
|
306007
|
-
module.exports = compare6;
|
|
306008
|
-
}
|
|
306009
|
-
});
|
|
306010
|
-
|
|
306011
|
-
// ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/rcompare.js
|
|
306012
|
-
var require_rcompare = _chunkTGYUEFVAcjs.__commonJS.call(void 0, {
|
|
306013
|
-
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/rcompare.js"(exports, module) {
|
|
306014
|
-
_chunkTGYUEFVAcjs.init_cjs_shims.call(void 0, );
|
|
306015
|
-
var compare6 = require_compare();
|
|
306016
|
-
var rcompare2 = (a, b, loose) => compare6(b, a, loose);
|
|
306017
|
-
module.exports = rcompare2;
|
|
306018
|
-
}
|
|
306019
|
-
});
|
|
306020
|
-
|
|
306021
|
-
// ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/compare-loose.js
|
|
306022
|
-
var require_compare_loose = _chunkTGYUEFVAcjs.__commonJS.call(void 0, {
|
|
306023
|
-
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/compare-loose.js"(exports, module) {
|
|
306024
|
-
_chunkTGYUEFVAcjs.init_cjs_shims.call(void 0, );
|
|
306025
|
-
var compare6 = require_compare();
|
|
306026
|
-
var compareLoose = (a, b) => compare6(a, b, true);
|
|
306027
|
-
module.exports = compareLoose;
|
|
306028
|
-
}
|
|
306029
|
-
});
|
|
306030
|
-
|
|
306031
|
-
// ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/compare-build.js
|
|
306032
|
-
var require_compare_build = _chunkTGYUEFVAcjs.__commonJS.call(void 0, {
|
|
306033
|
-
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/compare-build.js"(exports, module) {
|
|
306034
|
-
_chunkTGYUEFVAcjs.init_cjs_shims.call(void 0, );
|
|
306035
|
-
var SemVer = require_semver2();
|
|
306036
|
-
var compareBuild = (a, b, loose) => {
|
|
306037
|
-
const versionA = new SemVer(a, loose);
|
|
306038
|
-
const versionB = new SemVer(b, loose);
|
|
306039
|
-
return versionA.compare(versionB) || versionA.compareBuild(versionB);
|
|
306040
|
-
};
|
|
306041
|
-
module.exports = compareBuild;
|
|
306042
|
-
}
|
|
306043
|
-
});
|
|
306044
|
-
|
|
306045
|
-
// ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/sort.js
|
|
306046
|
-
var require_sort = _chunkTGYUEFVAcjs.__commonJS.call(void 0, {
|
|
306047
|
-
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/sort.js"(exports, module) {
|
|
306048
|
-
_chunkTGYUEFVAcjs.init_cjs_shims.call(void 0, );
|
|
306049
|
-
var compareBuild = require_compare_build();
|
|
306050
|
-
var sort = (list, loose) => list.sort((a, b) => compareBuild(a, b, loose));
|
|
306051
|
-
module.exports = sort;
|
|
306052
|
-
}
|
|
306053
|
-
});
|
|
306054
|
-
|
|
306055
|
-
// ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/rsort.js
|
|
306056
|
-
var require_rsort = _chunkTGYUEFVAcjs.__commonJS.call(void 0, {
|
|
306057
|
-
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/rsort.js"(exports, module) {
|
|
306058
|
-
_chunkTGYUEFVAcjs.init_cjs_shims.call(void 0, );
|
|
306059
|
-
var compareBuild = require_compare_build();
|
|
306060
|
-
var rsort = (list, loose) => list.sort((a, b) => compareBuild(b, a, loose));
|
|
306061
|
-
module.exports = rsort;
|
|
306062
|
-
}
|
|
306063
|
-
});
|
|
306064
|
-
|
|
306065
|
-
// ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/gt.js
|
|
306066
|
-
var require_gt = _chunkTGYUEFVAcjs.__commonJS.call(void 0, {
|
|
306067
|
-
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/gt.js"(exports, module) {
|
|
306068
|
-
_chunkTGYUEFVAcjs.init_cjs_shims.call(void 0, );
|
|
306069
|
-
var compare6 = require_compare();
|
|
306070
|
-
var gt = (a, b, loose) => compare6(a, b, loose) > 0;
|
|
306071
|
-
module.exports = gt;
|
|
306072
|
-
}
|
|
306073
|
-
});
|
|
306074
|
-
|
|
306075
|
-
// ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/lt.js
|
|
306076
|
-
var require_lt = _chunkTGYUEFVAcjs.__commonJS.call(void 0, {
|
|
306077
|
-
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/lt.js"(exports, module) {
|
|
306078
|
-
_chunkTGYUEFVAcjs.init_cjs_shims.call(void 0, );
|
|
306079
|
-
var compare6 = require_compare();
|
|
306080
|
-
var lt = (a, b, loose) => compare6(a, b, loose) < 0;
|
|
306081
|
-
module.exports = lt;
|
|
306082
|
-
}
|
|
306083
|
-
});
|
|
306084
|
-
|
|
306085
|
-
// ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/eq.js
|
|
306086
|
-
var require_eq = _chunkTGYUEFVAcjs.__commonJS.call(void 0, {
|
|
306087
|
-
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/eq.js"(exports, module) {
|
|
306088
|
-
_chunkTGYUEFVAcjs.init_cjs_shims.call(void 0, );
|
|
306089
|
-
var compare6 = require_compare();
|
|
306090
|
-
var eq2 = (a, b, loose) => compare6(a, b, loose) === 0;
|
|
306091
|
-
module.exports = eq2;
|
|
306092
|
-
}
|
|
306093
|
-
});
|
|
306094
|
-
|
|
306095
|
-
// ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/neq.js
|
|
306096
|
-
var require_neq = _chunkTGYUEFVAcjs.__commonJS.call(void 0, {
|
|
306097
|
-
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/neq.js"(exports, module) {
|
|
306098
|
-
_chunkTGYUEFVAcjs.init_cjs_shims.call(void 0, );
|
|
306099
|
-
var compare6 = require_compare();
|
|
306100
|
-
var neq = (a, b, loose) => compare6(a, b, loose) !== 0;
|
|
306101
|
-
module.exports = neq;
|
|
306102
|
-
}
|
|
306103
|
-
});
|
|
306104
|
-
|
|
306105
|
-
// ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/gte.js
|
|
306106
|
-
var require_gte = _chunkTGYUEFVAcjs.__commonJS.call(void 0, {
|
|
306107
|
-
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/gte.js"(exports, module) {
|
|
306108
|
-
_chunkTGYUEFVAcjs.init_cjs_shims.call(void 0, );
|
|
306109
|
-
var compare6 = require_compare();
|
|
306110
|
-
var gte = (a, b, loose) => compare6(a, b, loose) >= 0;
|
|
306111
|
-
module.exports = gte;
|
|
306112
|
-
}
|
|
306113
|
-
});
|
|
306114
|
-
|
|
306115
|
-
// ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/lte.js
|
|
306116
|
-
var require_lte = _chunkTGYUEFVAcjs.__commonJS.call(void 0, {
|
|
306117
|
-
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/lte.js"(exports, module) {
|
|
306118
|
-
_chunkTGYUEFVAcjs.init_cjs_shims.call(void 0, );
|
|
306119
|
-
var compare6 = require_compare();
|
|
306120
|
-
var lte = (a, b, loose) => compare6(a, b, loose) <= 0;
|
|
306121
|
-
module.exports = lte;
|
|
306122
|
-
}
|
|
306123
|
-
});
|
|
306124
|
-
|
|
306125
|
-
// ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/cmp.js
|
|
306126
|
-
var require_cmp = _chunkTGYUEFVAcjs.__commonJS.call(void 0, {
|
|
306127
|
-
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/cmp.js"(exports, module) {
|
|
306128
|
-
_chunkTGYUEFVAcjs.init_cjs_shims.call(void 0, );
|
|
306129
|
-
var eq2 = require_eq();
|
|
306130
|
-
var neq = require_neq();
|
|
306131
|
-
var gt = require_gt();
|
|
306132
|
-
var gte = require_gte();
|
|
306133
|
-
var lt = require_lt();
|
|
306134
|
-
var lte = require_lte();
|
|
306135
|
-
var cmp = (a, op, b, loose) => {
|
|
306136
|
-
switch (op) {
|
|
306137
|
-
case "===":
|
|
306138
|
-
if (typeof a === "object") {
|
|
306139
|
-
a = a.version;
|
|
306140
|
-
}
|
|
306141
|
-
if (typeof b === "object") {
|
|
306142
|
-
b = b.version;
|
|
306143
|
-
}
|
|
306144
|
-
return a === b;
|
|
306145
|
-
case "!==":
|
|
306146
|
-
if (typeof a === "object") {
|
|
306147
|
-
a = a.version;
|
|
306148
|
-
}
|
|
306149
|
-
if (typeof b === "object") {
|
|
306150
|
-
b = b.version;
|
|
306151
|
-
}
|
|
306152
|
-
return a !== b;
|
|
306153
|
-
case "":
|
|
306154
|
-
case "=":
|
|
306155
|
-
case "==":
|
|
306156
|
-
return eq2(a, b, loose);
|
|
306157
|
-
case "!=":
|
|
306158
|
-
return neq(a, b, loose);
|
|
306159
|
-
case ">":
|
|
306160
|
-
return gt(a, b, loose);
|
|
306161
|
-
case ">=":
|
|
306162
|
-
return gte(a, b, loose);
|
|
306163
|
-
case "<":
|
|
306164
|
-
return lt(a, b, loose);
|
|
306165
|
-
case "<=":
|
|
306166
|
-
return lte(a, b, loose);
|
|
306167
|
-
default:
|
|
306168
|
-
throw new TypeError(`Invalid operator: ${op}`);
|
|
306169
|
-
}
|
|
306170
|
-
};
|
|
306171
|
-
module.exports = cmp;
|
|
306172
|
-
}
|
|
306173
|
-
});
|
|
306174
|
-
|
|
306175
|
-
// ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/coerce.js
|
|
306176
|
-
var require_coerce = _chunkTGYUEFVAcjs.__commonJS.call(void 0, {
|
|
306177
|
-
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/coerce.js"(exports, module) {
|
|
306178
|
-
_chunkTGYUEFVAcjs.init_cjs_shims.call(void 0, );
|
|
306179
|
-
var SemVer = require_semver2();
|
|
306180
|
-
var parse7 = require_parse6();
|
|
306181
|
-
var { safeRe: re, t } = require_re();
|
|
306182
|
-
var coerce2 = (version4, options) => {
|
|
306183
|
-
if (version4 instanceof SemVer) {
|
|
306184
|
-
return version4;
|
|
306185
|
-
}
|
|
306186
|
-
if (typeof version4 === "number") {
|
|
306187
|
-
version4 = String(version4);
|
|
306188
|
-
}
|
|
306189
|
-
if (typeof version4 !== "string") {
|
|
306190
|
-
return null;
|
|
306191
|
-
}
|
|
306192
|
-
options = options || {};
|
|
306193
|
-
let match4 = null;
|
|
306194
|
-
if (!options.rtl) {
|
|
306195
|
-
match4 = version4.match(options.includePrerelease ? re[t.COERCEFULL] : re[t.COERCE]);
|
|
306196
|
-
} else {
|
|
306197
|
-
const coerceRtlRegex = options.includePrerelease ? re[t.COERCERTLFULL] : re[t.COERCERTL];
|
|
306198
|
-
let next;
|
|
306199
|
-
while ((next = coerceRtlRegex.exec(version4)) && (!match4 || match4.index + match4[0].length !== version4.length)) {
|
|
306200
|
-
if (!match4 || next.index + next[0].length !== match4.index + match4[0].length) {
|
|
306201
|
-
match4 = next;
|
|
306202
|
-
}
|
|
306203
|
-
coerceRtlRegex.lastIndex = next.index + next[1].length + next[2].length;
|
|
306204
|
-
}
|
|
306205
|
-
coerceRtlRegex.lastIndex = -1;
|
|
306206
|
-
}
|
|
306207
|
-
if (match4 === null) {
|
|
306208
|
-
return null;
|
|
306209
|
-
}
|
|
306210
|
-
const major = match4[2];
|
|
306211
|
-
const minor = match4[3] || "0";
|
|
306212
|
-
const patch2 = match4[4] || "0";
|
|
306213
|
-
const prerelease = options.includePrerelease && match4[5] ? `-${match4[5]}` : "";
|
|
306214
|
-
const build = options.includePrerelease && match4[6] ? `+${match4[6]}` : "";
|
|
306215
|
-
return parse7(`${major}.${minor}.${patch2}${prerelease}${build}`, options);
|
|
306216
|
-
};
|
|
306217
|
-
module.exports = coerce2;
|
|
306218
|
-
}
|
|
306219
|
-
});
|
|
306220
|
-
|
|
306221
|
-
// ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/lrucache.js
|
|
306222
|
-
var require_lrucache = _chunkTGYUEFVAcjs.__commonJS.call(void 0, {
|
|
306223
|
-
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/lrucache.js"(exports, module) {
|
|
306224
|
-
_chunkTGYUEFVAcjs.init_cjs_shims.call(void 0, );
|
|
306225
|
-
var LRUCache3 = class {
|
|
306226
|
-
constructor() {
|
|
306227
|
-
this.max = 1e3;
|
|
306228
|
-
this.map = /* @__PURE__ */ new Map();
|
|
306229
|
-
}
|
|
306230
|
-
get(key) {
|
|
306231
|
-
const value2 = this.map.get(key);
|
|
306232
|
-
if (value2 === void 0) {
|
|
306233
|
-
return void 0;
|
|
306234
|
-
} else {
|
|
306235
|
-
this.map.delete(key);
|
|
306236
|
-
this.map.set(key, value2);
|
|
306237
|
-
return value2;
|
|
306238
|
-
}
|
|
306239
|
-
}
|
|
306240
|
-
delete(key) {
|
|
306241
|
-
return this.map.delete(key);
|
|
306242
|
-
}
|
|
306243
|
-
set(key, value2) {
|
|
306244
|
-
const deleted = this.delete(key);
|
|
306245
|
-
if (!deleted && value2 !== void 0) {
|
|
306246
|
-
if (this.map.size >= this.max) {
|
|
306247
|
-
const firstKey = this.map.keys().next().value;
|
|
306248
|
-
this.delete(firstKey);
|
|
306249
|
-
}
|
|
306250
|
-
this.map.set(key, value2);
|
|
306251
|
-
}
|
|
306252
|
-
return this;
|
|
306253
|
-
}
|
|
306254
|
-
};
|
|
306255
|
-
module.exports = LRUCache3;
|
|
306256
|
-
}
|
|
306257
|
-
});
|
|
306258
|
-
|
|
306259
|
-
// ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/classes/range.js
|
|
306260
|
-
var require_range = _chunkTGYUEFVAcjs.__commonJS.call(void 0, {
|
|
306261
|
-
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/classes/range.js"(exports, module) {
|
|
306262
|
-
_chunkTGYUEFVAcjs.init_cjs_shims.call(void 0, );
|
|
306263
|
-
var SPACE_CHARACTERS = /\s+/g;
|
|
306264
|
-
var Range2 = class _Range {
|
|
306265
|
-
constructor(range, options) {
|
|
306266
|
-
options = parseOptions(options);
|
|
306267
|
-
if (range instanceof _Range) {
|
|
306268
|
-
if (range.loose === !!options.loose && range.includePrerelease === !!options.includePrerelease) {
|
|
306269
|
-
return range;
|
|
306270
|
-
} else {
|
|
306271
|
-
return new _Range(range.raw, options);
|
|
306272
|
-
}
|
|
306273
|
-
}
|
|
306274
|
-
if (range instanceof Comparator2) {
|
|
306275
|
-
this.raw = range.value;
|
|
306276
|
-
this.set = [[range]];
|
|
306277
|
-
this.formatted = void 0;
|
|
306278
|
-
return this;
|
|
306279
|
-
}
|
|
306280
|
-
this.options = options;
|
|
306281
|
-
this.loose = !!options.loose;
|
|
306282
|
-
this.includePrerelease = !!options.includePrerelease;
|
|
306283
|
-
this.raw = range.trim().replace(SPACE_CHARACTERS, " ");
|
|
306284
|
-
this.set = this.raw.split("||").map((r) => this.parseRange(r.trim())).filter((c) => c.length);
|
|
306285
|
-
if (!this.set.length) {
|
|
306286
|
-
throw new TypeError(`Invalid SemVer Range: ${this.raw}`);
|
|
306287
|
-
}
|
|
306288
|
-
if (this.set.length > 1) {
|
|
306289
|
-
const first3 = this.set[0];
|
|
306290
|
-
this.set = this.set.filter((c) => !isNullSet(c[0]));
|
|
306291
|
-
if (this.set.length === 0) {
|
|
306292
|
-
this.set = [first3];
|
|
306293
|
-
} else if (this.set.length > 1) {
|
|
306294
|
-
for (const c of this.set) {
|
|
306295
|
-
if (c.length === 1 && isAny(c[0])) {
|
|
306296
|
-
this.set = [c];
|
|
306297
|
-
break;
|
|
306298
|
-
}
|
|
306299
|
-
}
|
|
306300
|
-
}
|
|
306301
|
-
}
|
|
306302
|
-
this.formatted = void 0;
|
|
306303
|
-
}
|
|
306304
|
-
get range() {
|
|
306305
|
-
if (this.formatted === void 0) {
|
|
306306
|
-
this.formatted = "";
|
|
306307
|
-
for (let i = 0; i < this.set.length; i++) {
|
|
306308
|
-
if (i > 0) {
|
|
306309
|
-
this.formatted += "||";
|
|
306310
|
-
}
|
|
306311
|
-
const comps = this.set[i];
|
|
306312
|
-
for (let k = 0; k < comps.length; k++) {
|
|
306313
|
-
if (k > 0) {
|
|
306314
|
-
this.formatted += " ";
|
|
306315
|
-
}
|
|
306316
|
-
this.formatted += comps[k].toString().trim();
|
|
306317
|
-
}
|
|
306318
|
-
}
|
|
306319
|
-
}
|
|
306320
|
-
return this.formatted;
|
|
306321
|
-
}
|
|
306322
|
-
format() {
|
|
306323
|
-
return this.range;
|
|
306324
|
-
}
|
|
306325
|
-
toString() {
|
|
306326
|
-
return this.range;
|
|
306327
|
-
}
|
|
306328
|
-
parseRange(range) {
|
|
306329
|
-
const memoOpts = (this.options.includePrerelease && FLAG_INCLUDE_PRERELEASE) | (this.options.loose && FLAG_LOOSE);
|
|
306330
|
-
const memoKey = memoOpts + ":" + range;
|
|
306331
|
-
const cached = cache5.get(memoKey);
|
|
306332
|
-
if (cached) {
|
|
306333
|
-
return cached;
|
|
306334
|
-
}
|
|
306335
|
-
const loose = this.options.loose;
|
|
306336
|
-
const hr = loose ? re[t.HYPHENRANGELOOSE] : re[t.HYPHENRANGE];
|
|
306337
|
-
range = range.replace(hr, hyphenReplace(this.options.includePrerelease));
|
|
306338
|
-
debug14("hyphen replace", range);
|
|
306339
|
-
range = range.replace(re[t.COMPARATORTRIM], comparatorTrimReplace);
|
|
306340
|
-
debug14("comparator trim", range);
|
|
306341
|
-
range = range.replace(re[t.TILDETRIM], tildeTrimReplace);
|
|
306342
|
-
debug14("tilde trim", range);
|
|
306343
|
-
range = range.replace(re[t.CARETTRIM], caretTrimReplace);
|
|
306344
|
-
debug14("caret trim", range);
|
|
306345
|
-
let rangeList = range.split(" ").map((comp) => parseComparator(comp, this.options)).join(" ").split(/\s+/).map((comp) => replaceGTE0(comp, this.options));
|
|
306346
|
-
if (loose) {
|
|
306347
|
-
rangeList = rangeList.filter((comp) => {
|
|
306348
|
-
debug14("loose invalid filter", comp, this.options);
|
|
306349
|
-
return !!comp.match(re[t.COMPARATORLOOSE]);
|
|
306350
|
-
});
|
|
306351
|
-
}
|
|
306352
|
-
debug14("range list", rangeList);
|
|
306353
|
-
const rangeMap = /* @__PURE__ */ new Map();
|
|
306354
|
-
const comparators = rangeList.map((comp) => new Comparator2(comp, this.options));
|
|
306355
|
-
for (const comp of comparators) {
|
|
306356
|
-
if (isNullSet(comp)) {
|
|
306357
|
-
return [comp];
|
|
306358
|
-
}
|
|
306359
|
-
rangeMap.set(comp.value, comp);
|
|
306360
|
-
}
|
|
306361
|
-
if (rangeMap.size > 1 && rangeMap.has("")) {
|
|
306362
|
-
rangeMap.delete("");
|
|
306363
|
-
}
|
|
306364
|
-
const result = [...rangeMap.values()];
|
|
306365
|
-
cache5.set(memoKey, result);
|
|
306366
|
-
return result;
|
|
306367
|
-
}
|
|
306368
|
-
intersects(range, options) {
|
|
306369
|
-
if (!(range instanceof _Range)) {
|
|
306370
|
-
throw new TypeError("a Range is required");
|
|
306371
|
-
}
|
|
306372
|
-
return this.set.some((thisComparators) => {
|
|
306373
|
-
return isSatisfiable(thisComparators, options) && range.set.some((rangeComparators) => {
|
|
306374
|
-
return isSatisfiable(rangeComparators, options) && thisComparators.every((thisComparator) => {
|
|
306375
|
-
return rangeComparators.every((rangeComparator) => {
|
|
306376
|
-
return thisComparator.intersects(rangeComparator, options);
|
|
306377
|
-
});
|
|
306378
|
-
});
|
|
306379
|
-
});
|
|
306380
|
-
});
|
|
306381
|
-
}
|
|
306382
|
-
// if ANY of the sets match ALL of its comparators, then pass
|
|
306383
|
-
test(version4) {
|
|
306384
|
-
if (!version4) {
|
|
306385
|
-
return false;
|
|
306386
|
-
}
|
|
306387
|
-
if (typeof version4 === "string") {
|
|
306388
|
-
try {
|
|
306389
|
-
version4 = new SemVer(version4, this.options);
|
|
306390
|
-
} catch (er) {
|
|
306391
|
-
return false;
|
|
306392
|
-
}
|
|
306393
|
-
}
|
|
306394
|
-
for (let i = 0; i < this.set.length; i++) {
|
|
306395
|
-
if (testSet(this.set[i], version4, this.options)) {
|
|
306396
|
-
return true;
|
|
306397
|
-
}
|
|
306398
|
-
}
|
|
306399
|
-
return false;
|
|
306400
|
-
}
|
|
306401
|
-
};
|
|
306402
|
-
module.exports = Range2;
|
|
306403
|
-
var LRU = require_lrucache();
|
|
306404
|
-
var cache5 = new LRU();
|
|
306405
|
-
var parseOptions = require_parse_options();
|
|
306406
|
-
var Comparator2 = require_comparator();
|
|
306407
|
-
var debug14 = require_debug2();
|
|
306408
|
-
var SemVer = require_semver2();
|
|
306409
|
-
var {
|
|
306410
|
-
safeRe: re,
|
|
306411
|
-
t,
|
|
306412
|
-
comparatorTrimReplace,
|
|
306413
|
-
tildeTrimReplace,
|
|
306414
|
-
caretTrimReplace
|
|
306415
|
-
} = require_re();
|
|
306416
|
-
var { FLAG_INCLUDE_PRERELEASE, FLAG_LOOSE } = require_constants5();
|
|
306417
|
-
var isNullSet = (c) => c.value === "<0.0.0-0";
|
|
306418
|
-
var isAny = (c) => c.value === "";
|
|
306419
|
-
var isSatisfiable = (comparators, options) => {
|
|
306420
|
-
let result = true;
|
|
306421
|
-
const remainingComparators = comparators.slice();
|
|
306422
|
-
let testComparator = remainingComparators.pop();
|
|
306423
|
-
while (result && remainingComparators.length) {
|
|
306424
|
-
result = remainingComparators.every((otherComparator) => {
|
|
306425
|
-
return testComparator.intersects(otherComparator, options);
|
|
306426
|
-
});
|
|
306427
|
-
testComparator = remainingComparators.pop();
|
|
306428
|
-
}
|
|
306429
|
-
return result;
|
|
306430
|
-
};
|
|
306431
|
-
var parseComparator = (comp, options) => {
|
|
306432
|
-
debug14("comp", comp, options);
|
|
306433
|
-
comp = replaceCarets(comp, options);
|
|
306434
|
-
debug14("caret", comp);
|
|
306435
|
-
comp = replaceTildes(comp, options);
|
|
306436
|
-
debug14("tildes", comp);
|
|
306437
|
-
comp = replaceXRanges(comp, options);
|
|
306438
|
-
debug14("xrange", comp);
|
|
306439
|
-
comp = replaceStars(comp, options);
|
|
306440
|
-
debug14("stars", comp);
|
|
306441
|
-
return comp;
|
|
306442
|
-
};
|
|
306443
|
-
var isX = (id) => !id || id.toLowerCase() === "x" || id === "*";
|
|
306444
|
-
var replaceTildes = (comp, options) => {
|
|
306445
|
-
return comp.trim().split(/\s+/).map((c) => replaceTilde(c, options)).join(" ");
|
|
306446
|
-
};
|
|
306447
|
-
var replaceTilde = (comp, options) => {
|
|
306448
|
-
const r = options.loose ? re[t.TILDELOOSE] : re[t.TILDE];
|
|
306449
|
-
return comp.replace(r, (_, M, m, p, pr) => {
|
|
306450
|
-
debug14("tilde", comp, _, M, m, p, pr);
|
|
306451
|
-
let ret;
|
|
306452
|
-
if (isX(M)) {
|
|
306453
|
-
ret = "";
|
|
306454
|
-
} else if (isX(m)) {
|
|
306455
|
-
ret = `>=${M}.0.0 <${+M + 1}.0.0-0`;
|
|
306456
|
-
} else if (isX(p)) {
|
|
306457
|
-
ret = `>=${M}.${m}.0 <${M}.${+m + 1}.0-0`;
|
|
306458
|
-
} else if (pr) {
|
|
306459
|
-
debug14("replaceTilde pr", pr);
|
|
306460
|
-
ret = `>=${M}.${m}.${p}-${pr} <${M}.${+m + 1}.0-0`;
|
|
306461
|
-
} else {
|
|
306462
|
-
ret = `>=${M}.${m}.${p} <${M}.${+m + 1}.0-0`;
|
|
306463
|
-
}
|
|
306464
|
-
debug14("tilde return", ret);
|
|
306465
|
-
return ret;
|
|
306466
|
-
});
|
|
306467
|
-
};
|
|
306468
|
-
var replaceCarets = (comp, options) => {
|
|
306469
|
-
return comp.trim().split(/\s+/).map((c) => replaceCaret(c, options)).join(" ");
|
|
306470
|
-
};
|
|
306471
|
-
var replaceCaret = (comp, options) => {
|
|
306472
|
-
debug14("caret", comp, options);
|
|
306473
|
-
const r = options.loose ? re[t.CARETLOOSE] : re[t.CARET];
|
|
306474
|
-
const z2 = options.includePrerelease ? "-0" : "";
|
|
306475
|
-
return comp.replace(r, (_, M, m, p, pr) => {
|
|
306476
|
-
debug14("caret", comp, _, M, m, p, pr);
|
|
306477
|
-
let ret;
|
|
306478
|
-
if (isX(M)) {
|
|
306479
|
-
ret = "";
|
|
306480
|
-
} else if (isX(m)) {
|
|
306481
|
-
ret = `>=${M}.0.0${z2} <${+M + 1}.0.0-0`;
|
|
306482
|
-
} else if (isX(p)) {
|
|
306483
|
-
if (M === "0") {
|
|
306484
|
-
ret = `>=${M}.${m}.0${z2} <${M}.${+m + 1}.0-0`;
|
|
306485
|
-
} else {
|
|
306486
|
-
ret = `>=${M}.${m}.0${z2} <${+M + 1}.0.0-0`;
|
|
306487
|
-
}
|
|
306488
|
-
} else if (pr) {
|
|
306489
|
-
debug14("replaceCaret pr", pr);
|
|
306490
|
-
if (M === "0") {
|
|
306491
|
-
if (m === "0") {
|
|
306492
|
-
ret = `>=${M}.${m}.${p}-${pr} <${M}.${m}.${+p + 1}-0`;
|
|
306493
|
-
} else {
|
|
306494
|
-
ret = `>=${M}.${m}.${p}-${pr} <${M}.${+m + 1}.0-0`;
|
|
306495
|
-
}
|
|
306496
|
-
} else {
|
|
306497
|
-
ret = `>=${M}.${m}.${p}-${pr} <${+M + 1}.0.0-0`;
|
|
306498
|
-
}
|
|
306499
|
-
} else {
|
|
306500
|
-
debug14("no pr");
|
|
306501
|
-
if (M === "0") {
|
|
306502
|
-
if (m === "0") {
|
|
306503
|
-
ret = `>=${M}.${m}.${p}${z2} <${M}.${m}.${+p + 1}-0`;
|
|
306504
|
-
} else {
|
|
306505
|
-
ret = `>=${M}.${m}.${p}${z2} <${M}.${+m + 1}.0-0`;
|
|
306506
|
-
}
|
|
306507
|
-
} else {
|
|
306508
|
-
ret = `>=${M}.${m}.${p} <${+M + 1}.0.0-0`;
|
|
306509
|
-
}
|
|
306510
|
-
}
|
|
306511
|
-
debug14("caret return", ret);
|
|
306512
|
-
return ret;
|
|
306513
|
-
});
|
|
306514
|
-
};
|
|
306515
|
-
var replaceXRanges = (comp, options) => {
|
|
306516
|
-
debug14("replaceXRanges", comp, options);
|
|
306517
|
-
return comp.split(/\s+/).map((c) => replaceXRange(c, options)).join(" ");
|
|
306518
|
-
};
|
|
306519
|
-
var replaceXRange = (comp, options) => {
|
|
306520
|
-
comp = comp.trim();
|
|
306521
|
-
const r = options.loose ? re[t.XRANGELOOSE] : re[t.XRANGE];
|
|
306522
|
-
return comp.replace(r, (ret, gtlt, M, m, p, pr) => {
|
|
306523
|
-
debug14("xRange", comp, ret, gtlt, M, m, p, pr);
|
|
306524
|
-
const xM = isX(M);
|
|
306525
|
-
const xm = xM || isX(m);
|
|
306526
|
-
const xp = xm || isX(p);
|
|
306527
|
-
const anyX = xp;
|
|
306528
|
-
if (gtlt === "=" && anyX) {
|
|
306529
|
-
gtlt = "";
|
|
306530
|
-
}
|
|
306531
|
-
pr = options.includePrerelease ? "-0" : "";
|
|
306532
|
-
if (xM) {
|
|
306533
|
-
if (gtlt === ">" || gtlt === "<") {
|
|
306534
|
-
ret = "<0.0.0-0";
|
|
306535
|
-
} else {
|
|
306536
|
-
ret = "*";
|
|
306537
|
-
}
|
|
306538
|
-
} else if (gtlt && anyX) {
|
|
306539
|
-
if (xm) {
|
|
306540
|
-
m = 0;
|
|
306541
|
-
}
|
|
306542
|
-
p = 0;
|
|
306543
|
-
if (gtlt === ">") {
|
|
306544
|
-
gtlt = ">=";
|
|
306545
|
-
if (xm) {
|
|
306546
|
-
M = +M + 1;
|
|
306547
|
-
m = 0;
|
|
306548
|
-
p = 0;
|
|
306549
|
-
} else {
|
|
306550
|
-
m = +m + 1;
|
|
306551
|
-
p = 0;
|
|
306552
|
-
}
|
|
306553
|
-
} else if (gtlt === "<=") {
|
|
306554
|
-
gtlt = "<";
|
|
306555
|
-
if (xm) {
|
|
306556
|
-
M = +M + 1;
|
|
306557
|
-
} else {
|
|
306558
|
-
m = +m + 1;
|
|
306559
|
-
}
|
|
306560
|
-
}
|
|
306561
|
-
if (gtlt === "<") {
|
|
306562
|
-
pr = "-0";
|
|
306563
|
-
}
|
|
306564
|
-
ret = `${gtlt + M}.${m}.${p}${pr}`;
|
|
306565
|
-
} else if (xm) {
|
|
306566
|
-
ret = `>=${M}.0.0${pr} <${+M + 1}.0.0-0`;
|
|
306567
|
-
} else if (xp) {
|
|
306568
|
-
ret = `>=${M}.${m}.0${pr} <${M}.${+m + 1}.0-0`;
|
|
306569
|
-
}
|
|
306570
|
-
debug14("xRange return", ret);
|
|
306571
|
-
return ret;
|
|
306572
|
-
});
|
|
306573
|
-
};
|
|
306574
|
-
var replaceStars = (comp, options) => {
|
|
306575
|
-
debug14("replaceStars", comp, options);
|
|
306576
|
-
return comp.trim().replace(re[t.STAR], "");
|
|
306577
|
-
};
|
|
306578
|
-
var replaceGTE0 = (comp, options) => {
|
|
306579
|
-
debug14("replaceGTE0", comp, options);
|
|
306580
|
-
return comp.trim().replace(re[options.includePrerelease ? t.GTE0PRE : t.GTE0], "");
|
|
306581
|
-
};
|
|
306582
|
-
var hyphenReplace = (incPr) => ($0, from, fM, fm, fp, fpr, fb, to, tM, tm, tp, tpr) => {
|
|
306583
|
-
if (isX(fM)) {
|
|
306584
|
-
from = "";
|
|
306585
|
-
} else if (isX(fm)) {
|
|
306586
|
-
from = `>=${fM}.0.0${incPr ? "-0" : ""}`;
|
|
306587
|
-
} else if (isX(fp)) {
|
|
306588
|
-
from = `>=${fM}.${fm}.0${incPr ? "-0" : ""}`;
|
|
306589
|
-
} else if (fpr) {
|
|
306590
|
-
from = `>=${from}`;
|
|
306591
|
-
} else {
|
|
306592
|
-
from = `>=${from}${incPr ? "-0" : ""}`;
|
|
306593
|
-
}
|
|
306594
|
-
if (isX(tM)) {
|
|
306595
|
-
to = "";
|
|
306596
|
-
} else if (isX(tm)) {
|
|
306597
|
-
to = `<${+tM + 1}.0.0-0`;
|
|
306598
|
-
} else if (isX(tp)) {
|
|
306599
|
-
to = `<${tM}.${+tm + 1}.0-0`;
|
|
306600
|
-
} else if (tpr) {
|
|
306601
|
-
to = `<=${tM}.${tm}.${tp}-${tpr}`;
|
|
306602
|
-
} else if (incPr) {
|
|
306603
|
-
to = `<${tM}.${tm}.${+tp + 1}-0`;
|
|
306604
|
-
} else {
|
|
306605
|
-
to = `<=${to}`;
|
|
306606
|
-
}
|
|
306607
|
-
return `${from} ${to}`.trim();
|
|
306608
|
-
};
|
|
306609
|
-
var testSet = (set4, version4, options) => {
|
|
306610
|
-
for (let i = 0; i < set4.length; i++) {
|
|
306611
|
-
if (!set4[i].test(version4)) {
|
|
306612
|
-
return false;
|
|
306613
|
-
}
|
|
306614
|
-
}
|
|
306615
|
-
if (version4.prerelease.length && !options.includePrerelease) {
|
|
306616
|
-
for (let i = 0; i < set4.length; i++) {
|
|
306617
|
-
debug14(set4[i].semver);
|
|
306618
|
-
if (set4[i].semver === Comparator2.ANY) {
|
|
306619
|
-
continue;
|
|
306620
|
-
}
|
|
306621
|
-
if (set4[i].semver.prerelease.length > 0) {
|
|
306622
|
-
const allowed = set4[i].semver;
|
|
306623
|
-
if (allowed.major === version4.major && allowed.minor === version4.minor && allowed.patch === version4.patch) {
|
|
306624
|
-
return true;
|
|
306625
|
-
}
|
|
306626
|
-
}
|
|
306627
|
-
}
|
|
306628
|
-
return false;
|
|
306629
|
-
}
|
|
306630
|
-
return true;
|
|
306631
|
-
};
|
|
306632
|
-
}
|
|
306633
|
-
});
|
|
306634
|
-
|
|
306635
|
-
// ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/classes/comparator.js
|
|
306636
|
-
var require_comparator = _chunkTGYUEFVAcjs.__commonJS.call(void 0, {
|
|
306637
|
-
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/classes/comparator.js"(exports, module) {
|
|
306638
|
-
_chunkTGYUEFVAcjs.init_cjs_shims.call(void 0, );
|
|
306639
|
-
var ANY = Symbol("SemVer ANY");
|
|
306640
|
-
var Comparator2 = class _Comparator {
|
|
306641
|
-
static get ANY() {
|
|
306642
|
-
return ANY;
|
|
306643
|
-
}
|
|
306644
|
-
constructor(comp, options) {
|
|
306645
|
-
options = parseOptions(options);
|
|
306646
|
-
if (comp instanceof _Comparator) {
|
|
306647
|
-
if (comp.loose === !!options.loose) {
|
|
306648
|
-
return comp;
|
|
306649
|
-
} else {
|
|
306650
|
-
comp = comp.value;
|
|
306651
|
-
}
|
|
306652
|
-
}
|
|
306653
|
-
comp = comp.trim().split(/\s+/).join(" ");
|
|
306654
|
-
debug14("comparator", comp, options);
|
|
306655
|
-
this.options = options;
|
|
306656
|
-
this.loose = !!options.loose;
|
|
306657
|
-
this.parse(comp);
|
|
306658
|
-
if (this.semver === ANY) {
|
|
306659
|
-
this.value = "";
|
|
306660
|
-
} else {
|
|
306661
|
-
this.value = this.operator + this.semver.version;
|
|
306662
|
-
}
|
|
306663
|
-
debug14("comp", this);
|
|
306664
|
-
}
|
|
306665
|
-
parse(comp) {
|
|
306666
|
-
const r = this.options.loose ? re[t.COMPARATORLOOSE] : re[t.COMPARATOR];
|
|
306667
|
-
const m = comp.match(r);
|
|
306668
|
-
if (!m) {
|
|
306669
|
-
throw new TypeError(`Invalid comparator: ${comp}`);
|
|
306670
|
-
}
|
|
306671
|
-
this.operator = m[1] !== void 0 ? m[1] : "";
|
|
306672
|
-
if (this.operator === "=") {
|
|
306673
|
-
this.operator = "";
|
|
306674
|
-
}
|
|
306675
|
-
if (!m[2]) {
|
|
306676
|
-
this.semver = ANY;
|
|
306677
|
-
} else {
|
|
306678
|
-
this.semver = new SemVer(m[2], this.options.loose);
|
|
306679
|
-
}
|
|
306680
|
-
}
|
|
306681
|
-
toString() {
|
|
306682
|
-
return this.value;
|
|
306683
|
-
}
|
|
306684
|
-
test(version4) {
|
|
306685
|
-
debug14("Comparator.test", version4, this.options.loose);
|
|
306686
|
-
if (this.semver === ANY || version4 === ANY) {
|
|
306687
|
-
return true;
|
|
306688
|
-
}
|
|
306689
|
-
if (typeof version4 === "string") {
|
|
306690
|
-
try {
|
|
306691
|
-
version4 = new SemVer(version4, this.options);
|
|
306692
|
-
} catch (er) {
|
|
306693
|
-
return false;
|
|
306694
|
-
}
|
|
306695
|
-
}
|
|
306696
|
-
return cmp(version4, this.operator, this.semver, this.options);
|
|
306697
|
-
}
|
|
306698
|
-
intersects(comp, options) {
|
|
306699
|
-
if (!(comp instanceof _Comparator)) {
|
|
306700
|
-
throw new TypeError("a Comparator is required");
|
|
306701
|
-
}
|
|
306702
|
-
if (this.operator === "") {
|
|
306703
|
-
if (this.value === "") {
|
|
306704
|
-
return true;
|
|
306705
|
-
}
|
|
306706
|
-
return new Range2(comp.value, options).test(this.value);
|
|
306707
|
-
} else if (comp.operator === "") {
|
|
306708
|
-
if (comp.value === "") {
|
|
306709
|
-
return true;
|
|
306710
|
-
}
|
|
306711
|
-
return new Range2(this.value, options).test(comp.semver);
|
|
306712
|
-
}
|
|
306713
|
-
options = parseOptions(options);
|
|
306714
|
-
if (options.includePrerelease && (this.value === "<0.0.0-0" || comp.value === "<0.0.0-0")) {
|
|
306715
|
-
return false;
|
|
306716
|
-
}
|
|
306717
|
-
if (!options.includePrerelease && (this.value.startsWith("<0.0.0") || comp.value.startsWith("<0.0.0"))) {
|
|
306718
|
-
return false;
|
|
306719
|
-
}
|
|
306720
|
-
if (this.operator.startsWith(">") && comp.operator.startsWith(">")) {
|
|
306721
|
-
return true;
|
|
306722
|
-
}
|
|
306723
|
-
if (this.operator.startsWith("<") && comp.operator.startsWith("<")) {
|
|
306724
|
-
return true;
|
|
306725
|
-
}
|
|
306726
|
-
if (this.semver.version === comp.semver.version && this.operator.includes("=") && comp.operator.includes("=")) {
|
|
306727
|
-
return true;
|
|
306728
|
-
}
|
|
306729
|
-
if (cmp(this.semver, "<", comp.semver, options) && this.operator.startsWith(">") && comp.operator.startsWith("<")) {
|
|
306730
|
-
return true;
|
|
306731
|
-
}
|
|
306732
|
-
if (cmp(this.semver, ">", comp.semver, options) && this.operator.startsWith("<") && comp.operator.startsWith(">")) {
|
|
306733
|
-
return true;
|
|
306734
|
-
}
|
|
306735
|
-
return false;
|
|
306736
|
-
}
|
|
306737
|
-
};
|
|
306738
|
-
module.exports = Comparator2;
|
|
306739
|
-
var parseOptions = require_parse_options();
|
|
306740
|
-
var { safeRe: re, t } = require_re();
|
|
306741
|
-
var cmp = require_cmp();
|
|
306742
|
-
var debug14 = require_debug2();
|
|
306743
|
-
var SemVer = require_semver2();
|
|
306744
|
-
var Range2 = require_range();
|
|
306745
|
-
}
|
|
306746
|
-
});
|
|
306747
|
-
|
|
306748
|
-
// ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/satisfies.js
|
|
306749
|
-
var require_satisfies = _chunkTGYUEFVAcjs.__commonJS.call(void 0, {
|
|
306750
|
-
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/satisfies.js"(exports, module) {
|
|
306751
|
-
_chunkTGYUEFVAcjs.init_cjs_shims.call(void 0, );
|
|
306752
|
-
var Range2 = require_range();
|
|
306753
|
-
var satisfies = (version4, range, options) => {
|
|
306754
|
-
try {
|
|
306755
|
-
range = new Range2(range, options);
|
|
306756
|
-
} catch (er) {
|
|
306757
|
-
return false;
|
|
306758
|
-
}
|
|
306759
|
-
return range.test(version4);
|
|
306760
|
-
};
|
|
306761
|
-
module.exports = satisfies;
|
|
306762
|
-
}
|
|
306763
|
-
});
|
|
306764
|
-
|
|
306765
|
-
// ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/ranges/to-comparators.js
|
|
306766
|
-
var require_to_comparators = _chunkTGYUEFVAcjs.__commonJS.call(void 0, {
|
|
306767
|
-
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/ranges/to-comparators.js"(exports, module) {
|
|
306768
|
-
_chunkTGYUEFVAcjs.init_cjs_shims.call(void 0, );
|
|
306769
|
-
var Range2 = require_range();
|
|
306770
|
-
var toComparators = (range, options) => new Range2(range, options).set.map((comp) => comp.map((c) => c.value).join(" ").trim().split(" "));
|
|
306771
|
-
module.exports = toComparators;
|
|
306772
|
-
}
|
|
306773
|
-
});
|
|
306774
|
-
|
|
306775
|
-
// ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/ranges/max-satisfying.js
|
|
306776
|
-
var require_max_satisfying = _chunkTGYUEFVAcjs.__commonJS.call(void 0, {
|
|
306777
|
-
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/ranges/max-satisfying.js"(exports, module) {
|
|
306778
|
-
_chunkTGYUEFVAcjs.init_cjs_shims.call(void 0, );
|
|
306779
|
-
var SemVer = require_semver2();
|
|
306780
|
-
var Range2 = require_range();
|
|
306781
|
-
var maxSatisfying = (versions, range, options) => {
|
|
306782
|
-
let max4 = null;
|
|
306783
|
-
let maxSV = null;
|
|
306784
|
-
let rangeObj = null;
|
|
306785
|
-
try {
|
|
306786
|
-
rangeObj = new Range2(range, options);
|
|
306787
|
-
} catch (er) {
|
|
306788
|
-
return null;
|
|
306789
|
-
}
|
|
306790
|
-
versions.forEach((v) => {
|
|
306791
|
-
if (rangeObj.test(v)) {
|
|
306792
|
-
if (!max4 || maxSV.compare(v) === -1) {
|
|
306793
|
-
max4 = v;
|
|
306794
|
-
maxSV = new SemVer(max4, options);
|
|
306795
|
-
}
|
|
306796
|
-
}
|
|
306797
|
-
});
|
|
306798
|
-
return max4;
|
|
306799
|
-
};
|
|
306800
|
-
module.exports = maxSatisfying;
|
|
306801
|
-
}
|
|
306802
|
-
});
|
|
306803
|
-
|
|
306804
|
-
// ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/ranges/min-satisfying.js
|
|
306805
|
-
var require_min_satisfying = _chunkTGYUEFVAcjs.__commonJS.call(void 0, {
|
|
306806
|
-
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/ranges/min-satisfying.js"(exports, module) {
|
|
306807
|
-
_chunkTGYUEFVAcjs.init_cjs_shims.call(void 0, );
|
|
306808
|
-
var SemVer = require_semver2();
|
|
306809
|
-
var Range2 = require_range();
|
|
306810
|
-
var minSatisfying = (versions, range, options) => {
|
|
306811
|
-
let min3 = null;
|
|
306812
|
-
let minSV = null;
|
|
306813
|
-
let rangeObj = null;
|
|
306814
|
-
try {
|
|
306815
|
-
rangeObj = new Range2(range, options);
|
|
306816
|
-
} catch (er) {
|
|
306817
|
-
return null;
|
|
306818
|
-
}
|
|
306819
|
-
versions.forEach((v) => {
|
|
306820
|
-
if (rangeObj.test(v)) {
|
|
306821
|
-
if (!min3 || minSV.compare(v) === 1) {
|
|
306822
|
-
min3 = v;
|
|
306823
|
-
minSV = new SemVer(min3, options);
|
|
306824
|
-
}
|
|
306825
|
-
}
|
|
306826
|
-
});
|
|
306827
|
-
return min3;
|
|
306828
|
-
};
|
|
306829
|
-
module.exports = minSatisfying;
|
|
306830
|
-
}
|
|
306831
|
-
});
|
|
306832
|
-
|
|
306833
|
-
// ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/ranges/min-version.js
|
|
306834
|
-
var require_min_version = _chunkTGYUEFVAcjs.__commonJS.call(void 0, {
|
|
306835
|
-
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/ranges/min-version.js"(exports, module) {
|
|
306836
|
-
_chunkTGYUEFVAcjs.init_cjs_shims.call(void 0, );
|
|
306837
|
-
var SemVer = require_semver2();
|
|
306838
|
-
var Range2 = require_range();
|
|
306839
|
-
var gt = require_gt();
|
|
306840
|
-
var minVersion = (range, loose) => {
|
|
306841
|
-
range = new Range2(range, loose);
|
|
306842
|
-
let minver = new SemVer("0.0.0");
|
|
306843
|
-
if (range.test(minver)) {
|
|
306844
|
-
return minver;
|
|
306845
|
-
}
|
|
306846
|
-
minver = new SemVer("0.0.0-0");
|
|
306847
|
-
if (range.test(minver)) {
|
|
306848
|
-
return minver;
|
|
306849
|
-
}
|
|
306850
|
-
minver = null;
|
|
306851
|
-
for (let i = 0; i < range.set.length; ++i) {
|
|
306852
|
-
const comparators = range.set[i];
|
|
306853
|
-
let setMin = null;
|
|
306854
|
-
comparators.forEach((comparator) => {
|
|
306855
|
-
const compver = new SemVer(comparator.semver.version);
|
|
306856
|
-
switch (comparator.operator) {
|
|
306857
|
-
case ">":
|
|
306858
|
-
if (compver.prerelease.length === 0) {
|
|
306859
|
-
compver.patch++;
|
|
306860
|
-
} else {
|
|
306861
|
-
compver.prerelease.push(0);
|
|
306862
|
-
}
|
|
306863
|
-
compver.raw = compver.format();
|
|
306864
|
-
/* fallthrough */
|
|
306865
|
-
case "":
|
|
306866
|
-
case ">=":
|
|
306867
|
-
if (!setMin || gt(compver, setMin)) {
|
|
306868
|
-
setMin = compver;
|
|
306869
|
-
}
|
|
306870
|
-
break;
|
|
306871
|
-
case "<":
|
|
306872
|
-
case "<=":
|
|
306873
|
-
break;
|
|
306874
|
-
/* istanbul ignore next */
|
|
306875
|
-
default:
|
|
306876
|
-
throw new Error(`Unexpected operation: ${comparator.operator}`);
|
|
306877
|
-
}
|
|
306878
|
-
});
|
|
306879
|
-
if (setMin && (!minver || gt(minver, setMin))) {
|
|
306880
|
-
minver = setMin;
|
|
306881
|
-
}
|
|
306882
|
-
}
|
|
306883
|
-
if (minver && range.test(minver)) {
|
|
306884
|
-
return minver;
|
|
306885
|
-
}
|
|
306886
|
-
return null;
|
|
306887
|
-
};
|
|
306888
|
-
module.exports = minVersion;
|
|
306889
|
-
}
|
|
306890
|
-
});
|
|
306891
|
-
|
|
306892
|
-
// ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/ranges/valid.js
|
|
306893
|
-
var require_valid3 = _chunkTGYUEFVAcjs.__commonJS.call(void 0, {
|
|
306894
|
-
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/ranges/valid.js"(exports, module) {
|
|
306895
|
-
_chunkTGYUEFVAcjs.init_cjs_shims.call(void 0, );
|
|
306896
|
-
var Range2 = require_range();
|
|
306897
|
-
var validRange3 = (range, options) => {
|
|
306898
|
-
try {
|
|
306899
|
-
return new Range2(range, options).range || "*";
|
|
306900
|
-
} catch (er) {
|
|
306901
|
-
return null;
|
|
306902
|
-
}
|
|
306903
|
-
};
|
|
306904
|
-
module.exports = validRange3;
|
|
306905
|
-
}
|
|
306906
|
-
});
|
|
306907
|
-
|
|
306908
|
-
// ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/ranges/outside.js
|
|
306909
|
-
var require_outside = _chunkTGYUEFVAcjs.__commonJS.call(void 0, {
|
|
306910
|
-
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/ranges/outside.js"(exports, module) {
|
|
306911
|
-
_chunkTGYUEFVAcjs.init_cjs_shims.call(void 0, );
|
|
306912
|
-
var SemVer = require_semver2();
|
|
306913
|
-
var Comparator2 = require_comparator();
|
|
306914
|
-
var { ANY } = Comparator2;
|
|
306915
|
-
var Range2 = require_range();
|
|
306916
|
-
var satisfies = require_satisfies();
|
|
306917
|
-
var gt = require_gt();
|
|
306918
|
-
var lt = require_lt();
|
|
306919
|
-
var lte = require_lte();
|
|
306920
|
-
var gte = require_gte();
|
|
306921
|
-
var outside = (version4, range, hilo, options) => {
|
|
306922
|
-
version4 = new SemVer(version4, options);
|
|
306923
|
-
range = new Range2(range, options);
|
|
306924
|
-
let gtfn, ltefn, ltfn, comp, ecomp;
|
|
306925
|
-
switch (hilo) {
|
|
306926
|
-
case ">":
|
|
306927
|
-
gtfn = gt;
|
|
306928
|
-
ltefn = lte;
|
|
306929
|
-
ltfn = lt;
|
|
306930
|
-
comp = ">";
|
|
306931
|
-
ecomp = ">=";
|
|
306932
|
-
break;
|
|
306933
|
-
case "<":
|
|
306934
|
-
gtfn = lt;
|
|
306935
|
-
ltefn = gte;
|
|
306936
|
-
ltfn = gt;
|
|
306937
|
-
comp = "<";
|
|
306938
|
-
ecomp = "<=";
|
|
306939
|
-
break;
|
|
306940
|
-
default:
|
|
306941
|
-
throw new TypeError('Must provide a hilo val of "<" or ">"');
|
|
306942
|
-
}
|
|
306943
|
-
if (satisfies(version4, range, options)) {
|
|
306944
|
-
return false;
|
|
306945
|
-
}
|
|
306946
|
-
for (let i = 0; i < range.set.length; ++i) {
|
|
306947
|
-
const comparators = range.set[i];
|
|
306948
|
-
let high = null;
|
|
306949
|
-
let low = null;
|
|
306950
|
-
comparators.forEach((comparator) => {
|
|
306951
|
-
if (comparator.semver === ANY) {
|
|
306952
|
-
comparator = new Comparator2(">=0.0.0");
|
|
306953
|
-
}
|
|
306954
|
-
high = high || comparator;
|
|
306955
|
-
low = low || comparator;
|
|
306956
|
-
if (gtfn(comparator.semver, high.semver, options)) {
|
|
306957
|
-
high = comparator;
|
|
306958
|
-
} else if (ltfn(comparator.semver, low.semver, options)) {
|
|
306959
|
-
low = comparator;
|
|
306960
|
-
}
|
|
306961
|
-
});
|
|
306962
|
-
if (high.operator === comp || high.operator === ecomp) {
|
|
306963
|
-
return false;
|
|
306964
|
-
}
|
|
306965
|
-
if ((!low.operator || low.operator === comp) && ltefn(version4, low.semver)) {
|
|
306966
|
-
return false;
|
|
306967
|
-
} else if (low.operator === ecomp && ltfn(version4, low.semver)) {
|
|
306968
|
-
return false;
|
|
306969
|
-
}
|
|
306970
|
-
}
|
|
306971
|
-
return true;
|
|
306972
|
-
};
|
|
306973
|
-
module.exports = outside;
|
|
306974
|
-
}
|
|
306975
|
-
});
|
|
306976
|
-
|
|
306977
|
-
// ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/ranges/gtr.js
|
|
306978
|
-
var require_gtr = _chunkTGYUEFVAcjs.__commonJS.call(void 0, {
|
|
306979
|
-
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/ranges/gtr.js"(exports, module) {
|
|
306980
|
-
_chunkTGYUEFVAcjs.init_cjs_shims.call(void 0, );
|
|
306981
|
-
var outside = require_outside();
|
|
306982
|
-
var gtr = (version4, range, options) => outside(version4, range, ">", options);
|
|
306983
|
-
module.exports = gtr;
|
|
306984
|
-
}
|
|
306985
|
-
});
|
|
306986
|
-
|
|
306987
|
-
// ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/ranges/ltr.js
|
|
306988
|
-
var require_ltr = _chunkTGYUEFVAcjs.__commonJS.call(void 0, {
|
|
306989
|
-
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/ranges/ltr.js"(exports, module) {
|
|
306990
|
-
_chunkTGYUEFVAcjs.init_cjs_shims.call(void 0, );
|
|
306991
|
-
var outside = require_outside();
|
|
306992
|
-
var ltr = (version4, range, options) => outside(version4, range, "<", options);
|
|
306993
|
-
module.exports = ltr;
|
|
306994
|
-
}
|
|
306995
|
-
});
|
|
306996
|
-
|
|
306997
|
-
// ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/ranges/intersects.js
|
|
306998
|
-
var require_intersects = _chunkTGYUEFVAcjs.__commonJS.call(void 0, {
|
|
306999
|
-
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/ranges/intersects.js"(exports, module) {
|
|
307000
|
-
_chunkTGYUEFVAcjs.init_cjs_shims.call(void 0, );
|
|
307001
|
-
var Range2 = require_range();
|
|
307002
|
-
var intersects = (r1, r2, options) => {
|
|
307003
|
-
r1 = new Range2(r1, options);
|
|
307004
|
-
r2 = new Range2(r2, options);
|
|
307005
|
-
return r1.intersects(r2, options);
|
|
307006
|
-
};
|
|
307007
|
-
module.exports = intersects;
|
|
307008
|
-
}
|
|
307009
|
-
});
|
|
307010
|
-
|
|
307011
|
-
// ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/ranges/simplify.js
|
|
307012
|
-
var require_simplify = _chunkTGYUEFVAcjs.__commonJS.call(void 0, {
|
|
307013
|
-
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/ranges/simplify.js"(exports, module) {
|
|
307014
|
-
_chunkTGYUEFVAcjs.init_cjs_shims.call(void 0, );
|
|
307015
|
-
var satisfies = require_satisfies();
|
|
307016
|
-
var compare6 = require_compare();
|
|
307017
|
-
module.exports = (versions, range, options) => {
|
|
307018
|
-
const set4 = [];
|
|
307019
|
-
let first3 = null;
|
|
307020
|
-
let prev = null;
|
|
307021
|
-
const v = versions.sort((a, b) => compare6(a, b, options));
|
|
307022
|
-
for (const version4 of v) {
|
|
307023
|
-
const included = satisfies(version4, range, options);
|
|
307024
|
-
if (included) {
|
|
307025
|
-
prev = version4;
|
|
307026
|
-
if (!first3) {
|
|
307027
|
-
first3 = version4;
|
|
307028
|
-
}
|
|
307029
|
-
} else {
|
|
307030
|
-
if (prev) {
|
|
307031
|
-
set4.push([first3, prev]);
|
|
307032
|
-
}
|
|
307033
|
-
prev = null;
|
|
307034
|
-
first3 = null;
|
|
307035
|
-
}
|
|
307036
|
-
}
|
|
307037
|
-
if (first3) {
|
|
307038
|
-
set4.push([first3, null]);
|
|
307039
|
-
}
|
|
307040
|
-
const ranges = [];
|
|
307041
|
-
for (const [min3, max4] of set4) {
|
|
307042
|
-
if (min3 === max4) {
|
|
307043
|
-
ranges.push(min3);
|
|
307044
|
-
} else if (!max4 && min3 === v[0]) {
|
|
307045
|
-
ranges.push("*");
|
|
307046
|
-
} else if (!max4) {
|
|
307047
|
-
ranges.push(`>=${min3}`);
|
|
307048
|
-
} else if (min3 === v[0]) {
|
|
307049
|
-
ranges.push(`<=${max4}`);
|
|
307050
|
-
} else {
|
|
307051
|
-
ranges.push(`${min3} - ${max4}`);
|
|
307052
|
-
}
|
|
307053
|
-
}
|
|
307054
|
-
const simplified = ranges.join(" || ");
|
|
307055
|
-
const original = typeof range.raw === "string" ? range.raw : String(range);
|
|
307056
|
-
return simplified.length < original.length ? simplified : range;
|
|
307057
|
-
};
|
|
307058
|
-
}
|
|
307059
|
-
});
|
|
307060
|
-
|
|
307061
|
-
// ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/ranges/subset.js
|
|
307062
|
-
var require_subset = _chunkTGYUEFVAcjs.__commonJS.call(void 0, {
|
|
307063
|
-
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/ranges/subset.js"(exports, module) {
|
|
307064
|
-
_chunkTGYUEFVAcjs.init_cjs_shims.call(void 0, );
|
|
307065
|
-
var Range2 = require_range();
|
|
307066
|
-
var Comparator2 = require_comparator();
|
|
307067
|
-
var { ANY } = Comparator2;
|
|
307068
|
-
var satisfies = require_satisfies();
|
|
307069
|
-
var compare6 = require_compare();
|
|
307070
|
-
var subset = (sub, dom, options = {}) => {
|
|
307071
|
-
if (sub === dom) {
|
|
307072
|
-
return true;
|
|
307073
|
-
}
|
|
307074
|
-
sub = new Range2(sub, options);
|
|
307075
|
-
dom = new Range2(dom, options);
|
|
307076
|
-
let sawNonNull = false;
|
|
307077
|
-
OUTER: for (const simpleSub of sub.set) {
|
|
307078
|
-
for (const simpleDom of dom.set) {
|
|
307079
|
-
const isSub = simpleSubset(simpleSub, simpleDom, options);
|
|
307080
|
-
sawNonNull = sawNonNull || isSub !== null;
|
|
307081
|
-
if (isSub) {
|
|
307082
|
-
continue OUTER;
|
|
307083
|
-
}
|
|
307084
|
-
}
|
|
307085
|
-
if (sawNonNull) {
|
|
307086
|
-
return false;
|
|
307087
|
-
}
|
|
307088
|
-
}
|
|
307089
|
-
return true;
|
|
307090
|
-
};
|
|
307091
|
-
var minimumVersionWithPreRelease = [new Comparator2(">=0.0.0-0")];
|
|
307092
|
-
var minimumVersion = [new Comparator2(">=0.0.0")];
|
|
307093
|
-
var simpleSubset = (sub, dom, options) => {
|
|
307094
|
-
if (sub === dom) {
|
|
307095
|
-
return true;
|
|
307096
|
-
}
|
|
307097
|
-
if (sub.length === 1 && sub[0].semver === ANY) {
|
|
307098
|
-
if (dom.length === 1 && dom[0].semver === ANY) {
|
|
307099
|
-
return true;
|
|
307100
|
-
} else if (options.includePrerelease) {
|
|
307101
|
-
sub = minimumVersionWithPreRelease;
|
|
307102
|
-
} else {
|
|
307103
|
-
sub = minimumVersion;
|
|
307104
|
-
}
|
|
307105
|
-
}
|
|
307106
|
-
if (dom.length === 1 && dom[0].semver === ANY) {
|
|
307107
|
-
if (options.includePrerelease) {
|
|
307108
|
-
return true;
|
|
307109
|
-
} else {
|
|
307110
|
-
dom = minimumVersion;
|
|
307111
|
-
}
|
|
307112
|
-
}
|
|
307113
|
-
const eqSet = /* @__PURE__ */ new Set();
|
|
307114
|
-
let gt, lt;
|
|
307115
|
-
for (const c of sub) {
|
|
307116
|
-
if (c.operator === ">" || c.operator === ">=") {
|
|
307117
|
-
gt = higherGT(gt, c, options);
|
|
307118
|
-
} else if (c.operator === "<" || c.operator === "<=") {
|
|
307119
|
-
lt = lowerLT(lt, c, options);
|
|
307120
|
-
} else {
|
|
307121
|
-
eqSet.add(c.semver);
|
|
307122
|
-
}
|
|
307123
|
-
}
|
|
307124
|
-
if (eqSet.size > 1) {
|
|
307125
|
-
return null;
|
|
307126
|
-
}
|
|
307127
|
-
let gtltComp;
|
|
307128
|
-
if (gt && lt) {
|
|
307129
|
-
gtltComp = compare6(gt.semver, lt.semver, options);
|
|
307130
|
-
if (gtltComp > 0) {
|
|
307131
|
-
return null;
|
|
307132
|
-
} else if (gtltComp === 0 && (gt.operator !== ">=" || lt.operator !== "<=")) {
|
|
307133
|
-
return null;
|
|
307134
|
-
}
|
|
307135
|
-
}
|
|
307136
|
-
for (const eq2 of eqSet) {
|
|
307137
|
-
if (gt && !satisfies(eq2, String(gt), options)) {
|
|
307138
|
-
return null;
|
|
307139
|
-
}
|
|
307140
|
-
if (lt && !satisfies(eq2, String(lt), options)) {
|
|
307141
|
-
return null;
|
|
307142
|
-
}
|
|
307143
|
-
for (const c of dom) {
|
|
307144
|
-
if (!satisfies(eq2, String(c), options)) {
|
|
307145
|
-
return false;
|
|
307146
|
-
}
|
|
307147
|
-
}
|
|
307148
|
-
return true;
|
|
307149
|
-
}
|
|
307150
|
-
let higher, lower;
|
|
307151
|
-
let hasDomLT, hasDomGT;
|
|
307152
|
-
let needDomLTPre = lt && !options.includePrerelease && lt.semver.prerelease.length ? lt.semver : false;
|
|
307153
|
-
let needDomGTPre = gt && !options.includePrerelease && gt.semver.prerelease.length ? gt.semver : false;
|
|
307154
|
-
if (needDomLTPre && needDomLTPre.prerelease.length === 1 && lt.operator === "<" && needDomLTPre.prerelease[0] === 0) {
|
|
307155
|
-
needDomLTPre = false;
|
|
307156
|
-
}
|
|
307157
|
-
for (const c of dom) {
|
|
307158
|
-
hasDomGT = hasDomGT || c.operator === ">" || c.operator === ">=";
|
|
307159
|
-
hasDomLT = hasDomLT || c.operator === "<" || c.operator === "<=";
|
|
307160
|
-
if (gt) {
|
|
307161
|
-
if (needDomGTPre) {
|
|
307162
|
-
if (c.semver.prerelease && c.semver.prerelease.length && c.semver.major === needDomGTPre.major && c.semver.minor === needDomGTPre.minor && c.semver.patch === needDomGTPre.patch) {
|
|
307163
|
-
needDomGTPre = false;
|
|
307164
|
-
}
|
|
307165
|
-
}
|
|
307166
|
-
if (c.operator === ">" || c.operator === ">=") {
|
|
307167
|
-
higher = higherGT(gt, c, options);
|
|
307168
|
-
if (higher === c && higher !== gt) {
|
|
307169
|
-
return false;
|
|
307170
|
-
}
|
|
307171
|
-
} else if (gt.operator === ">=" && !satisfies(gt.semver, String(c), options)) {
|
|
307172
|
-
return false;
|
|
307173
|
-
}
|
|
307174
|
-
}
|
|
307175
|
-
if (lt) {
|
|
307176
|
-
if (needDomLTPre) {
|
|
307177
|
-
if (c.semver.prerelease && c.semver.prerelease.length && c.semver.major === needDomLTPre.major && c.semver.minor === needDomLTPre.minor && c.semver.patch === needDomLTPre.patch) {
|
|
307178
|
-
needDomLTPre = false;
|
|
307179
|
-
}
|
|
307180
|
-
}
|
|
307181
|
-
if (c.operator === "<" || c.operator === "<=") {
|
|
307182
|
-
lower = lowerLT(lt, c, options);
|
|
307183
|
-
if (lower === c && lower !== lt) {
|
|
307184
|
-
return false;
|
|
307185
|
-
}
|
|
307186
|
-
} else if (lt.operator === "<=" && !satisfies(lt.semver, String(c), options)) {
|
|
307187
|
-
return false;
|
|
307188
|
-
}
|
|
307189
|
-
}
|
|
307190
|
-
if (!c.operator && (lt || gt) && gtltComp !== 0) {
|
|
307191
|
-
return false;
|
|
307192
|
-
}
|
|
307193
|
-
}
|
|
307194
|
-
if (gt && hasDomLT && !lt && gtltComp !== 0) {
|
|
307195
|
-
return false;
|
|
307196
|
-
}
|
|
307197
|
-
if (lt && hasDomGT && !gt && gtltComp !== 0) {
|
|
307198
|
-
return false;
|
|
307199
|
-
}
|
|
307200
|
-
if (needDomGTPre || needDomLTPre) {
|
|
307201
|
-
return false;
|
|
307202
|
-
}
|
|
307203
|
-
return true;
|
|
307204
|
-
};
|
|
307205
|
-
var higherGT = (a, b, options) => {
|
|
307206
|
-
if (!a) {
|
|
307207
|
-
return b;
|
|
307208
|
-
}
|
|
307209
|
-
const comp = compare6(a.semver, b.semver, options);
|
|
307210
|
-
return comp > 0 ? a : comp < 0 ? b : b.operator === ">" && a.operator === ">=" ? b : a;
|
|
307211
|
-
};
|
|
307212
|
-
var lowerLT = (a, b, options) => {
|
|
307213
|
-
if (!a) {
|
|
307214
|
-
return b;
|
|
307215
|
-
}
|
|
307216
|
-
const comp = compare6(a.semver, b.semver, options);
|
|
307217
|
-
return comp < 0 ? a : comp > 0 ? b : b.operator === "<" && a.operator === "<=" ? b : a;
|
|
307218
|
-
};
|
|
307219
|
-
module.exports = subset;
|
|
307220
|
-
}
|
|
307221
|
-
});
|
|
307222
|
-
|
|
307223
|
-
// ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/index.js
|
|
307224
|
-
var require_semver3 = _chunkTGYUEFVAcjs.__commonJS.call(void 0, {
|
|
307225
|
-
"../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/index.js"(exports, module) {
|
|
307226
|
-
_chunkTGYUEFVAcjs.init_cjs_shims.call(void 0, );
|
|
307227
|
-
var internalRe = require_re();
|
|
307228
|
-
var constants = require_constants5();
|
|
307229
|
-
var SemVer = require_semver2();
|
|
307230
|
-
var identifiers = require_identifiers();
|
|
307231
|
-
var parse7 = require_parse6();
|
|
307232
|
-
var valid = require_valid2();
|
|
307233
|
-
var clean6 = require_clean2();
|
|
307234
|
-
var inc = require_inc();
|
|
307235
|
-
var diff = require_diff();
|
|
307236
|
-
var major = require_major();
|
|
307237
|
-
var minor = require_minor();
|
|
307238
|
-
var patch2 = require_patch();
|
|
307239
|
-
var prerelease = require_prerelease();
|
|
307240
|
-
var compare6 = require_compare();
|
|
307241
|
-
var rcompare2 = require_rcompare();
|
|
307242
|
-
var compareLoose = require_compare_loose();
|
|
307243
|
-
var compareBuild = require_compare_build();
|
|
307244
|
-
var sort = require_sort();
|
|
307245
|
-
var rsort = require_rsort();
|
|
307246
|
-
var gt = require_gt();
|
|
307247
|
-
var lt = require_lt();
|
|
307248
|
-
var eq2 = require_eq();
|
|
307249
|
-
var neq = require_neq();
|
|
307250
|
-
var gte = require_gte();
|
|
307251
|
-
var lte = require_lte();
|
|
307252
|
-
var cmp = require_cmp();
|
|
307253
|
-
var coerce2 = require_coerce();
|
|
307254
|
-
var Comparator2 = require_comparator();
|
|
307255
|
-
var Range2 = require_range();
|
|
307256
|
-
var satisfies = require_satisfies();
|
|
307257
|
-
var toComparators = require_to_comparators();
|
|
307258
|
-
var maxSatisfying = require_max_satisfying();
|
|
307259
|
-
var minSatisfying = require_min_satisfying();
|
|
307260
|
-
var minVersion = require_min_version();
|
|
307261
|
-
var validRange3 = require_valid3();
|
|
307262
|
-
var outside = require_outside();
|
|
307263
|
-
var gtr = require_gtr();
|
|
307264
|
-
var ltr = require_ltr();
|
|
307265
|
-
var intersects = require_intersects();
|
|
307266
|
-
var simplifyRange = require_simplify();
|
|
307267
|
-
var subset = require_subset();
|
|
307268
|
-
module.exports = {
|
|
307269
|
-
parse: parse7,
|
|
307270
|
-
valid,
|
|
307271
|
-
clean: clean6,
|
|
307272
|
-
inc,
|
|
307273
|
-
diff,
|
|
307274
|
-
major,
|
|
307275
|
-
minor,
|
|
307276
|
-
patch: patch2,
|
|
307277
|
-
prerelease,
|
|
307278
|
-
compare: compare6,
|
|
307279
|
-
rcompare: rcompare2,
|
|
307280
|
-
compareLoose,
|
|
307281
|
-
compareBuild,
|
|
307282
|
-
sort,
|
|
307283
|
-
rsort,
|
|
307284
|
-
gt,
|
|
307285
|
-
lt,
|
|
307286
|
-
eq: eq2,
|
|
307287
|
-
neq,
|
|
307288
|
-
gte,
|
|
307289
|
-
lte,
|
|
307290
|
-
cmp,
|
|
307291
|
-
coerce: coerce2,
|
|
307292
|
-
Comparator: Comparator2,
|
|
307293
|
-
Range: Range2,
|
|
307294
|
-
satisfies,
|
|
307295
|
-
toComparators,
|
|
307296
|
-
maxSatisfying,
|
|
307297
|
-
minSatisfying,
|
|
307298
|
-
minVersion,
|
|
307299
|
-
validRange: validRange3,
|
|
307300
|
-
outside,
|
|
307301
|
-
gtr,
|
|
307302
|
-
ltr,
|
|
307303
|
-
intersects,
|
|
307304
|
-
simplifyRange,
|
|
307305
|
-
subset,
|
|
307306
|
-
SemVer,
|
|
307307
|
-
re: internalRe.re,
|
|
307308
|
-
src: internalRe.src,
|
|
307309
|
-
tokens: internalRe.t,
|
|
307310
|
-
SEMVER_SPEC_VERSION: constants.SEMVER_SPEC_VERSION,
|
|
307311
|
-
RELEASE_TYPES: constants.RELEASE_TYPES,
|
|
307312
|
-
compareIdentifiers: identifiers.compareIdentifiers,
|
|
307313
|
-
rcompareIdentifiers: identifiers.rcompareIdentifiers
|
|
307314
|
-
};
|
|
307315
|
-
}
|
|
307316
|
-
});
|
|
307317
|
-
|
|
307318
305409
|
// ../../node_modules/.pnpm/parse-github-url@1.0.3/node_modules/parse-github-url/index.js
|
|
307319
305410
|
var require_parse_github_url = _chunkTGYUEFVAcjs.__commonJS.call(void 0, {
|
|
307320
305411
|
"../../node_modules/.pnpm/parse-github-url@1.0.3/node_modules/parse-github-url/index.js"(exports, module) {
|
|
@@ -310314,7 +308405,7 @@ var require_unicode = _chunkTGYUEFVAcjs.__commonJS.call(void 0, {
|
|
|
310314
308405
|
});
|
|
310315
308406
|
|
|
310316
308407
|
// ../../node_modules/.pnpm/jju@1.4.0/node_modules/jju/lib/parse.js
|
|
310317
|
-
var
|
|
308408
|
+
var require_parse6 = _chunkTGYUEFVAcjs.__commonJS.call(void 0, {
|
|
310318
308409
|
"../../node_modules/.pnpm/jju@1.4.0/node_modules/jju/lib/parse.js"(exports, module) {
|
|
310319
308410
|
_chunkTGYUEFVAcjs.init_cjs_shims.call(void 0, );
|
|
310320
308411
|
var Uni = require_unicode();
|
|
@@ -311112,7 +309203,7 @@ var require_stringify4 = _chunkTGYUEFVAcjs.__commonJS.call(void 0, {
|
|
|
311112
309203
|
var require_analyze = _chunkTGYUEFVAcjs.__commonJS.call(void 0, {
|
|
311113
309204
|
"../../node_modules/.pnpm/jju@1.4.0/node_modules/jju/lib/analyze.js"(exports, module) {
|
|
311114
309205
|
_chunkTGYUEFVAcjs.init_cjs_shims.call(void 0, );
|
|
311115
|
-
var tokenize =
|
|
309206
|
+
var tokenize = require_parse6().tokenize;
|
|
311116
309207
|
module.exports.analyze = function analyzeJSON(input, options) {
|
|
311117
309208
|
if (options == null) options = {};
|
|
311118
309209
|
if (!Array.isArray(input)) {
|
|
@@ -311191,7 +309282,7 @@ var require_document = _chunkTGYUEFVAcjs.__commonJS.call(void 0, {
|
|
|
311191
309282
|
"../../node_modules/.pnpm/jju@1.4.0/node_modules/jju/lib/document.js"(exports, module) {
|
|
311192
309283
|
_chunkTGYUEFVAcjs.init_cjs_shims.call(void 0, );
|
|
311193
309284
|
var assert30 = _chunkTGYUEFVAcjs.__require.call(void 0, "assert");
|
|
311194
|
-
var tokenize =
|
|
309285
|
+
var tokenize = require_parse6().tokenize;
|
|
311195
309286
|
var stringify4 = require_stringify4().stringify;
|
|
311196
309287
|
var analyze = require_analyze().analyze;
|
|
311197
309288
|
function isObject3(x) {
|
|
@@ -311567,13 +309658,13 @@ var require_jju = _chunkTGYUEFVAcjs.__commonJS.call(void 0, {
|
|
|
311567
309658
|
"../../node_modules/.pnpm/jju@1.4.0/node_modules/jju/index.js"(exports, module) {
|
|
311568
309659
|
_chunkTGYUEFVAcjs.init_cjs_shims.call(void 0, );
|
|
311569
309660
|
module.exports.__defineGetter__("parse", function() {
|
|
311570
|
-
return
|
|
309661
|
+
return require_parse6().parse;
|
|
311571
309662
|
});
|
|
311572
309663
|
module.exports.__defineGetter__("stringify", function() {
|
|
311573
309664
|
return require_stringify4().stringify;
|
|
311574
309665
|
});
|
|
311575
309666
|
module.exports.__defineGetter__("tokenize", function() {
|
|
311576
|
-
return
|
|
309667
|
+
return require_parse6().tokenize;
|
|
311577
309668
|
});
|
|
311578
309669
|
module.exports.__defineGetter__("update", function() {
|
|
311579
309670
|
return require_document().update;
|
|
@@ -314297,7 +312388,7 @@ var require_readShebang = _chunkTGYUEFVAcjs.__commonJS.call(void 0, {
|
|
|
314297
312388
|
});
|
|
314298
312389
|
|
|
314299
312390
|
// ../../node_modules/.pnpm/cross-spawn@5.1.0/node_modules/cross-spawn/lib/parse.js
|
|
314300
|
-
var
|
|
312391
|
+
var require_parse7 = _chunkTGYUEFVAcjs.__commonJS.call(void 0, {
|
|
314301
312392
|
"../../node_modules/.pnpm/cross-spawn@5.1.0/node_modules/cross-spawn/lib/parse.js"(exports, module) {
|
|
314302
312393
|
"use strict";
|
|
314303
312394
|
_chunkTGYUEFVAcjs.init_cjs_shims.call(void 0, );
|
|
@@ -314444,7 +312535,7 @@ var require_cross_spawn = _chunkTGYUEFVAcjs.__commonJS.call(void 0, {
|
|
|
314444
312535
|
"use strict";
|
|
314445
312536
|
_chunkTGYUEFVAcjs.init_cjs_shims.call(void 0, );
|
|
314446
312537
|
var cp = _chunkTGYUEFVAcjs.__require.call(void 0, "child_process");
|
|
314447
|
-
var parse7 =
|
|
312538
|
+
var parse7 = require_parse7();
|
|
314448
312539
|
var enoent = require_enoent();
|
|
314449
312540
|
var cpSpawnSync = cp.spawnSync;
|
|
314450
312541
|
function spawn2(command, args, options) {
|
|
@@ -323611,7 +321702,7 @@ var Package = class {
|
|
|
323611
321702
|
|
|
323612
321703
|
// ../../node_modules/.pnpm/check-dependency-version-consistency@4.1.0/node_modules/check-dependency-version-consistency/dist/lib/semver.js
|
|
323613
321704
|
_chunkTGYUEFVAcjs.init_cjs_shims.call(void 0, );
|
|
323614
|
-
var import_semver = _chunkTGYUEFVAcjs.__toESM.call(void 0,
|
|
321705
|
+
var import_semver = _chunkTGYUEFVAcjs.__toESM.call(void 0, _chunkZQIF6N27cjs.require_semver.call(void 0, ), 1);
|
|
323615
321706
|
function compareVersionRangesSafe(a, b) {
|
|
323616
321707
|
try {
|
|
323617
321708
|
return compareVersionRanges(a, b);
|
|
@@ -323677,7 +321768,7 @@ function getIncreasedLatestVersion(versions) {
|
|
|
323677
321768
|
}
|
|
323678
321769
|
|
|
323679
321770
|
// ../../node_modules/.pnpm/check-dependency-version-consistency@4.1.0/node_modules/check-dependency-version-consistency/dist/lib/dependency-versions.js
|
|
323680
|
-
var import_semver3 = _chunkTGYUEFVAcjs.__toESM.call(void 0,
|
|
321771
|
+
var import_semver3 = _chunkTGYUEFVAcjs.__toESM.call(void 0, _chunkZQIF6N27cjs.require_semver.call(void 0, ), 1);
|
|
323681
321772
|
|
|
323682
321773
|
// ../../node_modules/.pnpm/check-dependency-version-consistency@4.1.0/node_modules/check-dependency-version-consistency/dist/lib/types.js
|
|
323683
321774
|
_chunkTGYUEFVAcjs.init_cjs_shims.call(void 0, );
|
|
@@ -382558,11 +380649,11 @@ _chunkTGYUEFVAcjs.init_cjs_shims.call(void 0, );
|
|
|
382558
380649
|
|
|
382559
380650
|
// ../../node_modules/.pnpm/@manypkg+cli@0.23.0/node_modules/@manypkg/cli/src/checks/utils.ts
|
|
382560
380651
|
_chunkTGYUEFVAcjs.init_cjs_shims.call(void 0, );
|
|
382561
|
-
var semver4 = _chunkTGYUEFVAcjs.__toESM.call(void 0,
|
|
380652
|
+
var semver4 = _chunkTGYUEFVAcjs.__toESM.call(void 0, _chunkZQIF6N27cjs.require_semver.call(void 0, ));
|
|
382562
380653
|
|
|
382563
380654
|
// ../../node_modules/.pnpm/sembear@0.7.0/node_modules/sembear/dist/sembear.esm.js
|
|
382564
380655
|
_chunkTGYUEFVAcjs.init_cjs_shims.call(void 0, );
|
|
382565
|
-
var semver3 = _chunkTGYUEFVAcjs.__toESM.call(void 0,
|
|
380656
|
+
var semver3 = _chunkTGYUEFVAcjs.__toESM.call(void 0, _chunkZQIF6N27cjs.require_semver.call(void 0, ));
|
|
382566
380657
|
function hasUpperBound(range) {
|
|
382567
380658
|
range = new semver3.Range(range);
|
|
382568
380659
|
if (!range) return false;
|
|
@@ -382812,7 +380903,7 @@ function makeCheck(check3) {
|
|
|
382812
380903
|
}
|
|
382813
380904
|
|
|
382814
380905
|
// ../../node_modules/.pnpm/@manypkg+cli@0.23.0/node_modules/@manypkg/cli/src/checks/EXTERNAL_MISMATCH.ts
|
|
382815
|
-
var import_semver5 = _chunkTGYUEFVAcjs.__toESM.call(void 0,
|
|
380906
|
+
var import_semver5 = _chunkTGYUEFVAcjs.__toESM.call(void 0, _chunkZQIF6N27cjs.require_semver.call(void 0, ));
|
|
382816
380907
|
var EXTERNAL_MISMATCH_default = makeCheck({
|
|
382817
380908
|
validate: (workspace, allWorkspace) => {
|
|
382818
380909
|
let errors = [];
|
|
@@ -382852,7 +380943,7 @@ var EXTERNAL_MISMATCH_default = makeCheck({
|
|
|
382852
380943
|
|
|
382853
380944
|
// ../../node_modules/.pnpm/@manypkg+cli@0.23.0/node_modules/@manypkg/cli/src/checks/INTERNAL_MISMATCH.ts
|
|
382854
380945
|
_chunkTGYUEFVAcjs.init_cjs_shims.call(void 0, );
|
|
382855
|
-
var import_semver6 = _chunkTGYUEFVAcjs.__toESM.call(void 0,
|
|
380946
|
+
var import_semver6 = _chunkTGYUEFVAcjs.__toESM.call(void 0, _chunkZQIF6N27cjs.require_semver.call(void 0, ));
|
|
382856
380947
|
var INTERNAL_MISMATCH_default = makeCheck({
|
|
382857
380948
|
validate: (workspace, allWorkspaces) => {
|
|
382858
380949
|
let errors = [];
|
|
@@ -382892,7 +380983,7 @@ var INTERNAL_MISMATCH_default = makeCheck({
|
|
|
382892
380983
|
|
|
382893
380984
|
// ../../node_modules/.pnpm/@manypkg+cli@0.23.0/node_modules/@manypkg/cli/src/checks/INVALID_DEV_AND_PEER_DEPENDENCY_RELATIONSHIP.ts
|
|
382894
380985
|
_chunkTGYUEFVAcjs.init_cjs_shims.call(void 0, );
|
|
382895
|
-
var import_semver7 = _chunkTGYUEFVAcjs.__toESM.call(void 0,
|
|
380986
|
+
var import_semver7 = _chunkTGYUEFVAcjs.__toESM.call(void 0, _chunkZQIF6N27cjs.require_semver.call(void 0, ));
|
|
382896
380987
|
var INVALID_DEV_AND_PEER_DEPENDENCY_RELATIONSHIP_default = makeCheck({
|
|
382897
380988
|
type: "all",
|
|
382898
380989
|
validate: (workspace, allWorkspaces) => {
|
|
@@ -383325,7 +381416,7 @@ ${matchingPackages.map((x) => x.packageJson.name).join("\n")}`
|
|
|
383325
381416
|
// ../../node_modules/.pnpm/@manypkg+cli@0.23.0/node_modules/@manypkg/cli/src/upgrade.ts
|
|
383326
381417
|
_chunkTGYUEFVAcjs.init_cjs_shims.call(void 0, );
|
|
383327
381418
|
var import_get_packages3 = _chunkTGYUEFVAcjs.__toESM.call(void 0, require_manypkg_get_packages_cjs());
|
|
383328
|
-
var import_semver8 = _chunkTGYUEFVAcjs.__toESM.call(void 0,
|
|
381419
|
+
var import_semver8 = _chunkTGYUEFVAcjs.__toESM.call(void 0, _chunkZQIF6N27cjs.require_semver.call(void 0, ));
|
|
383329
381420
|
var import_p_limit2 = _chunkTGYUEFVAcjs.__toESM.call(void 0, require_p_limit());
|
|
383330
381421
|
|
|
383331
381422
|
// ../../node_modules/.pnpm/@manypkg+cli@0.23.0/node_modules/@manypkg/cli/src/utils.ts
|
|
@@ -383433,7 +381524,7 @@ async function upgradeDependency([name2, tag = "latest"]) {
|
|
|
383433
381524
|
var npmRequestLimit = (0, import_p_limit2.default)(40);
|
|
383434
381525
|
function getPackageInfo(pkgName) {
|
|
383435
381526
|
return npmRequestLimit(async () => {
|
|
383436
|
-
const getPackageJson = (await Promise.resolve().then(() => _interopRequireWildcard2(require("./package-json-
|
|
381527
|
+
const getPackageJson = (await Promise.resolve().then(() => _interopRequireWildcard2(require("./package-json-RT6O5R6O.cjs")))).default;
|
|
383437
381528
|
return getPackageJson(pkgName, {
|
|
383438
381529
|
allVersions: true
|
|
383439
381530
|
});
|