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