@storm-software/linting-tools 1.132.87 → 1.132.89
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/lint.cjs +1897 -19
- package/bin/lint.js +2014 -18
- package/package.json +2 -2
package/bin/lint.js
CHANGED
|
@@ -263090,6 +263090,480 @@ var require_update_workspaces = __commonJS({
|
|
|
263090
263090
|
}
|
|
263091
263091
|
});
|
|
263092
263092
|
|
|
263093
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/debug.js
|
|
263094
|
+
var require_debug2 = __commonJS({
|
|
263095
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/debug.js"(exports2, module) {
|
|
263096
|
+
init_esm_shims();
|
|
263097
|
+
var debug14 = typeof process === "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...args) => console.error("SEMVER", ...args) : () => {
|
|
263098
|
+
};
|
|
263099
|
+
module.exports = debug14;
|
|
263100
|
+
}
|
|
263101
|
+
});
|
|
263102
|
+
|
|
263103
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/constants.js
|
|
263104
|
+
var require_constants5 = __commonJS({
|
|
263105
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/constants.js"(exports2, module) {
|
|
263106
|
+
init_esm_shims();
|
|
263107
|
+
var SEMVER_SPEC_VERSION = "2.0.0";
|
|
263108
|
+
var MAX_LENGTH = 256;
|
|
263109
|
+
var MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || /* istanbul ignore next */
|
|
263110
|
+
9007199254740991;
|
|
263111
|
+
var MAX_SAFE_COMPONENT_LENGTH = 16;
|
|
263112
|
+
var MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6;
|
|
263113
|
+
var RELEASE_TYPES = [
|
|
263114
|
+
"major",
|
|
263115
|
+
"premajor",
|
|
263116
|
+
"minor",
|
|
263117
|
+
"preminor",
|
|
263118
|
+
"patch",
|
|
263119
|
+
"prepatch",
|
|
263120
|
+
"prerelease"
|
|
263121
|
+
];
|
|
263122
|
+
module.exports = {
|
|
263123
|
+
MAX_LENGTH,
|
|
263124
|
+
MAX_SAFE_COMPONENT_LENGTH,
|
|
263125
|
+
MAX_SAFE_BUILD_LENGTH,
|
|
263126
|
+
MAX_SAFE_INTEGER,
|
|
263127
|
+
RELEASE_TYPES,
|
|
263128
|
+
SEMVER_SPEC_VERSION,
|
|
263129
|
+
FLAG_INCLUDE_PRERELEASE: 1,
|
|
263130
|
+
FLAG_LOOSE: 2
|
|
263131
|
+
};
|
|
263132
|
+
}
|
|
263133
|
+
});
|
|
263134
|
+
|
|
263135
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/re.js
|
|
263136
|
+
var require_re = __commonJS({
|
|
263137
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/re.js"(exports2, module) {
|
|
263138
|
+
init_esm_shims();
|
|
263139
|
+
var __import___constants = __toESM(require_constants5());
|
|
263140
|
+
var __import___debug = __toESM(require_debug2());
|
|
263141
|
+
var {
|
|
263142
|
+
MAX_SAFE_COMPONENT_LENGTH,
|
|
263143
|
+
MAX_SAFE_BUILD_LENGTH,
|
|
263144
|
+
MAX_LENGTH
|
|
263145
|
+
} = __import___constants;
|
|
263146
|
+
var debug14 = __import___debug;
|
|
263147
|
+
exports2 = module.exports = {};
|
|
263148
|
+
var re = exports2.re = [];
|
|
263149
|
+
var safeRe = exports2.safeRe = [];
|
|
263150
|
+
var src = exports2.src = [];
|
|
263151
|
+
var t = exports2.t = {};
|
|
263152
|
+
var R3 = 0;
|
|
263153
|
+
var LETTERDASHNUMBER = "[a-zA-Z0-9-]";
|
|
263154
|
+
var safeRegexReplacements = [
|
|
263155
|
+
["\\s", 1],
|
|
263156
|
+
["\\d", MAX_LENGTH],
|
|
263157
|
+
[LETTERDASHNUMBER, MAX_SAFE_BUILD_LENGTH]
|
|
263158
|
+
];
|
|
263159
|
+
var makeSafeRegex = (value) => {
|
|
263160
|
+
for (const [token, max4] of safeRegexReplacements) {
|
|
263161
|
+
value = value.split(`${token}*`).join(`${token}{0,${max4}}`).split(`${token}+`).join(`${token}{1,${max4}}`);
|
|
263162
|
+
}
|
|
263163
|
+
return value;
|
|
263164
|
+
};
|
|
263165
|
+
var createToken = (name3, value, isGlobal) => {
|
|
263166
|
+
const safe = makeSafeRegex(value);
|
|
263167
|
+
const index2 = R3++;
|
|
263168
|
+
debug14(name3, index2, value);
|
|
263169
|
+
t[name3] = index2;
|
|
263170
|
+
src[index2] = value;
|
|
263171
|
+
re[index2] = new RegExp(value, isGlobal ? "g" : void 0);
|
|
263172
|
+
safeRe[index2] = new RegExp(safe, isGlobal ? "g" : void 0);
|
|
263173
|
+
};
|
|
263174
|
+
createToken("NUMERICIDENTIFIER", "0|[1-9]\\d*");
|
|
263175
|
+
createToken("NUMERICIDENTIFIERLOOSE", "\\d+");
|
|
263176
|
+
createToken("NONNUMERICIDENTIFIER", `\\d*[a-zA-Z-]${LETTERDASHNUMBER}*`);
|
|
263177
|
+
createToken("MAINVERSION", `(${src[t.NUMERICIDENTIFIER]})\\.(${src[t.NUMERICIDENTIFIER]})\\.(${src[t.NUMERICIDENTIFIER]})`);
|
|
263178
|
+
createToken("MAINVERSIONLOOSE", `(${src[t.NUMERICIDENTIFIERLOOSE]})\\.(${src[t.NUMERICIDENTIFIERLOOSE]})\\.(${src[t.NUMERICIDENTIFIERLOOSE]})`);
|
|
263179
|
+
createToken("PRERELEASEIDENTIFIER", `(?:${src[t.NUMERICIDENTIFIER]}|${src[t.NONNUMERICIDENTIFIER]})`);
|
|
263180
|
+
createToken("PRERELEASEIDENTIFIERLOOSE", `(?:${src[t.NUMERICIDENTIFIERLOOSE]}|${src[t.NONNUMERICIDENTIFIER]})`);
|
|
263181
|
+
createToken("PRERELEASE", `(?:-(${src[t.PRERELEASEIDENTIFIER]}(?:\\.${src[t.PRERELEASEIDENTIFIER]})*))`);
|
|
263182
|
+
createToken("PRERELEASELOOSE", `(?:-?(${src[t.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${src[t.PRERELEASEIDENTIFIERLOOSE]})*))`);
|
|
263183
|
+
createToken("BUILDIDENTIFIER", `${LETTERDASHNUMBER}+`);
|
|
263184
|
+
createToken("BUILD", `(?:\\+(${src[t.BUILDIDENTIFIER]}(?:\\.${src[t.BUILDIDENTIFIER]})*))`);
|
|
263185
|
+
createToken("FULLPLAIN", `v?${src[t.MAINVERSION]}${src[t.PRERELEASE]}?${src[t.BUILD]}?`);
|
|
263186
|
+
createToken("FULL", `^${src[t.FULLPLAIN]}$`);
|
|
263187
|
+
createToken("LOOSEPLAIN", `[v=\\s]*${src[t.MAINVERSIONLOOSE]}${src[t.PRERELEASELOOSE]}?${src[t.BUILD]}?`);
|
|
263188
|
+
createToken("LOOSE", `^${src[t.LOOSEPLAIN]}$`);
|
|
263189
|
+
createToken("GTLT", "((?:<|>)?=?)");
|
|
263190
|
+
createToken("XRANGEIDENTIFIERLOOSE", `${src[t.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);
|
|
263191
|
+
createToken("XRANGEIDENTIFIER", `${src[t.NUMERICIDENTIFIER]}|x|X|\\*`);
|
|
263192
|
+
createToken("XRANGEPLAIN", `[v=\\s]*(${src[t.XRANGEIDENTIFIER]})(?:\\.(${src[t.XRANGEIDENTIFIER]})(?:\\.(${src[t.XRANGEIDENTIFIER]})(?:${src[t.PRERELEASE]})?${src[t.BUILD]}?)?)?`);
|
|
263193
|
+
createToken("XRANGEPLAINLOOSE", `[v=\\s]*(${src[t.XRANGEIDENTIFIERLOOSE]})(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})(?:${src[t.PRERELEASELOOSE]})?${src[t.BUILD]}?)?)?`);
|
|
263194
|
+
createToken("XRANGE", `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAIN]}$`);
|
|
263195
|
+
createToken("XRANGELOOSE", `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAINLOOSE]}$`);
|
|
263196
|
+
createToken("COERCEPLAIN", `${"(^|[^\\d])(\\d{1,"}${MAX_SAFE_COMPONENT_LENGTH}})(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?`);
|
|
263197
|
+
createToken("COERCE", `${src[t.COERCEPLAIN]}(?:$|[^\\d])`);
|
|
263198
|
+
createToken("COERCEFULL", src[t.COERCEPLAIN] + `(?:${src[t.PRERELEASE]})?(?:${src[t.BUILD]})?(?:$|[^\\d])`);
|
|
263199
|
+
createToken("COERCERTL", src[t.COERCE], true);
|
|
263200
|
+
createToken("COERCERTLFULL", src[t.COERCEFULL], true);
|
|
263201
|
+
createToken("LONETILDE", "(?:~>?)");
|
|
263202
|
+
createToken("TILDETRIM", `(\\s*)${src[t.LONETILDE]}\\s+`, true);
|
|
263203
|
+
exports2.tildeTrimReplace = "$1~";
|
|
263204
|
+
createToken("TILDE", `^${src[t.LONETILDE]}${src[t.XRANGEPLAIN]}$`);
|
|
263205
|
+
createToken("TILDELOOSE", `^${src[t.LONETILDE]}${src[t.XRANGEPLAINLOOSE]}$`);
|
|
263206
|
+
createToken("LONECARET", "(?:\\^)");
|
|
263207
|
+
createToken("CARETTRIM", `(\\s*)${src[t.LONECARET]}\\s+`, true);
|
|
263208
|
+
exports2.caretTrimReplace = "$1^";
|
|
263209
|
+
createToken("CARET", `^${src[t.LONECARET]}${src[t.XRANGEPLAIN]}$`);
|
|
263210
|
+
createToken("CARETLOOSE", `^${src[t.LONECARET]}${src[t.XRANGEPLAINLOOSE]}$`);
|
|
263211
|
+
createToken("COMPARATORLOOSE", `^${src[t.GTLT]}\\s*(${src[t.LOOSEPLAIN]})$|^$`);
|
|
263212
|
+
createToken("COMPARATOR", `^${src[t.GTLT]}\\s*(${src[t.FULLPLAIN]})$|^$`);
|
|
263213
|
+
createToken("COMPARATORTRIM", `(\\s*)${src[t.GTLT]}\\s*(${src[t.LOOSEPLAIN]}|${src[t.XRANGEPLAIN]})`, true);
|
|
263214
|
+
exports2.comparatorTrimReplace = "$1$2$3";
|
|
263215
|
+
createToken("HYPHENRANGE", `^\\s*(${src[t.XRANGEPLAIN]})\\s+-\\s+(${src[t.XRANGEPLAIN]})\\s*$`);
|
|
263216
|
+
createToken("HYPHENRANGELOOSE", `^\\s*(${src[t.XRANGEPLAINLOOSE]})\\s+-\\s+(${src[t.XRANGEPLAINLOOSE]})\\s*$`);
|
|
263217
|
+
createToken("STAR", "(<|>)?=?\\s*\\*");
|
|
263218
|
+
createToken("GTE0", "^\\s*>=\\s*0\\.0\\.0\\s*$");
|
|
263219
|
+
createToken("GTE0PRE", "^\\s*>=\\s*0\\.0\\.0-0\\s*$");
|
|
263220
|
+
}
|
|
263221
|
+
});
|
|
263222
|
+
|
|
263223
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/parse-options.js
|
|
263224
|
+
var require_parse_options = __commonJS({
|
|
263225
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/parse-options.js"(exports2, module) {
|
|
263226
|
+
init_esm_shims();
|
|
263227
|
+
var looseOption = Object.freeze({ loose: true });
|
|
263228
|
+
var emptyOpts = Object.freeze({});
|
|
263229
|
+
var parseOptions = (options) => {
|
|
263230
|
+
if (!options) {
|
|
263231
|
+
return emptyOpts;
|
|
263232
|
+
}
|
|
263233
|
+
if (typeof options !== "object") {
|
|
263234
|
+
return looseOption;
|
|
263235
|
+
}
|
|
263236
|
+
return options;
|
|
263237
|
+
};
|
|
263238
|
+
module.exports = parseOptions;
|
|
263239
|
+
}
|
|
263240
|
+
});
|
|
263241
|
+
|
|
263242
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/identifiers.js
|
|
263243
|
+
var require_identifiers = __commonJS({
|
|
263244
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/identifiers.js"(exports2, module) {
|
|
263245
|
+
init_esm_shims();
|
|
263246
|
+
var numeric2 = /^[0-9]+$/;
|
|
263247
|
+
var compareIdentifiers = (a4, b) => {
|
|
263248
|
+
const anum = numeric2.test(a4);
|
|
263249
|
+
const bnum = numeric2.test(b);
|
|
263250
|
+
if (anum && bnum) {
|
|
263251
|
+
a4 = +a4;
|
|
263252
|
+
b = +b;
|
|
263253
|
+
}
|
|
263254
|
+
return a4 === b ? 0 : anum && !bnum ? -1 : bnum && !anum ? 1 : a4 < b ? -1 : 1;
|
|
263255
|
+
};
|
|
263256
|
+
var rcompareIdentifiers = (a4, b) => compareIdentifiers(b, a4);
|
|
263257
|
+
module.exports = {
|
|
263258
|
+
compareIdentifiers,
|
|
263259
|
+
rcompareIdentifiers
|
|
263260
|
+
};
|
|
263261
|
+
}
|
|
263262
|
+
});
|
|
263263
|
+
|
|
263264
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/semver.js
|
|
263265
|
+
var require_semver2 = __commonJS({
|
|
263266
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/semver.js"(exports2, module) {
|
|
263267
|
+
init_esm_shims();
|
|
263268
|
+
var __import____internal_debug = __toESM(require_debug2());
|
|
263269
|
+
var __import____internal_constants = __toESM(require_constants5());
|
|
263270
|
+
var __import____internal_re = __toESM(require_re());
|
|
263271
|
+
var __import____internal_parseOptions = __toESM(require_parse_options());
|
|
263272
|
+
var __import____internal_identifiers = __toESM(require_identifiers());
|
|
263273
|
+
var debug14 = __import____internal_debug;
|
|
263274
|
+
var { MAX_LENGTH, MAX_SAFE_INTEGER } = __import____internal_constants;
|
|
263275
|
+
var { safeRe: re, t } = __import____internal_re;
|
|
263276
|
+
var parseOptions = __import____internal_parseOptions;
|
|
263277
|
+
var { compareIdentifiers } = __import____internal_identifiers;
|
|
263278
|
+
var SemVer = class _SemVer {
|
|
263279
|
+
constructor(version6, options) {
|
|
263280
|
+
options = parseOptions(options);
|
|
263281
|
+
if (version6 instanceof _SemVer) {
|
|
263282
|
+
if (version6.loose === !!options.loose && version6.includePrerelease === !!options.includePrerelease) {
|
|
263283
|
+
return version6;
|
|
263284
|
+
} else {
|
|
263285
|
+
version6 = version6.version;
|
|
263286
|
+
}
|
|
263287
|
+
} else if (typeof version6 !== "string") {
|
|
263288
|
+
throw new TypeError(`Invalid version. Must be a string. Got type "${typeof version6}".`);
|
|
263289
|
+
}
|
|
263290
|
+
if (version6.length > MAX_LENGTH) {
|
|
263291
|
+
throw new TypeError(
|
|
263292
|
+
`version is longer than ${MAX_LENGTH} characters`
|
|
263293
|
+
);
|
|
263294
|
+
}
|
|
263295
|
+
debug14("SemVer", version6, options);
|
|
263296
|
+
this.options = options;
|
|
263297
|
+
this.loose = !!options.loose;
|
|
263298
|
+
this.includePrerelease = !!options.includePrerelease;
|
|
263299
|
+
const m2 = version6.trim().match(options.loose ? re[t.LOOSE] : re[t.FULL]);
|
|
263300
|
+
if (!m2) {
|
|
263301
|
+
throw new TypeError(`Invalid Version: ${version6}`);
|
|
263302
|
+
}
|
|
263303
|
+
this.raw = version6;
|
|
263304
|
+
this.major = +m2[1];
|
|
263305
|
+
this.minor = +m2[2];
|
|
263306
|
+
this.patch = +m2[3];
|
|
263307
|
+
if (this.major > MAX_SAFE_INTEGER || this.major < 0) {
|
|
263308
|
+
throw new TypeError("Invalid major version");
|
|
263309
|
+
}
|
|
263310
|
+
if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) {
|
|
263311
|
+
throw new TypeError("Invalid minor version");
|
|
263312
|
+
}
|
|
263313
|
+
if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) {
|
|
263314
|
+
throw new TypeError("Invalid patch version");
|
|
263315
|
+
}
|
|
263316
|
+
if (!m2[4]) {
|
|
263317
|
+
this.prerelease = [];
|
|
263318
|
+
} else {
|
|
263319
|
+
this.prerelease = m2[4].split(".").map((id) => {
|
|
263320
|
+
if (/^[0-9]+$/.test(id)) {
|
|
263321
|
+
const num = +id;
|
|
263322
|
+
if (num >= 0 && num < MAX_SAFE_INTEGER) {
|
|
263323
|
+
return num;
|
|
263324
|
+
}
|
|
263325
|
+
}
|
|
263326
|
+
return id;
|
|
263327
|
+
});
|
|
263328
|
+
}
|
|
263329
|
+
this.build = m2[5] ? m2[5].split(".") : [];
|
|
263330
|
+
this.format();
|
|
263331
|
+
}
|
|
263332
|
+
format() {
|
|
263333
|
+
this.version = `${this.major}.${this.minor}.${this.patch}`;
|
|
263334
|
+
if (this.prerelease.length) {
|
|
263335
|
+
this.version += `-${this.prerelease.join(".")}`;
|
|
263336
|
+
}
|
|
263337
|
+
return this.version;
|
|
263338
|
+
}
|
|
263339
|
+
toString() {
|
|
263340
|
+
return this.version;
|
|
263341
|
+
}
|
|
263342
|
+
compare(other) {
|
|
263343
|
+
debug14("SemVer.compare", this.version, this.options, other);
|
|
263344
|
+
if (!(other instanceof _SemVer)) {
|
|
263345
|
+
if (typeof other === "string" && other === this.version) {
|
|
263346
|
+
return 0;
|
|
263347
|
+
}
|
|
263348
|
+
other = new _SemVer(other, this.options);
|
|
263349
|
+
}
|
|
263350
|
+
if (other.version === this.version) {
|
|
263351
|
+
return 0;
|
|
263352
|
+
}
|
|
263353
|
+
return this.compareMain(other) || this.comparePre(other);
|
|
263354
|
+
}
|
|
263355
|
+
compareMain(other) {
|
|
263356
|
+
if (!(other instanceof _SemVer)) {
|
|
263357
|
+
other = new _SemVer(other, this.options);
|
|
263358
|
+
}
|
|
263359
|
+
return compareIdentifiers(this.major, other.major) || compareIdentifiers(this.minor, other.minor) || compareIdentifiers(this.patch, other.patch);
|
|
263360
|
+
}
|
|
263361
|
+
comparePre(other) {
|
|
263362
|
+
if (!(other instanceof _SemVer)) {
|
|
263363
|
+
other = new _SemVer(other, this.options);
|
|
263364
|
+
}
|
|
263365
|
+
if (this.prerelease.length && !other.prerelease.length) {
|
|
263366
|
+
return -1;
|
|
263367
|
+
} else if (!this.prerelease.length && other.prerelease.length) {
|
|
263368
|
+
return 1;
|
|
263369
|
+
} else if (!this.prerelease.length && !other.prerelease.length) {
|
|
263370
|
+
return 0;
|
|
263371
|
+
}
|
|
263372
|
+
let i2 = 0;
|
|
263373
|
+
do {
|
|
263374
|
+
const a4 = this.prerelease[i2];
|
|
263375
|
+
const b = other.prerelease[i2];
|
|
263376
|
+
debug14("prerelease compare", i2, a4, b);
|
|
263377
|
+
if (a4 === void 0 && b === void 0) {
|
|
263378
|
+
return 0;
|
|
263379
|
+
} else if (b === void 0) {
|
|
263380
|
+
return 1;
|
|
263381
|
+
} else if (a4 === void 0) {
|
|
263382
|
+
return -1;
|
|
263383
|
+
} else if (a4 === b) {
|
|
263384
|
+
continue;
|
|
263385
|
+
} else {
|
|
263386
|
+
return compareIdentifiers(a4, b);
|
|
263387
|
+
}
|
|
263388
|
+
} while (++i2);
|
|
263389
|
+
}
|
|
263390
|
+
compareBuild(other) {
|
|
263391
|
+
if (!(other instanceof _SemVer)) {
|
|
263392
|
+
other = new _SemVer(other, this.options);
|
|
263393
|
+
}
|
|
263394
|
+
let i2 = 0;
|
|
263395
|
+
do {
|
|
263396
|
+
const a4 = this.build[i2];
|
|
263397
|
+
const b = other.build[i2];
|
|
263398
|
+
debug14("build compare", i2, a4, b);
|
|
263399
|
+
if (a4 === void 0 && b === void 0) {
|
|
263400
|
+
return 0;
|
|
263401
|
+
} else if (b === void 0) {
|
|
263402
|
+
return 1;
|
|
263403
|
+
} else if (a4 === void 0) {
|
|
263404
|
+
return -1;
|
|
263405
|
+
} else if (a4 === b) {
|
|
263406
|
+
continue;
|
|
263407
|
+
} else {
|
|
263408
|
+
return compareIdentifiers(a4, b);
|
|
263409
|
+
}
|
|
263410
|
+
} while (++i2);
|
|
263411
|
+
}
|
|
263412
|
+
// preminor will bump the version up to the next minor release, and immediately
|
|
263413
|
+
// down to pre-release. premajor and prepatch work the same way.
|
|
263414
|
+
inc(release, identifier, identifierBase) {
|
|
263415
|
+
switch (release) {
|
|
263416
|
+
case "premajor":
|
|
263417
|
+
this.prerelease.length = 0;
|
|
263418
|
+
this.patch = 0;
|
|
263419
|
+
this.minor = 0;
|
|
263420
|
+
this.major++;
|
|
263421
|
+
this.inc("pre", identifier, identifierBase);
|
|
263422
|
+
break;
|
|
263423
|
+
case "preminor":
|
|
263424
|
+
this.prerelease.length = 0;
|
|
263425
|
+
this.patch = 0;
|
|
263426
|
+
this.minor++;
|
|
263427
|
+
this.inc("pre", identifier, identifierBase);
|
|
263428
|
+
break;
|
|
263429
|
+
case "prepatch":
|
|
263430
|
+
this.prerelease.length = 0;
|
|
263431
|
+
this.inc("patch", identifier, identifierBase);
|
|
263432
|
+
this.inc("pre", identifier, identifierBase);
|
|
263433
|
+
break;
|
|
263434
|
+
// If the input is a non-prerelease version, this acts the same as
|
|
263435
|
+
// prepatch.
|
|
263436
|
+
case "prerelease":
|
|
263437
|
+
if (this.prerelease.length === 0) {
|
|
263438
|
+
this.inc("patch", identifier, identifierBase);
|
|
263439
|
+
}
|
|
263440
|
+
this.inc("pre", identifier, identifierBase);
|
|
263441
|
+
break;
|
|
263442
|
+
case "major":
|
|
263443
|
+
if (this.minor !== 0 || this.patch !== 0 || this.prerelease.length === 0) {
|
|
263444
|
+
this.major++;
|
|
263445
|
+
}
|
|
263446
|
+
this.minor = 0;
|
|
263447
|
+
this.patch = 0;
|
|
263448
|
+
this.prerelease = [];
|
|
263449
|
+
break;
|
|
263450
|
+
case "minor":
|
|
263451
|
+
if (this.patch !== 0 || this.prerelease.length === 0) {
|
|
263452
|
+
this.minor++;
|
|
263453
|
+
}
|
|
263454
|
+
this.patch = 0;
|
|
263455
|
+
this.prerelease = [];
|
|
263456
|
+
break;
|
|
263457
|
+
case "patch":
|
|
263458
|
+
if (this.prerelease.length === 0) {
|
|
263459
|
+
this.patch++;
|
|
263460
|
+
}
|
|
263461
|
+
this.prerelease = [];
|
|
263462
|
+
break;
|
|
263463
|
+
// This probably shouldn't be used publicly.
|
|
263464
|
+
// 1.0.0 'pre' would become 1.0.0-0 which is the wrong direction.
|
|
263465
|
+
case "pre": {
|
|
263466
|
+
const base2 = Number(identifierBase) ? 1 : 0;
|
|
263467
|
+
if (!identifier && identifierBase === false) {
|
|
263468
|
+
throw new Error("invalid increment argument: identifier is empty");
|
|
263469
|
+
}
|
|
263470
|
+
if (this.prerelease.length === 0) {
|
|
263471
|
+
this.prerelease = [base2];
|
|
263472
|
+
} else {
|
|
263473
|
+
let i2 = this.prerelease.length;
|
|
263474
|
+
while (--i2 >= 0) {
|
|
263475
|
+
if (typeof this.prerelease[i2] === "number") {
|
|
263476
|
+
this.prerelease[i2]++;
|
|
263477
|
+
i2 = -2;
|
|
263478
|
+
}
|
|
263479
|
+
}
|
|
263480
|
+
if (i2 === -1) {
|
|
263481
|
+
if (identifier === this.prerelease.join(".") && identifierBase === false) {
|
|
263482
|
+
throw new Error("invalid increment argument: identifier already exists");
|
|
263483
|
+
}
|
|
263484
|
+
this.prerelease.push(base2);
|
|
263485
|
+
}
|
|
263486
|
+
}
|
|
263487
|
+
if (identifier) {
|
|
263488
|
+
let prerelease = [identifier, base2];
|
|
263489
|
+
if (identifierBase === false) {
|
|
263490
|
+
prerelease = [identifier];
|
|
263491
|
+
}
|
|
263492
|
+
if (compareIdentifiers(this.prerelease[0], identifier) === 0) {
|
|
263493
|
+
if (isNaN(this.prerelease[1])) {
|
|
263494
|
+
this.prerelease = prerelease;
|
|
263495
|
+
}
|
|
263496
|
+
} else {
|
|
263497
|
+
this.prerelease = prerelease;
|
|
263498
|
+
}
|
|
263499
|
+
}
|
|
263500
|
+
break;
|
|
263501
|
+
}
|
|
263502
|
+
default:
|
|
263503
|
+
throw new Error(`invalid increment argument: ${release}`);
|
|
263504
|
+
}
|
|
263505
|
+
this.raw = this.format();
|
|
263506
|
+
if (this.build.length) {
|
|
263507
|
+
this.raw += `+${this.build.join(".")}`;
|
|
263508
|
+
}
|
|
263509
|
+
return this;
|
|
263510
|
+
}
|
|
263511
|
+
};
|
|
263512
|
+
module.exports = SemVer;
|
|
263513
|
+
}
|
|
263514
|
+
});
|
|
263515
|
+
|
|
263516
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/parse.js
|
|
263517
|
+
var require_parse5 = __commonJS({
|
|
263518
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/parse.js"(exports2, module) {
|
|
263519
|
+
init_esm_shims();
|
|
263520
|
+
var __import____classes_semver = __toESM(require_semver2());
|
|
263521
|
+
var SemVer = __import____classes_semver;
|
|
263522
|
+
var parse9 = (version6, options, throwErrors = false) => {
|
|
263523
|
+
if (version6 instanceof SemVer) {
|
|
263524
|
+
return version6;
|
|
263525
|
+
}
|
|
263526
|
+
try {
|
|
263527
|
+
return new SemVer(version6, options);
|
|
263528
|
+
} catch (er) {
|
|
263529
|
+
if (!throwErrors) {
|
|
263530
|
+
return null;
|
|
263531
|
+
}
|
|
263532
|
+
throw er;
|
|
263533
|
+
}
|
|
263534
|
+
};
|
|
263535
|
+
module.exports = parse9;
|
|
263536
|
+
}
|
|
263537
|
+
});
|
|
263538
|
+
|
|
263539
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/valid.js
|
|
263540
|
+
var require_valid2 = __commonJS({
|
|
263541
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/valid.js"(exports2, module) {
|
|
263542
|
+
init_esm_shims();
|
|
263543
|
+
var __import___parse = __toESM(require_parse5());
|
|
263544
|
+
var parse9 = __import___parse;
|
|
263545
|
+
var valid = (version6, options) => {
|
|
263546
|
+
const v2 = parse9(version6, options);
|
|
263547
|
+
return v2 ? v2.version : null;
|
|
263548
|
+
};
|
|
263549
|
+
module.exports = valid;
|
|
263550
|
+
}
|
|
263551
|
+
});
|
|
263552
|
+
|
|
263553
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/clean.js
|
|
263554
|
+
var require_clean2 = __commonJS({
|
|
263555
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/clean.js"(exports2, module) {
|
|
263556
|
+
init_esm_shims();
|
|
263557
|
+
var __import___parse = __toESM(require_parse5());
|
|
263558
|
+
var parse9 = __import___parse;
|
|
263559
|
+
var clean6 = (version6, options) => {
|
|
263560
|
+
const s = parse9(version6.trim().replace(/^[=v]+/, ""), options);
|
|
263561
|
+
return s ? s.version : null;
|
|
263562
|
+
};
|
|
263563
|
+
module.exports = clean6;
|
|
263564
|
+
}
|
|
263565
|
+
});
|
|
263566
|
+
|
|
263093
263567
|
// ../../node_modules/.pnpm/hosted-git-info@7.0.2/node_modules/hosted-git-info/lib/hosts.js
|
|
263094
263568
|
var require_hosts = __commonJS({
|
|
263095
263569
|
"../../node_modules/.pnpm/hosted-git-info@7.0.2/node_modules/hosted-git-info/lib/hosts.js"(exports2, module) {
|
|
@@ -264515,11 +264989,1530 @@ var require_spawn = __commonJS({
|
|
|
264515
264989
|
}
|
|
264516
264990
|
});
|
|
264517
264991
|
|
|
264992
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/inc.js
|
|
264993
|
+
var require_inc = __commonJS({
|
|
264994
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/inc.js"(exports2, module) {
|
|
264995
|
+
init_esm_shims();
|
|
264996
|
+
var __import____classes_semver = __toESM(require_semver2());
|
|
264997
|
+
var SemVer = __import____classes_semver;
|
|
264998
|
+
var inc = (version6, release, options, identifier, identifierBase) => {
|
|
264999
|
+
if (typeof options === "string") {
|
|
265000
|
+
identifierBase = identifier;
|
|
265001
|
+
identifier = options;
|
|
265002
|
+
options = void 0;
|
|
265003
|
+
}
|
|
265004
|
+
try {
|
|
265005
|
+
return new SemVer(
|
|
265006
|
+
version6 instanceof SemVer ? version6.version : version6,
|
|
265007
|
+
options
|
|
265008
|
+
).inc(release, identifier, identifierBase).version;
|
|
265009
|
+
} catch (er) {
|
|
265010
|
+
return null;
|
|
265011
|
+
}
|
|
265012
|
+
};
|
|
265013
|
+
module.exports = inc;
|
|
265014
|
+
}
|
|
265015
|
+
});
|
|
265016
|
+
|
|
265017
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/diff.js
|
|
265018
|
+
var require_diff = __commonJS({
|
|
265019
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/diff.js"(exports2, module) {
|
|
265020
|
+
init_esm_shims();
|
|
265021
|
+
var __import___parse_js = __toESM(require_parse5());
|
|
265022
|
+
var parse9 = __import___parse_js;
|
|
265023
|
+
var diff = (version1, version22) => {
|
|
265024
|
+
const v1 = parse9(version1, null, true);
|
|
265025
|
+
const v2 = parse9(version22, null, true);
|
|
265026
|
+
const comparison = v1.compare(v2);
|
|
265027
|
+
if (comparison === 0) {
|
|
265028
|
+
return null;
|
|
265029
|
+
}
|
|
265030
|
+
const v1Higher = comparison > 0;
|
|
265031
|
+
const highVersion = v1Higher ? v1 : v2;
|
|
265032
|
+
const lowVersion = v1Higher ? v2 : v1;
|
|
265033
|
+
const highHasPre = !!highVersion.prerelease.length;
|
|
265034
|
+
const lowHasPre = !!lowVersion.prerelease.length;
|
|
265035
|
+
if (lowHasPre && !highHasPre) {
|
|
265036
|
+
if (!lowVersion.patch && !lowVersion.minor) {
|
|
265037
|
+
return "major";
|
|
265038
|
+
}
|
|
265039
|
+
if (highVersion.patch) {
|
|
265040
|
+
return "patch";
|
|
265041
|
+
}
|
|
265042
|
+
if (highVersion.minor) {
|
|
265043
|
+
return "minor";
|
|
265044
|
+
}
|
|
265045
|
+
return "major";
|
|
265046
|
+
}
|
|
265047
|
+
const prefix = highHasPre ? "pre" : "";
|
|
265048
|
+
if (v1.major !== v2.major) {
|
|
265049
|
+
return prefix + "major";
|
|
265050
|
+
}
|
|
265051
|
+
if (v1.minor !== v2.minor) {
|
|
265052
|
+
return prefix + "minor";
|
|
265053
|
+
}
|
|
265054
|
+
if (v1.patch !== v2.patch) {
|
|
265055
|
+
return prefix + "patch";
|
|
265056
|
+
}
|
|
265057
|
+
return "prerelease";
|
|
265058
|
+
};
|
|
265059
|
+
module.exports = diff;
|
|
265060
|
+
}
|
|
265061
|
+
});
|
|
265062
|
+
|
|
265063
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/major.js
|
|
265064
|
+
var require_major = __commonJS({
|
|
265065
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/major.js"(exports2, module) {
|
|
265066
|
+
init_esm_shims();
|
|
265067
|
+
var __import____classes_semver = __toESM(require_semver2());
|
|
265068
|
+
var SemVer = __import____classes_semver;
|
|
265069
|
+
var major = (a4, loose) => new SemVer(a4, loose).major;
|
|
265070
|
+
module.exports = major;
|
|
265071
|
+
}
|
|
265072
|
+
});
|
|
265073
|
+
|
|
265074
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/minor.js
|
|
265075
|
+
var require_minor = __commonJS({
|
|
265076
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/minor.js"(exports2, module) {
|
|
265077
|
+
init_esm_shims();
|
|
265078
|
+
var __import____classes_semver = __toESM(require_semver2());
|
|
265079
|
+
var SemVer = __import____classes_semver;
|
|
265080
|
+
var minor = (a4, loose) => new SemVer(a4, loose).minor;
|
|
265081
|
+
module.exports = minor;
|
|
265082
|
+
}
|
|
265083
|
+
});
|
|
265084
|
+
|
|
265085
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/patch.js
|
|
265086
|
+
var require_patch = __commonJS({
|
|
265087
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/patch.js"(exports2, module) {
|
|
265088
|
+
init_esm_shims();
|
|
265089
|
+
var __import____classes_semver = __toESM(require_semver2());
|
|
265090
|
+
var SemVer = __import____classes_semver;
|
|
265091
|
+
var patch2 = (a4, loose) => new SemVer(a4, loose).patch;
|
|
265092
|
+
module.exports = patch2;
|
|
265093
|
+
}
|
|
265094
|
+
});
|
|
265095
|
+
|
|
265096
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/prerelease.js
|
|
265097
|
+
var require_prerelease = __commonJS({
|
|
265098
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/prerelease.js"(exports2, module) {
|
|
265099
|
+
init_esm_shims();
|
|
265100
|
+
var __import___parse = __toESM(require_parse5());
|
|
265101
|
+
var parse9 = __import___parse;
|
|
265102
|
+
var prerelease = (version6, options) => {
|
|
265103
|
+
const parsed = parse9(version6, options);
|
|
265104
|
+
return parsed && parsed.prerelease.length ? parsed.prerelease : null;
|
|
265105
|
+
};
|
|
265106
|
+
module.exports = prerelease;
|
|
265107
|
+
}
|
|
265108
|
+
});
|
|
265109
|
+
|
|
265110
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/compare.js
|
|
265111
|
+
var require_compare = __commonJS({
|
|
265112
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/compare.js"(exports2, module) {
|
|
265113
|
+
init_esm_shims();
|
|
265114
|
+
var __import____classes_semver = __toESM(require_semver2());
|
|
265115
|
+
var SemVer = __import____classes_semver;
|
|
265116
|
+
var compare6 = (a4, b, loose) => new SemVer(a4, loose).compare(new SemVer(b, loose));
|
|
265117
|
+
module.exports = compare6;
|
|
265118
|
+
}
|
|
265119
|
+
});
|
|
265120
|
+
|
|
265121
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/rcompare.js
|
|
265122
|
+
var require_rcompare = __commonJS({
|
|
265123
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/rcompare.js"(exports2, module) {
|
|
265124
|
+
init_esm_shims();
|
|
265125
|
+
var __import___compare = __toESM(require_compare());
|
|
265126
|
+
var compare6 = __import___compare;
|
|
265127
|
+
var rcompare2 = (a4, b, loose) => compare6(b, a4, loose);
|
|
265128
|
+
module.exports = rcompare2;
|
|
265129
|
+
}
|
|
265130
|
+
});
|
|
265131
|
+
|
|
265132
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/compare-loose.js
|
|
265133
|
+
var require_compare_loose = __commonJS({
|
|
265134
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/compare-loose.js"(exports2, module) {
|
|
265135
|
+
init_esm_shims();
|
|
265136
|
+
var __import___compare = __toESM(require_compare());
|
|
265137
|
+
var compare6 = __import___compare;
|
|
265138
|
+
var compareLoose = (a4, b) => compare6(a4, b, true);
|
|
265139
|
+
module.exports = compareLoose;
|
|
265140
|
+
}
|
|
265141
|
+
});
|
|
265142
|
+
|
|
265143
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/compare-build.js
|
|
265144
|
+
var require_compare_build = __commonJS({
|
|
265145
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/compare-build.js"(exports2, module) {
|
|
265146
|
+
init_esm_shims();
|
|
265147
|
+
var __import____classes_semver = __toESM(require_semver2());
|
|
265148
|
+
var SemVer = __import____classes_semver;
|
|
265149
|
+
var compareBuild = (a4, b, loose) => {
|
|
265150
|
+
const versionA = new SemVer(a4, loose);
|
|
265151
|
+
const versionB = new SemVer(b, loose);
|
|
265152
|
+
return versionA.compare(versionB) || versionA.compareBuild(versionB);
|
|
265153
|
+
};
|
|
265154
|
+
module.exports = compareBuild;
|
|
265155
|
+
}
|
|
265156
|
+
});
|
|
265157
|
+
|
|
265158
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/sort.js
|
|
265159
|
+
var require_sort = __commonJS({
|
|
265160
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/sort.js"(exports2, module) {
|
|
265161
|
+
init_esm_shims();
|
|
265162
|
+
var __import___compareBuild = __toESM(require_compare_build());
|
|
265163
|
+
var compareBuild = __import___compareBuild;
|
|
265164
|
+
var sort = (list, loose) => list.sort((a4, b) => compareBuild(a4, b, loose));
|
|
265165
|
+
module.exports = sort;
|
|
265166
|
+
}
|
|
265167
|
+
});
|
|
265168
|
+
|
|
265169
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/rsort.js
|
|
265170
|
+
var require_rsort = __commonJS({
|
|
265171
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/rsort.js"(exports2, module) {
|
|
265172
|
+
init_esm_shims();
|
|
265173
|
+
var __import___compareBuild = __toESM(require_compare_build());
|
|
265174
|
+
var compareBuild = __import___compareBuild;
|
|
265175
|
+
var rsort = (list, loose) => list.sort((a4, b) => compareBuild(b, a4, loose));
|
|
265176
|
+
module.exports = rsort;
|
|
265177
|
+
}
|
|
265178
|
+
});
|
|
265179
|
+
|
|
265180
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/gt.js
|
|
265181
|
+
var require_gt = __commonJS({
|
|
265182
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/gt.js"(exports2, module) {
|
|
265183
|
+
init_esm_shims();
|
|
265184
|
+
var __import___compare = __toESM(require_compare());
|
|
265185
|
+
var compare6 = __import___compare;
|
|
265186
|
+
var gt = (a4, b, loose) => compare6(a4, b, loose) > 0;
|
|
265187
|
+
module.exports = gt;
|
|
265188
|
+
}
|
|
265189
|
+
});
|
|
265190
|
+
|
|
265191
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/lt.js
|
|
265192
|
+
var require_lt = __commonJS({
|
|
265193
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/lt.js"(exports2, module) {
|
|
265194
|
+
init_esm_shims();
|
|
265195
|
+
var __import___compare = __toESM(require_compare());
|
|
265196
|
+
var compare6 = __import___compare;
|
|
265197
|
+
var lt = (a4, b, loose) => compare6(a4, b, loose) < 0;
|
|
265198
|
+
module.exports = lt;
|
|
265199
|
+
}
|
|
265200
|
+
});
|
|
265201
|
+
|
|
265202
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/eq.js
|
|
265203
|
+
var require_eq = __commonJS({
|
|
265204
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/eq.js"(exports2, module) {
|
|
265205
|
+
init_esm_shims();
|
|
265206
|
+
var __import___compare = __toESM(require_compare());
|
|
265207
|
+
var compare6 = __import___compare;
|
|
265208
|
+
var eq2 = (a4, b, loose) => compare6(a4, b, loose) === 0;
|
|
265209
|
+
module.exports = eq2;
|
|
265210
|
+
}
|
|
265211
|
+
});
|
|
265212
|
+
|
|
265213
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/neq.js
|
|
265214
|
+
var require_neq = __commonJS({
|
|
265215
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/neq.js"(exports2, module) {
|
|
265216
|
+
init_esm_shims();
|
|
265217
|
+
var __import___compare = __toESM(require_compare());
|
|
265218
|
+
var compare6 = __import___compare;
|
|
265219
|
+
var neq = (a4, b, loose) => compare6(a4, b, loose) !== 0;
|
|
265220
|
+
module.exports = neq;
|
|
265221
|
+
}
|
|
265222
|
+
});
|
|
265223
|
+
|
|
265224
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/gte.js
|
|
265225
|
+
var require_gte = __commonJS({
|
|
265226
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/gte.js"(exports2, module) {
|
|
265227
|
+
init_esm_shims();
|
|
265228
|
+
var __import___compare = __toESM(require_compare());
|
|
265229
|
+
var compare6 = __import___compare;
|
|
265230
|
+
var gte2 = (a4, b, loose) => compare6(a4, b, loose) >= 0;
|
|
265231
|
+
module.exports = gte2;
|
|
265232
|
+
}
|
|
265233
|
+
});
|
|
265234
|
+
|
|
265235
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/lte.js
|
|
265236
|
+
var require_lte = __commonJS({
|
|
265237
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/lte.js"(exports2, module) {
|
|
265238
|
+
init_esm_shims();
|
|
265239
|
+
var __import___compare = __toESM(require_compare());
|
|
265240
|
+
var compare6 = __import___compare;
|
|
265241
|
+
var lte2 = (a4, b, loose) => compare6(a4, b, loose) <= 0;
|
|
265242
|
+
module.exports = lte2;
|
|
265243
|
+
}
|
|
265244
|
+
});
|
|
265245
|
+
|
|
265246
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/cmp.js
|
|
265247
|
+
var require_cmp = __commonJS({
|
|
265248
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/cmp.js"(exports2, module) {
|
|
265249
|
+
init_esm_shims();
|
|
265250
|
+
var __import___eq = __toESM(require_eq());
|
|
265251
|
+
var __import___neq = __toESM(require_neq());
|
|
265252
|
+
var __import___gt = __toESM(require_gt());
|
|
265253
|
+
var __import___gte = __toESM(require_gte());
|
|
265254
|
+
var __import___lt = __toESM(require_lt());
|
|
265255
|
+
var __import___lte = __toESM(require_lte());
|
|
265256
|
+
var eq2 = __import___eq;
|
|
265257
|
+
var neq = __import___neq;
|
|
265258
|
+
var gt = __import___gt;
|
|
265259
|
+
var gte2 = __import___gte;
|
|
265260
|
+
var lt = __import___lt;
|
|
265261
|
+
var lte2 = __import___lte;
|
|
265262
|
+
var cmp = (a4, op, b, loose) => {
|
|
265263
|
+
switch (op) {
|
|
265264
|
+
case "===":
|
|
265265
|
+
if (typeof a4 === "object") {
|
|
265266
|
+
a4 = a4.version;
|
|
265267
|
+
}
|
|
265268
|
+
if (typeof b === "object") {
|
|
265269
|
+
b = b.version;
|
|
265270
|
+
}
|
|
265271
|
+
return a4 === b;
|
|
265272
|
+
case "!==":
|
|
265273
|
+
if (typeof a4 === "object") {
|
|
265274
|
+
a4 = a4.version;
|
|
265275
|
+
}
|
|
265276
|
+
if (typeof b === "object") {
|
|
265277
|
+
b = b.version;
|
|
265278
|
+
}
|
|
265279
|
+
return a4 !== b;
|
|
265280
|
+
case "":
|
|
265281
|
+
case "=":
|
|
265282
|
+
case "==":
|
|
265283
|
+
return eq2(a4, b, loose);
|
|
265284
|
+
case "!=":
|
|
265285
|
+
return neq(a4, b, loose);
|
|
265286
|
+
case ">":
|
|
265287
|
+
return gt(a4, b, loose);
|
|
265288
|
+
case ">=":
|
|
265289
|
+
return gte2(a4, b, loose);
|
|
265290
|
+
case "<":
|
|
265291
|
+
return lt(a4, b, loose);
|
|
265292
|
+
case "<=":
|
|
265293
|
+
return lte2(a4, b, loose);
|
|
265294
|
+
default:
|
|
265295
|
+
throw new TypeError(`Invalid operator: ${op}`);
|
|
265296
|
+
}
|
|
265297
|
+
};
|
|
265298
|
+
module.exports = cmp;
|
|
265299
|
+
}
|
|
265300
|
+
});
|
|
265301
|
+
|
|
265302
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/coerce.js
|
|
265303
|
+
var require_coerce = __commonJS({
|
|
265304
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/coerce.js"(exports2, module) {
|
|
265305
|
+
init_esm_shims();
|
|
265306
|
+
var __import____classes_semver = __toESM(require_semver2());
|
|
265307
|
+
var __import___parse = __toESM(require_parse5());
|
|
265308
|
+
var __import____internal_re = __toESM(require_re());
|
|
265309
|
+
var SemVer = __import____classes_semver;
|
|
265310
|
+
var parse9 = __import___parse;
|
|
265311
|
+
var { safeRe: re, t } = __import____internal_re;
|
|
265312
|
+
var coerce = (version6, options) => {
|
|
265313
|
+
if (version6 instanceof SemVer) {
|
|
265314
|
+
return version6;
|
|
265315
|
+
}
|
|
265316
|
+
if (typeof version6 === "number") {
|
|
265317
|
+
version6 = String(version6);
|
|
265318
|
+
}
|
|
265319
|
+
if (typeof version6 !== "string") {
|
|
265320
|
+
return null;
|
|
265321
|
+
}
|
|
265322
|
+
options = options || {};
|
|
265323
|
+
let match4 = null;
|
|
265324
|
+
if (!options.rtl) {
|
|
265325
|
+
match4 = version6.match(options.includePrerelease ? re[t.COERCEFULL] : re[t.COERCE]);
|
|
265326
|
+
} else {
|
|
265327
|
+
const coerceRtlRegex = options.includePrerelease ? re[t.COERCERTLFULL] : re[t.COERCERTL];
|
|
265328
|
+
let next;
|
|
265329
|
+
while ((next = coerceRtlRegex.exec(version6)) && (!match4 || match4.index + match4[0].length !== version6.length)) {
|
|
265330
|
+
if (!match4 || next.index + next[0].length !== match4.index + match4[0].length) {
|
|
265331
|
+
match4 = next;
|
|
265332
|
+
}
|
|
265333
|
+
coerceRtlRegex.lastIndex = next.index + next[1].length + next[2].length;
|
|
265334
|
+
}
|
|
265335
|
+
coerceRtlRegex.lastIndex = -1;
|
|
265336
|
+
}
|
|
265337
|
+
if (match4 === null) {
|
|
265338
|
+
return null;
|
|
265339
|
+
}
|
|
265340
|
+
const major = match4[2];
|
|
265341
|
+
const minor = match4[3] || "0";
|
|
265342
|
+
const patch2 = match4[4] || "0";
|
|
265343
|
+
const prerelease = options.includePrerelease && match4[5] ? `-${match4[5]}` : "";
|
|
265344
|
+
const build2 = options.includePrerelease && match4[6] ? `+${match4[6]}` : "";
|
|
265345
|
+
return parse9(`${major}.${minor}.${patch2}${prerelease}${build2}`, options);
|
|
265346
|
+
};
|
|
265347
|
+
module.exports = coerce;
|
|
265348
|
+
}
|
|
265349
|
+
});
|
|
265350
|
+
|
|
265351
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/lrucache.js
|
|
265352
|
+
var require_lrucache = __commonJS({
|
|
265353
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/lrucache.js"(exports2, module) {
|
|
265354
|
+
init_esm_shims();
|
|
265355
|
+
var LRUCache2 = class {
|
|
265356
|
+
constructor() {
|
|
265357
|
+
this.max = 1e3;
|
|
265358
|
+
this.map = /* @__PURE__ */ new Map();
|
|
265359
|
+
}
|
|
265360
|
+
get(key) {
|
|
265361
|
+
const value = this.map.get(key);
|
|
265362
|
+
if (value === void 0) {
|
|
265363
|
+
return void 0;
|
|
265364
|
+
} else {
|
|
265365
|
+
this.map.delete(key);
|
|
265366
|
+
this.map.set(key, value);
|
|
265367
|
+
return value;
|
|
265368
|
+
}
|
|
265369
|
+
}
|
|
265370
|
+
delete(key) {
|
|
265371
|
+
return this.map.delete(key);
|
|
265372
|
+
}
|
|
265373
|
+
set(key, value) {
|
|
265374
|
+
const deleted = this.delete(key);
|
|
265375
|
+
if (!deleted && value !== void 0) {
|
|
265376
|
+
if (this.map.size >= this.max) {
|
|
265377
|
+
const firstKey = this.map.keys().next().value;
|
|
265378
|
+
this.delete(firstKey);
|
|
265379
|
+
}
|
|
265380
|
+
this.map.set(key, value);
|
|
265381
|
+
}
|
|
265382
|
+
return this;
|
|
265383
|
+
}
|
|
265384
|
+
};
|
|
265385
|
+
module.exports = LRUCache2;
|
|
265386
|
+
}
|
|
265387
|
+
});
|
|
265388
|
+
|
|
265389
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/range.js
|
|
265390
|
+
var require_range = __commonJS({
|
|
265391
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/range.js"(exports2, module) {
|
|
265392
|
+
init_esm_shims();
|
|
265393
|
+
var __import____internal_lrucache = __toESM(require_lrucache());
|
|
265394
|
+
var __import____internal_parseOptions = __toESM(require_parse_options());
|
|
265395
|
+
var __import___comparator = __toESM(require_comparator());
|
|
265396
|
+
var __import____internal_debug = __toESM(require_debug2());
|
|
265397
|
+
var __import___semver = __toESM(require_semver2());
|
|
265398
|
+
var __import____internal_re = __toESM(require_re());
|
|
265399
|
+
var __import____internal_constants = __toESM(require_constants5());
|
|
265400
|
+
var Range2 = class _Range {
|
|
265401
|
+
constructor(range2, options) {
|
|
265402
|
+
options = parseOptions(options);
|
|
265403
|
+
if (range2 instanceof _Range) {
|
|
265404
|
+
if (range2.loose === !!options.loose && range2.includePrerelease === !!options.includePrerelease) {
|
|
265405
|
+
return range2;
|
|
265406
|
+
} else {
|
|
265407
|
+
return new _Range(range2.raw, options);
|
|
265408
|
+
}
|
|
265409
|
+
}
|
|
265410
|
+
if (range2 instanceof Comparator2) {
|
|
265411
|
+
this.raw = range2.value;
|
|
265412
|
+
this.set = [[range2]];
|
|
265413
|
+
this.format();
|
|
265414
|
+
return this;
|
|
265415
|
+
}
|
|
265416
|
+
this.options = options;
|
|
265417
|
+
this.loose = !!options.loose;
|
|
265418
|
+
this.includePrerelease = !!options.includePrerelease;
|
|
265419
|
+
this.raw = range2.trim().split(/\s+/).join(" ");
|
|
265420
|
+
this.set = this.raw.split("||").map((r) => this.parseRange(r.trim())).filter((c) => c.length);
|
|
265421
|
+
if (!this.set.length) {
|
|
265422
|
+
throw new TypeError(`Invalid SemVer Range: ${this.raw}`);
|
|
265423
|
+
}
|
|
265424
|
+
if (this.set.length > 1) {
|
|
265425
|
+
const first3 = this.set[0];
|
|
265426
|
+
this.set = this.set.filter((c) => !isNullSet(c[0]));
|
|
265427
|
+
if (this.set.length === 0) {
|
|
265428
|
+
this.set = [first3];
|
|
265429
|
+
} else if (this.set.length > 1) {
|
|
265430
|
+
for (const c of this.set) {
|
|
265431
|
+
if (c.length === 1 && isAny(c[0])) {
|
|
265432
|
+
this.set = [c];
|
|
265433
|
+
break;
|
|
265434
|
+
}
|
|
265435
|
+
}
|
|
265436
|
+
}
|
|
265437
|
+
}
|
|
265438
|
+
this.format();
|
|
265439
|
+
}
|
|
265440
|
+
format() {
|
|
265441
|
+
this.range = this.set.map((comps) => comps.join(" ").trim()).join("||").trim();
|
|
265442
|
+
return this.range;
|
|
265443
|
+
}
|
|
265444
|
+
toString() {
|
|
265445
|
+
return this.range;
|
|
265446
|
+
}
|
|
265447
|
+
parseRange(range2) {
|
|
265448
|
+
const memoOpts = (this.options.includePrerelease && FLAG_INCLUDE_PRERELEASE) | (this.options.loose && FLAG_LOOSE);
|
|
265449
|
+
const memoKey = memoOpts + ":" + range2;
|
|
265450
|
+
const cached2 = cache5.get(memoKey);
|
|
265451
|
+
if (cached2) {
|
|
265452
|
+
return cached2;
|
|
265453
|
+
}
|
|
265454
|
+
const loose = this.options.loose;
|
|
265455
|
+
const hr = loose ? re[t.HYPHENRANGELOOSE] : re[t.HYPHENRANGE];
|
|
265456
|
+
range2 = range2.replace(hr, hyphenReplace(this.options.includePrerelease));
|
|
265457
|
+
debug14("hyphen replace", range2);
|
|
265458
|
+
range2 = range2.replace(re[t.COMPARATORTRIM], comparatorTrimReplace);
|
|
265459
|
+
debug14("comparator trim", range2);
|
|
265460
|
+
range2 = range2.replace(re[t.TILDETRIM], tildeTrimReplace);
|
|
265461
|
+
debug14("tilde trim", range2);
|
|
265462
|
+
range2 = range2.replace(re[t.CARETTRIM], caretTrimReplace);
|
|
265463
|
+
debug14("caret trim", range2);
|
|
265464
|
+
let rangeList = range2.split(" ").map((comp) => parseComparator(comp, this.options)).join(" ").split(/\s+/).map((comp) => replaceGTE0(comp, this.options));
|
|
265465
|
+
if (loose) {
|
|
265466
|
+
rangeList = rangeList.filter((comp) => {
|
|
265467
|
+
debug14("loose invalid filter", comp, this.options);
|
|
265468
|
+
return !!comp.match(re[t.COMPARATORLOOSE]);
|
|
265469
|
+
});
|
|
265470
|
+
}
|
|
265471
|
+
debug14("range list", rangeList);
|
|
265472
|
+
const rangeMap = /* @__PURE__ */ new Map();
|
|
265473
|
+
const comparators = rangeList.map((comp) => new Comparator2(comp, this.options));
|
|
265474
|
+
for (const comp of comparators) {
|
|
265475
|
+
if (isNullSet(comp)) {
|
|
265476
|
+
return [comp];
|
|
265477
|
+
}
|
|
265478
|
+
rangeMap.set(comp.value, comp);
|
|
265479
|
+
}
|
|
265480
|
+
if (rangeMap.size > 1 && rangeMap.has("")) {
|
|
265481
|
+
rangeMap.delete("");
|
|
265482
|
+
}
|
|
265483
|
+
const result = [...rangeMap.values()];
|
|
265484
|
+
cache5.set(memoKey, result);
|
|
265485
|
+
return result;
|
|
265486
|
+
}
|
|
265487
|
+
intersects(range2, options) {
|
|
265488
|
+
if (!(range2 instanceof _Range)) {
|
|
265489
|
+
throw new TypeError("a Range is required");
|
|
265490
|
+
}
|
|
265491
|
+
return this.set.some((thisComparators) => {
|
|
265492
|
+
return isSatisfiable(thisComparators, options) && range2.set.some((rangeComparators) => {
|
|
265493
|
+
return isSatisfiable(rangeComparators, options) && thisComparators.every((thisComparator) => {
|
|
265494
|
+
return rangeComparators.every((rangeComparator) => {
|
|
265495
|
+
return thisComparator.intersects(rangeComparator, options);
|
|
265496
|
+
});
|
|
265497
|
+
});
|
|
265498
|
+
});
|
|
265499
|
+
});
|
|
265500
|
+
}
|
|
265501
|
+
// if ANY of the sets match ALL of its comparators, then pass
|
|
265502
|
+
test(version6) {
|
|
265503
|
+
if (!version6) {
|
|
265504
|
+
return false;
|
|
265505
|
+
}
|
|
265506
|
+
if (typeof version6 === "string") {
|
|
265507
|
+
try {
|
|
265508
|
+
version6 = new SemVer(version6, this.options);
|
|
265509
|
+
} catch (er) {
|
|
265510
|
+
return false;
|
|
265511
|
+
}
|
|
265512
|
+
}
|
|
265513
|
+
for (let i2 = 0; i2 < this.set.length; i2++) {
|
|
265514
|
+
if (testSet(this.set[i2], version6, this.options)) {
|
|
265515
|
+
return true;
|
|
265516
|
+
}
|
|
265517
|
+
}
|
|
265518
|
+
return false;
|
|
265519
|
+
}
|
|
265520
|
+
};
|
|
265521
|
+
module.exports = Range2;
|
|
265522
|
+
var LRU = __import____internal_lrucache;
|
|
265523
|
+
var cache5 = new LRU();
|
|
265524
|
+
var parseOptions = __import____internal_parseOptions;
|
|
265525
|
+
var Comparator2 = __import___comparator;
|
|
265526
|
+
var debug14 = __import____internal_debug;
|
|
265527
|
+
var SemVer = __import___semver;
|
|
265528
|
+
var {
|
|
265529
|
+
safeRe: re,
|
|
265530
|
+
t,
|
|
265531
|
+
comparatorTrimReplace,
|
|
265532
|
+
tildeTrimReplace,
|
|
265533
|
+
caretTrimReplace
|
|
265534
|
+
} = __import____internal_re;
|
|
265535
|
+
var { FLAG_INCLUDE_PRERELEASE, FLAG_LOOSE } = __import____internal_constants;
|
|
265536
|
+
var isNullSet = (c) => c.value === "<0.0.0-0";
|
|
265537
|
+
var isAny = (c) => c.value === "";
|
|
265538
|
+
var isSatisfiable = (comparators, options) => {
|
|
265539
|
+
let result = true;
|
|
265540
|
+
const remainingComparators = comparators.slice();
|
|
265541
|
+
let testComparator = remainingComparators.pop();
|
|
265542
|
+
while (result && remainingComparators.length) {
|
|
265543
|
+
result = remainingComparators.every((otherComparator) => {
|
|
265544
|
+
return testComparator.intersects(otherComparator, options);
|
|
265545
|
+
});
|
|
265546
|
+
testComparator = remainingComparators.pop();
|
|
265547
|
+
}
|
|
265548
|
+
return result;
|
|
265549
|
+
};
|
|
265550
|
+
var parseComparator = (comp, options) => {
|
|
265551
|
+
debug14("comp", comp, options);
|
|
265552
|
+
comp = replaceCarets(comp, options);
|
|
265553
|
+
debug14("caret", comp);
|
|
265554
|
+
comp = replaceTildes(comp, options);
|
|
265555
|
+
debug14("tildes", comp);
|
|
265556
|
+
comp = replaceXRanges(comp, options);
|
|
265557
|
+
debug14("xrange", comp);
|
|
265558
|
+
comp = replaceStars(comp, options);
|
|
265559
|
+
debug14("stars", comp);
|
|
265560
|
+
return comp;
|
|
265561
|
+
};
|
|
265562
|
+
var isX = (id) => !id || id.toLowerCase() === "x" || id === "*";
|
|
265563
|
+
var replaceTildes = (comp, options) => {
|
|
265564
|
+
return comp.trim().split(/\s+/).map((c) => replaceTilde(c, options)).join(" ");
|
|
265565
|
+
};
|
|
265566
|
+
var replaceTilde = (comp, options) => {
|
|
265567
|
+
const r = options.loose ? re[t.TILDELOOSE] : re[t.TILDE];
|
|
265568
|
+
return comp.replace(r, (_2, M2, m2, p, pr) => {
|
|
265569
|
+
debug14("tilde", comp, _2, M2, m2, p, pr);
|
|
265570
|
+
let ret;
|
|
265571
|
+
if (isX(M2)) {
|
|
265572
|
+
ret = "";
|
|
265573
|
+
} else if (isX(m2)) {
|
|
265574
|
+
ret = `>=${M2}.0.0 <${+M2 + 1}.0.0-0`;
|
|
265575
|
+
} else if (isX(p)) {
|
|
265576
|
+
ret = `>=${M2}.${m2}.0 <${M2}.${+m2 + 1}.0-0`;
|
|
265577
|
+
} else if (pr) {
|
|
265578
|
+
debug14("replaceTilde pr", pr);
|
|
265579
|
+
ret = `>=${M2}.${m2}.${p}-${pr} <${M2}.${+m2 + 1}.0-0`;
|
|
265580
|
+
} else {
|
|
265581
|
+
ret = `>=${M2}.${m2}.${p} <${M2}.${+m2 + 1}.0-0`;
|
|
265582
|
+
}
|
|
265583
|
+
debug14("tilde return", ret);
|
|
265584
|
+
return ret;
|
|
265585
|
+
});
|
|
265586
|
+
};
|
|
265587
|
+
var replaceCarets = (comp, options) => {
|
|
265588
|
+
return comp.trim().split(/\s+/).map((c) => replaceCaret(c, options)).join(" ");
|
|
265589
|
+
};
|
|
265590
|
+
var replaceCaret = (comp, options) => {
|
|
265591
|
+
debug14("caret", comp, options);
|
|
265592
|
+
const r = options.loose ? re[t.CARETLOOSE] : re[t.CARET];
|
|
265593
|
+
const z2 = options.includePrerelease ? "-0" : "";
|
|
265594
|
+
return comp.replace(r, (_2, M2, m2, p, pr) => {
|
|
265595
|
+
debug14("caret", comp, _2, M2, m2, p, pr);
|
|
265596
|
+
let ret;
|
|
265597
|
+
if (isX(M2)) {
|
|
265598
|
+
ret = "";
|
|
265599
|
+
} else if (isX(m2)) {
|
|
265600
|
+
ret = `>=${M2}.0.0${z2} <${+M2 + 1}.0.0-0`;
|
|
265601
|
+
} else if (isX(p)) {
|
|
265602
|
+
if (M2 === "0") {
|
|
265603
|
+
ret = `>=${M2}.${m2}.0${z2} <${M2}.${+m2 + 1}.0-0`;
|
|
265604
|
+
} else {
|
|
265605
|
+
ret = `>=${M2}.${m2}.0${z2} <${+M2 + 1}.0.0-0`;
|
|
265606
|
+
}
|
|
265607
|
+
} else if (pr) {
|
|
265608
|
+
debug14("replaceCaret pr", pr);
|
|
265609
|
+
if (M2 === "0") {
|
|
265610
|
+
if (m2 === "0") {
|
|
265611
|
+
ret = `>=${M2}.${m2}.${p}-${pr} <${M2}.${m2}.${+p + 1}-0`;
|
|
265612
|
+
} else {
|
|
265613
|
+
ret = `>=${M2}.${m2}.${p}-${pr} <${M2}.${+m2 + 1}.0-0`;
|
|
265614
|
+
}
|
|
265615
|
+
} else {
|
|
265616
|
+
ret = `>=${M2}.${m2}.${p}-${pr} <${+M2 + 1}.0.0-0`;
|
|
265617
|
+
}
|
|
265618
|
+
} else {
|
|
265619
|
+
debug14("no pr");
|
|
265620
|
+
if (M2 === "0") {
|
|
265621
|
+
if (m2 === "0") {
|
|
265622
|
+
ret = `>=${M2}.${m2}.${p}${z2} <${M2}.${m2}.${+p + 1}-0`;
|
|
265623
|
+
} else {
|
|
265624
|
+
ret = `>=${M2}.${m2}.${p}${z2} <${M2}.${+m2 + 1}.0-0`;
|
|
265625
|
+
}
|
|
265626
|
+
} else {
|
|
265627
|
+
ret = `>=${M2}.${m2}.${p} <${+M2 + 1}.0.0-0`;
|
|
265628
|
+
}
|
|
265629
|
+
}
|
|
265630
|
+
debug14("caret return", ret);
|
|
265631
|
+
return ret;
|
|
265632
|
+
});
|
|
265633
|
+
};
|
|
265634
|
+
var replaceXRanges = (comp, options) => {
|
|
265635
|
+
debug14("replaceXRanges", comp, options);
|
|
265636
|
+
return comp.split(/\s+/).map((c) => replaceXRange(c, options)).join(" ");
|
|
265637
|
+
};
|
|
265638
|
+
var replaceXRange = (comp, options) => {
|
|
265639
|
+
comp = comp.trim();
|
|
265640
|
+
const r = options.loose ? re[t.XRANGELOOSE] : re[t.XRANGE];
|
|
265641
|
+
return comp.replace(r, (ret, gtlt, M2, m2, p, pr) => {
|
|
265642
|
+
debug14("xRange", comp, ret, gtlt, M2, m2, p, pr);
|
|
265643
|
+
const xM = isX(M2);
|
|
265644
|
+
const xm = xM || isX(m2);
|
|
265645
|
+
const xp = xm || isX(p);
|
|
265646
|
+
const anyX = xp;
|
|
265647
|
+
if (gtlt === "=" && anyX) {
|
|
265648
|
+
gtlt = "";
|
|
265649
|
+
}
|
|
265650
|
+
pr = options.includePrerelease ? "-0" : "";
|
|
265651
|
+
if (xM) {
|
|
265652
|
+
if (gtlt === ">" || gtlt === "<") {
|
|
265653
|
+
ret = "<0.0.0-0";
|
|
265654
|
+
} else {
|
|
265655
|
+
ret = "*";
|
|
265656
|
+
}
|
|
265657
|
+
} else if (gtlt && anyX) {
|
|
265658
|
+
if (xm) {
|
|
265659
|
+
m2 = 0;
|
|
265660
|
+
}
|
|
265661
|
+
p = 0;
|
|
265662
|
+
if (gtlt === ">") {
|
|
265663
|
+
gtlt = ">=";
|
|
265664
|
+
if (xm) {
|
|
265665
|
+
M2 = +M2 + 1;
|
|
265666
|
+
m2 = 0;
|
|
265667
|
+
p = 0;
|
|
265668
|
+
} else {
|
|
265669
|
+
m2 = +m2 + 1;
|
|
265670
|
+
p = 0;
|
|
265671
|
+
}
|
|
265672
|
+
} else if (gtlt === "<=") {
|
|
265673
|
+
gtlt = "<";
|
|
265674
|
+
if (xm) {
|
|
265675
|
+
M2 = +M2 + 1;
|
|
265676
|
+
} else {
|
|
265677
|
+
m2 = +m2 + 1;
|
|
265678
|
+
}
|
|
265679
|
+
}
|
|
265680
|
+
if (gtlt === "<") {
|
|
265681
|
+
pr = "-0";
|
|
265682
|
+
}
|
|
265683
|
+
ret = `${gtlt + M2}.${m2}.${p}${pr}`;
|
|
265684
|
+
} else if (xm) {
|
|
265685
|
+
ret = `>=${M2}.0.0${pr} <${+M2 + 1}.0.0-0`;
|
|
265686
|
+
} else if (xp) {
|
|
265687
|
+
ret = `>=${M2}.${m2}.0${pr} <${M2}.${+m2 + 1}.0-0`;
|
|
265688
|
+
}
|
|
265689
|
+
debug14("xRange return", ret);
|
|
265690
|
+
return ret;
|
|
265691
|
+
});
|
|
265692
|
+
};
|
|
265693
|
+
var replaceStars = (comp, options) => {
|
|
265694
|
+
debug14("replaceStars", comp, options);
|
|
265695
|
+
return comp.trim().replace(re[t.STAR], "");
|
|
265696
|
+
};
|
|
265697
|
+
var replaceGTE0 = (comp, options) => {
|
|
265698
|
+
debug14("replaceGTE0", comp, options);
|
|
265699
|
+
return comp.trim().replace(re[options.includePrerelease ? t.GTE0PRE : t.GTE0], "");
|
|
265700
|
+
};
|
|
265701
|
+
var hyphenReplace = (incPr) => ($0, from, fM, fm, fp, fpr, fb, to, tM, tm, tp, tpr) => {
|
|
265702
|
+
if (isX(fM)) {
|
|
265703
|
+
from = "";
|
|
265704
|
+
} else if (isX(fm)) {
|
|
265705
|
+
from = `>=${fM}.0.0${incPr ? "-0" : ""}`;
|
|
265706
|
+
} else if (isX(fp)) {
|
|
265707
|
+
from = `>=${fM}.${fm}.0${incPr ? "-0" : ""}`;
|
|
265708
|
+
} else if (fpr) {
|
|
265709
|
+
from = `>=${from}`;
|
|
265710
|
+
} else {
|
|
265711
|
+
from = `>=${from}${incPr ? "-0" : ""}`;
|
|
265712
|
+
}
|
|
265713
|
+
if (isX(tM)) {
|
|
265714
|
+
to = "";
|
|
265715
|
+
} else if (isX(tm)) {
|
|
265716
|
+
to = `<${+tM + 1}.0.0-0`;
|
|
265717
|
+
} else if (isX(tp)) {
|
|
265718
|
+
to = `<${tM}.${+tm + 1}.0-0`;
|
|
265719
|
+
} else if (tpr) {
|
|
265720
|
+
to = `<=${tM}.${tm}.${tp}-${tpr}`;
|
|
265721
|
+
} else if (incPr) {
|
|
265722
|
+
to = `<${tM}.${tm}.${+tp + 1}-0`;
|
|
265723
|
+
} else {
|
|
265724
|
+
to = `<=${to}`;
|
|
265725
|
+
}
|
|
265726
|
+
return `${from} ${to}`.trim();
|
|
265727
|
+
};
|
|
265728
|
+
var testSet = (set5, version6, options) => {
|
|
265729
|
+
for (let i2 = 0; i2 < set5.length; i2++) {
|
|
265730
|
+
if (!set5[i2].test(version6)) {
|
|
265731
|
+
return false;
|
|
265732
|
+
}
|
|
265733
|
+
}
|
|
265734
|
+
if (version6.prerelease.length && !options.includePrerelease) {
|
|
265735
|
+
for (let i2 = 0; i2 < set5.length; i2++) {
|
|
265736
|
+
debug14(set5[i2].semver);
|
|
265737
|
+
if (set5[i2].semver === Comparator2.ANY) {
|
|
265738
|
+
continue;
|
|
265739
|
+
}
|
|
265740
|
+
if (set5[i2].semver.prerelease.length > 0) {
|
|
265741
|
+
const allowed = set5[i2].semver;
|
|
265742
|
+
if (allowed.major === version6.major && allowed.minor === version6.minor && allowed.patch === version6.patch) {
|
|
265743
|
+
return true;
|
|
265744
|
+
}
|
|
265745
|
+
}
|
|
265746
|
+
}
|
|
265747
|
+
return false;
|
|
265748
|
+
}
|
|
265749
|
+
return true;
|
|
265750
|
+
};
|
|
265751
|
+
}
|
|
265752
|
+
});
|
|
265753
|
+
|
|
265754
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/comparator.js
|
|
265755
|
+
var require_comparator = __commonJS({
|
|
265756
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/comparator.js"(exports2, module) {
|
|
265757
|
+
init_esm_shims();
|
|
265758
|
+
var __import____internal_parseOptions = __toESM(require_parse_options());
|
|
265759
|
+
var __import____internal_re = __toESM(require_re());
|
|
265760
|
+
var __import____functions_cmp = __toESM(require_cmp());
|
|
265761
|
+
var __import____internal_debug = __toESM(require_debug2());
|
|
265762
|
+
var __import___semver = __toESM(require_semver2());
|
|
265763
|
+
var __import___range = __toESM(require_range());
|
|
265764
|
+
var ANY = Symbol("SemVer ANY");
|
|
265765
|
+
var Comparator2 = class _Comparator {
|
|
265766
|
+
static get ANY() {
|
|
265767
|
+
return ANY;
|
|
265768
|
+
}
|
|
265769
|
+
constructor(comp, options) {
|
|
265770
|
+
options = parseOptions(options);
|
|
265771
|
+
if (comp instanceof _Comparator) {
|
|
265772
|
+
if (comp.loose === !!options.loose) {
|
|
265773
|
+
return comp;
|
|
265774
|
+
} else {
|
|
265775
|
+
comp = comp.value;
|
|
265776
|
+
}
|
|
265777
|
+
}
|
|
265778
|
+
comp = comp.trim().split(/\s+/).join(" ");
|
|
265779
|
+
debug14("comparator", comp, options);
|
|
265780
|
+
this.options = options;
|
|
265781
|
+
this.loose = !!options.loose;
|
|
265782
|
+
this.parse(comp);
|
|
265783
|
+
if (this.semver === ANY) {
|
|
265784
|
+
this.value = "";
|
|
265785
|
+
} else {
|
|
265786
|
+
this.value = this.operator + this.semver.version;
|
|
265787
|
+
}
|
|
265788
|
+
debug14("comp", this);
|
|
265789
|
+
}
|
|
265790
|
+
parse(comp) {
|
|
265791
|
+
const r = this.options.loose ? re[t.COMPARATORLOOSE] : re[t.COMPARATOR];
|
|
265792
|
+
const m2 = comp.match(r);
|
|
265793
|
+
if (!m2) {
|
|
265794
|
+
throw new TypeError(`Invalid comparator: ${comp}`);
|
|
265795
|
+
}
|
|
265796
|
+
this.operator = m2[1] !== void 0 ? m2[1] : "";
|
|
265797
|
+
if (this.operator === "=") {
|
|
265798
|
+
this.operator = "";
|
|
265799
|
+
}
|
|
265800
|
+
if (!m2[2]) {
|
|
265801
|
+
this.semver = ANY;
|
|
265802
|
+
} else {
|
|
265803
|
+
this.semver = new SemVer(m2[2], this.options.loose);
|
|
265804
|
+
}
|
|
265805
|
+
}
|
|
265806
|
+
toString() {
|
|
265807
|
+
return this.value;
|
|
265808
|
+
}
|
|
265809
|
+
test(version6) {
|
|
265810
|
+
debug14("Comparator.test", version6, this.options.loose);
|
|
265811
|
+
if (this.semver === ANY || version6 === ANY) {
|
|
265812
|
+
return true;
|
|
265813
|
+
}
|
|
265814
|
+
if (typeof version6 === "string") {
|
|
265815
|
+
try {
|
|
265816
|
+
version6 = new SemVer(version6, this.options);
|
|
265817
|
+
} catch (er) {
|
|
265818
|
+
return false;
|
|
265819
|
+
}
|
|
265820
|
+
}
|
|
265821
|
+
return cmp(version6, this.operator, this.semver, this.options);
|
|
265822
|
+
}
|
|
265823
|
+
intersects(comp, options) {
|
|
265824
|
+
if (!(comp instanceof _Comparator)) {
|
|
265825
|
+
throw new TypeError("a Comparator is required");
|
|
265826
|
+
}
|
|
265827
|
+
if (this.operator === "") {
|
|
265828
|
+
if (this.value === "") {
|
|
265829
|
+
return true;
|
|
265830
|
+
}
|
|
265831
|
+
return new Range2(comp.value, options).test(this.value);
|
|
265832
|
+
} else if (comp.operator === "") {
|
|
265833
|
+
if (comp.value === "") {
|
|
265834
|
+
return true;
|
|
265835
|
+
}
|
|
265836
|
+
return new Range2(this.value, options).test(comp.semver);
|
|
265837
|
+
}
|
|
265838
|
+
options = parseOptions(options);
|
|
265839
|
+
if (options.includePrerelease && (this.value === "<0.0.0-0" || comp.value === "<0.0.0-0")) {
|
|
265840
|
+
return false;
|
|
265841
|
+
}
|
|
265842
|
+
if (!options.includePrerelease && (this.value.startsWith("<0.0.0") || comp.value.startsWith("<0.0.0"))) {
|
|
265843
|
+
return false;
|
|
265844
|
+
}
|
|
265845
|
+
if (this.operator.startsWith(">") && comp.operator.startsWith(">")) {
|
|
265846
|
+
return true;
|
|
265847
|
+
}
|
|
265848
|
+
if (this.operator.startsWith("<") && comp.operator.startsWith("<")) {
|
|
265849
|
+
return true;
|
|
265850
|
+
}
|
|
265851
|
+
if (this.semver.version === comp.semver.version && this.operator.includes("=") && comp.operator.includes("=")) {
|
|
265852
|
+
return true;
|
|
265853
|
+
}
|
|
265854
|
+
if (cmp(this.semver, "<", comp.semver, options) && this.operator.startsWith(">") && comp.operator.startsWith("<")) {
|
|
265855
|
+
return true;
|
|
265856
|
+
}
|
|
265857
|
+
if (cmp(this.semver, ">", comp.semver, options) && this.operator.startsWith("<") && comp.operator.startsWith(">")) {
|
|
265858
|
+
return true;
|
|
265859
|
+
}
|
|
265860
|
+
return false;
|
|
265861
|
+
}
|
|
265862
|
+
};
|
|
265863
|
+
module.exports = Comparator2;
|
|
265864
|
+
var parseOptions = __import____internal_parseOptions;
|
|
265865
|
+
var { safeRe: re, t } = __import____internal_re;
|
|
265866
|
+
var cmp = __import____functions_cmp;
|
|
265867
|
+
var debug14 = __import____internal_debug;
|
|
265868
|
+
var SemVer = __import___semver;
|
|
265869
|
+
var Range2 = __import___range;
|
|
265870
|
+
}
|
|
265871
|
+
});
|
|
265872
|
+
|
|
265873
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/satisfies.js
|
|
265874
|
+
var require_satisfies = __commonJS({
|
|
265875
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/satisfies.js"(exports2, module) {
|
|
265876
|
+
init_esm_shims();
|
|
265877
|
+
var __import____classes_range = __toESM(require_range());
|
|
265878
|
+
var Range2 = __import____classes_range;
|
|
265879
|
+
var satisfies = (version6, range2, options) => {
|
|
265880
|
+
try {
|
|
265881
|
+
range2 = new Range2(range2, options);
|
|
265882
|
+
} catch (er) {
|
|
265883
|
+
return false;
|
|
265884
|
+
}
|
|
265885
|
+
return range2.test(version6);
|
|
265886
|
+
};
|
|
265887
|
+
module.exports = satisfies;
|
|
265888
|
+
}
|
|
265889
|
+
});
|
|
265890
|
+
|
|
265891
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/to-comparators.js
|
|
265892
|
+
var require_to_comparators = __commonJS({
|
|
265893
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/to-comparators.js"(exports2, module) {
|
|
265894
|
+
init_esm_shims();
|
|
265895
|
+
var __import____classes_range = __toESM(require_range());
|
|
265896
|
+
var Range2 = __import____classes_range;
|
|
265897
|
+
var toComparators = (range2, options) => new Range2(range2, options).set.map((comp) => comp.map((c) => c.value).join(" ").trim().split(" "));
|
|
265898
|
+
module.exports = toComparators;
|
|
265899
|
+
}
|
|
265900
|
+
});
|
|
265901
|
+
|
|
265902
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/max-satisfying.js
|
|
265903
|
+
var require_max_satisfying = __commonJS({
|
|
265904
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/max-satisfying.js"(exports2, module) {
|
|
265905
|
+
init_esm_shims();
|
|
265906
|
+
var __import____classes_semver = __toESM(require_semver2());
|
|
265907
|
+
var __import____classes_range = __toESM(require_range());
|
|
265908
|
+
var SemVer = __import____classes_semver;
|
|
265909
|
+
var Range2 = __import____classes_range;
|
|
265910
|
+
var maxSatisfying = (versions, range2, options) => {
|
|
265911
|
+
let max4 = null;
|
|
265912
|
+
let maxSV = null;
|
|
265913
|
+
let rangeObj = null;
|
|
265914
|
+
try {
|
|
265915
|
+
rangeObj = new Range2(range2, options);
|
|
265916
|
+
} catch (er) {
|
|
265917
|
+
return null;
|
|
265918
|
+
}
|
|
265919
|
+
versions.forEach((v2) => {
|
|
265920
|
+
if (rangeObj.test(v2)) {
|
|
265921
|
+
if (!max4 || maxSV.compare(v2) === -1) {
|
|
265922
|
+
max4 = v2;
|
|
265923
|
+
maxSV = new SemVer(max4, options);
|
|
265924
|
+
}
|
|
265925
|
+
}
|
|
265926
|
+
});
|
|
265927
|
+
return max4;
|
|
265928
|
+
};
|
|
265929
|
+
module.exports = maxSatisfying;
|
|
265930
|
+
}
|
|
265931
|
+
});
|
|
265932
|
+
|
|
265933
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/min-satisfying.js
|
|
265934
|
+
var require_min_satisfying = __commonJS({
|
|
265935
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/min-satisfying.js"(exports2, module) {
|
|
265936
|
+
init_esm_shims();
|
|
265937
|
+
var __import____classes_semver = __toESM(require_semver2());
|
|
265938
|
+
var __import____classes_range = __toESM(require_range());
|
|
265939
|
+
var SemVer = __import____classes_semver;
|
|
265940
|
+
var Range2 = __import____classes_range;
|
|
265941
|
+
var minSatisfying = (versions, range2, options) => {
|
|
265942
|
+
let min3 = null;
|
|
265943
|
+
let minSV = null;
|
|
265944
|
+
let rangeObj = null;
|
|
265945
|
+
try {
|
|
265946
|
+
rangeObj = new Range2(range2, options);
|
|
265947
|
+
} catch (er) {
|
|
265948
|
+
return null;
|
|
265949
|
+
}
|
|
265950
|
+
versions.forEach((v2) => {
|
|
265951
|
+
if (rangeObj.test(v2)) {
|
|
265952
|
+
if (!min3 || minSV.compare(v2) === 1) {
|
|
265953
|
+
min3 = v2;
|
|
265954
|
+
minSV = new SemVer(min3, options);
|
|
265955
|
+
}
|
|
265956
|
+
}
|
|
265957
|
+
});
|
|
265958
|
+
return min3;
|
|
265959
|
+
};
|
|
265960
|
+
module.exports = minSatisfying;
|
|
265961
|
+
}
|
|
265962
|
+
});
|
|
265963
|
+
|
|
265964
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/min-version.js
|
|
265965
|
+
var require_min_version = __commonJS({
|
|
265966
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/min-version.js"(exports2, module) {
|
|
265967
|
+
init_esm_shims();
|
|
265968
|
+
var __import____classes_semver = __toESM(require_semver2());
|
|
265969
|
+
var __import____classes_range = __toESM(require_range());
|
|
265970
|
+
var __import____functions_gt = __toESM(require_gt());
|
|
265971
|
+
var SemVer = __import____classes_semver;
|
|
265972
|
+
var Range2 = __import____classes_range;
|
|
265973
|
+
var gt = __import____functions_gt;
|
|
265974
|
+
var minVersion = (range2, loose) => {
|
|
265975
|
+
range2 = new Range2(range2, loose);
|
|
265976
|
+
let minver = new SemVer("0.0.0");
|
|
265977
|
+
if (range2.test(minver)) {
|
|
265978
|
+
return minver;
|
|
265979
|
+
}
|
|
265980
|
+
minver = new SemVer("0.0.0-0");
|
|
265981
|
+
if (range2.test(minver)) {
|
|
265982
|
+
return minver;
|
|
265983
|
+
}
|
|
265984
|
+
minver = null;
|
|
265985
|
+
for (let i2 = 0; i2 < range2.set.length; ++i2) {
|
|
265986
|
+
const comparators = range2.set[i2];
|
|
265987
|
+
let setMin = null;
|
|
265988
|
+
comparators.forEach((comparator) => {
|
|
265989
|
+
const compver = new SemVer(comparator.semver.version);
|
|
265990
|
+
switch (comparator.operator) {
|
|
265991
|
+
case ">":
|
|
265992
|
+
if (compver.prerelease.length === 0) {
|
|
265993
|
+
compver.patch++;
|
|
265994
|
+
} else {
|
|
265995
|
+
compver.prerelease.push(0);
|
|
265996
|
+
}
|
|
265997
|
+
compver.raw = compver.format();
|
|
265998
|
+
/* fallthrough */
|
|
265999
|
+
case "":
|
|
266000
|
+
case ">=":
|
|
266001
|
+
if (!setMin || gt(compver, setMin)) {
|
|
266002
|
+
setMin = compver;
|
|
266003
|
+
}
|
|
266004
|
+
break;
|
|
266005
|
+
case "<":
|
|
266006
|
+
case "<=":
|
|
266007
|
+
break;
|
|
266008
|
+
/* istanbul ignore next */
|
|
266009
|
+
default:
|
|
266010
|
+
throw new Error(`Unexpected operation: ${comparator.operator}`);
|
|
266011
|
+
}
|
|
266012
|
+
});
|
|
266013
|
+
if (setMin && (!minver || gt(minver, setMin))) {
|
|
266014
|
+
minver = setMin;
|
|
266015
|
+
}
|
|
266016
|
+
}
|
|
266017
|
+
if (minver && range2.test(minver)) {
|
|
266018
|
+
return minver;
|
|
266019
|
+
}
|
|
266020
|
+
return null;
|
|
266021
|
+
};
|
|
266022
|
+
module.exports = minVersion;
|
|
266023
|
+
}
|
|
266024
|
+
});
|
|
266025
|
+
|
|
266026
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/valid.js
|
|
266027
|
+
var require_valid3 = __commonJS({
|
|
266028
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/valid.js"(exports2, module) {
|
|
266029
|
+
init_esm_shims();
|
|
266030
|
+
var __import____classes_range = __toESM(require_range());
|
|
266031
|
+
var Range2 = __import____classes_range;
|
|
266032
|
+
var validRange3 = (range2, options) => {
|
|
266033
|
+
try {
|
|
266034
|
+
return new Range2(range2, options).range || "*";
|
|
266035
|
+
} catch (er) {
|
|
266036
|
+
return null;
|
|
266037
|
+
}
|
|
266038
|
+
};
|
|
266039
|
+
module.exports = validRange3;
|
|
266040
|
+
}
|
|
266041
|
+
});
|
|
266042
|
+
|
|
266043
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/outside.js
|
|
266044
|
+
var require_outside = __commonJS({
|
|
266045
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/outside.js"(exports2, module) {
|
|
266046
|
+
init_esm_shims();
|
|
266047
|
+
var __import____classes_semver = __toESM(require_semver2());
|
|
266048
|
+
var __import____classes_comparator = __toESM(require_comparator());
|
|
266049
|
+
var __import____classes_range = __toESM(require_range());
|
|
266050
|
+
var __import____functions_satisfies = __toESM(require_satisfies());
|
|
266051
|
+
var __import____functions_gt = __toESM(require_gt());
|
|
266052
|
+
var __import____functions_lt = __toESM(require_lt());
|
|
266053
|
+
var __import____functions_lte = __toESM(require_lte());
|
|
266054
|
+
var __import____functions_gte = __toESM(require_gte());
|
|
266055
|
+
var SemVer = __import____classes_semver;
|
|
266056
|
+
var Comparator2 = __import____classes_comparator;
|
|
266057
|
+
var { ANY } = Comparator2;
|
|
266058
|
+
var Range2 = __import____classes_range;
|
|
266059
|
+
var satisfies = __import____functions_satisfies;
|
|
266060
|
+
var gt = __import____functions_gt;
|
|
266061
|
+
var lt = __import____functions_lt;
|
|
266062
|
+
var lte2 = __import____functions_lte;
|
|
266063
|
+
var gte2 = __import____functions_gte;
|
|
266064
|
+
var outside = (version6, range2, hilo, options) => {
|
|
266065
|
+
version6 = new SemVer(version6, options);
|
|
266066
|
+
range2 = new Range2(range2, options);
|
|
266067
|
+
let gtfn, ltefn, ltfn, comp, ecomp;
|
|
266068
|
+
switch (hilo) {
|
|
266069
|
+
case ">":
|
|
266070
|
+
gtfn = gt;
|
|
266071
|
+
ltefn = lte2;
|
|
266072
|
+
ltfn = lt;
|
|
266073
|
+
comp = ">";
|
|
266074
|
+
ecomp = ">=";
|
|
266075
|
+
break;
|
|
266076
|
+
case "<":
|
|
266077
|
+
gtfn = lt;
|
|
266078
|
+
ltefn = gte2;
|
|
266079
|
+
ltfn = gt;
|
|
266080
|
+
comp = "<";
|
|
266081
|
+
ecomp = "<=";
|
|
266082
|
+
break;
|
|
266083
|
+
default:
|
|
266084
|
+
throw new TypeError('Must provide a hilo val of "<" or ">"');
|
|
266085
|
+
}
|
|
266086
|
+
if (satisfies(version6, range2, options)) {
|
|
266087
|
+
return false;
|
|
266088
|
+
}
|
|
266089
|
+
for (let i2 = 0; i2 < range2.set.length; ++i2) {
|
|
266090
|
+
const comparators = range2.set[i2];
|
|
266091
|
+
let high = null;
|
|
266092
|
+
let low = null;
|
|
266093
|
+
comparators.forEach((comparator) => {
|
|
266094
|
+
if (comparator.semver === ANY) {
|
|
266095
|
+
comparator = new Comparator2(">=0.0.0");
|
|
266096
|
+
}
|
|
266097
|
+
high = high || comparator;
|
|
266098
|
+
low = low || comparator;
|
|
266099
|
+
if (gtfn(comparator.semver, high.semver, options)) {
|
|
266100
|
+
high = comparator;
|
|
266101
|
+
} else if (ltfn(comparator.semver, low.semver, options)) {
|
|
266102
|
+
low = comparator;
|
|
266103
|
+
}
|
|
266104
|
+
});
|
|
266105
|
+
if (high.operator === comp || high.operator === ecomp) {
|
|
266106
|
+
return false;
|
|
266107
|
+
}
|
|
266108
|
+
if ((!low.operator || low.operator === comp) && ltefn(version6, low.semver)) {
|
|
266109
|
+
return false;
|
|
266110
|
+
} else if (low.operator === ecomp && ltfn(version6, low.semver)) {
|
|
266111
|
+
return false;
|
|
266112
|
+
}
|
|
266113
|
+
}
|
|
266114
|
+
return true;
|
|
266115
|
+
};
|
|
266116
|
+
module.exports = outside;
|
|
266117
|
+
}
|
|
266118
|
+
});
|
|
266119
|
+
|
|
266120
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/gtr.js
|
|
266121
|
+
var require_gtr = __commonJS({
|
|
266122
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/gtr.js"(exports2, module) {
|
|
266123
|
+
init_esm_shims();
|
|
266124
|
+
var __import___outside = __toESM(require_outside());
|
|
266125
|
+
var outside = __import___outside;
|
|
266126
|
+
var gtr = (version6, range2, options) => outside(version6, range2, ">", options);
|
|
266127
|
+
module.exports = gtr;
|
|
266128
|
+
}
|
|
266129
|
+
});
|
|
266130
|
+
|
|
266131
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/ltr.js
|
|
266132
|
+
var require_ltr = __commonJS({
|
|
266133
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/ltr.js"(exports2, module) {
|
|
266134
|
+
init_esm_shims();
|
|
266135
|
+
var __import___outside = __toESM(require_outside());
|
|
266136
|
+
var outside = __import___outside;
|
|
266137
|
+
var ltr = (version6, range2, options) => outside(version6, range2, "<", options);
|
|
266138
|
+
module.exports = ltr;
|
|
266139
|
+
}
|
|
266140
|
+
});
|
|
266141
|
+
|
|
266142
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/intersects.js
|
|
266143
|
+
var require_intersects = __commonJS({
|
|
266144
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/intersects.js"(exports2, module) {
|
|
266145
|
+
init_esm_shims();
|
|
266146
|
+
var __import____classes_range = __toESM(require_range());
|
|
266147
|
+
var Range2 = __import____classes_range;
|
|
266148
|
+
var intersects = (r1, r2, options) => {
|
|
266149
|
+
r1 = new Range2(r1, options);
|
|
266150
|
+
r2 = new Range2(r2, options);
|
|
266151
|
+
return r1.intersects(r2, options);
|
|
266152
|
+
};
|
|
266153
|
+
module.exports = intersects;
|
|
266154
|
+
}
|
|
266155
|
+
});
|
|
266156
|
+
|
|
266157
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/simplify.js
|
|
266158
|
+
var require_simplify = __commonJS({
|
|
266159
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/simplify.js"(exports2, module) {
|
|
266160
|
+
init_esm_shims();
|
|
266161
|
+
var __import____functions_satisfies_js = __toESM(require_satisfies());
|
|
266162
|
+
var __import____functions_compare_js = __toESM(require_compare());
|
|
266163
|
+
var satisfies = __import____functions_satisfies_js;
|
|
266164
|
+
var compare6 = __import____functions_compare_js;
|
|
266165
|
+
module.exports = (versions, range2, options) => {
|
|
266166
|
+
const set5 = [];
|
|
266167
|
+
let first3 = null;
|
|
266168
|
+
let prev = null;
|
|
266169
|
+
const v2 = versions.sort((a4, b) => compare6(a4, b, options));
|
|
266170
|
+
for (const version6 of v2) {
|
|
266171
|
+
const included = satisfies(version6, range2, options);
|
|
266172
|
+
if (included) {
|
|
266173
|
+
prev = version6;
|
|
266174
|
+
if (!first3) {
|
|
266175
|
+
first3 = version6;
|
|
266176
|
+
}
|
|
266177
|
+
} else {
|
|
266178
|
+
if (prev) {
|
|
266179
|
+
set5.push([first3, prev]);
|
|
266180
|
+
}
|
|
266181
|
+
prev = null;
|
|
266182
|
+
first3 = null;
|
|
266183
|
+
}
|
|
266184
|
+
}
|
|
266185
|
+
if (first3) {
|
|
266186
|
+
set5.push([first3, null]);
|
|
266187
|
+
}
|
|
266188
|
+
const ranges = [];
|
|
266189
|
+
for (const [min3, max4] of set5) {
|
|
266190
|
+
if (min3 === max4) {
|
|
266191
|
+
ranges.push(min3);
|
|
266192
|
+
} else if (!max4 && min3 === v2[0]) {
|
|
266193
|
+
ranges.push("*");
|
|
266194
|
+
} else if (!max4) {
|
|
266195
|
+
ranges.push(`>=${min3}`);
|
|
266196
|
+
} else if (min3 === v2[0]) {
|
|
266197
|
+
ranges.push(`<=${max4}`);
|
|
266198
|
+
} else {
|
|
266199
|
+
ranges.push(`${min3} - ${max4}`);
|
|
266200
|
+
}
|
|
266201
|
+
}
|
|
266202
|
+
const simplified = ranges.join(" || ");
|
|
266203
|
+
const original = typeof range2.raw === "string" ? range2.raw : String(range2);
|
|
266204
|
+
return simplified.length < original.length ? simplified : range2;
|
|
266205
|
+
};
|
|
266206
|
+
}
|
|
266207
|
+
});
|
|
266208
|
+
|
|
266209
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/subset.js
|
|
266210
|
+
var require_subset = __commonJS({
|
|
266211
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/subset.js"(exports2, module) {
|
|
266212
|
+
init_esm_shims();
|
|
266213
|
+
var __import____classes_range_js = __toESM(require_range());
|
|
266214
|
+
var __import____classes_comparator_js = __toESM(require_comparator());
|
|
266215
|
+
var __import____functions_satisfies_js = __toESM(require_satisfies());
|
|
266216
|
+
var __import____functions_compare_js = __toESM(require_compare());
|
|
266217
|
+
var Range2 = __import____classes_range_js;
|
|
266218
|
+
var Comparator2 = __import____classes_comparator_js;
|
|
266219
|
+
var { ANY } = Comparator2;
|
|
266220
|
+
var satisfies = __import____functions_satisfies_js;
|
|
266221
|
+
var compare6 = __import____functions_compare_js;
|
|
266222
|
+
var subset = (sub, dom, options = {}) => {
|
|
266223
|
+
if (sub === dom) {
|
|
266224
|
+
return true;
|
|
266225
|
+
}
|
|
266226
|
+
sub = new Range2(sub, options);
|
|
266227
|
+
dom = new Range2(dom, options);
|
|
266228
|
+
let sawNonNull = false;
|
|
266229
|
+
OUTER: for (const simpleSub of sub.set) {
|
|
266230
|
+
for (const simpleDom of dom.set) {
|
|
266231
|
+
const isSub = simpleSubset(simpleSub, simpleDom, options);
|
|
266232
|
+
sawNonNull = sawNonNull || isSub !== null;
|
|
266233
|
+
if (isSub) {
|
|
266234
|
+
continue OUTER;
|
|
266235
|
+
}
|
|
266236
|
+
}
|
|
266237
|
+
if (sawNonNull) {
|
|
266238
|
+
return false;
|
|
266239
|
+
}
|
|
266240
|
+
}
|
|
266241
|
+
return true;
|
|
266242
|
+
};
|
|
266243
|
+
var minimumVersionWithPreRelease = [new Comparator2(">=0.0.0-0")];
|
|
266244
|
+
var minimumVersion = [new Comparator2(">=0.0.0")];
|
|
266245
|
+
var simpleSubset = (sub, dom, options) => {
|
|
266246
|
+
if (sub === dom) {
|
|
266247
|
+
return true;
|
|
266248
|
+
}
|
|
266249
|
+
if (sub.length === 1 && sub[0].semver === ANY) {
|
|
266250
|
+
if (dom.length === 1 && dom[0].semver === ANY) {
|
|
266251
|
+
return true;
|
|
266252
|
+
} else if (options.includePrerelease) {
|
|
266253
|
+
sub = minimumVersionWithPreRelease;
|
|
266254
|
+
} else {
|
|
266255
|
+
sub = minimumVersion;
|
|
266256
|
+
}
|
|
266257
|
+
}
|
|
266258
|
+
if (dom.length === 1 && dom[0].semver === ANY) {
|
|
266259
|
+
if (options.includePrerelease) {
|
|
266260
|
+
return true;
|
|
266261
|
+
} else {
|
|
266262
|
+
dom = minimumVersion;
|
|
266263
|
+
}
|
|
266264
|
+
}
|
|
266265
|
+
const eqSet = /* @__PURE__ */ new Set();
|
|
266266
|
+
let gt, lt;
|
|
266267
|
+
for (const c of sub) {
|
|
266268
|
+
if (c.operator === ">" || c.operator === ">=") {
|
|
266269
|
+
gt = higherGT(gt, c, options);
|
|
266270
|
+
} else if (c.operator === "<" || c.operator === "<=") {
|
|
266271
|
+
lt = lowerLT(lt, c, options);
|
|
266272
|
+
} else {
|
|
266273
|
+
eqSet.add(c.semver);
|
|
266274
|
+
}
|
|
266275
|
+
}
|
|
266276
|
+
if (eqSet.size > 1) {
|
|
266277
|
+
return null;
|
|
266278
|
+
}
|
|
266279
|
+
let gtltComp;
|
|
266280
|
+
if (gt && lt) {
|
|
266281
|
+
gtltComp = compare6(gt.semver, lt.semver, options);
|
|
266282
|
+
if (gtltComp > 0) {
|
|
266283
|
+
return null;
|
|
266284
|
+
} else if (gtltComp === 0 && (gt.operator !== ">=" || lt.operator !== "<=")) {
|
|
266285
|
+
return null;
|
|
266286
|
+
}
|
|
266287
|
+
}
|
|
266288
|
+
for (const eq2 of eqSet) {
|
|
266289
|
+
if (gt && !satisfies(eq2, String(gt), options)) {
|
|
266290
|
+
return null;
|
|
266291
|
+
}
|
|
266292
|
+
if (lt && !satisfies(eq2, String(lt), options)) {
|
|
266293
|
+
return null;
|
|
266294
|
+
}
|
|
266295
|
+
for (const c of dom) {
|
|
266296
|
+
if (!satisfies(eq2, String(c), options)) {
|
|
266297
|
+
return false;
|
|
266298
|
+
}
|
|
266299
|
+
}
|
|
266300
|
+
return true;
|
|
266301
|
+
}
|
|
266302
|
+
let higher, lower;
|
|
266303
|
+
let hasDomLT, hasDomGT;
|
|
266304
|
+
let needDomLTPre = lt && !options.includePrerelease && lt.semver.prerelease.length ? lt.semver : false;
|
|
266305
|
+
let needDomGTPre = gt && !options.includePrerelease && gt.semver.prerelease.length ? gt.semver : false;
|
|
266306
|
+
if (needDomLTPre && needDomLTPre.prerelease.length === 1 && lt.operator === "<" && needDomLTPre.prerelease[0] === 0) {
|
|
266307
|
+
needDomLTPre = false;
|
|
266308
|
+
}
|
|
266309
|
+
for (const c of dom) {
|
|
266310
|
+
hasDomGT = hasDomGT || c.operator === ">" || c.operator === ">=";
|
|
266311
|
+
hasDomLT = hasDomLT || c.operator === "<" || c.operator === "<=";
|
|
266312
|
+
if (gt) {
|
|
266313
|
+
if (needDomGTPre) {
|
|
266314
|
+
if (c.semver.prerelease && c.semver.prerelease.length && c.semver.major === needDomGTPre.major && c.semver.minor === needDomGTPre.minor && c.semver.patch === needDomGTPre.patch) {
|
|
266315
|
+
needDomGTPre = false;
|
|
266316
|
+
}
|
|
266317
|
+
}
|
|
266318
|
+
if (c.operator === ">" || c.operator === ">=") {
|
|
266319
|
+
higher = higherGT(gt, c, options);
|
|
266320
|
+
if (higher === c && higher !== gt) {
|
|
266321
|
+
return false;
|
|
266322
|
+
}
|
|
266323
|
+
} else if (gt.operator === ">=" && !satisfies(gt.semver, String(c), options)) {
|
|
266324
|
+
return false;
|
|
266325
|
+
}
|
|
266326
|
+
}
|
|
266327
|
+
if (lt) {
|
|
266328
|
+
if (needDomLTPre) {
|
|
266329
|
+
if (c.semver.prerelease && c.semver.prerelease.length && c.semver.major === needDomLTPre.major && c.semver.minor === needDomLTPre.minor && c.semver.patch === needDomLTPre.patch) {
|
|
266330
|
+
needDomLTPre = false;
|
|
266331
|
+
}
|
|
266332
|
+
}
|
|
266333
|
+
if (c.operator === "<" || c.operator === "<=") {
|
|
266334
|
+
lower = lowerLT(lt, c, options);
|
|
266335
|
+
if (lower === c && lower !== lt) {
|
|
266336
|
+
return false;
|
|
266337
|
+
}
|
|
266338
|
+
} else if (lt.operator === "<=" && !satisfies(lt.semver, String(c), options)) {
|
|
266339
|
+
return false;
|
|
266340
|
+
}
|
|
266341
|
+
}
|
|
266342
|
+
if (!c.operator && (lt || gt) && gtltComp !== 0) {
|
|
266343
|
+
return false;
|
|
266344
|
+
}
|
|
266345
|
+
}
|
|
266346
|
+
if (gt && hasDomLT && !lt && gtltComp !== 0) {
|
|
266347
|
+
return false;
|
|
266348
|
+
}
|
|
266349
|
+
if (lt && hasDomGT && !gt && gtltComp !== 0) {
|
|
266350
|
+
return false;
|
|
266351
|
+
}
|
|
266352
|
+
if (needDomGTPre || needDomLTPre) {
|
|
266353
|
+
return false;
|
|
266354
|
+
}
|
|
266355
|
+
return true;
|
|
266356
|
+
};
|
|
266357
|
+
var higherGT = (a4, b, options) => {
|
|
266358
|
+
if (!a4) {
|
|
266359
|
+
return b;
|
|
266360
|
+
}
|
|
266361
|
+
const comp = compare6(a4.semver, b.semver, options);
|
|
266362
|
+
return comp > 0 ? a4 : comp < 0 ? b : b.operator === ">" && a4.operator === ">=" ? b : a4;
|
|
266363
|
+
};
|
|
266364
|
+
var lowerLT = (a4, b, options) => {
|
|
266365
|
+
if (!a4) {
|
|
266366
|
+
return b;
|
|
266367
|
+
}
|
|
266368
|
+
const comp = compare6(a4.semver, b.semver, options);
|
|
266369
|
+
return comp < 0 ? a4 : comp > 0 ? b : b.operator === "<" && a4.operator === "<=" ? b : a4;
|
|
266370
|
+
};
|
|
266371
|
+
module.exports = subset;
|
|
266372
|
+
}
|
|
266373
|
+
});
|
|
266374
|
+
|
|
266375
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/index.js
|
|
266376
|
+
var require_semver3 = __commonJS({
|
|
266377
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/index.js"(exports2, module) {
|
|
266378
|
+
init_esm_shims();
|
|
266379
|
+
var __import___internal_re = __toESM(require_re());
|
|
266380
|
+
var __import___internal_constants = __toESM(require_constants5());
|
|
266381
|
+
var __import___classes_semver = __toESM(require_semver2());
|
|
266382
|
+
var __import___internal_identifiers = __toESM(require_identifiers());
|
|
266383
|
+
var __import___functions_parse = __toESM(require_parse5());
|
|
266384
|
+
var __import___functions_valid = __toESM(require_valid2());
|
|
266385
|
+
var __import___functions_clean = __toESM(require_clean2());
|
|
266386
|
+
var __import___functions_inc = __toESM(require_inc());
|
|
266387
|
+
var __import___functions_diff = __toESM(require_diff());
|
|
266388
|
+
var __import___functions_major = __toESM(require_major());
|
|
266389
|
+
var __import___functions_minor = __toESM(require_minor());
|
|
266390
|
+
var __import___functions_patch = __toESM(require_patch());
|
|
266391
|
+
var __import___functions_prerelease = __toESM(require_prerelease());
|
|
266392
|
+
var __import___functions_compare = __toESM(require_compare());
|
|
266393
|
+
var __import___functions_rcompare = __toESM(require_rcompare());
|
|
266394
|
+
var __import___functions_compareLoose = __toESM(require_compare_loose());
|
|
266395
|
+
var __import___functions_compareBuild = __toESM(require_compare_build());
|
|
266396
|
+
var __import___functions_sort = __toESM(require_sort());
|
|
266397
|
+
var __import___functions_rsort = __toESM(require_rsort());
|
|
266398
|
+
var __import___functions_gt = __toESM(require_gt());
|
|
266399
|
+
var __import___functions_lt = __toESM(require_lt());
|
|
266400
|
+
var __import___functions_eq = __toESM(require_eq());
|
|
266401
|
+
var __import___functions_neq = __toESM(require_neq());
|
|
266402
|
+
var __import___functions_gte = __toESM(require_gte());
|
|
266403
|
+
var __import___functions_lte = __toESM(require_lte());
|
|
266404
|
+
var __import___functions_cmp = __toESM(require_cmp());
|
|
266405
|
+
var __import___functions_coerce = __toESM(require_coerce());
|
|
266406
|
+
var __import___classes_comparator = __toESM(require_comparator());
|
|
266407
|
+
var __import___classes_range = __toESM(require_range());
|
|
266408
|
+
var __import___functions_satisfies = __toESM(require_satisfies());
|
|
266409
|
+
var __import___ranges_toComparators = __toESM(require_to_comparators());
|
|
266410
|
+
var __import___ranges_maxSatisfying = __toESM(require_max_satisfying());
|
|
266411
|
+
var __import___ranges_minSatisfying = __toESM(require_min_satisfying());
|
|
266412
|
+
var __import___ranges_minVersion = __toESM(require_min_version());
|
|
266413
|
+
var __import___ranges_valid = __toESM(require_valid3());
|
|
266414
|
+
var __import___ranges_outside = __toESM(require_outside());
|
|
266415
|
+
var __import___ranges_gtr = __toESM(require_gtr());
|
|
266416
|
+
var __import___ranges_ltr = __toESM(require_ltr());
|
|
266417
|
+
var __import___ranges_intersects = __toESM(require_intersects());
|
|
266418
|
+
var __import___ranges_simplify = __toESM(require_simplify());
|
|
266419
|
+
var __import___ranges_subset = __toESM(require_subset());
|
|
266420
|
+
var internalRe = __import___internal_re;
|
|
266421
|
+
var constants = __import___internal_constants;
|
|
266422
|
+
var SemVer = __import___classes_semver;
|
|
266423
|
+
var identifiers = __import___internal_identifiers;
|
|
266424
|
+
var parse9 = __import___functions_parse;
|
|
266425
|
+
var valid = __import___functions_valid;
|
|
266426
|
+
var clean6 = __import___functions_clean;
|
|
266427
|
+
var inc = __import___functions_inc;
|
|
266428
|
+
var diff = __import___functions_diff;
|
|
266429
|
+
var major = __import___functions_major;
|
|
266430
|
+
var minor = __import___functions_minor;
|
|
266431
|
+
var patch2 = __import___functions_patch;
|
|
266432
|
+
var prerelease = __import___functions_prerelease;
|
|
266433
|
+
var compare6 = __import___functions_compare;
|
|
266434
|
+
var rcompare2 = __import___functions_rcompare;
|
|
266435
|
+
var compareLoose = __import___functions_compareLoose;
|
|
266436
|
+
var compareBuild = __import___functions_compareBuild;
|
|
266437
|
+
var sort = __import___functions_sort;
|
|
266438
|
+
var rsort = __import___functions_rsort;
|
|
266439
|
+
var gt = __import___functions_gt;
|
|
266440
|
+
var lt = __import___functions_lt;
|
|
266441
|
+
var eq2 = __import___functions_eq;
|
|
266442
|
+
var neq = __import___functions_neq;
|
|
266443
|
+
var gte2 = __import___functions_gte;
|
|
266444
|
+
var lte2 = __import___functions_lte;
|
|
266445
|
+
var cmp = __import___functions_cmp;
|
|
266446
|
+
var coerce = __import___functions_coerce;
|
|
266447
|
+
var Comparator2 = __import___classes_comparator;
|
|
266448
|
+
var Range2 = __import___classes_range;
|
|
266449
|
+
var satisfies = __import___functions_satisfies;
|
|
266450
|
+
var toComparators = __import___ranges_toComparators;
|
|
266451
|
+
var maxSatisfying = __import___ranges_maxSatisfying;
|
|
266452
|
+
var minSatisfying = __import___ranges_minSatisfying;
|
|
266453
|
+
var minVersion = __import___ranges_minVersion;
|
|
266454
|
+
var validRange3 = __import___ranges_valid;
|
|
266455
|
+
var outside = __import___ranges_outside;
|
|
266456
|
+
var gtr = __import___ranges_gtr;
|
|
266457
|
+
var ltr = __import___ranges_ltr;
|
|
266458
|
+
var intersects = __import___ranges_intersects;
|
|
266459
|
+
var simplifyRange = __import___ranges_simplify;
|
|
266460
|
+
var subset = __import___ranges_subset;
|
|
266461
|
+
module.exports = {
|
|
266462
|
+
parse: parse9,
|
|
266463
|
+
valid,
|
|
266464
|
+
clean: clean6,
|
|
266465
|
+
inc,
|
|
266466
|
+
diff,
|
|
266467
|
+
major,
|
|
266468
|
+
minor,
|
|
266469
|
+
patch: patch2,
|
|
266470
|
+
prerelease,
|
|
266471
|
+
compare: compare6,
|
|
266472
|
+
rcompare: rcompare2,
|
|
266473
|
+
compareLoose,
|
|
266474
|
+
compareBuild,
|
|
266475
|
+
sort,
|
|
266476
|
+
rsort,
|
|
266477
|
+
gt,
|
|
266478
|
+
lt,
|
|
266479
|
+
eq: eq2,
|
|
266480
|
+
neq,
|
|
266481
|
+
gte: gte2,
|
|
266482
|
+
lte: lte2,
|
|
266483
|
+
cmp,
|
|
266484
|
+
coerce,
|
|
266485
|
+
Comparator: Comparator2,
|
|
266486
|
+
Range: Range2,
|
|
266487
|
+
satisfies,
|
|
266488
|
+
toComparators,
|
|
266489
|
+
maxSatisfying,
|
|
266490
|
+
minSatisfying,
|
|
266491
|
+
minVersion,
|
|
266492
|
+
validRange: validRange3,
|
|
266493
|
+
outside,
|
|
266494
|
+
gtr,
|
|
266495
|
+
ltr,
|
|
266496
|
+
intersects,
|
|
266497
|
+
simplifyRange,
|
|
266498
|
+
subset,
|
|
266499
|
+
SemVer,
|
|
266500
|
+
re: internalRe.re,
|
|
266501
|
+
src: internalRe.src,
|
|
266502
|
+
tokens: internalRe.t,
|
|
266503
|
+
SEMVER_SPEC_VERSION: constants.SEMVER_SPEC_VERSION,
|
|
266504
|
+
RELEASE_TYPES: constants.RELEASE_TYPES,
|
|
266505
|
+
compareIdentifiers: identifiers.compareIdentifiers,
|
|
266506
|
+
rcompareIdentifiers: identifiers.rcompareIdentifiers
|
|
266507
|
+
};
|
|
266508
|
+
}
|
|
266509
|
+
});
|
|
266510
|
+
|
|
264518
266511
|
// ../../node_modules/.pnpm/@npmcli+git@5.0.8/node_modules/@npmcli/git/lib/lines-to-revs.js
|
|
264519
266512
|
var require_lines_to_revs = __commonJS({
|
|
264520
266513
|
"../../node_modules/.pnpm/@npmcli+git@5.0.8/node_modules/@npmcli/git/lib/lines-to-revs.js"(exports2, module) {
|
|
264521
266514
|
init_esm_shims();
|
|
264522
|
-
var __import_semver = __toESM(
|
|
266515
|
+
var __import_semver = __toESM(require_semver3());
|
|
264523
266516
|
var semver8 = __import_semver;
|
|
264524
266517
|
module.exports = (lines) => finish(lines.reduce(linesToRevsReducer, {
|
|
264525
266518
|
versions: {},
|
|
@@ -264764,7 +266757,7 @@ var require_npa = __commonJS({
|
|
|
264764
266757
|
"../../node_modules/.pnpm/npm-package-arg@11.0.3/node_modules/npm-package-arg/lib/npa.js"(exports2, module) {
|
|
264765
266758
|
init_esm_shims();
|
|
264766
266759
|
var __import_hostedGitInfo = __toESM(require_lib10());
|
|
264767
|
-
var __import_semver = __toESM(
|
|
266760
|
+
var __import_semver = __toESM(require_semver3());
|
|
264768
266761
|
var __import_validateNpmPackageName = __toESM(require_lib13());
|
|
264769
266762
|
var __import_procLog = __toESM(require_lib8());
|
|
264770
266763
|
module.exports = npa;
|
|
@@ -265114,7 +267107,7 @@ var require_npa = __commonJS({
|
|
|
265114
267107
|
var require_lib14 = __commonJS({
|
|
265115
267108
|
"../../node_modules/.pnpm/npm-install-checks@6.3.0/node_modules/npm-install-checks/lib/index.js"(exports2, module) {
|
|
265116
267109
|
init_esm_shims();
|
|
265117
|
-
var __import_semver = __toESM(
|
|
267110
|
+
var __import_semver = __toESM(require_semver3());
|
|
265118
267111
|
var semver8 = __import_semver;
|
|
265119
267112
|
var checkEngine = (target, npmVer, nodeVer, force = false) => {
|
|
265120
267113
|
const nodev = force ? null : nodeVer;
|
|
@@ -265264,7 +267257,7 @@ var require_lib16 = __commonJS({
|
|
|
265264
267257
|
"../../node_modules/.pnpm/npm-pick-manifest@9.1.0/node_modules/npm-pick-manifest/lib/index.js"(exports2, module) {
|
|
265265
267258
|
init_esm_shims();
|
|
265266
267259
|
var __import_npmPackageArg = __toESM(require_npa());
|
|
265267
|
-
var __import_semver = __toESM(
|
|
267260
|
+
var __import_semver = __toESM(require_semver3());
|
|
265268
267261
|
var __import_npmInstallChecks = __toESM(require_lib14());
|
|
265269
267262
|
var __import_npmNormalizePackageBin = __toESM(require_lib15());
|
|
265270
267263
|
var npa = __import_npmPackageArg;
|
|
@@ -266523,7 +268516,7 @@ var require_scan3 = __commonJS({
|
|
|
266523
268516
|
});
|
|
266524
268517
|
|
|
266525
268518
|
// ../../node_modules/.pnpm/spdx-expression-parse@3.0.1/node_modules/spdx-expression-parse/parse.js
|
|
266526
|
-
var
|
|
268519
|
+
var require_parse6 = __commonJS({
|
|
266527
268520
|
"../../node_modules/.pnpm/spdx-expression-parse@3.0.1/node_modules/spdx-expression-parse/parse.js"(exports2, module) {
|
|
266528
268521
|
"use strict";
|
|
266529
268522
|
init_esm_shims();
|
|
@@ -266642,7 +268635,7 @@ var require_spdx_expression_parse = __commonJS({
|
|
|
266642
268635
|
"../../node_modules/.pnpm/spdx-expression-parse@3.0.1/node_modules/spdx-expression-parse/index.js"(exports2, module) {
|
|
266643
268636
|
init_esm_shims();
|
|
266644
268637
|
var __import___scan = __toESM(require_scan3());
|
|
266645
|
-
var __import___parse = __toESM(
|
|
268638
|
+
var __import___parse = __toESM(require_parse6());
|
|
266646
268639
|
var scan3 = __import___scan;
|
|
266647
268640
|
var parse9 = __import___parse;
|
|
266648
268641
|
module.exports = function(source) {
|
|
@@ -267703,8 +269696,8 @@ import * as __import_node_path8 from "node:path";
|
|
|
267703
269696
|
var require_normalize = __commonJS({
|
|
267704
269697
|
"../../node_modules/.pnpm/@npmcli+package-json@5.2.1/node_modules/@npmcli/package-json/lib/normalize.js"(exports2, module) {
|
|
267705
269698
|
init_esm_shims();
|
|
267706
|
-
var __import_semver_functions_valid = __toESM(
|
|
267707
|
-
var __import_semver_functions_clean = __toESM(
|
|
269699
|
+
var __import_semver_functions_valid = __toESM(require_valid2());
|
|
269700
|
+
var __import_semver_functions_clean = __toESM(require_clean2());
|
|
267708
269701
|
var __import_procLog = __toESM(require_lib8());
|
|
267709
269702
|
var __import_hostedGitInfo = __toESM(require_lib10());
|
|
267710
269703
|
init_esm6();
|
|
@@ -278144,7 +280137,7 @@ var require_unicode = __commonJS({
|
|
|
278144
280137
|
});
|
|
278145
280138
|
|
|
278146
280139
|
// ../../node_modules/.pnpm/jju@1.4.0/node_modules/jju/lib/parse.js
|
|
278147
|
-
var
|
|
280140
|
+
var require_parse7 = __commonJS({
|
|
278148
280141
|
"../../node_modules/.pnpm/jju@1.4.0/node_modules/jju/lib/parse.js"(exports2, module) {
|
|
278149
280142
|
init_esm_shims();
|
|
278150
280143
|
var __import___unicode = __toESM(require_unicode());
|
|
@@ -278944,7 +280937,7 @@ var require_stringify4 = __commonJS({
|
|
|
278944
280937
|
var require_analyze = __commonJS({
|
|
278945
280938
|
"../../node_modules/.pnpm/jju@1.4.0/node_modules/jju/lib/analyze.js"(exports2, module) {
|
|
278946
280939
|
init_esm_shims();
|
|
278947
|
-
var __import___parse = __toESM(
|
|
280940
|
+
var __import___parse = __toESM(require_parse7());
|
|
278948
280941
|
var tokenize = __import___parse.tokenize;
|
|
278949
280942
|
module.exports.analyze = function analyzeJSON(input, options) {
|
|
278950
280943
|
if (options == null) options = {};
|
|
@@ -279024,7 +281017,7 @@ import * as __import_assert2 from "assert";
|
|
|
279024
281017
|
var require_document = __commonJS({
|
|
279025
281018
|
"../../node_modules/.pnpm/jju@1.4.0/node_modules/jju/lib/document.js"(exports2, module) {
|
|
279026
281019
|
init_esm_shims();
|
|
279027
|
-
var __import___parse = __toESM(
|
|
281020
|
+
var __import___parse = __toESM(require_parse7());
|
|
279028
281021
|
var __import___stringify = __toESM(require_stringify4());
|
|
279029
281022
|
var __import___analyze = __toESM(require_analyze());
|
|
279030
281023
|
var assert28 = __import_assert2;
|
|
@@ -279406,7 +281399,7 @@ var require_utils12 = __commonJS({
|
|
|
279406
281399
|
var require_jju = __commonJS({
|
|
279407
281400
|
"../../node_modules/.pnpm/jju@1.4.0/node_modules/jju/index.js"(exports2, module) {
|
|
279408
281401
|
init_esm_shims();
|
|
279409
|
-
var __import___lib_parse = __toESM(
|
|
281402
|
+
var __import___lib_parse = __toESM(require_parse7());
|
|
279410
281403
|
var __import___lib_stringify = __toESM(require_stringify4());
|
|
279411
281404
|
var __import___lib_document = __toESM(require_document());
|
|
279412
281405
|
var __import___lib_analyze = __toESM(require_analyze());
|
|
@@ -282168,7 +284161,7 @@ var require_readShebang = __commonJS({
|
|
|
282168
284161
|
});
|
|
282169
284162
|
|
|
282170
284163
|
// ../../node_modules/.pnpm/cross-spawn@5.1.0/node_modules/cross-spawn/lib/parse.js
|
|
282171
|
-
var
|
|
284164
|
+
var require_parse8 = __commonJS({
|
|
282172
284165
|
"../../node_modules/.pnpm/cross-spawn@5.1.0/node_modules/cross-spawn/lib/parse.js"(exports2, module) {
|
|
282173
284166
|
init_esm_shims();
|
|
282174
284167
|
var __import___util_resolveCommand = __toESM(require_resolveCommand());
|
|
@@ -282318,7 +284311,7 @@ import * as __import_child_process2 from "child_process";
|
|
|
282318
284311
|
var require_cross_spawn = __commonJS({
|
|
282319
284312
|
"../../node_modules/.pnpm/cross-spawn@5.1.0/node_modules/cross-spawn/index.js"(exports2, module) {
|
|
282320
284313
|
init_esm_shims();
|
|
282321
|
-
var __import___lib_parse = __toESM(
|
|
284314
|
+
var __import___lib_parse = __toESM(require_parse8());
|
|
282322
284315
|
var __import___lib_enoent = __toESM(require_enoent());
|
|
282323
284316
|
var cp = __import_child_process2;
|
|
282324
284317
|
var parse9 = __import___lib_parse;
|
|
@@ -340691,16 +342684,16 @@ async function runManypkg(config2, manypkgType = "fix", manypkgArgs) {
|
|
|
340691
342684
|
await runAsync(config2, "pnpm install --no-frozen-lockfile", rootDir);
|
|
340692
342685
|
}
|
|
340693
342686
|
if (hasErrored) {
|
|
340694
|
-
console.log("\
|
|
342687
|
+
console.log("\u2714 Fixed workspace packages!");
|
|
340695
342688
|
} else {
|
|
340696
|
-
console.log("\
|
|
342689
|
+
console.log("\u2714 Workspace packages are valid!");
|
|
340697
342690
|
}
|
|
340698
342691
|
} else if (hasErrored) {
|
|
340699
342692
|
console.info(
|
|
340700
342693
|
"\u26A0\uFE0F The above errors may be fixable if the --manypkg-fix flag is used"
|
|
340701
342694
|
);
|
|
340702
342695
|
} else {
|
|
340703
|
-
console.log("\
|
|
342696
|
+
console.log("\u2714 Workspace packages are valid!");
|
|
340704
342697
|
}
|
|
340705
342698
|
}
|
|
340706
342699
|
|
|
@@ -341103,7 +343096,10 @@ void (async () => {
|
|
|
341103
343096
|
const program2 = await createProgram(config2);
|
|
341104
343097
|
program2.exitOverride();
|
|
341105
343098
|
await program2.parseAsync(process.argv);
|
|
341106
|
-
writeSuccess(
|
|
343099
|
+
writeSuccess(
|
|
343100
|
+
"\u2714 Code linting and formatting completed successfully!",
|
|
343101
|
+
config2
|
|
343102
|
+
);
|
|
341107
343103
|
exitWithSuccess(config2);
|
|
341108
343104
|
} catch (error2) {
|
|
341109
343105
|
writeFatal(
|