@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.cjs
CHANGED
|
@@ -260006,6 +260006,470 @@ var require_update_workspaces = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
|
|
|
260006
260006
|
}
|
|
260007
260007
|
});
|
|
260008
260008
|
|
|
260009
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/debug.js
|
|
260010
|
+
var require_debug2 = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
|
|
260011
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/debug.js"(exports, module) {
|
|
260012
|
+
_chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
|
|
260013
|
+
var debug14 = typeof process === "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...args) => console.error("SEMVER", ...args) : () => {
|
|
260014
|
+
};
|
|
260015
|
+
module.exports = debug14;
|
|
260016
|
+
}
|
|
260017
|
+
});
|
|
260018
|
+
|
|
260019
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/constants.js
|
|
260020
|
+
var require_constants5 = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
|
|
260021
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/constants.js"(exports, module) {
|
|
260022
|
+
_chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
|
|
260023
|
+
var SEMVER_SPEC_VERSION = "2.0.0";
|
|
260024
|
+
var MAX_LENGTH = 256;
|
|
260025
|
+
var MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || /* istanbul ignore next */
|
|
260026
|
+
9007199254740991;
|
|
260027
|
+
var MAX_SAFE_COMPONENT_LENGTH = 16;
|
|
260028
|
+
var MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6;
|
|
260029
|
+
var RELEASE_TYPES = [
|
|
260030
|
+
"major",
|
|
260031
|
+
"premajor",
|
|
260032
|
+
"minor",
|
|
260033
|
+
"preminor",
|
|
260034
|
+
"patch",
|
|
260035
|
+
"prepatch",
|
|
260036
|
+
"prerelease"
|
|
260037
|
+
];
|
|
260038
|
+
module.exports = {
|
|
260039
|
+
MAX_LENGTH,
|
|
260040
|
+
MAX_SAFE_COMPONENT_LENGTH,
|
|
260041
|
+
MAX_SAFE_BUILD_LENGTH,
|
|
260042
|
+
MAX_SAFE_INTEGER,
|
|
260043
|
+
RELEASE_TYPES,
|
|
260044
|
+
SEMVER_SPEC_VERSION,
|
|
260045
|
+
FLAG_INCLUDE_PRERELEASE: 1,
|
|
260046
|
+
FLAG_LOOSE: 2
|
|
260047
|
+
};
|
|
260048
|
+
}
|
|
260049
|
+
});
|
|
260050
|
+
|
|
260051
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/re.js
|
|
260052
|
+
var require_re = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
|
|
260053
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/re.js"(exports, module) {
|
|
260054
|
+
_chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
|
|
260055
|
+
var {
|
|
260056
|
+
MAX_SAFE_COMPONENT_LENGTH,
|
|
260057
|
+
MAX_SAFE_BUILD_LENGTH,
|
|
260058
|
+
MAX_LENGTH
|
|
260059
|
+
} = require_constants5();
|
|
260060
|
+
var debug14 = require_debug2();
|
|
260061
|
+
exports = module.exports = {};
|
|
260062
|
+
var re = exports.re = [];
|
|
260063
|
+
var safeRe = exports.safeRe = [];
|
|
260064
|
+
var src = exports.src = [];
|
|
260065
|
+
var t = exports.t = {};
|
|
260066
|
+
var R2 = 0;
|
|
260067
|
+
var LETTERDASHNUMBER = "[a-zA-Z0-9-]";
|
|
260068
|
+
var safeRegexReplacements = [
|
|
260069
|
+
["\\s", 1],
|
|
260070
|
+
["\\d", MAX_LENGTH],
|
|
260071
|
+
[LETTERDASHNUMBER, MAX_SAFE_BUILD_LENGTH]
|
|
260072
|
+
];
|
|
260073
|
+
var makeSafeRegex = (value) => {
|
|
260074
|
+
for (const [token, max4] of safeRegexReplacements) {
|
|
260075
|
+
value = value.split(`${token}*`).join(`${token}{0,${max4}}`).split(`${token}+`).join(`${token}{1,${max4}}`);
|
|
260076
|
+
}
|
|
260077
|
+
return value;
|
|
260078
|
+
};
|
|
260079
|
+
var createToken = (name2, value, isGlobal) => {
|
|
260080
|
+
const safe = makeSafeRegex(value);
|
|
260081
|
+
const index2 = R2++;
|
|
260082
|
+
debug14(name2, index2, value);
|
|
260083
|
+
t[name2] = index2;
|
|
260084
|
+
src[index2] = value;
|
|
260085
|
+
re[index2] = new RegExp(value, isGlobal ? "g" : void 0);
|
|
260086
|
+
safeRe[index2] = new RegExp(safe, isGlobal ? "g" : void 0);
|
|
260087
|
+
};
|
|
260088
|
+
createToken("NUMERICIDENTIFIER", "0|[1-9]\\d*");
|
|
260089
|
+
createToken("NUMERICIDENTIFIERLOOSE", "\\d+");
|
|
260090
|
+
createToken("NONNUMERICIDENTIFIER", `\\d*[a-zA-Z-]${LETTERDASHNUMBER}*`);
|
|
260091
|
+
createToken("MAINVERSION", `(${src[t.NUMERICIDENTIFIER]})\\.(${src[t.NUMERICIDENTIFIER]})\\.(${src[t.NUMERICIDENTIFIER]})`);
|
|
260092
|
+
createToken("MAINVERSIONLOOSE", `(${src[t.NUMERICIDENTIFIERLOOSE]})\\.(${src[t.NUMERICIDENTIFIERLOOSE]})\\.(${src[t.NUMERICIDENTIFIERLOOSE]})`);
|
|
260093
|
+
createToken("PRERELEASEIDENTIFIER", `(?:${src[t.NUMERICIDENTIFIER]}|${src[t.NONNUMERICIDENTIFIER]})`);
|
|
260094
|
+
createToken("PRERELEASEIDENTIFIERLOOSE", `(?:${src[t.NUMERICIDENTIFIERLOOSE]}|${src[t.NONNUMERICIDENTIFIER]})`);
|
|
260095
|
+
createToken("PRERELEASE", `(?:-(${src[t.PRERELEASEIDENTIFIER]}(?:\\.${src[t.PRERELEASEIDENTIFIER]})*))`);
|
|
260096
|
+
createToken("PRERELEASELOOSE", `(?:-?(${src[t.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${src[t.PRERELEASEIDENTIFIERLOOSE]})*))`);
|
|
260097
|
+
createToken("BUILDIDENTIFIER", `${LETTERDASHNUMBER}+`);
|
|
260098
|
+
createToken("BUILD", `(?:\\+(${src[t.BUILDIDENTIFIER]}(?:\\.${src[t.BUILDIDENTIFIER]})*))`);
|
|
260099
|
+
createToken("FULLPLAIN", `v?${src[t.MAINVERSION]}${src[t.PRERELEASE]}?${src[t.BUILD]}?`);
|
|
260100
|
+
createToken("FULL", `^${src[t.FULLPLAIN]}$`);
|
|
260101
|
+
createToken("LOOSEPLAIN", `[v=\\s]*${src[t.MAINVERSIONLOOSE]}${src[t.PRERELEASELOOSE]}?${src[t.BUILD]}?`);
|
|
260102
|
+
createToken("LOOSE", `^${src[t.LOOSEPLAIN]}$`);
|
|
260103
|
+
createToken("GTLT", "((?:<|>)?=?)");
|
|
260104
|
+
createToken("XRANGEIDENTIFIERLOOSE", `${src[t.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);
|
|
260105
|
+
createToken("XRANGEIDENTIFIER", `${src[t.NUMERICIDENTIFIER]}|x|X|\\*`);
|
|
260106
|
+
createToken("XRANGEPLAIN", `[v=\\s]*(${src[t.XRANGEIDENTIFIER]})(?:\\.(${src[t.XRANGEIDENTIFIER]})(?:\\.(${src[t.XRANGEIDENTIFIER]})(?:${src[t.PRERELEASE]})?${src[t.BUILD]}?)?)?`);
|
|
260107
|
+
createToken("XRANGEPLAINLOOSE", `[v=\\s]*(${src[t.XRANGEIDENTIFIERLOOSE]})(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})(?:${src[t.PRERELEASELOOSE]})?${src[t.BUILD]}?)?)?`);
|
|
260108
|
+
createToken("XRANGE", `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAIN]}$`);
|
|
260109
|
+
createToken("XRANGELOOSE", `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAINLOOSE]}$`);
|
|
260110
|
+
createToken("COERCEPLAIN", `${"(^|[^\\d])(\\d{1,"}${MAX_SAFE_COMPONENT_LENGTH}})(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?`);
|
|
260111
|
+
createToken("COERCE", `${src[t.COERCEPLAIN]}(?:$|[^\\d])`);
|
|
260112
|
+
createToken("COERCEFULL", src[t.COERCEPLAIN] + `(?:${src[t.PRERELEASE]})?(?:${src[t.BUILD]})?(?:$|[^\\d])`);
|
|
260113
|
+
createToken("COERCERTL", src[t.COERCE], true);
|
|
260114
|
+
createToken("COERCERTLFULL", src[t.COERCEFULL], true);
|
|
260115
|
+
createToken("LONETILDE", "(?:~>?)");
|
|
260116
|
+
createToken("TILDETRIM", `(\\s*)${src[t.LONETILDE]}\\s+`, true);
|
|
260117
|
+
exports.tildeTrimReplace = "$1~";
|
|
260118
|
+
createToken("TILDE", `^${src[t.LONETILDE]}${src[t.XRANGEPLAIN]}$`);
|
|
260119
|
+
createToken("TILDELOOSE", `^${src[t.LONETILDE]}${src[t.XRANGEPLAINLOOSE]}$`);
|
|
260120
|
+
createToken("LONECARET", "(?:\\^)");
|
|
260121
|
+
createToken("CARETTRIM", `(\\s*)${src[t.LONECARET]}\\s+`, true);
|
|
260122
|
+
exports.caretTrimReplace = "$1^";
|
|
260123
|
+
createToken("CARET", `^${src[t.LONECARET]}${src[t.XRANGEPLAIN]}$`);
|
|
260124
|
+
createToken("CARETLOOSE", `^${src[t.LONECARET]}${src[t.XRANGEPLAINLOOSE]}$`);
|
|
260125
|
+
createToken("COMPARATORLOOSE", `^${src[t.GTLT]}\\s*(${src[t.LOOSEPLAIN]})$|^$`);
|
|
260126
|
+
createToken("COMPARATOR", `^${src[t.GTLT]}\\s*(${src[t.FULLPLAIN]})$|^$`);
|
|
260127
|
+
createToken("COMPARATORTRIM", `(\\s*)${src[t.GTLT]}\\s*(${src[t.LOOSEPLAIN]}|${src[t.XRANGEPLAIN]})`, true);
|
|
260128
|
+
exports.comparatorTrimReplace = "$1$2$3";
|
|
260129
|
+
createToken("HYPHENRANGE", `^\\s*(${src[t.XRANGEPLAIN]})\\s+-\\s+(${src[t.XRANGEPLAIN]})\\s*$`);
|
|
260130
|
+
createToken("HYPHENRANGELOOSE", `^\\s*(${src[t.XRANGEPLAINLOOSE]})\\s+-\\s+(${src[t.XRANGEPLAINLOOSE]})\\s*$`);
|
|
260131
|
+
createToken("STAR", "(<|>)?=?\\s*\\*");
|
|
260132
|
+
createToken("GTE0", "^\\s*>=\\s*0\\.0\\.0\\s*$");
|
|
260133
|
+
createToken("GTE0PRE", "^\\s*>=\\s*0\\.0\\.0-0\\s*$");
|
|
260134
|
+
}
|
|
260135
|
+
});
|
|
260136
|
+
|
|
260137
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/parse-options.js
|
|
260138
|
+
var require_parse_options = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
|
|
260139
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/parse-options.js"(exports, module) {
|
|
260140
|
+
_chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
|
|
260141
|
+
var looseOption = Object.freeze({ loose: true });
|
|
260142
|
+
var emptyOpts = Object.freeze({});
|
|
260143
|
+
var parseOptions = (options) => {
|
|
260144
|
+
if (!options) {
|
|
260145
|
+
return emptyOpts;
|
|
260146
|
+
}
|
|
260147
|
+
if (typeof options !== "object") {
|
|
260148
|
+
return looseOption;
|
|
260149
|
+
}
|
|
260150
|
+
return options;
|
|
260151
|
+
};
|
|
260152
|
+
module.exports = parseOptions;
|
|
260153
|
+
}
|
|
260154
|
+
});
|
|
260155
|
+
|
|
260156
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/identifiers.js
|
|
260157
|
+
var require_identifiers = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
|
|
260158
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/identifiers.js"(exports, module) {
|
|
260159
|
+
_chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
|
|
260160
|
+
var numeric2 = /^[0-9]+$/;
|
|
260161
|
+
var compareIdentifiers = (a3, b) => {
|
|
260162
|
+
const anum = numeric2.test(a3);
|
|
260163
|
+
const bnum = numeric2.test(b);
|
|
260164
|
+
if (anum && bnum) {
|
|
260165
|
+
a3 = +a3;
|
|
260166
|
+
b = +b;
|
|
260167
|
+
}
|
|
260168
|
+
return a3 === b ? 0 : anum && !bnum ? -1 : bnum && !anum ? 1 : a3 < b ? -1 : 1;
|
|
260169
|
+
};
|
|
260170
|
+
var rcompareIdentifiers = (a3, b) => compareIdentifiers(b, a3);
|
|
260171
|
+
module.exports = {
|
|
260172
|
+
compareIdentifiers,
|
|
260173
|
+
rcompareIdentifiers
|
|
260174
|
+
};
|
|
260175
|
+
}
|
|
260176
|
+
});
|
|
260177
|
+
|
|
260178
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/semver.js
|
|
260179
|
+
var require_semver2 = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
|
|
260180
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/semver.js"(exports, module) {
|
|
260181
|
+
_chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
|
|
260182
|
+
var debug14 = require_debug2();
|
|
260183
|
+
var { MAX_LENGTH, MAX_SAFE_INTEGER } = require_constants5();
|
|
260184
|
+
var { safeRe: re, t } = require_re();
|
|
260185
|
+
var parseOptions = require_parse_options();
|
|
260186
|
+
var { compareIdentifiers } = require_identifiers();
|
|
260187
|
+
var SemVer = class _SemVer {
|
|
260188
|
+
constructor(version5, options) {
|
|
260189
|
+
options = parseOptions(options);
|
|
260190
|
+
if (version5 instanceof _SemVer) {
|
|
260191
|
+
if (version5.loose === !!options.loose && version5.includePrerelease === !!options.includePrerelease) {
|
|
260192
|
+
return version5;
|
|
260193
|
+
} else {
|
|
260194
|
+
version5 = version5.version;
|
|
260195
|
+
}
|
|
260196
|
+
} else if (typeof version5 !== "string") {
|
|
260197
|
+
throw new TypeError(`Invalid version. Must be a string. Got type "${typeof version5}".`);
|
|
260198
|
+
}
|
|
260199
|
+
if (version5.length > MAX_LENGTH) {
|
|
260200
|
+
throw new TypeError(
|
|
260201
|
+
`version is longer than ${MAX_LENGTH} characters`
|
|
260202
|
+
);
|
|
260203
|
+
}
|
|
260204
|
+
debug14("SemVer", version5, options);
|
|
260205
|
+
this.options = options;
|
|
260206
|
+
this.loose = !!options.loose;
|
|
260207
|
+
this.includePrerelease = !!options.includePrerelease;
|
|
260208
|
+
const m = version5.trim().match(options.loose ? re[t.LOOSE] : re[t.FULL]);
|
|
260209
|
+
if (!m) {
|
|
260210
|
+
throw new TypeError(`Invalid Version: ${version5}`);
|
|
260211
|
+
}
|
|
260212
|
+
this.raw = version5;
|
|
260213
|
+
this.major = +m[1];
|
|
260214
|
+
this.minor = +m[2];
|
|
260215
|
+
this.patch = +m[3];
|
|
260216
|
+
if (this.major > MAX_SAFE_INTEGER || this.major < 0) {
|
|
260217
|
+
throw new TypeError("Invalid major version");
|
|
260218
|
+
}
|
|
260219
|
+
if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) {
|
|
260220
|
+
throw new TypeError("Invalid minor version");
|
|
260221
|
+
}
|
|
260222
|
+
if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) {
|
|
260223
|
+
throw new TypeError("Invalid patch version");
|
|
260224
|
+
}
|
|
260225
|
+
if (!m[4]) {
|
|
260226
|
+
this.prerelease = [];
|
|
260227
|
+
} else {
|
|
260228
|
+
this.prerelease = m[4].split(".").map((id) => {
|
|
260229
|
+
if (/^[0-9]+$/.test(id)) {
|
|
260230
|
+
const num = +id;
|
|
260231
|
+
if (num >= 0 && num < MAX_SAFE_INTEGER) {
|
|
260232
|
+
return num;
|
|
260233
|
+
}
|
|
260234
|
+
}
|
|
260235
|
+
return id;
|
|
260236
|
+
});
|
|
260237
|
+
}
|
|
260238
|
+
this.build = m[5] ? m[5].split(".") : [];
|
|
260239
|
+
this.format();
|
|
260240
|
+
}
|
|
260241
|
+
format() {
|
|
260242
|
+
this.version = `${this.major}.${this.minor}.${this.patch}`;
|
|
260243
|
+
if (this.prerelease.length) {
|
|
260244
|
+
this.version += `-${this.prerelease.join(".")}`;
|
|
260245
|
+
}
|
|
260246
|
+
return this.version;
|
|
260247
|
+
}
|
|
260248
|
+
toString() {
|
|
260249
|
+
return this.version;
|
|
260250
|
+
}
|
|
260251
|
+
compare(other) {
|
|
260252
|
+
debug14("SemVer.compare", this.version, this.options, other);
|
|
260253
|
+
if (!(other instanceof _SemVer)) {
|
|
260254
|
+
if (typeof other === "string" && other === this.version) {
|
|
260255
|
+
return 0;
|
|
260256
|
+
}
|
|
260257
|
+
other = new _SemVer(other, this.options);
|
|
260258
|
+
}
|
|
260259
|
+
if (other.version === this.version) {
|
|
260260
|
+
return 0;
|
|
260261
|
+
}
|
|
260262
|
+
return this.compareMain(other) || this.comparePre(other);
|
|
260263
|
+
}
|
|
260264
|
+
compareMain(other) {
|
|
260265
|
+
if (!(other instanceof _SemVer)) {
|
|
260266
|
+
other = new _SemVer(other, this.options);
|
|
260267
|
+
}
|
|
260268
|
+
return compareIdentifiers(this.major, other.major) || compareIdentifiers(this.minor, other.minor) || compareIdentifiers(this.patch, other.patch);
|
|
260269
|
+
}
|
|
260270
|
+
comparePre(other) {
|
|
260271
|
+
if (!(other instanceof _SemVer)) {
|
|
260272
|
+
other = new _SemVer(other, this.options);
|
|
260273
|
+
}
|
|
260274
|
+
if (this.prerelease.length && !other.prerelease.length) {
|
|
260275
|
+
return -1;
|
|
260276
|
+
} else if (!this.prerelease.length && other.prerelease.length) {
|
|
260277
|
+
return 1;
|
|
260278
|
+
} else if (!this.prerelease.length && !other.prerelease.length) {
|
|
260279
|
+
return 0;
|
|
260280
|
+
}
|
|
260281
|
+
let i = 0;
|
|
260282
|
+
do {
|
|
260283
|
+
const a3 = this.prerelease[i];
|
|
260284
|
+
const b = other.prerelease[i];
|
|
260285
|
+
debug14("prerelease compare", i, a3, b);
|
|
260286
|
+
if (a3 === void 0 && b === void 0) {
|
|
260287
|
+
return 0;
|
|
260288
|
+
} else if (b === void 0) {
|
|
260289
|
+
return 1;
|
|
260290
|
+
} else if (a3 === void 0) {
|
|
260291
|
+
return -1;
|
|
260292
|
+
} else if (a3 === b) {
|
|
260293
|
+
continue;
|
|
260294
|
+
} else {
|
|
260295
|
+
return compareIdentifiers(a3, b);
|
|
260296
|
+
}
|
|
260297
|
+
} while (++i);
|
|
260298
|
+
}
|
|
260299
|
+
compareBuild(other) {
|
|
260300
|
+
if (!(other instanceof _SemVer)) {
|
|
260301
|
+
other = new _SemVer(other, this.options);
|
|
260302
|
+
}
|
|
260303
|
+
let i = 0;
|
|
260304
|
+
do {
|
|
260305
|
+
const a3 = this.build[i];
|
|
260306
|
+
const b = other.build[i];
|
|
260307
|
+
debug14("build compare", i, a3, b);
|
|
260308
|
+
if (a3 === void 0 && b === void 0) {
|
|
260309
|
+
return 0;
|
|
260310
|
+
} else if (b === void 0) {
|
|
260311
|
+
return 1;
|
|
260312
|
+
} else if (a3 === void 0) {
|
|
260313
|
+
return -1;
|
|
260314
|
+
} else if (a3 === b) {
|
|
260315
|
+
continue;
|
|
260316
|
+
} else {
|
|
260317
|
+
return compareIdentifiers(a3, b);
|
|
260318
|
+
}
|
|
260319
|
+
} while (++i);
|
|
260320
|
+
}
|
|
260321
|
+
// preminor will bump the version up to the next minor release, and immediately
|
|
260322
|
+
// down to pre-release. premajor and prepatch work the same way.
|
|
260323
|
+
inc(release, identifier, identifierBase) {
|
|
260324
|
+
switch (release) {
|
|
260325
|
+
case "premajor":
|
|
260326
|
+
this.prerelease.length = 0;
|
|
260327
|
+
this.patch = 0;
|
|
260328
|
+
this.minor = 0;
|
|
260329
|
+
this.major++;
|
|
260330
|
+
this.inc("pre", identifier, identifierBase);
|
|
260331
|
+
break;
|
|
260332
|
+
case "preminor":
|
|
260333
|
+
this.prerelease.length = 0;
|
|
260334
|
+
this.patch = 0;
|
|
260335
|
+
this.minor++;
|
|
260336
|
+
this.inc("pre", identifier, identifierBase);
|
|
260337
|
+
break;
|
|
260338
|
+
case "prepatch":
|
|
260339
|
+
this.prerelease.length = 0;
|
|
260340
|
+
this.inc("patch", identifier, identifierBase);
|
|
260341
|
+
this.inc("pre", identifier, identifierBase);
|
|
260342
|
+
break;
|
|
260343
|
+
// If the input is a non-prerelease version, this acts the same as
|
|
260344
|
+
// prepatch.
|
|
260345
|
+
case "prerelease":
|
|
260346
|
+
if (this.prerelease.length === 0) {
|
|
260347
|
+
this.inc("patch", identifier, identifierBase);
|
|
260348
|
+
}
|
|
260349
|
+
this.inc("pre", identifier, identifierBase);
|
|
260350
|
+
break;
|
|
260351
|
+
case "major":
|
|
260352
|
+
if (this.minor !== 0 || this.patch !== 0 || this.prerelease.length === 0) {
|
|
260353
|
+
this.major++;
|
|
260354
|
+
}
|
|
260355
|
+
this.minor = 0;
|
|
260356
|
+
this.patch = 0;
|
|
260357
|
+
this.prerelease = [];
|
|
260358
|
+
break;
|
|
260359
|
+
case "minor":
|
|
260360
|
+
if (this.patch !== 0 || this.prerelease.length === 0) {
|
|
260361
|
+
this.minor++;
|
|
260362
|
+
}
|
|
260363
|
+
this.patch = 0;
|
|
260364
|
+
this.prerelease = [];
|
|
260365
|
+
break;
|
|
260366
|
+
case "patch":
|
|
260367
|
+
if (this.prerelease.length === 0) {
|
|
260368
|
+
this.patch++;
|
|
260369
|
+
}
|
|
260370
|
+
this.prerelease = [];
|
|
260371
|
+
break;
|
|
260372
|
+
// This probably shouldn't be used publicly.
|
|
260373
|
+
// 1.0.0 'pre' would become 1.0.0-0 which is the wrong direction.
|
|
260374
|
+
case "pre": {
|
|
260375
|
+
const base2 = Number(identifierBase) ? 1 : 0;
|
|
260376
|
+
if (!identifier && identifierBase === false) {
|
|
260377
|
+
throw new Error("invalid increment argument: identifier is empty");
|
|
260378
|
+
}
|
|
260379
|
+
if (this.prerelease.length === 0) {
|
|
260380
|
+
this.prerelease = [base2];
|
|
260381
|
+
} else {
|
|
260382
|
+
let i = this.prerelease.length;
|
|
260383
|
+
while (--i >= 0) {
|
|
260384
|
+
if (typeof this.prerelease[i] === "number") {
|
|
260385
|
+
this.prerelease[i]++;
|
|
260386
|
+
i = -2;
|
|
260387
|
+
}
|
|
260388
|
+
}
|
|
260389
|
+
if (i === -1) {
|
|
260390
|
+
if (identifier === this.prerelease.join(".") && identifierBase === false) {
|
|
260391
|
+
throw new Error("invalid increment argument: identifier already exists");
|
|
260392
|
+
}
|
|
260393
|
+
this.prerelease.push(base2);
|
|
260394
|
+
}
|
|
260395
|
+
}
|
|
260396
|
+
if (identifier) {
|
|
260397
|
+
let prerelease = [identifier, base2];
|
|
260398
|
+
if (identifierBase === false) {
|
|
260399
|
+
prerelease = [identifier];
|
|
260400
|
+
}
|
|
260401
|
+
if (compareIdentifiers(this.prerelease[0], identifier) === 0) {
|
|
260402
|
+
if (isNaN(this.prerelease[1])) {
|
|
260403
|
+
this.prerelease = prerelease;
|
|
260404
|
+
}
|
|
260405
|
+
} else {
|
|
260406
|
+
this.prerelease = prerelease;
|
|
260407
|
+
}
|
|
260408
|
+
}
|
|
260409
|
+
break;
|
|
260410
|
+
}
|
|
260411
|
+
default:
|
|
260412
|
+
throw new Error(`invalid increment argument: ${release}`);
|
|
260413
|
+
}
|
|
260414
|
+
this.raw = this.format();
|
|
260415
|
+
if (this.build.length) {
|
|
260416
|
+
this.raw += `+${this.build.join(".")}`;
|
|
260417
|
+
}
|
|
260418
|
+
return this;
|
|
260419
|
+
}
|
|
260420
|
+
};
|
|
260421
|
+
module.exports = SemVer;
|
|
260422
|
+
}
|
|
260423
|
+
});
|
|
260424
|
+
|
|
260425
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/parse.js
|
|
260426
|
+
var require_parse5 = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
|
|
260427
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/parse.js"(exports, module) {
|
|
260428
|
+
_chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
|
|
260429
|
+
var SemVer = require_semver2();
|
|
260430
|
+
var parse8 = (version5, options, throwErrors = false) => {
|
|
260431
|
+
if (version5 instanceof SemVer) {
|
|
260432
|
+
return version5;
|
|
260433
|
+
}
|
|
260434
|
+
try {
|
|
260435
|
+
return new SemVer(version5, options);
|
|
260436
|
+
} catch (er) {
|
|
260437
|
+
if (!throwErrors) {
|
|
260438
|
+
return null;
|
|
260439
|
+
}
|
|
260440
|
+
throw er;
|
|
260441
|
+
}
|
|
260442
|
+
};
|
|
260443
|
+
module.exports = parse8;
|
|
260444
|
+
}
|
|
260445
|
+
});
|
|
260446
|
+
|
|
260447
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/valid.js
|
|
260448
|
+
var require_valid2 = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
|
|
260449
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/valid.js"(exports, module) {
|
|
260450
|
+
_chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
|
|
260451
|
+
var parse8 = require_parse5();
|
|
260452
|
+
var valid = (version5, options) => {
|
|
260453
|
+
const v = parse8(version5, options);
|
|
260454
|
+
return v ? v.version : null;
|
|
260455
|
+
};
|
|
260456
|
+
module.exports = valid;
|
|
260457
|
+
}
|
|
260458
|
+
});
|
|
260459
|
+
|
|
260460
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/clean.js
|
|
260461
|
+
var require_clean2 = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
|
|
260462
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/clean.js"(exports, module) {
|
|
260463
|
+
_chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
|
|
260464
|
+
var parse8 = require_parse5();
|
|
260465
|
+
var clean6 = (version5, options) => {
|
|
260466
|
+
const s = parse8(version5.trim().replace(/^[=v]+/, ""), options);
|
|
260467
|
+
return s ? s.version : null;
|
|
260468
|
+
};
|
|
260469
|
+
module.exports = clean6;
|
|
260470
|
+
}
|
|
260471
|
+
});
|
|
260472
|
+
|
|
260009
260473
|
// ../../node_modules/.pnpm/hosted-git-info@7.0.2/node_modules/hosted-git-info/lib/hosts.js
|
|
260010
260474
|
var require_hosts = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
|
|
260011
260475
|
"../../node_modules/.pnpm/hosted-git-info@7.0.2/node_modules/hosted-git-info/lib/hosts.js"(exports, module) {
|
|
@@ -261443,11 +261907,1422 @@ var require_spawn = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
|
|
|
261443
261907
|
}
|
|
261444
261908
|
});
|
|
261445
261909
|
|
|
261910
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/inc.js
|
|
261911
|
+
var require_inc = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
|
|
261912
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/inc.js"(exports, module) {
|
|
261913
|
+
_chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
|
|
261914
|
+
var SemVer = require_semver2();
|
|
261915
|
+
var inc = (version5, release, options, identifier, identifierBase) => {
|
|
261916
|
+
if (typeof options === "string") {
|
|
261917
|
+
identifierBase = identifier;
|
|
261918
|
+
identifier = options;
|
|
261919
|
+
options = void 0;
|
|
261920
|
+
}
|
|
261921
|
+
try {
|
|
261922
|
+
return new SemVer(
|
|
261923
|
+
version5 instanceof SemVer ? version5.version : version5,
|
|
261924
|
+
options
|
|
261925
|
+
).inc(release, identifier, identifierBase).version;
|
|
261926
|
+
} catch (er) {
|
|
261927
|
+
return null;
|
|
261928
|
+
}
|
|
261929
|
+
};
|
|
261930
|
+
module.exports = inc;
|
|
261931
|
+
}
|
|
261932
|
+
});
|
|
261933
|
+
|
|
261934
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/diff.js
|
|
261935
|
+
var require_diff = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
|
|
261936
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/diff.js"(exports, module) {
|
|
261937
|
+
_chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
|
|
261938
|
+
var parse8 = require_parse5();
|
|
261939
|
+
var diff = (version1, version22) => {
|
|
261940
|
+
const v1 = parse8(version1, null, true);
|
|
261941
|
+
const v2 = parse8(version22, null, true);
|
|
261942
|
+
const comparison = v1.compare(v2);
|
|
261943
|
+
if (comparison === 0) {
|
|
261944
|
+
return null;
|
|
261945
|
+
}
|
|
261946
|
+
const v1Higher = comparison > 0;
|
|
261947
|
+
const highVersion = v1Higher ? v1 : v2;
|
|
261948
|
+
const lowVersion = v1Higher ? v2 : v1;
|
|
261949
|
+
const highHasPre = !!highVersion.prerelease.length;
|
|
261950
|
+
const lowHasPre = !!lowVersion.prerelease.length;
|
|
261951
|
+
if (lowHasPre && !highHasPre) {
|
|
261952
|
+
if (!lowVersion.patch && !lowVersion.minor) {
|
|
261953
|
+
return "major";
|
|
261954
|
+
}
|
|
261955
|
+
if (highVersion.patch) {
|
|
261956
|
+
return "patch";
|
|
261957
|
+
}
|
|
261958
|
+
if (highVersion.minor) {
|
|
261959
|
+
return "minor";
|
|
261960
|
+
}
|
|
261961
|
+
return "major";
|
|
261962
|
+
}
|
|
261963
|
+
const prefix = highHasPre ? "pre" : "";
|
|
261964
|
+
if (v1.major !== v2.major) {
|
|
261965
|
+
return prefix + "major";
|
|
261966
|
+
}
|
|
261967
|
+
if (v1.minor !== v2.minor) {
|
|
261968
|
+
return prefix + "minor";
|
|
261969
|
+
}
|
|
261970
|
+
if (v1.patch !== v2.patch) {
|
|
261971
|
+
return prefix + "patch";
|
|
261972
|
+
}
|
|
261973
|
+
return "prerelease";
|
|
261974
|
+
};
|
|
261975
|
+
module.exports = diff;
|
|
261976
|
+
}
|
|
261977
|
+
});
|
|
261978
|
+
|
|
261979
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/major.js
|
|
261980
|
+
var require_major = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
|
|
261981
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/major.js"(exports, module) {
|
|
261982
|
+
_chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
|
|
261983
|
+
var SemVer = require_semver2();
|
|
261984
|
+
var major = (a3, loose) => new SemVer(a3, loose).major;
|
|
261985
|
+
module.exports = major;
|
|
261986
|
+
}
|
|
261987
|
+
});
|
|
261988
|
+
|
|
261989
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/minor.js
|
|
261990
|
+
var require_minor = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
|
|
261991
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/minor.js"(exports, module) {
|
|
261992
|
+
_chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
|
|
261993
|
+
var SemVer = require_semver2();
|
|
261994
|
+
var minor = (a3, loose) => new SemVer(a3, loose).minor;
|
|
261995
|
+
module.exports = minor;
|
|
261996
|
+
}
|
|
261997
|
+
});
|
|
261998
|
+
|
|
261999
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/patch.js
|
|
262000
|
+
var require_patch = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
|
|
262001
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/patch.js"(exports, module) {
|
|
262002
|
+
_chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
|
|
262003
|
+
var SemVer = require_semver2();
|
|
262004
|
+
var patch2 = (a3, loose) => new SemVer(a3, loose).patch;
|
|
262005
|
+
module.exports = patch2;
|
|
262006
|
+
}
|
|
262007
|
+
});
|
|
262008
|
+
|
|
262009
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/prerelease.js
|
|
262010
|
+
var require_prerelease = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
|
|
262011
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/prerelease.js"(exports, module) {
|
|
262012
|
+
_chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
|
|
262013
|
+
var parse8 = require_parse5();
|
|
262014
|
+
var prerelease = (version5, options) => {
|
|
262015
|
+
const parsed = parse8(version5, options);
|
|
262016
|
+
return parsed && parsed.prerelease.length ? parsed.prerelease : null;
|
|
262017
|
+
};
|
|
262018
|
+
module.exports = prerelease;
|
|
262019
|
+
}
|
|
262020
|
+
});
|
|
262021
|
+
|
|
262022
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/compare.js
|
|
262023
|
+
var require_compare = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
|
|
262024
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/compare.js"(exports, module) {
|
|
262025
|
+
_chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
|
|
262026
|
+
var SemVer = require_semver2();
|
|
262027
|
+
var compare6 = (a3, b, loose) => new SemVer(a3, loose).compare(new SemVer(b, loose));
|
|
262028
|
+
module.exports = compare6;
|
|
262029
|
+
}
|
|
262030
|
+
});
|
|
262031
|
+
|
|
262032
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/rcompare.js
|
|
262033
|
+
var require_rcompare = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
|
|
262034
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/rcompare.js"(exports, module) {
|
|
262035
|
+
_chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
|
|
262036
|
+
var compare6 = require_compare();
|
|
262037
|
+
var rcompare2 = (a3, b, loose) => compare6(b, a3, loose);
|
|
262038
|
+
module.exports = rcompare2;
|
|
262039
|
+
}
|
|
262040
|
+
});
|
|
262041
|
+
|
|
262042
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/compare-loose.js
|
|
262043
|
+
var require_compare_loose = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
|
|
262044
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/compare-loose.js"(exports, module) {
|
|
262045
|
+
_chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
|
|
262046
|
+
var compare6 = require_compare();
|
|
262047
|
+
var compareLoose = (a3, b) => compare6(a3, b, true);
|
|
262048
|
+
module.exports = compareLoose;
|
|
262049
|
+
}
|
|
262050
|
+
});
|
|
262051
|
+
|
|
262052
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/compare-build.js
|
|
262053
|
+
var require_compare_build = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
|
|
262054
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/compare-build.js"(exports, module) {
|
|
262055
|
+
_chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
|
|
262056
|
+
var SemVer = require_semver2();
|
|
262057
|
+
var compareBuild = (a3, b, loose) => {
|
|
262058
|
+
const versionA = new SemVer(a3, loose);
|
|
262059
|
+
const versionB = new SemVer(b, loose);
|
|
262060
|
+
return versionA.compare(versionB) || versionA.compareBuild(versionB);
|
|
262061
|
+
};
|
|
262062
|
+
module.exports = compareBuild;
|
|
262063
|
+
}
|
|
262064
|
+
});
|
|
262065
|
+
|
|
262066
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/sort.js
|
|
262067
|
+
var require_sort = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
|
|
262068
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/sort.js"(exports, module) {
|
|
262069
|
+
_chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
|
|
262070
|
+
var compareBuild = require_compare_build();
|
|
262071
|
+
var sort = (list, loose) => list.sort((a3, b) => compareBuild(a3, b, loose));
|
|
262072
|
+
module.exports = sort;
|
|
262073
|
+
}
|
|
262074
|
+
});
|
|
262075
|
+
|
|
262076
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/rsort.js
|
|
262077
|
+
var require_rsort = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
|
|
262078
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/rsort.js"(exports, module) {
|
|
262079
|
+
_chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
|
|
262080
|
+
var compareBuild = require_compare_build();
|
|
262081
|
+
var rsort = (list, loose) => list.sort((a3, b) => compareBuild(b, a3, loose));
|
|
262082
|
+
module.exports = rsort;
|
|
262083
|
+
}
|
|
262084
|
+
});
|
|
262085
|
+
|
|
262086
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/gt.js
|
|
262087
|
+
var require_gt = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
|
|
262088
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/gt.js"(exports, module) {
|
|
262089
|
+
_chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
|
|
262090
|
+
var compare6 = require_compare();
|
|
262091
|
+
var gt = (a3, b, loose) => compare6(a3, b, loose) > 0;
|
|
262092
|
+
module.exports = gt;
|
|
262093
|
+
}
|
|
262094
|
+
});
|
|
262095
|
+
|
|
262096
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/lt.js
|
|
262097
|
+
var require_lt = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
|
|
262098
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/lt.js"(exports, module) {
|
|
262099
|
+
_chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
|
|
262100
|
+
var compare6 = require_compare();
|
|
262101
|
+
var lt = (a3, b, loose) => compare6(a3, b, loose) < 0;
|
|
262102
|
+
module.exports = lt;
|
|
262103
|
+
}
|
|
262104
|
+
});
|
|
262105
|
+
|
|
262106
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/eq.js
|
|
262107
|
+
var require_eq = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
|
|
262108
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/eq.js"(exports, module) {
|
|
262109
|
+
_chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
|
|
262110
|
+
var compare6 = require_compare();
|
|
262111
|
+
var eq2 = (a3, b, loose) => compare6(a3, b, loose) === 0;
|
|
262112
|
+
module.exports = eq2;
|
|
262113
|
+
}
|
|
262114
|
+
});
|
|
262115
|
+
|
|
262116
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/neq.js
|
|
262117
|
+
var require_neq = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
|
|
262118
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/neq.js"(exports, module) {
|
|
262119
|
+
_chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
|
|
262120
|
+
var compare6 = require_compare();
|
|
262121
|
+
var neq = (a3, b, loose) => compare6(a3, b, loose) !== 0;
|
|
262122
|
+
module.exports = neq;
|
|
262123
|
+
}
|
|
262124
|
+
});
|
|
262125
|
+
|
|
262126
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/gte.js
|
|
262127
|
+
var require_gte = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
|
|
262128
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/gte.js"(exports, module) {
|
|
262129
|
+
_chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
|
|
262130
|
+
var compare6 = require_compare();
|
|
262131
|
+
var gte2 = (a3, b, loose) => compare6(a3, b, loose) >= 0;
|
|
262132
|
+
module.exports = gte2;
|
|
262133
|
+
}
|
|
262134
|
+
});
|
|
262135
|
+
|
|
262136
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/lte.js
|
|
262137
|
+
var require_lte = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
|
|
262138
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/lte.js"(exports, module) {
|
|
262139
|
+
_chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
|
|
262140
|
+
var compare6 = require_compare();
|
|
262141
|
+
var lte2 = (a3, b, loose) => compare6(a3, b, loose) <= 0;
|
|
262142
|
+
module.exports = lte2;
|
|
262143
|
+
}
|
|
262144
|
+
});
|
|
262145
|
+
|
|
262146
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/cmp.js
|
|
262147
|
+
var require_cmp = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
|
|
262148
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/cmp.js"(exports, module) {
|
|
262149
|
+
_chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
|
|
262150
|
+
var eq2 = require_eq();
|
|
262151
|
+
var neq = require_neq();
|
|
262152
|
+
var gt = require_gt();
|
|
262153
|
+
var gte2 = require_gte();
|
|
262154
|
+
var lt = require_lt();
|
|
262155
|
+
var lte2 = require_lte();
|
|
262156
|
+
var cmp = (a3, op, b, loose) => {
|
|
262157
|
+
switch (op) {
|
|
262158
|
+
case "===":
|
|
262159
|
+
if (typeof a3 === "object") {
|
|
262160
|
+
a3 = a3.version;
|
|
262161
|
+
}
|
|
262162
|
+
if (typeof b === "object") {
|
|
262163
|
+
b = b.version;
|
|
262164
|
+
}
|
|
262165
|
+
return a3 === b;
|
|
262166
|
+
case "!==":
|
|
262167
|
+
if (typeof a3 === "object") {
|
|
262168
|
+
a3 = a3.version;
|
|
262169
|
+
}
|
|
262170
|
+
if (typeof b === "object") {
|
|
262171
|
+
b = b.version;
|
|
262172
|
+
}
|
|
262173
|
+
return a3 !== b;
|
|
262174
|
+
case "":
|
|
262175
|
+
case "=":
|
|
262176
|
+
case "==":
|
|
262177
|
+
return eq2(a3, b, loose);
|
|
262178
|
+
case "!=":
|
|
262179
|
+
return neq(a3, b, loose);
|
|
262180
|
+
case ">":
|
|
262181
|
+
return gt(a3, b, loose);
|
|
262182
|
+
case ">=":
|
|
262183
|
+
return gte2(a3, b, loose);
|
|
262184
|
+
case "<":
|
|
262185
|
+
return lt(a3, b, loose);
|
|
262186
|
+
case "<=":
|
|
262187
|
+
return lte2(a3, b, loose);
|
|
262188
|
+
default:
|
|
262189
|
+
throw new TypeError(`Invalid operator: ${op}`);
|
|
262190
|
+
}
|
|
262191
|
+
};
|
|
262192
|
+
module.exports = cmp;
|
|
262193
|
+
}
|
|
262194
|
+
});
|
|
262195
|
+
|
|
262196
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/coerce.js
|
|
262197
|
+
var require_coerce = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
|
|
262198
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/coerce.js"(exports, module) {
|
|
262199
|
+
_chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
|
|
262200
|
+
var SemVer = require_semver2();
|
|
262201
|
+
var parse8 = require_parse5();
|
|
262202
|
+
var { safeRe: re, t } = require_re();
|
|
262203
|
+
var coerce = (version5, options) => {
|
|
262204
|
+
if (version5 instanceof SemVer) {
|
|
262205
|
+
return version5;
|
|
262206
|
+
}
|
|
262207
|
+
if (typeof version5 === "number") {
|
|
262208
|
+
version5 = String(version5);
|
|
262209
|
+
}
|
|
262210
|
+
if (typeof version5 !== "string") {
|
|
262211
|
+
return null;
|
|
262212
|
+
}
|
|
262213
|
+
options = options || {};
|
|
262214
|
+
let match4 = null;
|
|
262215
|
+
if (!options.rtl) {
|
|
262216
|
+
match4 = version5.match(options.includePrerelease ? re[t.COERCEFULL] : re[t.COERCE]);
|
|
262217
|
+
} else {
|
|
262218
|
+
const coerceRtlRegex = options.includePrerelease ? re[t.COERCERTLFULL] : re[t.COERCERTL];
|
|
262219
|
+
let next;
|
|
262220
|
+
while ((next = coerceRtlRegex.exec(version5)) && (!match4 || match4.index + match4[0].length !== version5.length)) {
|
|
262221
|
+
if (!match4 || next.index + next[0].length !== match4.index + match4[0].length) {
|
|
262222
|
+
match4 = next;
|
|
262223
|
+
}
|
|
262224
|
+
coerceRtlRegex.lastIndex = next.index + next[1].length + next[2].length;
|
|
262225
|
+
}
|
|
262226
|
+
coerceRtlRegex.lastIndex = -1;
|
|
262227
|
+
}
|
|
262228
|
+
if (match4 === null) {
|
|
262229
|
+
return null;
|
|
262230
|
+
}
|
|
262231
|
+
const major = match4[2];
|
|
262232
|
+
const minor = match4[3] || "0";
|
|
262233
|
+
const patch2 = match4[4] || "0";
|
|
262234
|
+
const prerelease = options.includePrerelease && match4[5] ? `-${match4[5]}` : "";
|
|
262235
|
+
const build2 = options.includePrerelease && match4[6] ? `+${match4[6]}` : "";
|
|
262236
|
+
return parse8(`${major}.${minor}.${patch2}${prerelease}${build2}`, options);
|
|
262237
|
+
};
|
|
262238
|
+
module.exports = coerce;
|
|
262239
|
+
}
|
|
262240
|
+
});
|
|
262241
|
+
|
|
262242
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/lrucache.js
|
|
262243
|
+
var require_lrucache = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
|
|
262244
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/internal/lrucache.js"(exports, module) {
|
|
262245
|
+
_chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
|
|
262246
|
+
var LRUCache2 = class {
|
|
262247
|
+
constructor() {
|
|
262248
|
+
this.max = 1e3;
|
|
262249
|
+
this.map = /* @__PURE__ */ new Map();
|
|
262250
|
+
}
|
|
262251
|
+
get(key) {
|
|
262252
|
+
const value = this.map.get(key);
|
|
262253
|
+
if (value === void 0) {
|
|
262254
|
+
return void 0;
|
|
262255
|
+
} else {
|
|
262256
|
+
this.map.delete(key);
|
|
262257
|
+
this.map.set(key, value);
|
|
262258
|
+
return value;
|
|
262259
|
+
}
|
|
262260
|
+
}
|
|
262261
|
+
delete(key) {
|
|
262262
|
+
return this.map.delete(key);
|
|
262263
|
+
}
|
|
262264
|
+
set(key, value) {
|
|
262265
|
+
const deleted = this.delete(key);
|
|
262266
|
+
if (!deleted && value !== void 0) {
|
|
262267
|
+
if (this.map.size >= this.max) {
|
|
262268
|
+
const firstKey = this.map.keys().next().value;
|
|
262269
|
+
this.delete(firstKey);
|
|
262270
|
+
}
|
|
262271
|
+
this.map.set(key, value);
|
|
262272
|
+
}
|
|
262273
|
+
return this;
|
|
262274
|
+
}
|
|
262275
|
+
};
|
|
262276
|
+
module.exports = LRUCache2;
|
|
262277
|
+
}
|
|
262278
|
+
});
|
|
262279
|
+
|
|
262280
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/range.js
|
|
262281
|
+
var require_range = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
|
|
262282
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/range.js"(exports, module) {
|
|
262283
|
+
_chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
|
|
262284
|
+
var Range2 = class _Range {
|
|
262285
|
+
constructor(range2, options) {
|
|
262286
|
+
options = parseOptions(options);
|
|
262287
|
+
if (range2 instanceof _Range) {
|
|
262288
|
+
if (range2.loose === !!options.loose && range2.includePrerelease === !!options.includePrerelease) {
|
|
262289
|
+
return range2;
|
|
262290
|
+
} else {
|
|
262291
|
+
return new _Range(range2.raw, options);
|
|
262292
|
+
}
|
|
262293
|
+
}
|
|
262294
|
+
if (range2 instanceof Comparator2) {
|
|
262295
|
+
this.raw = range2.value;
|
|
262296
|
+
this.set = [[range2]];
|
|
262297
|
+
this.format();
|
|
262298
|
+
return this;
|
|
262299
|
+
}
|
|
262300
|
+
this.options = options;
|
|
262301
|
+
this.loose = !!options.loose;
|
|
262302
|
+
this.includePrerelease = !!options.includePrerelease;
|
|
262303
|
+
this.raw = range2.trim().split(/\s+/).join(" ");
|
|
262304
|
+
this.set = this.raw.split("||").map((r) => this.parseRange(r.trim())).filter((c) => c.length);
|
|
262305
|
+
if (!this.set.length) {
|
|
262306
|
+
throw new TypeError(`Invalid SemVer Range: ${this.raw}`);
|
|
262307
|
+
}
|
|
262308
|
+
if (this.set.length > 1) {
|
|
262309
|
+
const first3 = this.set[0];
|
|
262310
|
+
this.set = this.set.filter((c) => !isNullSet(c[0]));
|
|
262311
|
+
if (this.set.length === 0) {
|
|
262312
|
+
this.set = [first3];
|
|
262313
|
+
} else if (this.set.length > 1) {
|
|
262314
|
+
for (const c of this.set) {
|
|
262315
|
+
if (c.length === 1 && isAny(c[0])) {
|
|
262316
|
+
this.set = [c];
|
|
262317
|
+
break;
|
|
262318
|
+
}
|
|
262319
|
+
}
|
|
262320
|
+
}
|
|
262321
|
+
}
|
|
262322
|
+
this.format();
|
|
262323
|
+
}
|
|
262324
|
+
format() {
|
|
262325
|
+
this.range = this.set.map((comps) => comps.join(" ").trim()).join("||").trim();
|
|
262326
|
+
return this.range;
|
|
262327
|
+
}
|
|
262328
|
+
toString() {
|
|
262329
|
+
return this.range;
|
|
262330
|
+
}
|
|
262331
|
+
parseRange(range2) {
|
|
262332
|
+
const memoOpts = (this.options.includePrerelease && FLAG_INCLUDE_PRERELEASE) | (this.options.loose && FLAG_LOOSE);
|
|
262333
|
+
const memoKey = memoOpts + ":" + range2;
|
|
262334
|
+
const cached2 = cache5.get(memoKey);
|
|
262335
|
+
if (cached2) {
|
|
262336
|
+
return cached2;
|
|
262337
|
+
}
|
|
262338
|
+
const loose = this.options.loose;
|
|
262339
|
+
const hr = loose ? re[t.HYPHENRANGELOOSE] : re[t.HYPHENRANGE];
|
|
262340
|
+
range2 = range2.replace(hr, hyphenReplace(this.options.includePrerelease));
|
|
262341
|
+
debug14("hyphen replace", range2);
|
|
262342
|
+
range2 = range2.replace(re[t.COMPARATORTRIM], comparatorTrimReplace);
|
|
262343
|
+
debug14("comparator trim", range2);
|
|
262344
|
+
range2 = range2.replace(re[t.TILDETRIM], tildeTrimReplace);
|
|
262345
|
+
debug14("tilde trim", range2);
|
|
262346
|
+
range2 = range2.replace(re[t.CARETTRIM], caretTrimReplace);
|
|
262347
|
+
debug14("caret trim", range2);
|
|
262348
|
+
let rangeList = range2.split(" ").map((comp) => parseComparator(comp, this.options)).join(" ").split(/\s+/).map((comp) => replaceGTE0(comp, this.options));
|
|
262349
|
+
if (loose) {
|
|
262350
|
+
rangeList = rangeList.filter((comp) => {
|
|
262351
|
+
debug14("loose invalid filter", comp, this.options);
|
|
262352
|
+
return !!comp.match(re[t.COMPARATORLOOSE]);
|
|
262353
|
+
});
|
|
262354
|
+
}
|
|
262355
|
+
debug14("range list", rangeList);
|
|
262356
|
+
const rangeMap = /* @__PURE__ */ new Map();
|
|
262357
|
+
const comparators = rangeList.map((comp) => new Comparator2(comp, this.options));
|
|
262358
|
+
for (const comp of comparators) {
|
|
262359
|
+
if (isNullSet(comp)) {
|
|
262360
|
+
return [comp];
|
|
262361
|
+
}
|
|
262362
|
+
rangeMap.set(comp.value, comp);
|
|
262363
|
+
}
|
|
262364
|
+
if (rangeMap.size > 1 && rangeMap.has("")) {
|
|
262365
|
+
rangeMap.delete("");
|
|
262366
|
+
}
|
|
262367
|
+
const result = [...rangeMap.values()];
|
|
262368
|
+
cache5.set(memoKey, result);
|
|
262369
|
+
return result;
|
|
262370
|
+
}
|
|
262371
|
+
intersects(range2, options) {
|
|
262372
|
+
if (!(range2 instanceof _Range)) {
|
|
262373
|
+
throw new TypeError("a Range is required");
|
|
262374
|
+
}
|
|
262375
|
+
return this.set.some((thisComparators) => {
|
|
262376
|
+
return isSatisfiable(thisComparators, options) && range2.set.some((rangeComparators) => {
|
|
262377
|
+
return isSatisfiable(rangeComparators, options) && thisComparators.every((thisComparator) => {
|
|
262378
|
+
return rangeComparators.every((rangeComparator) => {
|
|
262379
|
+
return thisComparator.intersects(rangeComparator, options);
|
|
262380
|
+
});
|
|
262381
|
+
});
|
|
262382
|
+
});
|
|
262383
|
+
});
|
|
262384
|
+
}
|
|
262385
|
+
// if ANY of the sets match ALL of its comparators, then pass
|
|
262386
|
+
test(version5) {
|
|
262387
|
+
if (!version5) {
|
|
262388
|
+
return false;
|
|
262389
|
+
}
|
|
262390
|
+
if (typeof version5 === "string") {
|
|
262391
|
+
try {
|
|
262392
|
+
version5 = new SemVer(version5, this.options);
|
|
262393
|
+
} catch (er) {
|
|
262394
|
+
return false;
|
|
262395
|
+
}
|
|
262396
|
+
}
|
|
262397
|
+
for (let i = 0; i < this.set.length; i++) {
|
|
262398
|
+
if (testSet(this.set[i], version5, this.options)) {
|
|
262399
|
+
return true;
|
|
262400
|
+
}
|
|
262401
|
+
}
|
|
262402
|
+
return false;
|
|
262403
|
+
}
|
|
262404
|
+
};
|
|
262405
|
+
module.exports = Range2;
|
|
262406
|
+
var LRU = require_lrucache();
|
|
262407
|
+
var cache5 = new LRU();
|
|
262408
|
+
var parseOptions = require_parse_options();
|
|
262409
|
+
var Comparator2 = require_comparator();
|
|
262410
|
+
var debug14 = require_debug2();
|
|
262411
|
+
var SemVer = require_semver2();
|
|
262412
|
+
var {
|
|
262413
|
+
safeRe: re,
|
|
262414
|
+
t,
|
|
262415
|
+
comparatorTrimReplace,
|
|
262416
|
+
tildeTrimReplace,
|
|
262417
|
+
caretTrimReplace
|
|
262418
|
+
} = require_re();
|
|
262419
|
+
var { FLAG_INCLUDE_PRERELEASE, FLAG_LOOSE } = require_constants5();
|
|
262420
|
+
var isNullSet = (c) => c.value === "<0.0.0-0";
|
|
262421
|
+
var isAny = (c) => c.value === "";
|
|
262422
|
+
var isSatisfiable = (comparators, options) => {
|
|
262423
|
+
let result = true;
|
|
262424
|
+
const remainingComparators = comparators.slice();
|
|
262425
|
+
let testComparator = remainingComparators.pop();
|
|
262426
|
+
while (result && remainingComparators.length) {
|
|
262427
|
+
result = remainingComparators.every((otherComparator) => {
|
|
262428
|
+
return testComparator.intersects(otherComparator, options);
|
|
262429
|
+
});
|
|
262430
|
+
testComparator = remainingComparators.pop();
|
|
262431
|
+
}
|
|
262432
|
+
return result;
|
|
262433
|
+
};
|
|
262434
|
+
var parseComparator = (comp, options) => {
|
|
262435
|
+
debug14("comp", comp, options);
|
|
262436
|
+
comp = replaceCarets(comp, options);
|
|
262437
|
+
debug14("caret", comp);
|
|
262438
|
+
comp = replaceTildes(comp, options);
|
|
262439
|
+
debug14("tildes", comp);
|
|
262440
|
+
comp = replaceXRanges(comp, options);
|
|
262441
|
+
debug14("xrange", comp);
|
|
262442
|
+
comp = replaceStars(comp, options);
|
|
262443
|
+
debug14("stars", comp);
|
|
262444
|
+
return comp;
|
|
262445
|
+
};
|
|
262446
|
+
var isX = (id) => !id || id.toLowerCase() === "x" || id === "*";
|
|
262447
|
+
var replaceTildes = (comp, options) => {
|
|
262448
|
+
return comp.trim().split(/\s+/).map((c) => replaceTilde(c, options)).join(" ");
|
|
262449
|
+
};
|
|
262450
|
+
var replaceTilde = (comp, options) => {
|
|
262451
|
+
const r = options.loose ? re[t.TILDELOOSE] : re[t.TILDE];
|
|
262452
|
+
return comp.replace(r, (_, M2, m, p, pr) => {
|
|
262453
|
+
debug14("tilde", comp, _, M2, m, p, pr);
|
|
262454
|
+
let ret;
|
|
262455
|
+
if (isX(M2)) {
|
|
262456
|
+
ret = "";
|
|
262457
|
+
} else if (isX(m)) {
|
|
262458
|
+
ret = `>=${M2}.0.0 <${+M2 + 1}.0.0-0`;
|
|
262459
|
+
} else if (isX(p)) {
|
|
262460
|
+
ret = `>=${M2}.${m}.0 <${M2}.${+m + 1}.0-0`;
|
|
262461
|
+
} else if (pr) {
|
|
262462
|
+
debug14("replaceTilde pr", pr);
|
|
262463
|
+
ret = `>=${M2}.${m}.${p}-${pr} <${M2}.${+m + 1}.0-0`;
|
|
262464
|
+
} else {
|
|
262465
|
+
ret = `>=${M2}.${m}.${p} <${M2}.${+m + 1}.0-0`;
|
|
262466
|
+
}
|
|
262467
|
+
debug14("tilde return", ret);
|
|
262468
|
+
return ret;
|
|
262469
|
+
});
|
|
262470
|
+
};
|
|
262471
|
+
var replaceCarets = (comp, options) => {
|
|
262472
|
+
return comp.trim().split(/\s+/).map((c) => replaceCaret(c, options)).join(" ");
|
|
262473
|
+
};
|
|
262474
|
+
var replaceCaret = (comp, options) => {
|
|
262475
|
+
debug14("caret", comp, options);
|
|
262476
|
+
const r = options.loose ? re[t.CARETLOOSE] : re[t.CARET];
|
|
262477
|
+
const z2 = options.includePrerelease ? "-0" : "";
|
|
262478
|
+
return comp.replace(r, (_, M2, m, p, pr) => {
|
|
262479
|
+
debug14("caret", comp, _, M2, m, p, pr);
|
|
262480
|
+
let ret;
|
|
262481
|
+
if (isX(M2)) {
|
|
262482
|
+
ret = "";
|
|
262483
|
+
} else if (isX(m)) {
|
|
262484
|
+
ret = `>=${M2}.0.0${z2} <${+M2 + 1}.0.0-0`;
|
|
262485
|
+
} else if (isX(p)) {
|
|
262486
|
+
if (M2 === "0") {
|
|
262487
|
+
ret = `>=${M2}.${m}.0${z2} <${M2}.${+m + 1}.0-0`;
|
|
262488
|
+
} else {
|
|
262489
|
+
ret = `>=${M2}.${m}.0${z2} <${+M2 + 1}.0.0-0`;
|
|
262490
|
+
}
|
|
262491
|
+
} else if (pr) {
|
|
262492
|
+
debug14("replaceCaret pr", pr);
|
|
262493
|
+
if (M2 === "0") {
|
|
262494
|
+
if (m === "0") {
|
|
262495
|
+
ret = `>=${M2}.${m}.${p}-${pr} <${M2}.${m}.${+p + 1}-0`;
|
|
262496
|
+
} else {
|
|
262497
|
+
ret = `>=${M2}.${m}.${p}-${pr} <${M2}.${+m + 1}.0-0`;
|
|
262498
|
+
}
|
|
262499
|
+
} else {
|
|
262500
|
+
ret = `>=${M2}.${m}.${p}-${pr} <${+M2 + 1}.0.0-0`;
|
|
262501
|
+
}
|
|
262502
|
+
} else {
|
|
262503
|
+
debug14("no pr");
|
|
262504
|
+
if (M2 === "0") {
|
|
262505
|
+
if (m === "0") {
|
|
262506
|
+
ret = `>=${M2}.${m}.${p}${z2} <${M2}.${m}.${+p + 1}-0`;
|
|
262507
|
+
} else {
|
|
262508
|
+
ret = `>=${M2}.${m}.${p}${z2} <${M2}.${+m + 1}.0-0`;
|
|
262509
|
+
}
|
|
262510
|
+
} else {
|
|
262511
|
+
ret = `>=${M2}.${m}.${p} <${+M2 + 1}.0.0-0`;
|
|
262512
|
+
}
|
|
262513
|
+
}
|
|
262514
|
+
debug14("caret return", ret);
|
|
262515
|
+
return ret;
|
|
262516
|
+
});
|
|
262517
|
+
};
|
|
262518
|
+
var replaceXRanges = (comp, options) => {
|
|
262519
|
+
debug14("replaceXRanges", comp, options);
|
|
262520
|
+
return comp.split(/\s+/).map((c) => replaceXRange(c, options)).join(" ");
|
|
262521
|
+
};
|
|
262522
|
+
var replaceXRange = (comp, options) => {
|
|
262523
|
+
comp = comp.trim();
|
|
262524
|
+
const r = options.loose ? re[t.XRANGELOOSE] : re[t.XRANGE];
|
|
262525
|
+
return comp.replace(r, (ret, gtlt, M2, m, p, pr) => {
|
|
262526
|
+
debug14("xRange", comp, ret, gtlt, M2, m, p, pr);
|
|
262527
|
+
const xM = isX(M2);
|
|
262528
|
+
const xm = xM || isX(m);
|
|
262529
|
+
const xp = xm || isX(p);
|
|
262530
|
+
const anyX = xp;
|
|
262531
|
+
if (gtlt === "=" && anyX) {
|
|
262532
|
+
gtlt = "";
|
|
262533
|
+
}
|
|
262534
|
+
pr = options.includePrerelease ? "-0" : "";
|
|
262535
|
+
if (xM) {
|
|
262536
|
+
if (gtlt === ">" || gtlt === "<") {
|
|
262537
|
+
ret = "<0.0.0-0";
|
|
262538
|
+
} else {
|
|
262539
|
+
ret = "*";
|
|
262540
|
+
}
|
|
262541
|
+
} else if (gtlt && anyX) {
|
|
262542
|
+
if (xm) {
|
|
262543
|
+
m = 0;
|
|
262544
|
+
}
|
|
262545
|
+
p = 0;
|
|
262546
|
+
if (gtlt === ">") {
|
|
262547
|
+
gtlt = ">=";
|
|
262548
|
+
if (xm) {
|
|
262549
|
+
M2 = +M2 + 1;
|
|
262550
|
+
m = 0;
|
|
262551
|
+
p = 0;
|
|
262552
|
+
} else {
|
|
262553
|
+
m = +m + 1;
|
|
262554
|
+
p = 0;
|
|
262555
|
+
}
|
|
262556
|
+
} else if (gtlt === "<=") {
|
|
262557
|
+
gtlt = "<";
|
|
262558
|
+
if (xm) {
|
|
262559
|
+
M2 = +M2 + 1;
|
|
262560
|
+
} else {
|
|
262561
|
+
m = +m + 1;
|
|
262562
|
+
}
|
|
262563
|
+
}
|
|
262564
|
+
if (gtlt === "<") {
|
|
262565
|
+
pr = "-0";
|
|
262566
|
+
}
|
|
262567
|
+
ret = `${gtlt + M2}.${m}.${p}${pr}`;
|
|
262568
|
+
} else if (xm) {
|
|
262569
|
+
ret = `>=${M2}.0.0${pr} <${+M2 + 1}.0.0-0`;
|
|
262570
|
+
} else if (xp) {
|
|
262571
|
+
ret = `>=${M2}.${m}.0${pr} <${M2}.${+m + 1}.0-0`;
|
|
262572
|
+
}
|
|
262573
|
+
debug14("xRange return", ret);
|
|
262574
|
+
return ret;
|
|
262575
|
+
});
|
|
262576
|
+
};
|
|
262577
|
+
var replaceStars = (comp, options) => {
|
|
262578
|
+
debug14("replaceStars", comp, options);
|
|
262579
|
+
return comp.trim().replace(re[t.STAR], "");
|
|
262580
|
+
};
|
|
262581
|
+
var replaceGTE0 = (comp, options) => {
|
|
262582
|
+
debug14("replaceGTE0", comp, options);
|
|
262583
|
+
return comp.trim().replace(re[options.includePrerelease ? t.GTE0PRE : t.GTE0], "");
|
|
262584
|
+
};
|
|
262585
|
+
var hyphenReplace = (incPr) => ($0, from, fM, fm, fp, fpr, fb, to, tM, tm, tp, tpr) => {
|
|
262586
|
+
if (isX(fM)) {
|
|
262587
|
+
from = "";
|
|
262588
|
+
} else if (isX(fm)) {
|
|
262589
|
+
from = `>=${fM}.0.0${incPr ? "-0" : ""}`;
|
|
262590
|
+
} else if (isX(fp)) {
|
|
262591
|
+
from = `>=${fM}.${fm}.0${incPr ? "-0" : ""}`;
|
|
262592
|
+
} else if (fpr) {
|
|
262593
|
+
from = `>=${from}`;
|
|
262594
|
+
} else {
|
|
262595
|
+
from = `>=${from}${incPr ? "-0" : ""}`;
|
|
262596
|
+
}
|
|
262597
|
+
if (isX(tM)) {
|
|
262598
|
+
to = "";
|
|
262599
|
+
} else if (isX(tm)) {
|
|
262600
|
+
to = `<${+tM + 1}.0.0-0`;
|
|
262601
|
+
} else if (isX(tp)) {
|
|
262602
|
+
to = `<${tM}.${+tm + 1}.0-0`;
|
|
262603
|
+
} else if (tpr) {
|
|
262604
|
+
to = `<=${tM}.${tm}.${tp}-${tpr}`;
|
|
262605
|
+
} else if (incPr) {
|
|
262606
|
+
to = `<${tM}.${tm}.${+tp + 1}-0`;
|
|
262607
|
+
} else {
|
|
262608
|
+
to = `<=${to}`;
|
|
262609
|
+
}
|
|
262610
|
+
return `${from} ${to}`.trim();
|
|
262611
|
+
};
|
|
262612
|
+
var testSet = (set4, version5, options) => {
|
|
262613
|
+
for (let i = 0; i < set4.length; i++) {
|
|
262614
|
+
if (!set4[i].test(version5)) {
|
|
262615
|
+
return false;
|
|
262616
|
+
}
|
|
262617
|
+
}
|
|
262618
|
+
if (version5.prerelease.length && !options.includePrerelease) {
|
|
262619
|
+
for (let i = 0; i < set4.length; i++) {
|
|
262620
|
+
debug14(set4[i].semver);
|
|
262621
|
+
if (set4[i].semver === Comparator2.ANY) {
|
|
262622
|
+
continue;
|
|
262623
|
+
}
|
|
262624
|
+
if (set4[i].semver.prerelease.length > 0) {
|
|
262625
|
+
const allowed = set4[i].semver;
|
|
262626
|
+
if (allowed.major === version5.major && allowed.minor === version5.minor && allowed.patch === version5.patch) {
|
|
262627
|
+
return true;
|
|
262628
|
+
}
|
|
262629
|
+
}
|
|
262630
|
+
}
|
|
262631
|
+
return false;
|
|
262632
|
+
}
|
|
262633
|
+
return true;
|
|
262634
|
+
};
|
|
262635
|
+
}
|
|
262636
|
+
});
|
|
262637
|
+
|
|
262638
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/comparator.js
|
|
262639
|
+
var require_comparator = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
|
|
262640
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/classes/comparator.js"(exports, module) {
|
|
262641
|
+
_chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
|
|
262642
|
+
var ANY = Symbol("SemVer ANY");
|
|
262643
|
+
var Comparator2 = class _Comparator {
|
|
262644
|
+
static get ANY() {
|
|
262645
|
+
return ANY;
|
|
262646
|
+
}
|
|
262647
|
+
constructor(comp, options) {
|
|
262648
|
+
options = parseOptions(options);
|
|
262649
|
+
if (comp instanceof _Comparator) {
|
|
262650
|
+
if (comp.loose === !!options.loose) {
|
|
262651
|
+
return comp;
|
|
262652
|
+
} else {
|
|
262653
|
+
comp = comp.value;
|
|
262654
|
+
}
|
|
262655
|
+
}
|
|
262656
|
+
comp = comp.trim().split(/\s+/).join(" ");
|
|
262657
|
+
debug14("comparator", comp, options);
|
|
262658
|
+
this.options = options;
|
|
262659
|
+
this.loose = !!options.loose;
|
|
262660
|
+
this.parse(comp);
|
|
262661
|
+
if (this.semver === ANY) {
|
|
262662
|
+
this.value = "";
|
|
262663
|
+
} else {
|
|
262664
|
+
this.value = this.operator + this.semver.version;
|
|
262665
|
+
}
|
|
262666
|
+
debug14("comp", this);
|
|
262667
|
+
}
|
|
262668
|
+
parse(comp) {
|
|
262669
|
+
const r = this.options.loose ? re[t.COMPARATORLOOSE] : re[t.COMPARATOR];
|
|
262670
|
+
const m = comp.match(r);
|
|
262671
|
+
if (!m) {
|
|
262672
|
+
throw new TypeError(`Invalid comparator: ${comp}`);
|
|
262673
|
+
}
|
|
262674
|
+
this.operator = m[1] !== void 0 ? m[1] : "";
|
|
262675
|
+
if (this.operator === "=") {
|
|
262676
|
+
this.operator = "";
|
|
262677
|
+
}
|
|
262678
|
+
if (!m[2]) {
|
|
262679
|
+
this.semver = ANY;
|
|
262680
|
+
} else {
|
|
262681
|
+
this.semver = new SemVer(m[2], this.options.loose);
|
|
262682
|
+
}
|
|
262683
|
+
}
|
|
262684
|
+
toString() {
|
|
262685
|
+
return this.value;
|
|
262686
|
+
}
|
|
262687
|
+
test(version5) {
|
|
262688
|
+
debug14("Comparator.test", version5, this.options.loose);
|
|
262689
|
+
if (this.semver === ANY || version5 === ANY) {
|
|
262690
|
+
return true;
|
|
262691
|
+
}
|
|
262692
|
+
if (typeof version5 === "string") {
|
|
262693
|
+
try {
|
|
262694
|
+
version5 = new SemVer(version5, this.options);
|
|
262695
|
+
} catch (er) {
|
|
262696
|
+
return false;
|
|
262697
|
+
}
|
|
262698
|
+
}
|
|
262699
|
+
return cmp(version5, this.operator, this.semver, this.options);
|
|
262700
|
+
}
|
|
262701
|
+
intersects(comp, options) {
|
|
262702
|
+
if (!(comp instanceof _Comparator)) {
|
|
262703
|
+
throw new TypeError("a Comparator is required");
|
|
262704
|
+
}
|
|
262705
|
+
if (this.operator === "") {
|
|
262706
|
+
if (this.value === "") {
|
|
262707
|
+
return true;
|
|
262708
|
+
}
|
|
262709
|
+
return new Range2(comp.value, options).test(this.value);
|
|
262710
|
+
} else if (comp.operator === "") {
|
|
262711
|
+
if (comp.value === "") {
|
|
262712
|
+
return true;
|
|
262713
|
+
}
|
|
262714
|
+
return new Range2(this.value, options).test(comp.semver);
|
|
262715
|
+
}
|
|
262716
|
+
options = parseOptions(options);
|
|
262717
|
+
if (options.includePrerelease && (this.value === "<0.0.0-0" || comp.value === "<0.0.0-0")) {
|
|
262718
|
+
return false;
|
|
262719
|
+
}
|
|
262720
|
+
if (!options.includePrerelease && (this.value.startsWith("<0.0.0") || comp.value.startsWith("<0.0.0"))) {
|
|
262721
|
+
return false;
|
|
262722
|
+
}
|
|
262723
|
+
if (this.operator.startsWith(">") && comp.operator.startsWith(">")) {
|
|
262724
|
+
return true;
|
|
262725
|
+
}
|
|
262726
|
+
if (this.operator.startsWith("<") && comp.operator.startsWith("<")) {
|
|
262727
|
+
return true;
|
|
262728
|
+
}
|
|
262729
|
+
if (this.semver.version === comp.semver.version && this.operator.includes("=") && comp.operator.includes("=")) {
|
|
262730
|
+
return true;
|
|
262731
|
+
}
|
|
262732
|
+
if (cmp(this.semver, "<", comp.semver, options) && this.operator.startsWith(">") && comp.operator.startsWith("<")) {
|
|
262733
|
+
return true;
|
|
262734
|
+
}
|
|
262735
|
+
if (cmp(this.semver, ">", comp.semver, options) && this.operator.startsWith("<") && comp.operator.startsWith(">")) {
|
|
262736
|
+
return true;
|
|
262737
|
+
}
|
|
262738
|
+
return false;
|
|
262739
|
+
}
|
|
262740
|
+
};
|
|
262741
|
+
module.exports = Comparator2;
|
|
262742
|
+
var parseOptions = require_parse_options();
|
|
262743
|
+
var { safeRe: re, t } = require_re();
|
|
262744
|
+
var cmp = require_cmp();
|
|
262745
|
+
var debug14 = require_debug2();
|
|
262746
|
+
var SemVer = require_semver2();
|
|
262747
|
+
var Range2 = require_range();
|
|
262748
|
+
}
|
|
262749
|
+
});
|
|
262750
|
+
|
|
262751
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/satisfies.js
|
|
262752
|
+
var require_satisfies = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
|
|
262753
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/functions/satisfies.js"(exports, module) {
|
|
262754
|
+
_chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
|
|
262755
|
+
var Range2 = require_range();
|
|
262756
|
+
var satisfies = (version5, range2, options) => {
|
|
262757
|
+
try {
|
|
262758
|
+
range2 = new Range2(range2, options);
|
|
262759
|
+
} catch (er) {
|
|
262760
|
+
return false;
|
|
262761
|
+
}
|
|
262762
|
+
return range2.test(version5);
|
|
262763
|
+
};
|
|
262764
|
+
module.exports = satisfies;
|
|
262765
|
+
}
|
|
262766
|
+
});
|
|
262767
|
+
|
|
262768
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/to-comparators.js
|
|
262769
|
+
var require_to_comparators = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
|
|
262770
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/to-comparators.js"(exports, module) {
|
|
262771
|
+
_chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
|
|
262772
|
+
var Range2 = require_range();
|
|
262773
|
+
var toComparators = (range2, options) => new Range2(range2, options).set.map((comp) => comp.map((c) => c.value).join(" ").trim().split(" "));
|
|
262774
|
+
module.exports = toComparators;
|
|
262775
|
+
}
|
|
262776
|
+
});
|
|
262777
|
+
|
|
262778
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/max-satisfying.js
|
|
262779
|
+
var require_max_satisfying = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
|
|
262780
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/max-satisfying.js"(exports, module) {
|
|
262781
|
+
_chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
|
|
262782
|
+
var SemVer = require_semver2();
|
|
262783
|
+
var Range2 = require_range();
|
|
262784
|
+
var maxSatisfying = (versions, range2, options) => {
|
|
262785
|
+
let max4 = null;
|
|
262786
|
+
let maxSV = null;
|
|
262787
|
+
let rangeObj = null;
|
|
262788
|
+
try {
|
|
262789
|
+
rangeObj = new Range2(range2, options);
|
|
262790
|
+
} catch (er) {
|
|
262791
|
+
return null;
|
|
262792
|
+
}
|
|
262793
|
+
versions.forEach((v) => {
|
|
262794
|
+
if (rangeObj.test(v)) {
|
|
262795
|
+
if (!max4 || maxSV.compare(v) === -1) {
|
|
262796
|
+
max4 = v;
|
|
262797
|
+
maxSV = new SemVer(max4, options);
|
|
262798
|
+
}
|
|
262799
|
+
}
|
|
262800
|
+
});
|
|
262801
|
+
return max4;
|
|
262802
|
+
};
|
|
262803
|
+
module.exports = maxSatisfying;
|
|
262804
|
+
}
|
|
262805
|
+
});
|
|
262806
|
+
|
|
262807
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/min-satisfying.js
|
|
262808
|
+
var require_min_satisfying = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
|
|
262809
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/min-satisfying.js"(exports, module) {
|
|
262810
|
+
_chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
|
|
262811
|
+
var SemVer = require_semver2();
|
|
262812
|
+
var Range2 = require_range();
|
|
262813
|
+
var minSatisfying = (versions, range2, options) => {
|
|
262814
|
+
let min3 = null;
|
|
262815
|
+
let minSV = null;
|
|
262816
|
+
let rangeObj = null;
|
|
262817
|
+
try {
|
|
262818
|
+
rangeObj = new Range2(range2, options);
|
|
262819
|
+
} catch (er) {
|
|
262820
|
+
return null;
|
|
262821
|
+
}
|
|
262822
|
+
versions.forEach((v) => {
|
|
262823
|
+
if (rangeObj.test(v)) {
|
|
262824
|
+
if (!min3 || minSV.compare(v) === 1) {
|
|
262825
|
+
min3 = v;
|
|
262826
|
+
minSV = new SemVer(min3, options);
|
|
262827
|
+
}
|
|
262828
|
+
}
|
|
262829
|
+
});
|
|
262830
|
+
return min3;
|
|
262831
|
+
};
|
|
262832
|
+
module.exports = minSatisfying;
|
|
262833
|
+
}
|
|
262834
|
+
});
|
|
262835
|
+
|
|
262836
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/min-version.js
|
|
262837
|
+
var require_min_version = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
|
|
262838
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/min-version.js"(exports, module) {
|
|
262839
|
+
_chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
|
|
262840
|
+
var SemVer = require_semver2();
|
|
262841
|
+
var Range2 = require_range();
|
|
262842
|
+
var gt = require_gt();
|
|
262843
|
+
var minVersion = (range2, loose) => {
|
|
262844
|
+
range2 = new Range2(range2, loose);
|
|
262845
|
+
let minver = new SemVer("0.0.0");
|
|
262846
|
+
if (range2.test(minver)) {
|
|
262847
|
+
return minver;
|
|
262848
|
+
}
|
|
262849
|
+
minver = new SemVer("0.0.0-0");
|
|
262850
|
+
if (range2.test(minver)) {
|
|
262851
|
+
return minver;
|
|
262852
|
+
}
|
|
262853
|
+
minver = null;
|
|
262854
|
+
for (let i = 0; i < range2.set.length; ++i) {
|
|
262855
|
+
const comparators = range2.set[i];
|
|
262856
|
+
let setMin = null;
|
|
262857
|
+
comparators.forEach((comparator) => {
|
|
262858
|
+
const compver = new SemVer(comparator.semver.version);
|
|
262859
|
+
switch (comparator.operator) {
|
|
262860
|
+
case ">":
|
|
262861
|
+
if (compver.prerelease.length === 0) {
|
|
262862
|
+
compver.patch++;
|
|
262863
|
+
} else {
|
|
262864
|
+
compver.prerelease.push(0);
|
|
262865
|
+
}
|
|
262866
|
+
compver.raw = compver.format();
|
|
262867
|
+
/* fallthrough */
|
|
262868
|
+
case "":
|
|
262869
|
+
case ">=":
|
|
262870
|
+
if (!setMin || gt(compver, setMin)) {
|
|
262871
|
+
setMin = compver;
|
|
262872
|
+
}
|
|
262873
|
+
break;
|
|
262874
|
+
case "<":
|
|
262875
|
+
case "<=":
|
|
262876
|
+
break;
|
|
262877
|
+
/* istanbul ignore next */
|
|
262878
|
+
default:
|
|
262879
|
+
throw new Error(`Unexpected operation: ${comparator.operator}`);
|
|
262880
|
+
}
|
|
262881
|
+
});
|
|
262882
|
+
if (setMin && (!minver || gt(minver, setMin))) {
|
|
262883
|
+
minver = setMin;
|
|
262884
|
+
}
|
|
262885
|
+
}
|
|
262886
|
+
if (minver && range2.test(minver)) {
|
|
262887
|
+
return minver;
|
|
262888
|
+
}
|
|
262889
|
+
return null;
|
|
262890
|
+
};
|
|
262891
|
+
module.exports = minVersion;
|
|
262892
|
+
}
|
|
262893
|
+
});
|
|
262894
|
+
|
|
262895
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/valid.js
|
|
262896
|
+
var require_valid3 = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
|
|
262897
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/valid.js"(exports, module) {
|
|
262898
|
+
_chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
|
|
262899
|
+
var Range2 = require_range();
|
|
262900
|
+
var validRange3 = (range2, options) => {
|
|
262901
|
+
try {
|
|
262902
|
+
return new Range2(range2, options).range || "*";
|
|
262903
|
+
} catch (er) {
|
|
262904
|
+
return null;
|
|
262905
|
+
}
|
|
262906
|
+
};
|
|
262907
|
+
module.exports = validRange3;
|
|
262908
|
+
}
|
|
262909
|
+
});
|
|
262910
|
+
|
|
262911
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/outside.js
|
|
262912
|
+
var require_outside = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
|
|
262913
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/outside.js"(exports, module) {
|
|
262914
|
+
_chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
|
|
262915
|
+
var SemVer = require_semver2();
|
|
262916
|
+
var Comparator2 = require_comparator();
|
|
262917
|
+
var { ANY } = Comparator2;
|
|
262918
|
+
var Range2 = require_range();
|
|
262919
|
+
var satisfies = require_satisfies();
|
|
262920
|
+
var gt = require_gt();
|
|
262921
|
+
var lt = require_lt();
|
|
262922
|
+
var lte2 = require_lte();
|
|
262923
|
+
var gte2 = require_gte();
|
|
262924
|
+
var outside = (version5, range2, hilo, options) => {
|
|
262925
|
+
version5 = new SemVer(version5, options);
|
|
262926
|
+
range2 = new Range2(range2, options);
|
|
262927
|
+
let gtfn, ltefn, ltfn, comp, ecomp;
|
|
262928
|
+
switch (hilo) {
|
|
262929
|
+
case ">":
|
|
262930
|
+
gtfn = gt;
|
|
262931
|
+
ltefn = lte2;
|
|
262932
|
+
ltfn = lt;
|
|
262933
|
+
comp = ">";
|
|
262934
|
+
ecomp = ">=";
|
|
262935
|
+
break;
|
|
262936
|
+
case "<":
|
|
262937
|
+
gtfn = lt;
|
|
262938
|
+
ltefn = gte2;
|
|
262939
|
+
ltfn = gt;
|
|
262940
|
+
comp = "<";
|
|
262941
|
+
ecomp = "<=";
|
|
262942
|
+
break;
|
|
262943
|
+
default:
|
|
262944
|
+
throw new TypeError('Must provide a hilo val of "<" or ">"');
|
|
262945
|
+
}
|
|
262946
|
+
if (satisfies(version5, range2, options)) {
|
|
262947
|
+
return false;
|
|
262948
|
+
}
|
|
262949
|
+
for (let i = 0; i < range2.set.length; ++i) {
|
|
262950
|
+
const comparators = range2.set[i];
|
|
262951
|
+
let high = null;
|
|
262952
|
+
let low = null;
|
|
262953
|
+
comparators.forEach((comparator) => {
|
|
262954
|
+
if (comparator.semver === ANY) {
|
|
262955
|
+
comparator = new Comparator2(">=0.0.0");
|
|
262956
|
+
}
|
|
262957
|
+
high = high || comparator;
|
|
262958
|
+
low = low || comparator;
|
|
262959
|
+
if (gtfn(comparator.semver, high.semver, options)) {
|
|
262960
|
+
high = comparator;
|
|
262961
|
+
} else if (ltfn(comparator.semver, low.semver, options)) {
|
|
262962
|
+
low = comparator;
|
|
262963
|
+
}
|
|
262964
|
+
});
|
|
262965
|
+
if (high.operator === comp || high.operator === ecomp) {
|
|
262966
|
+
return false;
|
|
262967
|
+
}
|
|
262968
|
+
if ((!low.operator || low.operator === comp) && ltefn(version5, low.semver)) {
|
|
262969
|
+
return false;
|
|
262970
|
+
} else if (low.operator === ecomp && ltfn(version5, low.semver)) {
|
|
262971
|
+
return false;
|
|
262972
|
+
}
|
|
262973
|
+
}
|
|
262974
|
+
return true;
|
|
262975
|
+
};
|
|
262976
|
+
module.exports = outside;
|
|
262977
|
+
}
|
|
262978
|
+
});
|
|
262979
|
+
|
|
262980
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/gtr.js
|
|
262981
|
+
var require_gtr = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
|
|
262982
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/gtr.js"(exports, module) {
|
|
262983
|
+
_chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
|
|
262984
|
+
var outside = require_outside();
|
|
262985
|
+
var gtr = (version5, range2, options) => outside(version5, range2, ">", options);
|
|
262986
|
+
module.exports = gtr;
|
|
262987
|
+
}
|
|
262988
|
+
});
|
|
262989
|
+
|
|
262990
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/ltr.js
|
|
262991
|
+
var require_ltr = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
|
|
262992
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/ltr.js"(exports, module) {
|
|
262993
|
+
_chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
|
|
262994
|
+
var outside = require_outside();
|
|
262995
|
+
var ltr = (version5, range2, options) => outside(version5, range2, "<", options);
|
|
262996
|
+
module.exports = ltr;
|
|
262997
|
+
}
|
|
262998
|
+
});
|
|
262999
|
+
|
|
263000
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/intersects.js
|
|
263001
|
+
var require_intersects = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
|
|
263002
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/intersects.js"(exports, module) {
|
|
263003
|
+
_chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
|
|
263004
|
+
var Range2 = require_range();
|
|
263005
|
+
var intersects = (r1, r2, options) => {
|
|
263006
|
+
r1 = new Range2(r1, options);
|
|
263007
|
+
r2 = new Range2(r2, options);
|
|
263008
|
+
return r1.intersects(r2, options);
|
|
263009
|
+
};
|
|
263010
|
+
module.exports = intersects;
|
|
263011
|
+
}
|
|
263012
|
+
});
|
|
263013
|
+
|
|
263014
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/simplify.js
|
|
263015
|
+
var require_simplify = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
|
|
263016
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/simplify.js"(exports, module) {
|
|
263017
|
+
_chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
|
|
263018
|
+
var satisfies = require_satisfies();
|
|
263019
|
+
var compare6 = require_compare();
|
|
263020
|
+
module.exports = (versions, range2, options) => {
|
|
263021
|
+
const set4 = [];
|
|
263022
|
+
let first3 = null;
|
|
263023
|
+
let prev = null;
|
|
263024
|
+
const v = versions.sort((a3, b) => compare6(a3, b, options));
|
|
263025
|
+
for (const version5 of v) {
|
|
263026
|
+
const included = satisfies(version5, range2, options);
|
|
263027
|
+
if (included) {
|
|
263028
|
+
prev = version5;
|
|
263029
|
+
if (!first3) {
|
|
263030
|
+
first3 = version5;
|
|
263031
|
+
}
|
|
263032
|
+
} else {
|
|
263033
|
+
if (prev) {
|
|
263034
|
+
set4.push([first3, prev]);
|
|
263035
|
+
}
|
|
263036
|
+
prev = null;
|
|
263037
|
+
first3 = null;
|
|
263038
|
+
}
|
|
263039
|
+
}
|
|
263040
|
+
if (first3) {
|
|
263041
|
+
set4.push([first3, null]);
|
|
263042
|
+
}
|
|
263043
|
+
const ranges = [];
|
|
263044
|
+
for (const [min3, max4] of set4) {
|
|
263045
|
+
if (min3 === max4) {
|
|
263046
|
+
ranges.push(min3);
|
|
263047
|
+
} else if (!max4 && min3 === v[0]) {
|
|
263048
|
+
ranges.push("*");
|
|
263049
|
+
} else if (!max4) {
|
|
263050
|
+
ranges.push(`>=${min3}`);
|
|
263051
|
+
} else if (min3 === v[0]) {
|
|
263052
|
+
ranges.push(`<=${max4}`);
|
|
263053
|
+
} else {
|
|
263054
|
+
ranges.push(`${min3} - ${max4}`);
|
|
263055
|
+
}
|
|
263056
|
+
}
|
|
263057
|
+
const simplified = ranges.join(" || ");
|
|
263058
|
+
const original = typeof range2.raw === "string" ? range2.raw : String(range2);
|
|
263059
|
+
return simplified.length < original.length ? simplified : range2;
|
|
263060
|
+
};
|
|
263061
|
+
}
|
|
263062
|
+
});
|
|
263063
|
+
|
|
263064
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/subset.js
|
|
263065
|
+
var require_subset = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
|
|
263066
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/ranges/subset.js"(exports, module) {
|
|
263067
|
+
_chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
|
|
263068
|
+
var Range2 = require_range();
|
|
263069
|
+
var Comparator2 = require_comparator();
|
|
263070
|
+
var { ANY } = Comparator2;
|
|
263071
|
+
var satisfies = require_satisfies();
|
|
263072
|
+
var compare6 = require_compare();
|
|
263073
|
+
var subset = (sub, dom, options = {}) => {
|
|
263074
|
+
if (sub === dom) {
|
|
263075
|
+
return true;
|
|
263076
|
+
}
|
|
263077
|
+
sub = new Range2(sub, options);
|
|
263078
|
+
dom = new Range2(dom, options);
|
|
263079
|
+
let sawNonNull = false;
|
|
263080
|
+
OUTER: for (const simpleSub of sub.set) {
|
|
263081
|
+
for (const simpleDom of dom.set) {
|
|
263082
|
+
const isSub = simpleSubset(simpleSub, simpleDom, options);
|
|
263083
|
+
sawNonNull = sawNonNull || isSub !== null;
|
|
263084
|
+
if (isSub) {
|
|
263085
|
+
continue OUTER;
|
|
263086
|
+
}
|
|
263087
|
+
}
|
|
263088
|
+
if (sawNonNull) {
|
|
263089
|
+
return false;
|
|
263090
|
+
}
|
|
263091
|
+
}
|
|
263092
|
+
return true;
|
|
263093
|
+
};
|
|
263094
|
+
var minimumVersionWithPreRelease = [new Comparator2(">=0.0.0-0")];
|
|
263095
|
+
var minimumVersion = [new Comparator2(">=0.0.0")];
|
|
263096
|
+
var simpleSubset = (sub, dom, options) => {
|
|
263097
|
+
if (sub === dom) {
|
|
263098
|
+
return true;
|
|
263099
|
+
}
|
|
263100
|
+
if (sub.length === 1 && sub[0].semver === ANY) {
|
|
263101
|
+
if (dom.length === 1 && dom[0].semver === ANY) {
|
|
263102
|
+
return true;
|
|
263103
|
+
} else if (options.includePrerelease) {
|
|
263104
|
+
sub = minimumVersionWithPreRelease;
|
|
263105
|
+
} else {
|
|
263106
|
+
sub = minimumVersion;
|
|
263107
|
+
}
|
|
263108
|
+
}
|
|
263109
|
+
if (dom.length === 1 && dom[0].semver === ANY) {
|
|
263110
|
+
if (options.includePrerelease) {
|
|
263111
|
+
return true;
|
|
263112
|
+
} else {
|
|
263113
|
+
dom = minimumVersion;
|
|
263114
|
+
}
|
|
263115
|
+
}
|
|
263116
|
+
const eqSet = /* @__PURE__ */ new Set();
|
|
263117
|
+
let gt, lt;
|
|
263118
|
+
for (const c of sub) {
|
|
263119
|
+
if (c.operator === ">" || c.operator === ">=") {
|
|
263120
|
+
gt = higherGT(gt, c, options);
|
|
263121
|
+
} else if (c.operator === "<" || c.operator === "<=") {
|
|
263122
|
+
lt = lowerLT(lt, c, options);
|
|
263123
|
+
} else {
|
|
263124
|
+
eqSet.add(c.semver);
|
|
263125
|
+
}
|
|
263126
|
+
}
|
|
263127
|
+
if (eqSet.size > 1) {
|
|
263128
|
+
return null;
|
|
263129
|
+
}
|
|
263130
|
+
let gtltComp;
|
|
263131
|
+
if (gt && lt) {
|
|
263132
|
+
gtltComp = compare6(gt.semver, lt.semver, options);
|
|
263133
|
+
if (gtltComp > 0) {
|
|
263134
|
+
return null;
|
|
263135
|
+
} else if (gtltComp === 0 && (gt.operator !== ">=" || lt.operator !== "<=")) {
|
|
263136
|
+
return null;
|
|
263137
|
+
}
|
|
263138
|
+
}
|
|
263139
|
+
for (const eq2 of eqSet) {
|
|
263140
|
+
if (gt && !satisfies(eq2, String(gt), options)) {
|
|
263141
|
+
return null;
|
|
263142
|
+
}
|
|
263143
|
+
if (lt && !satisfies(eq2, String(lt), options)) {
|
|
263144
|
+
return null;
|
|
263145
|
+
}
|
|
263146
|
+
for (const c of dom) {
|
|
263147
|
+
if (!satisfies(eq2, String(c), options)) {
|
|
263148
|
+
return false;
|
|
263149
|
+
}
|
|
263150
|
+
}
|
|
263151
|
+
return true;
|
|
263152
|
+
}
|
|
263153
|
+
let higher, lower;
|
|
263154
|
+
let hasDomLT, hasDomGT;
|
|
263155
|
+
let needDomLTPre = lt && !options.includePrerelease && lt.semver.prerelease.length ? lt.semver : false;
|
|
263156
|
+
let needDomGTPre = gt && !options.includePrerelease && gt.semver.prerelease.length ? gt.semver : false;
|
|
263157
|
+
if (needDomLTPre && needDomLTPre.prerelease.length === 1 && lt.operator === "<" && needDomLTPre.prerelease[0] === 0) {
|
|
263158
|
+
needDomLTPre = false;
|
|
263159
|
+
}
|
|
263160
|
+
for (const c of dom) {
|
|
263161
|
+
hasDomGT = hasDomGT || c.operator === ">" || c.operator === ">=";
|
|
263162
|
+
hasDomLT = hasDomLT || c.operator === "<" || c.operator === "<=";
|
|
263163
|
+
if (gt) {
|
|
263164
|
+
if (needDomGTPre) {
|
|
263165
|
+
if (c.semver.prerelease && c.semver.prerelease.length && c.semver.major === needDomGTPre.major && c.semver.minor === needDomGTPre.minor && c.semver.patch === needDomGTPre.patch) {
|
|
263166
|
+
needDomGTPre = false;
|
|
263167
|
+
}
|
|
263168
|
+
}
|
|
263169
|
+
if (c.operator === ">" || c.operator === ">=") {
|
|
263170
|
+
higher = higherGT(gt, c, options);
|
|
263171
|
+
if (higher === c && higher !== gt) {
|
|
263172
|
+
return false;
|
|
263173
|
+
}
|
|
263174
|
+
} else if (gt.operator === ">=" && !satisfies(gt.semver, String(c), options)) {
|
|
263175
|
+
return false;
|
|
263176
|
+
}
|
|
263177
|
+
}
|
|
263178
|
+
if (lt) {
|
|
263179
|
+
if (needDomLTPre) {
|
|
263180
|
+
if (c.semver.prerelease && c.semver.prerelease.length && c.semver.major === needDomLTPre.major && c.semver.minor === needDomLTPre.minor && c.semver.patch === needDomLTPre.patch) {
|
|
263181
|
+
needDomLTPre = false;
|
|
263182
|
+
}
|
|
263183
|
+
}
|
|
263184
|
+
if (c.operator === "<" || c.operator === "<=") {
|
|
263185
|
+
lower = lowerLT(lt, c, options);
|
|
263186
|
+
if (lower === c && lower !== lt) {
|
|
263187
|
+
return false;
|
|
263188
|
+
}
|
|
263189
|
+
} else if (lt.operator === "<=" && !satisfies(lt.semver, String(c), options)) {
|
|
263190
|
+
return false;
|
|
263191
|
+
}
|
|
263192
|
+
}
|
|
263193
|
+
if (!c.operator && (lt || gt) && gtltComp !== 0) {
|
|
263194
|
+
return false;
|
|
263195
|
+
}
|
|
263196
|
+
}
|
|
263197
|
+
if (gt && hasDomLT && !lt && gtltComp !== 0) {
|
|
263198
|
+
return false;
|
|
263199
|
+
}
|
|
263200
|
+
if (lt && hasDomGT && !gt && gtltComp !== 0) {
|
|
263201
|
+
return false;
|
|
263202
|
+
}
|
|
263203
|
+
if (needDomGTPre || needDomLTPre) {
|
|
263204
|
+
return false;
|
|
263205
|
+
}
|
|
263206
|
+
return true;
|
|
263207
|
+
};
|
|
263208
|
+
var higherGT = (a3, b, options) => {
|
|
263209
|
+
if (!a3) {
|
|
263210
|
+
return b;
|
|
263211
|
+
}
|
|
263212
|
+
const comp = compare6(a3.semver, b.semver, options);
|
|
263213
|
+
return comp > 0 ? a3 : comp < 0 ? b : b.operator === ">" && a3.operator === ">=" ? b : a3;
|
|
263214
|
+
};
|
|
263215
|
+
var lowerLT = (a3, b, options) => {
|
|
263216
|
+
if (!a3) {
|
|
263217
|
+
return b;
|
|
263218
|
+
}
|
|
263219
|
+
const comp = compare6(a3.semver, b.semver, options);
|
|
263220
|
+
return comp < 0 ? a3 : comp > 0 ? b : b.operator === "<" && a3.operator === "<=" ? b : a3;
|
|
263221
|
+
};
|
|
263222
|
+
module.exports = subset;
|
|
263223
|
+
}
|
|
263224
|
+
});
|
|
263225
|
+
|
|
263226
|
+
// ../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/index.js
|
|
263227
|
+
var require_semver3 = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
|
|
263228
|
+
"../../node_modules/.pnpm/semver@7.6.2/node_modules/semver/index.js"(exports, module) {
|
|
263229
|
+
_chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
|
|
263230
|
+
var internalRe = require_re();
|
|
263231
|
+
var constants = require_constants5();
|
|
263232
|
+
var SemVer = require_semver2();
|
|
263233
|
+
var identifiers = require_identifiers();
|
|
263234
|
+
var parse8 = require_parse5();
|
|
263235
|
+
var valid = require_valid2();
|
|
263236
|
+
var clean6 = require_clean2();
|
|
263237
|
+
var inc = require_inc();
|
|
263238
|
+
var diff = require_diff();
|
|
263239
|
+
var major = require_major();
|
|
263240
|
+
var minor = require_minor();
|
|
263241
|
+
var patch2 = require_patch();
|
|
263242
|
+
var prerelease = require_prerelease();
|
|
263243
|
+
var compare6 = require_compare();
|
|
263244
|
+
var rcompare2 = require_rcompare();
|
|
263245
|
+
var compareLoose = require_compare_loose();
|
|
263246
|
+
var compareBuild = require_compare_build();
|
|
263247
|
+
var sort = require_sort();
|
|
263248
|
+
var rsort = require_rsort();
|
|
263249
|
+
var gt = require_gt();
|
|
263250
|
+
var lt = require_lt();
|
|
263251
|
+
var eq2 = require_eq();
|
|
263252
|
+
var neq = require_neq();
|
|
263253
|
+
var gte2 = require_gte();
|
|
263254
|
+
var lte2 = require_lte();
|
|
263255
|
+
var cmp = require_cmp();
|
|
263256
|
+
var coerce = require_coerce();
|
|
263257
|
+
var Comparator2 = require_comparator();
|
|
263258
|
+
var Range2 = require_range();
|
|
263259
|
+
var satisfies = require_satisfies();
|
|
263260
|
+
var toComparators = require_to_comparators();
|
|
263261
|
+
var maxSatisfying = require_max_satisfying();
|
|
263262
|
+
var minSatisfying = require_min_satisfying();
|
|
263263
|
+
var minVersion = require_min_version();
|
|
263264
|
+
var validRange3 = require_valid3();
|
|
263265
|
+
var outside = require_outside();
|
|
263266
|
+
var gtr = require_gtr();
|
|
263267
|
+
var ltr = require_ltr();
|
|
263268
|
+
var intersects = require_intersects();
|
|
263269
|
+
var simplifyRange = require_simplify();
|
|
263270
|
+
var subset = require_subset();
|
|
263271
|
+
module.exports = {
|
|
263272
|
+
parse: parse8,
|
|
263273
|
+
valid,
|
|
263274
|
+
clean: clean6,
|
|
263275
|
+
inc,
|
|
263276
|
+
diff,
|
|
263277
|
+
major,
|
|
263278
|
+
minor,
|
|
263279
|
+
patch: patch2,
|
|
263280
|
+
prerelease,
|
|
263281
|
+
compare: compare6,
|
|
263282
|
+
rcompare: rcompare2,
|
|
263283
|
+
compareLoose,
|
|
263284
|
+
compareBuild,
|
|
263285
|
+
sort,
|
|
263286
|
+
rsort,
|
|
263287
|
+
gt,
|
|
263288
|
+
lt,
|
|
263289
|
+
eq: eq2,
|
|
263290
|
+
neq,
|
|
263291
|
+
gte: gte2,
|
|
263292
|
+
lte: lte2,
|
|
263293
|
+
cmp,
|
|
263294
|
+
coerce,
|
|
263295
|
+
Comparator: Comparator2,
|
|
263296
|
+
Range: Range2,
|
|
263297
|
+
satisfies,
|
|
263298
|
+
toComparators,
|
|
263299
|
+
maxSatisfying,
|
|
263300
|
+
minSatisfying,
|
|
263301
|
+
minVersion,
|
|
263302
|
+
validRange: validRange3,
|
|
263303
|
+
outside,
|
|
263304
|
+
gtr,
|
|
263305
|
+
ltr,
|
|
263306
|
+
intersects,
|
|
263307
|
+
simplifyRange,
|
|
263308
|
+
subset,
|
|
263309
|
+
SemVer,
|
|
263310
|
+
re: internalRe.re,
|
|
263311
|
+
src: internalRe.src,
|
|
263312
|
+
tokens: internalRe.t,
|
|
263313
|
+
SEMVER_SPEC_VERSION: constants.SEMVER_SPEC_VERSION,
|
|
263314
|
+
RELEASE_TYPES: constants.RELEASE_TYPES,
|
|
263315
|
+
compareIdentifiers: identifiers.compareIdentifiers,
|
|
263316
|
+
rcompareIdentifiers: identifiers.rcompareIdentifiers
|
|
263317
|
+
};
|
|
263318
|
+
}
|
|
263319
|
+
});
|
|
263320
|
+
|
|
261446
263321
|
// ../../node_modules/.pnpm/@npmcli+git@5.0.8/node_modules/@npmcli/git/lib/lines-to-revs.js
|
|
261447
263322
|
var require_lines_to_revs = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
|
|
261448
263323
|
"../../node_modules/.pnpm/@npmcli+git@5.0.8/node_modules/@npmcli/git/lib/lines-to-revs.js"(exports, module) {
|
|
261449
263324
|
_chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
|
|
261450
|
-
var semver8 =
|
|
263325
|
+
var semver8 = require_semver3();
|
|
261451
263326
|
module.exports = (lines) => finish(lines.reduce(linesToRevsReducer, {
|
|
261452
263327
|
versions: {},
|
|
261453
263328
|
"dist-tags": {},
|
|
@@ -261690,7 +263565,7 @@ var require_npa = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
|
|
|
261690
263565
|
module.exports.Result = Result;
|
|
261691
263566
|
var { URL: URL2 } = _chunkVNVLFUULcjs.__require.call(void 0, "url");
|
|
261692
263567
|
var HostedGit = require_lib10();
|
|
261693
|
-
var semver8 =
|
|
263568
|
+
var semver8 = require_semver3();
|
|
261694
263569
|
var path32 = global.FAKE_WINDOWS ? _chunkVNVLFUULcjs.__require.call(void 0, "path").win32 : _chunkVNVLFUULcjs.__require.call(void 0, "path");
|
|
261695
263570
|
var validatePackageName = require_lib13();
|
|
261696
263571
|
var { homedir: homedir6 } = _chunkVNVLFUULcjs.__require.call(void 0, "os");
|
|
@@ -262031,7 +263906,7 @@ var require_npa = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
|
|
|
262031
263906
|
var require_lib14 = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
|
|
262032
263907
|
"../../node_modules/.pnpm/npm-install-checks@6.3.0/node_modules/npm-install-checks/lib/index.js"(exports, module) {
|
|
262033
263908
|
_chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
|
|
262034
|
-
var semver8 =
|
|
263909
|
+
var semver8 = require_semver3();
|
|
262035
263910
|
var checkEngine = (target, npmVer, nodeVer, force = false) => {
|
|
262036
263911
|
const nodev = force ? null : nodeVer;
|
|
262037
263912
|
const eng = target.engines;
|
|
@@ -262180,7 +264055,7 @@ var require_lib16 = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
|
|
|
262180
264055
|
"use strict";
|
|
262181
264056
|
_chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
|
|
262182
264057
|
var npa = require_npa();
|
|
262183
|
-
var semver8 =
|
|
264058
|
+
var semver8 = require_semver3();
|
|
262184
264059
|
var { checkEngine } = require_lib14();
|
|
262185
264060
|
var normalizeBin = require_lib15();
|
|
262186
264061
|
var engineOk = (manifest, npmVersion, nodeVersion) => {
|
|
@@ -263400,7 +265275,7 @@ var require_scan3 = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
|
|
|
263400
265275
|
});
|
|
263401
265276
|
|
|
263402
265277
|
// ../../node_modules/.pnpm/spdx-expression-parse@3.0.1/node_modules/spdx-expression-parse/parse.js
|
|
263403
|
-
var
|
|
265278
|
+
var require_parse6 = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
|
|
263404
265279
|
"../../node_modules/.pnpm/spdx-expression-parse@3.0.1/node_modules/spdx-expression-parse/parse.js"(exports, module) {
|
|
263405
265280
|
"use strict";
|
|
263406
265281
|
_chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
|
|
@@ -263520,7 +265395,7 @@ var require_spdx_expression_parse = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
|
|
|
263520
265395
|
"use strict";
|
|
263521
265396
|
_chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
|
|
263522
265397
|
var scan3 = require_scan3();
|
|
263523
|
-
var parse8 =
|
|
265398
|
+
var parse8 = require_parse6();
|
|
263524
265399
|
module.exports = function(source) {
|
|
263525
265400
|
return parse8(scan3(source));
|
|
263526
265401
|
};
|
|
@@ -264491,8 +266366,8 @@ var require_make_warning = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
|
|
|
264491
266366
|
var require_normalize = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
|
|
264492
266367
|
"../../node_modules/.pnpm/@npmcli+package-json@5.2.1/node_modules/@npmcli/package-json/lib/normalize.js"(exports, module) {
|
|
264493
266368
|
_chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
|
|
264494
|
-
var valid =
|
|
264495
|
-
var clean6 =
|
|
266369
|
+
var valid = require_valid2();
|
|
266370
|
+
var clean6 = require_clean2();
|
|
264496
266371
|
var fs19 = _chunkVNVLFUULcjs.__require.call(void 0, "fs/promises");
|
|
264497
266372
|
var path32 = _chunkVNVLFUULcjs.__require.call(void 0, "path");
|
|
264498
266373
|
var { log: log4 } = require_lib8();
|
|
@@ -277651,7 +279526,7 @@ var require_unicode = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
|
|
|
277651
279526
|
});
|
|
277652
279527
|
|
|
277653
279528
|
// ../../node_modules/.pnpm/jju@1.4.0/node_modules/jju/lib/parse.js
|
|
277654
|
-
var
|
|
279529
|
+
var require_parse7 = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
|
|
277655
279530
|
"../../node_modules/.pnpm/jju@1.4.0/node_modules/jju/lib/parse.js"(exports, module) {
|
|
277656
279531
|
_chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
|
|
277657
279532
|
var Uni = require_unicode();
|
|
@@ -278449,7 +280324,7 @@ var require_stringify4 = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
|
|
|
278449
280324
|
var require_analyze = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
|
|
278450
280325
|
"../../node_modules/.pnpm/jju@1.4.0/node_modules/jju/lib/analyze.js"(exports, module) {
|
|
278451
280326
|
_chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
|
|
278452
|
-
var tokenize =
|
|
280327
|
+
var tokenize = require_parse7().tokenize;
|
|
278453
280328
|
module.exports.analyze = function analyzeJSON(input, options) {
|
|
278454
280329
|
if (options == null) options = {};
|
|
278455
280330
|
if (!Array.isArray(input)) {
|
|
@@ -278528,7 +280403,7 @@ var require_document = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
|
|
|
278528
280403
|
"../../node_modules/.pnpm/jju@1.4.0/node_modules/jju/lib/document.js"(exports, module) {
|
|
278529
280404
|
_chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
|
|
278530
280405
|
var assert30 = _chunkVNVLFUULcjs.__require.call(void 0, "assert");
|
|
278531
|
-
var tokenize =
|
|
280406
|
+
var tokenize = require_parse7().tokenize;
|
|
278532
280407
|
var stringify4 = require_stringify4().stringify;
|
|
278533
280408
|
var analyze = require_analyze().analyze;
|
|
278534
280409
|
function isObject4(x2) {
|
|
@@ -278904,13 +280779,13 @@ var require_jju = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
|
|
|
278904
280779
|
"../../node_modules/.pnpm/jju@1.4.0/node_modules/jju/index.js"(exports, module) {
|
|
278905
280780
|
_chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
|
|
278906
280781
|
module.exports.__defineGetter__("parse", function() {
|
|
278907
|
-
return
|
|
280782
|
+
return require_parse7().parse;
|
|
278908
280783
|
});
|
|
278909
280784
|
module.exports.__defineGetter__("stringify", function() {
|
|
278910
280785
|
return require_stringify4().stringify;
|
|
278911
280786
|
});
|
|
278912
280787
|
module.exports.__defineGetter__("tokenize", function() {
|
|
278913
|
-
return
|
|
280788
|
+
return require_parse7().tokenize;
|
|
278914
280789
|
});
|
|
278915
280790
|
module.exports.__defineGetter__("update", function() {
|
|
278916
280791
|
return require_document().update;
|
|
@@ -281634,7 +283509,7 @@ var require_readShebang = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
|
|
|
281634
283509
|
});
|
|
281635
283510
|
|
|
281636
283511
|
// ../../node_modules/.pnpm/cross-spawn@5.1.0/node_modules/cross-spawn/lib/parse.js
|
|
281637
|
-
var
|
|
283512
|
+
var require_parse8 = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
|
|
281638
283513
|
"../../node_modules/.pnpm/cross-spawn@5.1.0/node_modules/cross-spawn/lib/parse.js"(exports, module) {
|
|
281639
283514
|
"use strict";
|
|
281640
283515
|
_chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
|
|
@@ -281781,7 +283656,7 @@ var require_cross_spawn = _chunkVNVLFUULcjs.__commonJS.call(void 0, {
|
|
|
281781
283656
|
"use strict";
|
|
281782
283657
|
_chunkVNVLFUULcjs.init_cjs_shims.call(void 0, );
|
|
281783
283658
|
var cp = _chunkVNVLFUULcjs.__require.call(void 0, "child_process");
|
|
281784
|
-
var parse8 =
|
|
283659
|
+
var parse8 = require_parse8();
|
|
281785
283660
|
var enoent = require_enoent();
|
|
281786
283661
|
var cpSpawnSync = cp.spawnSync;
|
|
281787
283662
|
function spawn2(command, args, options) {
|
|
@@ -349140,16 +351015,16 @@ async function runManypkg(config2, manypkgType = "fix", manypkgArgs) {
|
|
|
349140
351015
|
await runAsync(config2, "pnpm install --no-frozen-lockfile", rootDir);
|
|
349141
351016
|
}
|
|
349142
351017
|
if (hasErrored) {
|
|
349143
|
-
console.log("\
|
|
351018
|
+
console.log("\u2714 Fixed workspace packages!");
|
|
349144
351019
|
} else {
|
|
349145
|
-
console.log("\
|
|
351020
|
+
console.log("\u2714 Workspace packages are valid!");
|
|
349146
351021
|
}
|
|
349147
351022
|
} else if (hasErrored) {
|
|
349148
351023
|
console.info(
|
|
349149
351024
|
"\u26A0\uFE0F The above errors may be fixable if the --manypkg-fix flag is used"
|
|
349150
351025
|
);
|
|
349151
351026
|
} else {
|
|
349152
|
-
console.log("\
|
|
351027
|
+
console.log("\u2714 Workspace packages are valid!");
|
|
349153
351028
|
}
|
|
349154
351029
|
}
|
|
349155
351030
|
|
|
@@ -349552,7 +351427,10 @@ void (async () => {
|
|
|
349552
351427
|
const program2 = await createProgram(config2);
|
|
349553
351428
|
program2.exitOverride();
|
|
349554
351429
|
await program2.parseAsync(process.argv);
|
|
349555
|
-
writeSuccess(
|
|
351430
|
+
writeSuccess(
|
|
351431
|
+
"\u2714 Code linting and formatting completed successfully!",
|
|
351432
|
+
config2
|
|
351433
|
+
);
|
|
349556
351434
|
exitWithSuccess(config2);
|
|
349557
351435
|
} catch (error2) {
|
|
349558
351436
|
writeFatal(
|