@coana-tech/cli 14.12.59 → 14.12.61

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/cli.mjs CHANGED
@@ -56888,6 +56888,1914 @@ var require_lib16 = __commonJS({
56888
56888
  }
56889
56889
  });
56890
56890
 
56891
+ // ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/constants.js
56892
+ var require_constants4 = __commonJS({
56893
+ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/constants.js"(exports2, module2) {
56894
+ "use strict";
56895
+ var SEMVER_SPEC_VERSION = "2.0.0";
56896
+ var MAX_LENGTH = 256;
56897
+ var MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || /* istanbul ignore next */
56898
+ 9007199254740991;
56899
+ var MAX_SAFE_COMPONENT_LENGTH = 16;
56900
+ var MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6;
56901
+ var RELEASE_TYPES = [
56902
+ "major",
56903
+ "premajor",
56904
+ "minor",
56905
+ "preminor",
56906
+ "patch",
56907
+ "prepatch",
56908
+ "prerelease"
56909
+ ];
56910
+ module2.exports = {
56911
+ MAX_LENGTH,
56912
+ MAX_SAFE_COMPONENT_LENGTH,
56913
+ MAX_SAFE_BUILD_LENGTH,
56914
+ MAX_SAFE_INTEGER,
56915
+ RELEASE_TYPES,
56916
+ SEMVER_SPEC_VERSION,
56917
+ FLAG_INCLUDE_PRERELEASE: 1,
56918
+ FLAG_LOOSE: 2
56919
+ };
56920
+ }
56921
+ });
56922
+
56923
+ // ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/debug.js
56924
+ var require_debug3 = __commonJS({
56925
+ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/debug.js"(exports2, module2) {
56926
+ "use strict";
56927
+ var debug = typeof process === "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...args2) => console.error("SEMVER", ...args2) : () => {
56928
+ };
56929
+ module2.exports = debug;
56930
+ }
56931
+ });
56932
+
56933
+ // ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/re.js
56934
+ var require_re2 = __commonJS({
56935
+ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/re.js"(exports2, module2) {
56936
+ "use strict";
56937
+ var {
56938
+ MAX_SAFE_COMPONENT_LENGTH,
56939
+ MAX_SAFE_BUILD_LENGTH,
56940
+ MAX_LENGTH
56941
+ } = require_constants4();
56942
+ var debug = require_debug3();
56943
+ exports2 = module2.exports = {};
56944
+ var re = exports2.re = [];
56945
+ var safeRe = exports2.safeRe = [];
56946
+ var src = exports2.src = [];
56947
+ var safeSrc = exports2.safeSrc = [];
56948
+ var t4 = exports2.t = {};
56949
+ var R = 0;
56950
+ var LETTERDASHNUMBER = "[a-zA-Z0-9-]";
56951
+ var safeRegexReplacements = [
56952
+ ["\\s", 1],
56953
+ ["\\d", MAX_LENGTH],
56954
+ [LETTERDASHNUMBER, MAX_SAFE_BUILD_LENGTH]
56955
+ ];
56956
+ var makeSafeRegex = (value2) => {
56957
+ for (const [token, max] of safeRegexReplacements) {
56958
+ value2 = value2.split(`${token}*`).join(`${token}{0,${max}}`).split(`${token}+`).join(`${token}{1,${max}}`);
56959
+ }
56960
+ return value2;
56961
+ };
56962
+ var createToken = (name, value2, isGlobal) => {
56963
+ const safe = makeSafeRegex(value2);
56964
+ const index2 = R++;
56965
+ debug(name, index2, value2);
56966
+ t4[name] = index2;
56967
+ src[index2] = value2;
56968
+ safeSrc[index2] = safe;
56969
+ re[index2] = new RegExp(value2, isGlobal ? "g" : void 0);
56970
+ safeRe[index2] = new RegExp(safe, isGlobal ? "g" : void 0);
56971
+ };
56972
+ createToken("NUMERICIDENTIFIER", "0|[1-9]\\d*");
56973
+ createToken("NUMERICIDENTIFIERLOOSE", "\\d+");
56974
+ createToken("NONNUMERICIDENTIFIER", `\\d*[a-zA-Z-]${LETTERDASHNUMBER}*`);
56975
+ createToken("MAINVERSION", `(${src[t4.NUMERICIDENTIFIER]})\\.(${src[t4.NUMERICIDENTIFIER]})\\.(${src[t4.NUMERICIDENTIFIER]})`);
56976
+ createToken("MAINVERSIONLOOSE", `(${src[t4.NUMERICIDENTIFIERLOOSE]})\\.(${src[t4.NUMERICIDENTIFIERLOOSE]})\\.(${src[t4.NUMERICIDENTIFIERLOOSE]})`);
56977
+ createToken("PRERELEASEIDENTIFIER", `(?:${src[t4.NONNUMERICIDENTIFIER]}|${src[t4.NUMERICIDENTIFIER]})`);
56978
+ createToken("PRERELEASEIDENTIFIERLOOSE", `(?:${src[t4.NONNUMERICIDENTIFIER]}|${src[t4.NUMERICIDENTIFIERLOOSE]})`);
56979
+ createToken("PRERELEASE", `(?:-(${src[t4.PRERELEASEIDENTIFIER]}(?:\\.${src[t4.PRERELEASEIDENTIFIER]})*))`);
56980
+ createToken("PRERELEASELOOSE", `(?:-?(${src[t4.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${src[t4.PRERELEASEIDENTIFIERLOOSE]})*))`);
56981
+ createToken("BUILDIDENTIFIER", `${LETTERDASHNUMBER}+`);
56982
+ createToken("BUILD", `(?:\\+(${src[t4.BUILDIDENTIFIER]}(?:\\.${src[t4.BUILDIDENTIFIER]})*))`);
56983
+ createToken("FULLPLAIN", `v?${src[t4.MAINVERSION]}${src[t4.PRERELEASE]}?${src[t4.BUILD]}?`);
56984
+ createToken("FULL", `^${src[t4.FULLPLAIN]}$`);
56985
+ createToken("LOOSEPLAIN", `[v=\\s]*${src[t4.MAINVERSIONLOOSE]}${src[t4.PRERELEASELOOSE]}?${src[t4.BUILD]}?`);
56986
+ createToken("LOOSE", `^${src[t4.LOOSEPLAIN]}$`);
56987
+ createToken("GTLT", "((?:<|>)?=?)");
56988
+ createToken("XRANGEIDENTIFIERLOOSE", `${src[t4.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);
56989
+ createToken("XRANGEIDENTIFIER", `${src[t4.NUMERICIDENTIFIER]}|x|X|\\*`);
56990
+ createToken("XRANGEPLAIN", `[v=\\s]*(${src[t4.XRANGEIDENTIFIER]})(?:\\.(${src[t4.XRANGEIDENTIFIER]})(?:\\.(${src[t4.XRANGEIDENTIFIER]})(?:${src[t4.PRERELEASE]})?${src[t4.BUILD]}?)?)?`);
56991
+ createToken("XRANGEPLAINLOOSE", `[v=\\s]*(${src[t4.XRANGEIDENTIFIERLOOSE]})(?:\\.(${src[t4.XRANGEIDENTIFIERLOOSE]})(?:\\.(${src[t4.XRANGEIDENTIFIERLOOSE]})(?:${src[t4.PRERELEASELOOSE]})?${src[t4.BUILD]}?)?)?`);
56992
+ createToken("XRANGE", `^${src[t4.GTLT]}\\s*${src[t4.XRANGEPLAIN]}$`);
56993
+ createToken("XRANGELOOSE", `^${src[t4.GTLT]}\\s*${src[t4.XRANGEPLAINLOOSE]}$`);
56994
+ createToken("COERCEPLAIN", `${"(^|[^\\d])(\\d{1,"}${MAX_SAFE_COMPONENT_LENGTH}})(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?`);
56995
+ createToken("COERCE", `${src[t4.COERCEPLAIN]}(?:$|[^\\d])`);
56996
+ createToken("COERCEFULL", src[t4.COERCEPLAIN] + `(?:${src[t4.PRERELEASE]})?(?:${src[t4.BUILD]})?(?:$|[^\\d])`);
56997
+ createToken("COERCERTL", src[t4.COERCE], true);
56998
+ createToken("COERCERTLFULL", src[t4.COERCEFULL], true);
56999
+ createToken("LONETILDE", "(?:~>?)");
57000
+ createToken("TILDETRIM", `(\\s*)${src[t4.LONETILDE]}\\s+`, true);
57001
+ exports2.tildeTrimReplace = "$1~";
57002
+ createToken("TILDE", `^${src[t4.LONETILDE]}${src[t4.XRANGEPLAIN]}$`);
57003
+ createToken("TILDELOOSE", `^${src[t4.LONETILDE]}${src[t4.XRANGEPLAINLOOSE]}$`);
57004
+ createToken("LONECARET", "(?:\\^)");
57005
+ createToken("CARETTRIM", `(\\s*)${src[t4.LONECARET]}\\s+`, true);
57006
+ exports2.caretTrimReplace = "$1^";
57007
+ createToken("CARET", `^${src[t4.LONECARET]}${src[t4.XRANGEPLAIN]}$`);
57008
+ createToken("CARETLOOSE", `^${src[t4.LONECARET]}${src[t4.XRANGEPLAINLOOSE]}$`);
57009
+ createToken("COMPARATORLOOSE", `^${src[t4.GTLT]}\\s*(${src[t4.LOOSEPLAIN]})$|^$`);
57010
+ createToken("COMPARATOR", `^${src[t4.GTLT]}\\s*(${src[t4.FULLPLAIN]})$|^$`);
57011
+ createToken("COMPARATORTRIM", `(\\s*)${src[t4.GTLT]}\\s*(${src[t4.LOOSEPLAIN]}|${src[t4.XRANGEPLAIN]})`, true);
57012
+ exports2.comparatorTrimReplace = "$1$2$3";
57013
+ createToken("HYPHENRANGE", `^\\s*(${src[t4.XRANGEPLAIN]})\\s+-\\s+(${src[t4.XRANGEPLAIN]})\\s*$`);
57014
+ createToken("HYPHENRANGELOOSE", `^\\s*(${src[t4.XRANGEPLAINLOOSE]})\\s+-\\s+(${src[t4.XRANGEPLAINLOOSE]})\\s*$`);
57015
+ createToken("STAR", "(<|>)?=?\\s*\\*");
57016
+ createToken("GTE0", "^\\s*>=\\s*0\\.0\\.0\\s*$");
57017
+ createToken("GTE0PRE", "^\\s*>=\\s*0\\.0\\.0-0\\s*$");
57018
+ }
57019
+ });
57020
+
57021
+ // ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/parse-options.js
57022
+ var require_parse_options2 = __commonJS({
57023
+ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/parse-options.js"(exports2, module2) {
57024
+ "use strict";
57025
+ var looseOption = Object.freeze({ loose: true });
57026
+ var emptyOpts = Object.freeze({});
57027
+ var parseOptions = (options) => {
57028
+ if (!options) {
57029
+ return emptyOpts;
57030
+ }
57031
+ if (typeof options !== "object") {
57032
+ return looseOption;
57033
+ }
57034
+ return options;
57035
+ };
57036
+ module2.exports = parseOptions;
57037
+ }
57038
+ });
57039
+
57040
+ // ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/identifiers.js
57041
+ var require_identifiers2 = __commonJS({
57042
+ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/identifiers.js"(exports2, module2) {
57043
+ "use strict";
57044
+ var numeric = /^[0-9]+$/;
57045
+ var compareIdentifiers = (a4, b) => {
57046
+ const anum = numeric.test(a4);
57047
+ const bnum = numeric.test(b);
57048
+ if (anum && bnum) {
57049
+ a4 = +a4;
57050
+ b = +b;
57051
+ }
57052
+ return a4 === b ? 0 : anum && !bnum ? -1 : bnum && !anum ? 1 : a4 < b ? -1 : 1;
57053
+ };
57054
+ var rcompareIdentifiers = (a4, b) => compareIdentifiers(b, a4);
57055
+ module2.exports = {
57056
+ compareIdentifiers,
57057
+ rcompareIdentifiers
57058
+ };
57059
+ }
57060
+ });
57061
+
57062
+ // ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/semver.js
57063
+ var require_semver3 = __commonJS({
57064
+ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/semver.js"(exports2, module2) {
57065
+ "use strict";
57066
+ var debug = require_debug3();
57067
+ var { MAX_LENGTH, MAX_SAFE_INTEGER } = require_constants4();
57068
+ var { safeRe: re, t: t4 } = require_re2();
57069
+ var parseOptions = require_parse_options2();
57070
+ var { compareIdentifiers } = require_identifiers2();
57071
+ var SemVer = class _SemVer {
57072
+ constructor(version3, options) {
57073
+ options = parseOptions(options);
57074
+ if (version3 instanceof _SemVer) {
57075
+ if (version3.loose === !!options.loose && version3.includePrerelease === !!options.includePrerelease) {
57076
+ return version3;
57077
+ } else {
57078
+ version3 = version3.version;
57079
+ }
57080
+ } else if (typeof version3 !== "string") {
57081
+ throw new TypeError(`Invalid version. Must be a string. Got type "${typeof version3}".`);
57082
+ }
57083
+ if (version3.length > MAX_LENGTH) {
57084
+ throw new TypeError(
57085
+ `version is longer than ${MAX_LENGTH} characters`
57086
+ );
57087
+ }
57088
+ debug("SemVer", version3, options);
57089
+ this.options = options;
57090
+ this.loose = !!options.loose;
57091
+ this.includePrerelease = !!options.includePrerelease;
57092
+ const m4 = version3.trim().match(options.loose ? re[t4.LOOSE] : re[t4.FULL]);
57093
+ if (!m4) {
57094
+ throw new TypeError(`Invalid Version: ${version3}`);
57095
+ }
57096
+ this.raw = version3;
57097
+ this.major = +m4[1];
57098
+ this.minor = +m4[2];
57099
+ this.patch = +m4[3];
57100
+ if (this.major > MAX_SAFE_INTEGER || this.major < 0) {
57101
+ throw new TypeError("Invalid major version");
57102
+ }
57103
+ if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) {
57104
+ throw new TypeError("Invalid minor version");
57105
+ }
57106
+ if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) {
57107
+ throw new TypeError("Invalid patch version");
57108
+ }
57109
+ if (!m4[4]) {
57110
+ this.prerelease = [];
57111
+ } else {
57112
+ this.prerelease = m4[4].split(".").map((id) => {
57113
+ if (/^[0-9]+$/.test(id)) {
57114
+ const num = +id;
57115
+ if (num >= 0 && num < MAX_SAFE_INTEGER) {
57116
+ return num;
57117
+ }
57118
+ }
57119
+ return id;
57120
+ });
57121
+ }
57122
+ this.build = m4[5] ? m4[5].split(".") : [];
57123
+ this.format();
57124
+ }
57125
+ format() {
57126
+ this.version = `${this.major}.${this.minor}.${this.patch}`;
57127
+ if (this.prerelease.length) {
57128
+ this.version += `-${this.prerelease.join(".")}`;
57129
+ }
57130
+ return this.version;
57131
+ }
57132
+ toString() {
57133
+ return this.version;
57134
+ }
57135
+ compare(other) {
57136
+ debug("SemVer.compare", this.version, this.options, other);
57137
+ if (!(other instanceof _SemVer)) {
57138
+ if (typeof other === "string" && other === this.version) {
57139
+ return 0;
57140
+ }
57141
+ other = new _SemVer(other, this.options);
57142
+ }
57143
+ if (other.version === this.version) {
57144
+ return 0;
57145
+ }
57146
+ return this.compareMain(other) || this.comparePre(other);
57147
+ }
57148
+ compareMain(other) {
57149
+ if (!(other instanceof _SemVer)) {
57150
+ other = new _SemVer(other, this.options);
57151
+ }
57152
+ return compareIdentifiers(this.major, other.major) || compareIdentifiers(this.minor, other.minor) || compareIdentifiers(this.patch, other.patch);
57153
+ }
57154
+ comparePre(other) {
57155
+ if (!(other instanceof _SemVer)) {
57156
+ other = new _SemVer(other, this.options);
57157
+ }
57158
+ if (this.prerelease.length && !other.prerelease.length) {
57159
+ return -1;
57160
+ } else if (!this.prerelease.length && other.prerelease.length) {
57161
+ return 1;
57162
+ } else if (!this.prerelease.length && !other.prerelease.length) {
57163
+ return 0;
57164
+ }
57165
+ let i7 = 0;
57166
+ do {
57167
+ const a4 = this.prerelease[i7];
57168
+ const b = other.prerelease[i7];
57169
+ debug("prerelease compare", i7, a4, b);
57170
+ if (a4 === void 0 && b === void 0) {
57171
+ return 0;
57172
+ } else if (b === void 0) {
57173
+ return 1;
57174
+ } else if (a4 === void 0) {
57175
+ return -1;
57176
+ } else if (a4 === b) {
57177
+ continue;
57178
+ } else {
57179
+ return compareIdentifiers(a4, b);
57180
+ }
57181
+ } while (++i7);
57182
+ }
57183
+ compareBuild(other) {
57184
+ if (!(other instanceof _SemVer)) {
57185
+ other = new _SemVer(other, this.options);
57186
+ }
57187
+ let i7 = 0;
57188
+ do {
57189
+ const a4 = this.build[i7];
57190
+ const b = other.build[i7];
57191
+ debug("build compare", i7, a4, b);
57192
+ if (a4 === void 0 && b === void 0) {
57193
+ return 0;
57194
+ } else if (b === void 0) {
57195
+ return 1;
57196
+ } else if (a4 === void 0) {
57197
+ return -1;
57198
+ } else if (a4 === b) {
57199
+ continue;
57200
+ } else {
57201
+ return compareIdentifiers(a4, b);
57202
+ }
57203
+ } while (++i7);
57204
+ }
57205
+ // preminor will bump the version up to the next minor release, and immediately
57206
+ // down to pre-release. premajor and prepatch work the same way.
57207
+ inc(release, identifier, identifierBase) {
57208
+ if (release.startsWith("pre")) {
57209
+ if (!identifier && identifierBase === false) {
57210
+ throw new Error("invalid increment argument: identifier is empty");
57211
+ }
57212
+ if (identifier) {
57213
+ const match2 = `-${identifier}`.match(this.options.loose ? re[t4.PRERELEASELOOSE] : re[t4.PRERELEASE]);
57214
+ if (!match2 || match2[1] !== identifier) {
57215
+ throw new Error(`invalid identifier: ${identifier}`);
57216
+ }
57217
+ }
57218
+ }
57219
+ switch (release) {
57220
+ case "premajor":
57221
+ this.prerelease.length = 0;
57222
+ this.patch = 0;
57223
+ this.minor = 0;
57224
+ this.major++;
57225
+ this.inc("pre", identifier, identifierBase);
57226
+ break;
57227
+ case "preminor":
57228
+ this.prerelease.length = 0;
57229
+ this.patch = 0;
57230
+ this.minor++;
57231
+ this.inc("pre", identifier, identifierBase);
57232
+ break;
57233
+ case "prepatch":
57234
+ this.prerelease.length = 0;
57235
+ this.inc("patch", identifier, identifierBase);
57236
+ this.inc("pre", identifier, identifierBase);
57237
+ break;
57238
+ // If the input is a non-prerelease version, this acts the same as
57239
+ // prepatch.
57240
+ case "prerelease":
57241
+ if (this.prerelease.length === 0) {
57242
+ this.inc("patch", identifier, identifierBase);
57243
+ }
57244
+ this.inc("pre", identifier, identifierBase);
57245
+ break;
57246
+ case "release":
57247
+ if (this.prerelease.length === 0) {
57248
+ throw new Error(`version ${this.raw} is not a prerelease`);
57249
+ }
57250
+ this.prerelease.length = 0;
57251
+ break;
57252
+ case "major":
57253
+ if (this.minor !== 0 || this.patch !== 0 || this.prerelease.length === 0) {
57254
+ this.major++;
57255
+ }
57256
+ this.minor = 0;
57257
+ this.patch = 0;
57258
+ this.prerelease = [];
57259
+ break;
57260
+ case "minor":
57261
+ if (this.patch !== 0 || this.prerelease.length === 0) {
57262
+ this.minor++;
57263
+ }
57264
+ this.patch = 0;
57265
+ this.prerelease = [];
57266
+ break;
57267
+ case "patch":
57268
+ if (this.prerelease.length === 0) {
57269
+ this.patch++;
57270
+ }
57271
+ this.prerelease = [];
57272
+ break;
57273
+ // This probably shouldn't be used publicly.
57274
+ // 1.0.0 'pre' would become 1.0.0-0 which is the wrong direction.
57275
+ case "pre": {
57276
+ const base = Number(identifierBase) ? 1 : 0;
57277
+ if (this.prerelease.length === 0) {
57278
+ this.prerelease = [base];
57279
+ } else {
57280
+ let i7 = this.prerelease.length;
57281
+ while (--i7 >= 0) {
57282
+ if (typeof this.prerelease[i7] === "number") {
57283
+ this.prerelease[i7]++;
57284
+ i7 = -2;
57285
+ }
57286
+ }
57287
+ if (i7 === -1) {
57288
+ if (identifier === this.prerelease.join(".") && identifierBase === false) {
57289
+ throw new Error("invalid increment argument: identifier already exists");
57290
+ }
57291
+ this.prerelease.push(base);
57292
+ }
57293
+ }
57294
+ if (identifier) {
57295
+ let prerelease = [identifier, base];
57296
+ if (identifierBase === false) {
57297
+ prerelease = [identifier];
57298
+ }
57299
+ if (compareIdentifiers(this.prerelease[0], identifier) === 0) {
57300
+ if (isNaN(this.prerelease[1])) {
57301
+ this.prerelease = prerelease;
57302
+ }
57303
+ } else {
57304
+ this.prerelease = prerelease;
57305
+ }
57306
+ }
57307
+ break;
57308
+ }
57309
+ default:
57310
+ throw new Error(`invalid increment argument: ${release}`);
57311
+ }
57312
+ this.raw = this.format();
57313
+ if (this.build.length) {
57314
+ this.raw += `+${this.build.join(".")}`;
57315
+ }
57316
+ return this;
57317
+ }
57318
+ };
57319
+ module2.exports = SemVer;
57320
+ }
57321
+ });
57322
+
57323
+ // ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/parse.js
57324
+ var require_parse4 = __commonJS({
57325
+ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/parse.js"(exports2, module2) {
57326
+ "use strict";
57327
+ var SemVer = require_semver3();
57328
+ var parse12 = (version3, options, throwErrors = false) => {
57329
+ if (version3 instanceof SemVer) {
57330
+ return version3;
57331
+ }
57332
+ try {
57333
+ return new SemVer(version3, options);
57334
+ } catch (er) {
57335
+ if (!throwErrors) {
57336
+ return null;
57337
+ }
57338
+ throw er;
57339
+ }
57340
+ };
57341
+ module2.exports = parse12;
57342
+ }
57343
+ });
57344
+
57345
+ // ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/valid.js
57346
+ var require_valid3 = __commonJS({
57347
+ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/valid.js"(exports2, module2) {
57348
+ "use strict";
57349
+ var parse12 = require_parse4();
57350
+ var valid = (version3, options) => {
57351
+ const v = parse12(version3, options);
57352
+ return v ? v.version : null;
57353
+ };
57354
+ module2.exports = valid;
57355
+ }
57356
+ });
57357
+
57358
+ // ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/clean.js
57359
+ var require_clean2 = __commonJS({
57360
+ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/clean.js"(exports2, module2) {
57361
+ "use strict";
57362
+ var parse12 = require_parse4();
57363
+ var clean = (version3, options) => {
57364
+ const s6 = parse12(version3.trim().replace(/^[=v]+/, ""), options);
57365
+ return s6 ? s6.version : null;
57366
+ };
57367
+ module2.exports = clean;
57368
+ }
57369
+ });
57370
+
57371
+ // ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/inc.js
57372
+ var require_inc2 = __commonJS({
57373
+ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/inc.js"(exports2, module2) {
57374
+ "use strict";
57375
+ var SemVer = require_semver3();
57376
+ var inc = (version3, release, options, identifier, identifierBase) => {
57377
+ if (typeof options === "string") {
57378
+ identifierBase = identifier;
57379
+ identifier = options;
57380
+ options = void 0;
57381
+ }
57382
+ try {
57383
+ return new SemVer(
57384
+ version3 instanceof SemVer ? version3.version : version3,
57385
+ options
57386
+ ).inc(release, identifier, identifierBase).version;
57387
+ } catch (er) {
57388
+ return null;
57389
+ }
57390
+ };
57391
+ module2.exports = inc;
57392
+ }
57393
+ });
57394
+
57395
+ // ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/diff.js
57396
+ var require_diff2 = __commonJS({
57397
+ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/diff.js"(exports2, module2) {
57398
+ "use strict";
57399
+ var parse12 = require_parse4();
57400
+ var diff = (version1, version22) => {
57401
+ const v12 = parse12(version1, null, true);
57402
+ const v2 = parse12(version22, null, true);
57403
+ const comparison = v12.compare(v2);
57404
+ if (comparison === 0) {
57405
+ return null;
57406
+ }
57407
+ const v1Higher = comparison > 0;
57408
+ const highVersion = v1Higher ? v12 : v2;
57409
+ const lowVersion = v1Higher ? v2 : v12;
57410
+ const highHasPre = !!highVersion.prerelease.length;
57411
+ const lowHasPre = !!lowVersion.prerelease.length;
57412
+ if (lowHasPre && !highHasPre) {
57413
+ if (!lowVersion.patch && !lowVersion.minor) {
57414
+ return "major";
57415
+ }
57416
+ if (lowVersion.compareMain(highVersion) === 0) {
57417
+ if (lowVersion.minor && !lowVersion.patch) {
57418
+ return "minor";
57419
+ }
57420
+ return "patch";
57421
+ }
57422
+ }
57423
+ const prefix = highHasPre ? "pre" : "";
57424
+ if (v12.major !== v2.major) {
57425
+ return prefix + "major";
57426
+ }
57427
+ if (v12.minor !== v2.minor) {
57428
+ return prefix + "minor";
57429
+ }
57430
+ if (v12.patch !== v2.patch) {
57431
+ return prefix + "patch";
57432
+ }
57433
+ return "prerelease";
57434
+ };
57435
+ module2.exports = diff;
57436
+ }
57437
+ });
57438
+
57439
+ // ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/major.js
57440
+ var require_major2 = __commonJS({
57441
+ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/major.js"(exports2, module2) {
57442
+ "use strict";
57443
+ var SemVer = require_semver3();
57444
+ var major = (a4, loose) => new SemVer(a4, loose).major;
57445
+ module2.exports = major;
57446
+ }
57447
+ });
57448
+
57449
+ // ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/minor.js
57450
+ var require_minor2 = __commonJS({
57451
+ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/minor.js"(exports2, module2) {
57452
+ "use strict";
57453
+ var SemVer = require_semver3();
57454
+ var minor = (a4, loose) => new SemVer(a4, loose).minor;
57455
+ module2.exports = minor;
57456
+ }
57457
+ });
57458
+
57459
+ // ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/patch.js
57460
+ var require_patch2 = __commonJS({
57461
+ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/patch.js"(exports2, module2) {
57462
+ "use strict";
57463
+ var SemVer = require_semver3();
57464
+ var patch = (a4, loose) => new SemVer(a4, loose).patch;
57465
+ module2.exports = patch;
57466
+ }
57467
+ });
57468
+
57469
+ // ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/prerelease.js
57470
+ var require_prerelease2 = __commonJS({
57471
+ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/prerelease.js"(exports2, module2) {
57472
+ "use strict";
57473
+ var parse12 = require_parse4();
57474
+ var prerelease = (version3, options) => {
57475
+ const parsed = parse12(version3, options);
57476
+ return parsed && parsed.prerelease.length ? parsed.prerelease : null;
57477
+ };
57478
+ module2.exports = prerelease;
57479
+ }
57480
+ });
57481
+
57482
+ // ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare.js
57483
+ var require_compare2 = __commonJS({
57484
+ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare.js"(exports2, module2) {
57485
+ "use strict";
57486
+ var SemVer = require_semver3();
57487
+ var compare = (a4, b, loose) => new SemVer(a4, loose).compare(new SemVer(b, loose));
57488
+ module2.exports = compare;
57489
+ }
57490
+ });
57491
+
57492
+ // ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/rcompare.js
57493
+ var require_rcompare2 = __commonJS({
57494
+ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/rcompare.js"(exports2, module2) {
57495
+ "use strict";
57496
+ var compare = require_compare2();
57497
+ var rcompare = (a4, b, loose) => compare(b, a4, loose);
57498
+ module2.exports = rcompare;
57499
+ }
57500
+ });
57501
+
57502
+ // ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare-loose.js
57503
+ var require_compare_loose2 = __commonJS({
57504
+ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare-loose.js"(exports2, module2) {
57505
+ "use strict";
57506
+ var compare = require_compare2();
57507
+ var compareLoose = (a4, b) => compare(a4, b, true);
57508
+ module2.exports = compareLoose;
57509
+ }
57510
+ });
57511
+
57512
+ // ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare-build.js
57513
+ var require_compare_build2 = __commonJS({
57514
+ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare-build.js"(exports2, module2) {
57515
+ "use strict";
57516
+ var SemVer = require_semver3();
57517
+ var compareBuild = (a4, b, loose) => {
57518
+ const versionA = new SemVer(a4, loose);
57519
+ const versionB = new SemVer(b, loose);
57520
+ return versionA.compare(versionB) || versionA.compareBuild(versionB);
57521
+ };
57522
+ module2.exports = compareBuild;
57523
+ }
57524
+ });
57525
+
57526
+ // ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/sort.js
57527
+ var require_sort2 = __commonJS({
57528
+ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/sort.js"(exports2, module2) {
57529
+ "use strict";
57530
+ var compareBuild = require_compare_build2();
57531
+ var sort = (list, loose) => list.sort((a4, b) => compareBuild(a4, b, loose));
57532
+ module2.exports = sort;
57533
+ }
57534
+ });
57535
+
57536
+ // ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/rsort.js
57537
+ var require_rsort2 = __commonJS({
57538
+ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/rsort.js"(exports2, module2) {
57539
+ "use strict";
57540
+ var compareBuild = require_compare_build2();
57541
+ var rsort = (list, loose) => list.sort((a4, b) => compareBuild(b, a4, loose));
57542
+ module2.exports = rsort;
57543
+ }
57544
+ });
57545
+
57546
+ // ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/gt.js
57547
+ var require_gt2 = __commonJS({
57548
+ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/gt.js"(exports2, module2) {
57549
+ "use strict";
57550
+ var compare = require_compare2();
57551
+ var gt = (a4, b, loose) => compare(a4, b, loose) > 0;
57552
+ module2.exports = gt;
57553
+ }
57554
+ });
57555
+
57556
+ // ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/lt.js
57557
+ var require_lt2 = __commonJS({
57558
+ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/lt.js"(exports2, module2) {
57559
+ "use strict";
57560
+ var compare = require_compare2();
57561
+ var lt = (a4, b, loose) => compare(a4, b, loose) < 0;
57562
+ module2.exports = lt;
57563
+ }
57564
+ });
57565
+
57566
+ // ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/eq.js
57567
+ var require_eq2 = __commonJS({
57568
+ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/eq.js"(exports2, module2) {
57569
+ "use strict";
57570
+ var compare = require_compare2();
57571
+ var eq2 = (a4, b, loose) => compare(a4, b, loose) === 0;
57572
+ module2.exports = eq2;
57573
+ }
57574
+ });
57575
+
57576
+ // ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/neq.js
57577
+ var require_neq2 = __commonJS({
57578
+ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/neq.js"(exports2, module2) {
57579
+ "use strict";
57580
+ var compare = require_compare2();
57581
+ var neq = (a4, b, loose) => compare(a4, b, loose) !== 0;
57582
+ module2.exports = neq;
57583
+ }
57584
+ });
57585
+
57586
+ // ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/gte.js
57587
+ var require_gte2 = __commonJS({
57588
+ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/gte.js"(exports2, module2) {
57589
+ "use strict";
57590
+ var compare = require_compare2();
57591
+ var gte2 = (a4, b, loose) => compare(a4, b, loose) >= 0;
57592
+ module2.exports = gte2;
57593
+ }
57594
+ });
57595
+
57596
+ // ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/lte.js
57597
+ var require_lte2 = __commonJS({
57598
+ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/lte.js"(exports2, module2) {
57599
+ "use strict";
57600
+ var compare = require_compare2();
57601
+ var lte = (a4, b, loose) => compare(a4, b, loose) <= 0;
57602
+ module2.exports = lte;
57603
+ }
57604
+ });
57605
+
57606
+ // ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/cmp.js
57607
+ var require_cmp2 = __commonJS({
57608
+ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/cmp.js"(exports2, module2) {
57609
+ "use strict";
57610
+ var eq2 = require_eq2();
57611
+ var neq = require_neq2();
57612
+ var gt = require_gt2();
57613
+ var gte2 = require_gte2();
57614
+ var lt = require_lt2();
57615
+ var lte = require_lte2();
57616
+ var cmp = (a4, op, b, loose) => {
57617
+ switch (op) {
57618
+ case "===":
57619
+ if (typeof a4 === "object") {
57620
+ a4 = a4.version;
57621
+ }
57622
+ if (typeof b === "object") {
57623
+ b = b.version;
57624
+ }
57625
+ return a4 === b;
57626
+ case "!==":
57627
+ if (typeof a4 === "object") {
57628
+ a4 = a4.version;
57629
+ }
57630
+ if (typeof b === "object") {
57631
+ b = b.version;
57632
+ }
57633
+ return a4 !== b;
57634
+ case "":
57635
+ case "=":
57636
+ case "==":
57637
+ return eq2(a4, b, loose);
57638
+ case "!=":
57639
+ return neq(a4, b, loose);
57640
+ case ">":
57641
+ return gt(a4, b, loose);
57642
+ case ">=":
57643
+ return gte2(a4, b, loose);
57644
+ case "<":
57645
+ return lt(a4, b, loose);
57646
+ case "<=":
57647
+ return lte(a4, b, loose);
57648
+ default:
57649
+ throw new TypeError(`Invalid operator: ${op}`);
57650
+ }
57651
+ };
57652
+ module2.exports = cmp;
57653
+ }
57654
+ });
57655
+
57656
+ // ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/coerce.js
57657
+ var require_coerce2 = __commonJS({
57658
+ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/coerce.js"(exports2, module2) {
57659
+ "use strict";
57660
+ var SemVer = require_semver3();
57661
+ var parse12 = require_parse4();
57662
+ var { safeRe: re, t: t4 } = require_re2();
57663
+ var coerce = (version3, options) => {
57664
+ if (version3 instanceof SemVer) {
57665
+ return version3;
57666
+ }
57667
+ if (typeof version3 === "number") {
57668
+ version3 = String(version3);
57669
+ }
57670
+ if (typeof version3 !== "string") {
57671
+ return null;
57672
+ }
57673
+ options = options || {};
57674
+ let match2 = null;
57675
+ if (!options.rtl) {
57676
+ match2 = version3.match(options.includePrerelease ? re[t4.COERCEFULL] : re[t4.COERCE]);
57677
+ } else {
57678
+ const coerceRtlRegex = options.includePrerelease ? re[t4.COERCERTLFULL] : re[t4.COERCERTL];
57679
+ let next2;
57680
+ while ((next2 = coerceRtlRegex.exec(version3)) && (!match2 || match2.index + match2[0].length !== version3.length)) {
57681
+ if (!match2 || next2.index + next2[0].length !== match2.index + match2[0].length) {
57682
+ match2 = next2;
57683
+ }
57684
+ coerceRtlRegex.lastIndex = next2.index + next2[1].length + next2[2].length;
57685
+ }
57686
+ coerceRtlRegex.lastIndex = -1;
57687
+ }
57688
+ if (match2 === null) {
57689
+ return null;
57690
+ }
57691
+ const major = match2[2];
57692
+ const minor = match2[3] || "0";
57693
+ const patch = match2[4] || "0";
57694
+ const prerelease = options.includePrerelease && match2[5] ? `-${match2[5]}` : "";
57695
+ const build = options.includePrerelease && match2[6] ? `+${match2[6]}` : "";
57696
+ return parse12(`${major}.${minor}.${patch}${prerelease}${build}`, options);
57697
+ };
57698
+ module2.exports = coerce;
57699
+ }
57700
+ });
57701
+
57702
+ // ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/lrucache.js
57703
+ var require_lrucache2 = __commonJS({
57704
+ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/lrucache.js"(exports2, module2) {
57705
+ "use strict";
57706
+ var LRUCache2 = class {
57707
+ constructor() {
57708
+ this.max = 1e3;
57709
+ this.map = /* @__PURE__ */ new Map();
57710
+ }
57711
+ get(key) {
57712
+ const value2 = this.map.get(key);
57713
+ if (value2 === void 0) {
57714
+ return void 0;
57715
+ } else {
57716
+ this.map.delete(key);
57717
+ this.map.set(key, value2);
57718
+ return value2;
57719
+ }
57720
+ }
57721
+ delete(key) {
57722
+ return this.map.delete(key);
57723
+ }
57724
+ set(key, value2) {
57725
+ const deleted = this.delete(key);
57726
+ if (!deleted && value2 !== void 0) {
57727
+ if (this.map.size >= this.max) {
57728
+ const firstKey = this.map.keys().next().value;
57729
+ this.delete(firstKey);
57730
+ }
57731
+ this.map.set(key, value2);
57732
+ }
57733
+ return this;
57734
+ }
57735
+ };
57736
+ module2.exports = LRUCache2;
57737
+ }
57738
+ });
57739
+
57740
+ // ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/range.js
57741
+ var require_range3 = __commonJS({
57742
+ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/range.js"(exports2, module2) {
57743
+ "use strict";
57744
+ var SPACE_CHARACTERS = /\s+/g;
57745
+ var Range = class _Range {
57746
+ constructor(range2, options) {
57747
+ options = parseOptions(options);
57748
+ if (range2 instanceof _Range) {
57749
+ if (range2.loose === !!options.loose && range2.includePrerelease === !!options.includePrerelease) {
57750
+ return range2;
57751
+ } else {
57752
+ return new _Range(range2.raw, options);
57753
+ }
57754
+ }
57755
+ if (range2 instanceof Comparator) {
57756
+ this.raw = range2.value;
57757
+ this.set = [[range2]];
57758
+ this.formatted = void 0;
57759
+ return this;
57760
+ }
57761
+ this.options = options;
57762
+ this.loose = !!options.loose;
57763
+ this.includePrerelease = !!options.includePrerelease;
57764
+ this.raw = range2.trim().replace(SPACE_CHARACTERS, " ");
57765
+ this.set = this.raw.split("||").map((r3) => this.parseRange(r3.trim())).filter((c3) => c3.length);
57766
+ if (!this.set.length) {
57767
+ throw new TypeError(`Invalid SemVer Range: ${this.raw}`);
57768
+ }
57769
+ if (this.set.length > 1) {
57770
+ const first2 = this.set[0];
57771
+ this.set = this.set.filter((c3) => !isNullSet(c3[0]));
57772
+ if (this.set.length === 0) {
57773
+ this.set = [first2];
57774
+ } else if (this.set.length > 1) {
57775
+ for (const c3 of this.set) {
57776
+ if (c3.length === 1 && isAny(c3[0])) {
57777
+ this.set = [c3];
57778
+ break;
57779
+ }
57780
+ }
57781
+ }
57782
+ }
57783
+ this.formatted = void 0;
57784
+ }
57785
+ get range() {
57786
+ if (this.formatted === void 0) {
57787
+ this.formatted = "";
57788
+ for (let i7 = 0; i7 < this.set.length; i7++) {
57789
+ if (i7 > 0) {
57790
+ this.formatted += "||";
57791
+ }
57792
+ const comps = this.set[i7];
57793
+ for (let k = 0; k < comps.length; k++) {
57794
+ if (k > 0) {
57795
+ this.formatted += " ";
57796
+ }
57797
+ this.formatted += comps[k].toString().trim();
57798
+ }
57799
+ }
57800
+ }
57801
+ return this.formatted;
57802
+ }
57803
+ format() {
57804
+ return this.range;
57805
+ }
57806
+ toString() {
57807
+ return this.range;
57808
+ }
57809
+ parseRange(range2) {
57810
+ const memoOpts = (this.options.includePrerelease && FLAG_INCLUDE_PRERELEASE) | (this.options.loose && FLAG_LOOSE);
57811
+ const memoKey = memoOpts + ":" + range2;
57812
+ const cached = cache.get(memoKey);
57813
+ if (cached) {
57814
+ return cached;
57815
+ }
57816
+ const loose = this.options.loose;
57817
+ const hr = loose ? re[t4.HYPHENRANGELOOSE] : re[t4.HYPHENRANGE];
57818
+ range2 = range2.replace(hr, hyphenReplace(this.options.includePrerelease));
57819
+ debug("hyphen replace", range2);
57820
+ range2 = range2.replace(re[t4.COMPARATORTRIM], comparatorTrimReplace);
57821
+ debug("comparator trim", range2);
57822
+ range2 = range2.replace(re[t4.TILDETRIM], tildeTrimReplace);
57823
+ debug("tilde trim", range2);
57824
+ range2 = range2.replace(re[t4.CARETTRIM], caretTrimReplace);
57825
+ debug("caret trim", range2);
57826
+ let rangeList = range2.split(" ").map((comp) => parseComparator(comp, this.options)).join(" ").split(/\s+/).map((comp) => replaceGTE0(comp, this.options));
57827
+ if (loose) {
57828
+ rangeList = rangeList.filter((comp) => {
57829
+ debug("loose invalid filter", comp, this.options);
57830
+ return !!comp.match(re[t4.COMPARATORLOOSE]);
57831
+ });
57832
+ }
57833
+ debug("range list", rangeList);
57834
+ const rangeMap = /* @__PURE__ */ new Map();
57835
+ const comparators = rangeList.map((comp) => new Comparator(comp, this.options));
57836
+ for (const comp of comparators) {
57837
+ if (isNullSet(comp)) {
57838
+ return [comp];
57839
+ }
57840
+ rangeMap.set(comp.value, comp);
57841
+ }
57842
+ if (rangeMap.size > 1 && rangeMap.has("")) {
57843
+ rangeMap.delete("");
57844
+ }
57845
+ const result = [...rangeMap.values()];
57846
+ cache.set(memoKey, result);
57847
+ return result;
57848
+ }
57849
+ intersects(range2, options) {
57850
+ if (!(range2 instanceof _Range)) {
57851
+ throw new TypeError("a Range is required");
57852
+ }
57853
+ return this.set.some((thisComparators) => {
57854
+ return isSatisfiable(thisComparators, options) && range2.set.some((rangeComparators) => {
57855
+ return isSatisfiable(rangeComparators, options) && thisComparators.every((thisComparator) => {
57856
+ return rangeComparators.every((rangeComparator) => {
57857
+ return thisComparator.intersects(rangeComparator, options);
57858
+ });
57859
+ });
57860
+ });
57861
+ });
57862
+ }
57863
+ // if ANY of the sets match ALL of its comparators, then pass
57864
+ test(version3) {
57865
+ if (!version3) {
57866
+ return false;
57867
+ }
57868
+ if (typeof version3 === "string") {
57869
+ try {
57870
+ version3 = new SemVer(version3, this.options);
57871
+ } catch (er) {
57872
+ return false;
57873
+ }
57874
+ }
57875
+ for (let i7 = 0; i7 < this.set.length; i7++) {
57876
+ if (testSet(this.set[i7], version3, this.options)) {
57877
+ return true;
57878
+ }
57879
+ }
57880
+ return false;
57881
+ }
57882
+ };
57883
+ module2.exports = Range;
57884
+ var LRU = require_lrucache2();
57885
+ var cache = new LRU();
57886
+ var parseOptions = require_parse_options2();
57887
+ var Comparator = require_comparator2();
57888
+ var debug = require_debug3();
57889
+ var SemVer = require_semver3();
57890
+ var {
57891
+ safeRe: re,
57892
+ t: t4,
57893
+ comparatorTrimReplace,
57894
+ tildeTrimReplace,
57895
+ caretTrimReplace
57896
+ } = require_re2();
57897
+ var { FLAG_INCLUDE_PRERELEASE, FLAG_LOOSE } = require_constants4();
57898
+ var isNullSet = (c3) => c3.value === "<0.0.0-0";
57899
+ var isAny = (c3) => c3.value === "";
57900
+ var isSatisfiable = (comparators, options) => {
57901
+ let result = true;
57902
+ const remainingComparators = comparators.slice();
57903
+ let testComparator = remainingComparators.pop();
57904
+ while (result && remainingComparators.length) {
57905
+ result = remainingComparators.every((otherComparator) => {
57906
+ return testComparator.intersects(otherComparator, options);
57907
+ });
57908
+ testComparator = remainingComparators.pop();
57909
+ }
57910
+ return result;
57911
+ };
57912
+ var parseComparator = (comp, options) => {
57913
+ debug("comp", comp, options);
57914
+ comp = replaceCarets(comp, options);
57915
+ debug("caret", comp);
57916
+ comp = replaceTildes(comp, options);
57917
+ debug("tildes", comp);
57918
+ comp = replaceXRanges(comp, options);
57919
+ debug("xrange", comp);
57920
+ comp = replaceStars(comp, options);
57921
+ debug("stars", comp);
57922
+ return comp;
57923
+ };
57924
+ var isX = (id) => !id || id.toLowerCase() === "x" || id === "*";
57925
+ var replaceTildes = (comp, options) => {
57926
+ return comp.trim().split(/\s+/).map((c3) => replaceTilde(c3, options)).join(" ");
57927
+ };
57928
+ var replaceTilde = (comp, options) => {
57929
+ const r3 = options.loose ? re[t4.TILDELOOSE] : re[t4.TILDE];
57930
+ return comp.replace(r3, (_, M, m4, p3, pr) => {
57931
+ debug("tilde", comp, _, M, m4, p3, pr);
57932
+ let ret;
57933
+ if (isX(M)) {
57934
+ ret = "";
57935
+ } else if (isX(m4)) {
57936
+ ret = `>=${M}.0.0 <${+M + 1}.0.0-0`;
57937
+ } else if (isX(p3)) {
57938
+ ret = `>=${M}.${m4}.0 <${M}.${+m4 + 1}.0-0`;
57939
+ } else if (pr) {
57940
+ debug("replaceTilde pr", pr);
57941
+ ret = `>=${M}.${m4}.${p3}-${pr} <${M}.${+m4 + 1}.0-0`;
57942
+ } else {
57943
+ ret = `>=${M}.${m4}.${p3} <${M}.${+m4 + 1}.0-0`;
57944
+ }
57945
+ debug("tilde return", ret);
57946
+ return ret;
57947
+ });
57948
+ };
57949
+ var replaceCarets = (comp, options) => {
57950
+ return comp.trim().split(/\s+/).map((c3) => replaceCaret(c3, options)).join(" ");
57951
+ };
57952
+ var replaceCaret = (comp, options) => {
57953
+ debug("caret", comp, options);
57954
+ const r3 = options.loose ? re[t4.CARETLOOSE] : re[t4.CARET];
57955
+ const z = options.includePrerelease ? "-0" : "";
57956
+ return comp.replace(r3, (_, M, m4, p3, pr) => {
57957
+ debug("caret", comp, _, M, m4, p3, pr);
57958
+ let ret;
57959
+ if (isX(M)) {
57960
+ ret = "";
57961
+ } else if (isX(m4)) {
57962
+ ret = `>=${M}.0.0${z} <${+M + 1}.0.0-0`;
57963
+ } else if (isX(p3)) {
57964
+ if (M === "0") {
57965
+ ret = `>=${M}.${m4}.0${z} <${M}.${+m4 + 1}.0-0`;
57966
+ } else {
57967
+ ret = `>=${M}.${m4}.0${z} <${+M + 1}.0.0-0`;
57968
+ }
57969
+ } else if (pr) {
57970
+ debug("replaceCaret pr", pr);
57971
+ if (M === "0") {
57972
+ if (m4 === "0") {
57973
+ ret = `>=${M}.${m4}.${p3}-${pr} <${M}.${m4}.${+p3 + 1}-0`;
57974
+ } else {
57975
+ ret = `>=${M}.${m4}.${p3}-${pr} <${M}.${+m4 + 1}.0-0`;
57976
+ }
57977
+ } else {
57978
+ ret = `>=${M}.${m4}.${p3}-${pr} <${+M + 1}.0.0-0`;
57979
+ }
57980
+ } else {
57981
+ debug("no pr");
57982
+ if (M === "0") {
57983
+ if (m4 === "0") {
57984
+ ret = `>=${M}.${m4}.${p3}${z} <${M}.${m4}.${+p3 + 1}-0`;
57985
+ } else {
57986
+ ret = `>=${M}.${m4}.${p3}${z} <${M}.${+m4 + 1}.0-0`;
57987
+ }
57988
+ } else {
57989
+ ret = `>=${M}.${m4}.${p3} <${+M + 1}.0.0-0`;
57990
+ }
57991
+ }
57992
+ debug("caret return", ret);
57993
+ return ret;
57994
+ });
57995
+ };
57996
+ var replaceXRanges = (comp, options) => {
57997
+ debug("replaceXRanges", comp, options);
57998
+ return comp.split(/\s+/).map((c3) => replaceXRange(c3, options)).join(" ");
57999
+ };
58000
+ var replaceXRange = (comp, options) => {
58001
+ comp = comp.trim();
58002
+ const r3 = options.loose ? re[t4.XRANGELOOSE] : re[t4.XRANGE];
58003
+ return comp.replace(r3, (ret, gtlt, M, m4, p3, pr) => {
58004
+ debug("xRange", comp, ret, gtlt, M, m4, p3, pr);
58005
+ const xM = isX(M);
58006
+ const xm = xM || isX(m4);
58007
+ const xp = xm || isX(p3);
58008
+ const anyX = xp;
58009
+ if (gtlt === "=" && anyX) {
58010
+ gtlt = "";
58011
+ }
58012
+ pr = options.includePrerelease ? "-0" : "";
58013
+ if (xM) {
58014
+ if (gtlt === ">" || gtlt === "<") {
58015
+ ret = "<0.0.0-0";
58016
+ } else {
58017
+ ret = "*";
58018
+ }
58019
+ } else if (gtlt && anyX) {
58020
+ if (xm) {
58021
+ m4 = 0;
58022
+ }
58023
+ p3 = 0;
58024
+ if (gtlt === ">") {
58025
+ gtlt = ">=";
58026
+ if (xm) {
58027
+ M = +M + 1;
58028
+ m4 = 0;
58029
+ p3 = 0;
58030
+ } else {
58031
+ m4 = +m4 + 1;
58032
+ p3 = 0;
58033
+ }
58034
+ } else if (gtlt === "<=") {
58035
+ gtlt = "<";
58036
+ if (xm) {
58037
+ M = +M + 1;
58038
+ } else {
58039
+ m4 = +m4 + 1;
58040
+ }
58041
+ }
58042
+ if (gtlt === "<") {
58043
+ pr = "-0";
58044
+ }
58045
+ ret = `${gtlt + M}.${m4}.${p3}${pr}`;
58046
+ } else if (xm) {
58047
+ ret = `>=${M}.0.0${pr} <${+M + 1}.0.0-0`;
58048
+ } else if (xp) {
58049
+ ret = `>=${M}.${m4}.0${pr} <${M}.${+m4 + 1}.0-0`;
58050
+ }
58051
+ debug("xRange return", ret);
58052
+ return ret;
58053
+ });
58054
+ };
58055
+ var replaceStars = (comp, options) => {
58056
+ debug("replaceStars", comp, options);
58057
+ return comp.trim().replace(re[t4.STAR], "");
58058
+ };
58059
+ var replaceGTE0 = (comp, options) => {
58060
+ debug("replaceGTE0", comp, options);
58061
+ return comp.trim().replace(re[options.includePrerelease ? t4.GTE0PRE : t4.GTE0], "");
58062
+ };
58063
+ var hyphenReplace = (incPr) => ($0, from, fM, fm, fp, fpr, fb, to, tM, tm, tp, tpr) => {
58064
+ if (isX(fM)) {
58065
+ from = "";
58066
+ } else if (isX(fm)) {
58067
+ from = `>=${fM}.0.0${incPr ? "-0" : ""}`;
58068
+ } else if (isX(fp)) {
58069
+ from = `>=${fM}.${fm}.0${incPr ? "-0" : ""}`;
58070
+ } else if (fpr) {
58071
+ from = `>=${from}`;
58072
+ } else {
58073
+ from = `>=${from}${incPr ? "-0" : ""}`;
58074
+ }
58075
+ if (isX(tM)) {
58076
+ to = "";
58077
+ } else if (isX(tm)) {
58078
+ to = `<${+tM + 1}.0.0-0`;
58079
+ } else if (isX(tp)) {
58080
+ to = `<${tM}.${+tm + 1}.0-0`;
58081
+ } else if (tpr) {
58082
+ to = `<=${tM}.${tm}.${tp}-${tpr}`;
58083
+ } else if (incPr) {
58084
+ to = `<${tM}.${tm}.${+tp + 1}-0`;
58085
+ } else {
58086
+ to = `<=${to}`;
58087
+ }
58088
+ return `${from} ${to}`.trim();
58089
+ };
58090
+ var testSet = (set, version3, options) => {
58091
+ for (let i7 = 0; i7 < set.length; i7++) {
58092
+ if (!set[i7].test(version3)) {
58093
+ return false;
58094
+ }
58095
+ }
58096
+ if (version3.prerelease.length && !options.includePrerelease) {
58097
+ for (let i7 = 0; i7 < set.length; i7++) {
58098
+ debug(set[i7].semver);
58099
+ if (set[i7].semver === Comparator.ANY) {
58100
+ continue;
58101
+ }
58102
+ if (set[i7].semver.prerelease.length > 0) {
58103
+ const allowed = set[i7].semver;
58104
+ if (allowed.major === version3.major && allowed.minor === version3.minor && allowed.patch === version3.patch) {
58105
+ return true;
58106
+ }
58107
+ }
58108
+ }
58109
+ return false;
58110
+ }
58111
+ return true;
58112
+ };
58113
+ }
58114
+ });
58115
+
58116
+ // ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/comparator.js
58117
+ var require_comparator2 = __commonJS({
58118
+ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/comparator.js"(exports2, module2) {
58119
+ "use strict";
58120
+ var ANY = Symbol("SemVer ANY");
58121
+ var Comparator = class _Comparator {
58122
+ static get ANY() {
58123
+ return ANY;
58124
+ }
58125
+ constructor(comp, options) {
58126
+ options = parseOptions(options);
58127
+ if (comp instanceof _Comparator) {
58128
+ if (comp.loose === !!options.loose) {
58129
+ return comp;
58130
+ } else {
58131
+ comp = comp.value;
58132
+ }
58133
+ }
58134
+ comp = comp.trim().split(/\s+/).join(" ");
58135
+ debug("comparator", comp, options);
58136
+ this.options = options;
58137
+ this.loose = !!options.loose;
58138
+ this.parse(comp);
58139
+ if (this.semver === ANY) {
58140
+ this.value = "";
58141
+ } else {
58142
+ this.value = this.operator + this.semver.version;
58143
+ }
58144
+ debug("comp", this);
58145
+ }
58146
+ parse(comp) {
58147
+ const r3 = this.options.loose ? re[t4.COMPARATORLOOSE] : re[t4.COMPARATOR];
58148
+ const m4 = comp.match(r3);
58149
+ if (!m4) {
58150
+ throw new TypeError(`Invalid comparator: ${comp}`);
58151
+ }
58152
+ this.operator = m4[1] !== void 0 ? m4[1] : "";
58153
+ if (this.operator === "=") {
58154
+ this.operator = "";
58155
+ }
58156
+ if (!m4[2]) {
58157
+ this.semver = ANY;
58158
+ } else {
58159
+ this.semver = new SemVer(m4[2], this.options.loose);
58160
+ }
58161
+ }
58162
+ toString() {
58163
+ return this.value;
58164
+ }
58165
+ test(version3) {
58166
+ debug("Comparator.test", version3, this.options.loose);
58167
+ if (this.semver === ANY || version3 === ANY) {
58168
+ return true;
58169
+ }
58170
+ if (typeof version3 === "string") {
58171
+ try {
58172
+ version3 = new SemVer(version3, this.options);
58173
+ } catch (er) {
58174
+ return false;
58175
+ }
58176
+ }
58177
+ return cmp(version3, this.operator, this.semver, this.options);
58178
+ }
58179
+ intersects(comp, options) {
58180
+ if (!(comp instanceof _Comparator)) {
58181
+ throw new TypeError("a Comparator is required");
58182
+ }
58183
+ if (this.operator === "") {
58184
+ if (this.value === "") {
58185
+ return true;
58186
+ }
58187
+ return new Range(comp.value, options).test(this.value);
58188
+ } else if (comp.operator === "") {
58189
+ if (comp.value === "") {
58190
+ return true;
58191
+ }
58192
+ return new Range(this.value, options).test(comp.semver);
58193
+ }
58194
+ options = parseOptions(options);
58195
+ if (options.includePrerelease && (this.value === "<0.0.0-0" || comp.value === "<0.0.0-0")) {
58196
+ return false;
58197
+ }
58198
+ if (!options.includePrerelease && (this.value.startsWith("<0.0.0") || comp.value.startsWith("<0.0.0"))) {
58199
+ return false;
58200
+ }
58201
+ if (this.operator.startsWith(">") && comp.operator.startsWith(">")) {
58202
+ return true;
58203
+ }
58204
+ if (this.operator.startsWith("<") && comp.operator.startsWith("<")) {
58205
+ return true;
58206
+ }
58207
+ if (this.semver.version === comp.semver.version && this.operator.includes("=") && comp.operator.includes("=")) {
58208
+ return true;
58209
+ }
58210
+ if (cmp(this.semver, "<", comp.semver, options) && this.operator.startsWith(">") && comp.operator.startsWith("<")) {
58211
+ return true;
58212
+ }
58213
+ if (cmp(this.semver, ">", comp.semver, options) && this.operator.startsWith("<") && comp.operator.startsWith(">")) {
58214
+ return true;
58215
+ }
58216
+ return false;
58217
+ }
58218
+ };
58219
+ module2.exports = Comparator;
58220
+ var parseOptions = require_parse_options2();
58221
+ var { safeRe: re, t: t4 } = require_re2();
58222
+ var cmp = require_cmp2();
58223
+ var debug = require_debug3();
58224
+ var SemVer = require_semver3();
58225
+ var Range = require_range3();
58226
+ }
58227
+ });
58228
+
58229
+ // ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/satisfies.js
58230
+ var require_satisfies2 = __commonJS({
58231
+ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/satisfies.js"(exports2, module2) {
58232
+ "use strict";
58233
+ var Range = require_range3();
58234
+ var satisfies2 = (version3, range2, options) => {
58235
+ try {
58236
+ range2 = new Range(range2, options);
58237
+ } catch (er) {
58238
+ return false;
58239
+ }
58240
+ return range2.test(version3);
58241
+ };
58242
+ module2.exports = satisfies2;
58243
+ }
58244
+ });
58245
+
58246
+ // ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/to-comparators.js
58247
+ var require_to_comparators2 = __commonJS({
58248
+ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/to-comparators.js"(exports2, module2) {
58249
+ "use strict";
58250
+ var Range = require_range3();
58251
+ var toComparators = (range2, options) => new Range(range2, options).set.map((comp) => comp.map((c3) => c3.value).join(" ").trim().split(" "));
58252
+ module2.exports = toComparators;
58253
+ }
58254
+ });
58255
+
58256
+ // ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/max-satisfying.js
58257
+ var require_max_satisfying2 = __commonJS({
58258
+ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/max-satisfying.js"(exports2, module2) {
58259
+ "use strict";
58260
+ var SemVer = require_semver3();
58261
+ var Range = require_range3();
58262
+ var maxSatisfying = (versions, range2, options) => {
58263
+ let max = null;
58264
+ let maxSV = null;
58265
+ let rangeObj = null;
58266
+ try {
58267
+ rangeObj = new Range(range2, options);
58268
+ } catch (er) {
58269
+ return null;
58270
+ }
58271
+ versions.forEach((v) => {
58272
+ if (rangeObj.test(v)) {
58273
+ if (!max || maxSV.compare(v) === -1) {
58274
+ max = v;
58275
+ maxSV = new SemVer(max, options);
58276
+ }
58277
+ }
58278
+ });
58279
+ return max;
58280
+ };
58281
+ module2.exports = maxSatisfying;
58282
+ }
58283
+ });
58284
+
58285
+ // ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/min-satisfying.js
58286
+ var require_min_satisfying2 = __commonJS({
58287
+ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/min-satisfying.js"(exports2, module2) {
58288
+ "use strict";
58289
+ var SemVer = require_semver3();
58290
+ var Range = require_range3();
58291
+ var minSatisfying = (versions, range2, options) => {
58292
+ let min = null;
58293
+ let minSV = null;
58294
+ let rangeObj = null;
58295
+ try {
58296
+ rangeObj = new Range(range2, options);
58297
+ } catch (er) {
58298
+ return null;
58299
+ }
58300
+ versions.forEach((v) => {
58301
+ if (rangeObj.test(v)) {
58302
+ if (!min || minSV.compare(v) === 1) {
58303
+ min = v;
58304
+ minSV = new SemVer(min, options);
58305
+ }
58306
+ }
58307
+ });
58308
+ return min;
58309
+ };
58310
+ module2.exports = minSatisfying;
58311
+ }
58312
+ });
58313
+
58314
+ // ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/min-version.js
58315
+ var require_min_version2 = __commonJS({
58316
+ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/min-version.js"(exports2, module2) {
58317
+ "use strict";
58318
+ var SemVer = require_semver3();
58319
+ var Range = require_range3();
58320
+ var gt = require_gt2();
58321
+ var minVersion = (range2, loose) => {
58322
+ range2 = new Range(range2, loose);
58323
+ let minver = new SemVer("0.0.0");
58324
+ if (range2.test(minver)) {
58325
+ return minver;
58326
+ }
58327
+ minver = new SemVer("0.0.0-0");
58328
+ if (range2.test(minver)) {
58329
+ return minver;
58330
+ }
58331
+ minver = null;
58332
+ for (let i7 = 0; i7 < range2.set.length; ++i7) {
58333
+ const comparators = range2.set[i7];
58334
+ let setMin = null;
58335
+ comparators.forEach((comparator) => {
58336
+ const compver = new SemVer(comparator.semver.version);
58337
+ switch (comparator.operator) {
58338
+ case ">":
58339
+ if (compver.prerelease.length === 0) {
58340
+ compver.patch++;
58341
+ } else {
58342
+ compver.prerelease.push(0);
58343
+ }
58344
+ compver.raw = compver.format();
58345
+ /* fallthrough */
58346
+ case "":
58347
+ case ">=":
58348
+ if (!setMin || gt(compver, setMin)) {
58349
+ setMin = compver;
58350
+ }
58351
+ break;
58352
+ case "<":
58353
+ case "<=":
58354
+ break;
58355
+ /* istanbul ignore next */
58356
+ default:
58357
+ throw new Error(`Unexpected operation: ${comparator.operator}`);
58358
+ }
58359
+ });
58360
+ if (setMin && (!minver || gt(minver, setMin))) {
58361
+ minver = setMin;
58362
+ }
58363
+ }
58364
+ if (minver && range2.test(minver)) {
58365
+ return minver;
58366
+ }
58367
+ return null;
58368
+ };
58369
+ module2.exports = minVersion;
58370
+ }
58371
+ });
58372
+
58373
+ // ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/valid.js
58374
+ var require_valid4 = __commonJS({
58375
+ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/valid.js"(exports2, module2) {
58376
+ "use strict";
58377
+ var Range = require_range3();
58378
+ var validRange = (range2, options) => {
58379
+ try {
58380
+ return new Range(range2, options).range || "*";
58381
+ } catch (er) {
58382
+ return null;
58383
+ }
58384
+ };
58385
+ module2.exports = validRange;
58386
+ }
58387
+ });
58388
+
58389
+ // ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/outside.js
58390
+ var require_outside2 = __commonJS({
58391
+ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/outside.js"(exports2, module2) {
58392
+ "use strict";
58393
+ var SemVer = require_semver3();
58394
+ var Comparator = require_comparator2();
58395
+ var { ANY } = Comparator;
58396
+ var Range = require_range3();
58397
+ var satisfies2 = require_satisfies2();
58398
+ var gt = require_gt2();
58399
+ var lt = require_lt2();
58400
+ var lte = require_lte2();
58401
+ var gte2 = require_gte2();
58402
+ var outside = (version3, range2, hilo, options) => {
58403
+ version3 = new SemVer(version3, options);
58404
+ range2 = new Range(range2, options);
58405
+ let gtfn, ltefn, ltfn, comp, ecomp;
58406
+ switch (hilo) {
58407
+ case ">":
58408
+ gtfn = gt;
58409
+ ltefn = lte;
58410
+ ltfn = lt;
58411
+ comp = ">";
58412
+ ecomp = ">=";
58413
+ break;
58414
+ case "<":
58415
+ gtfn = lt;
58416
+ ltefn = gte2;
58417
+ ltfn = gt;
58418
+ comp = "<";
58419
+ ecomp = "<=";
58420
+ break;
58421
+ default:
58422
+ throw new TypeError('Must provide a hilo val of "<" or ">"');
58423
+ }
58424
+ if (satisfies2(version3, range2, options)) {
58425
+ return false;
58426
+ }
58427
+ for (let i7 = 0; i7 < range2.set.length; ++i7) {
58428
+ const comparators = range2.set[i7];
58429
+ let high = null;
58430
+ let low = null;
58431
+ comparators.forEach((comparator) => {
58432
+ if (comparator.semver === ANY) {
58433
+ comparator = new Comparator(">=0.0.0");
58434
+ }
58435
+ high = high || comparator;
58436
+ low = low || comparator;
58437
+ if (gtfn(comparator.semver, high.semver, options)) {
58438
+ high = comparator;
58439
+ } else if (ltfn(comparator.semver, low.semver, options)) {
58440
+ low = comparator;
58441
+ }
58442
+ });
58443
+ if (high.operator === comp || high.operator === ecomp) {
58444
+ return false;
58445
+ }
58446
+ if ((!low.operator || low.operator === comp) && ltefn(version3, low.semver)) {
58447
+ return false;
58448
+ } else if (low.operator === ecomp && ltfn(version3, low.semver)) {
58449
+ return false;
58450
+ }
58451
+ }
58452
+ return true;
58453
+ };
58454
+ module2.exports = outside;
58455
+ }
58456
+ });
58457
+
58458
+ // ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/gtr.js
58459
+ var require_gtr2 = __commonJS({
58460
+ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/gtr.js"(exports2, module2) {
58461
+ "use strict";
58462
+ var outside = require_outside2();
58463
+ var gtr = (version3, range2, options) => outside(version3, range2, ">", options);
58464
+ module2.exports = gtr;
58465
+ }
58466
+ });
58467
+
58468
+ // ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/ltr.js
58469
+ var require_ltr2 = __commonJS({
58470
+ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/ltr.js"(exports2, module2) {
58471
+ "use strict";
58472
+ var outside = require_outside2();
58473
+ var ltr = (version3, range2, options) => outside(version3, range2, "<", options);
58474
+ module2.exports = ltr;
58475
+ }
58476
+ });
58477
+
58478
+ // ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/intersects.js
58479
+ var require_intersects2 = __commonJS({
58480
+ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/intersects.js"(exports2, module2) {
58481
+ "use strict";
58482
+ var Range = require_range3();
58483
+ var intersects = (r1, r22, options) => {
58484
+ r1 = new Range(r1, options);
58485
+ r22 = new Range(r22, options);
58486
+ return r1.intersects(r22, options);
58487
+ };
58488
+ module2.exports = intersects;
58489
+ }
58490
+ });
58491
+
58492
+ // ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/simplify.js
58493
+ var require_simplify2 = __commonJS({
58494
+ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/simplify.js"(exports2, module2) {
58495
+ "use strict";
58496
+ var satisfies2 = require_satisfies2();
58497
+ var compare = require_compare2();
58498
+ module2.exports = (versions, range2, options) => {
58499
+ const set = [];
58500
+ let first2 = null;
58501
+ let prev2 = null;
58502
+ const v = versions.sort((a4, b) => compare(a4, b, options));
58503
+ for (const version3 of v) {
58504
+ const included = satisfies2(version3, range2, options);
58505
+ if (included) {
58506
+ prev2 = version3;
58507
+ if (!first2) {
58508
+ first2 = version3;
58509
+ }
58510
+ } else {
58511
+ if (prev2) {
58512
+ set.push([first2, prev2]);
58513
+ }
58514
+ prev2 = null;
58515
+ first2 = null;
58516
+ }
58517
+ }
58518
+ if (first2) {
58519
+ set.push([first2, null]);
58520
+ }
58521
+ const ranges = [];
58522
+ for (const [min, max] of set) {
58523
+ if (min === max) {
58524
+ ranges.push(min);
58525
+ } else if (!max && min === v[0]) {
58526
+ ranges.push("*");
58527
+ } else if (!max) {
58528
+ ranges.push(`>=${min}`);
58529
+ } else if (min === v[0]) {
58530
+ ranges.push(`<=${max}`);
58531
+ } else {
58532
+ ranges.push(`${min} - ${max}`);
58533
+ }
58534
+ }
58535
+ const simplified = ranges.join(" || ");
58536
+ const original = typeof range2.raw === "string" ? range2.raw : String(range2);
58537
+ return simplified.length < original.length ? simplified : range2;
58538
+ };
58539
+ }
58540
+ });
58541
+
58542
+ // ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/subset.js
58543
+ var require_subset2 = __commonJS({
58544
+ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/subset.js"(exports2, module2) {
58545
+ "use strict";
58546
+ var Range = require_range3();
58547
+ var Comparator = require_comparator2();
58548
+ var { ANY } = Comparator;
58549
+ var satisfies2 = require_satisfies2();
58550
+ var compare = require_compare2();
58551
+ var subset = (sub, dom, options = {}) => {
58552
+ if (sub === dom) {
58553
+ return true;
58554
+ }
58555
+ sub = new Range(sub, options);
58556
+ dom = new Range(dom, options);
58557
+ let sawNonNull = false;
58558
+ OUTER: for (const simpleSub of sub.set) {
58559
+ for (const simpleDom of dom.set) {
58560
+ const isSub = simpleSubset(simpleSub, simpleDom, options);
58561
+ sawNonNull = sawNonNull || isSub !== null;
58562
+ if (isSub) {
58563
+ continue OUTER;
58564
+ }
58565
+ }
58566
+ if (sawNonNull) {
58567
+ return false;
58568
+ }
58569
+ }
58570
+ return true;
58571
+ };
58572
+ var minimumVersionWithPreRelease = [new Comparator(">=0.0.0-0")];
58573
+ var minimumVersion = [new Comparator(">=0.0.0")];
58574
+ var simpleSubset = (sub, dom, options) => {
58575
+ if (sub === dom) {
58576
+ return true;
58577
+ }
58578
+ if (sub.length === 1 && sub[0].semver === ANY) {
58579
+ if (dom.length === 1 && dom[0].semver === ANY) {
58580
+ return true;
58581
+ } else if (options.includePrerelease) {
58582
+ sub = minimumVersionWithPreRelease;
58583
+ } else {
58584
+ sub = minimumVersion;
58585
+ }
58586
+ }
58587
+ if (dom.length === 1 && dom[0].semver === ANY) {
58588
+ if (options.includePrerelease) {
58589
+ return true;
58590
+ } else {
58591
+ dom = minimumVersion;
58592
+ }
58593
+ }
58594
+ const eqSet = /* @__PURE__ */ new Set();
58595
+ let gt, lt;
58596
+ for (const c3 of sub) {
58597
+ if (c3.operator === ">" || c3.operator === ">=") {
58598
+ gt = higherGT(gt, c3, options);
58599
+ } else if (c3.operator === "<" || c3.operator === "<=") {
58600
+ lt = lowerLT(lt, c3, options);
58601
+ } else {
58602
+ eqSet.add(c3.semver);
58603
+ }
58604
+ }
58605
+ if (eqSet.size > 1) {
58606
+ return null;
58607
+ }
58608
+ let gtltComp;
58609
+ if (gt && lt) {
58610
+ gtltComp = compare(gt.semver, lt.semver, options);
58611
+ if (gtltComp > 0) {
58612
+ return null;
58613
+ } else if (gtltComp === 0 && (gt.operator !== ">=" || lt.operator !== "<=")) {
58614
+ return null;
58615
+ }
58616
+ }
58617
+ for (const eq2 of eqSet) {
58618
+ if (gt && !satisfies2(eq2, String(gt), options)) {
58619
+ return null;
58620
+ }
58621
+ if (lt && !satisfies2(eq2, String(lt), options)) {
58622
+ return null;
58623
+ }
58624
+ for (const c3 of dom) {
58625
+ if (!satisfies2(eq2, String(c3), options)) {
58626
+ return false;
58627
+ }
58628
+ }
58629
+ return true;
58630
+ }
58631
+ let higher, lower;
58632
+ let hasDomLT, hasDomGT;
58633
+ let needDomLTPre = lt && !options.includePrerelease && lt.semver.prerelease.length ? lt.semver : false;
58634
+ let needDomGTPre = gt && !options.includePrerelease && gt.semver.prerelease.length ? gt.semver : false;
58635
+ if (needDomLTPre && needDomLTPre.prerelease.length === 1 && lt.operator === "<" && needDomLTPre.prerelease[0] === 0) {
58636
+ needDomLTPre = false;
58637
+ }
58638
+ for (const c3 of dom) {
58639
+ hasDomGT = hasDomGT || c3.operator === ">" || c3.operator === ">=";
58640
+ hasDomLT = hasDomLT || c3.operator === "<" || c3.operator === "<=";
58641
+ if (gt) {
58642
+ if (needDomGTPre) {
58643
+ if (c3.semver.prerelease && c3.semver.prerelease.length && c3.semver.major === needDomGTPre.major && c3.semver.minor === needDomGTPre.minor && c3.semver.patch === needDomGTPre.patch) {
58644
+ needDomGTPre = false;
58645
+ }
58646
+ }
58647
+ if (c3.operator === ">" || c3.operator === ">=") {
58648
+ higher = higherGT(gt, c3, options);
58649
+ if (higher === c3 && higher !== gt) {
58650
+ return false;
58651
+ }
58652
+ } else if (gt.operator === ">=" && !satisfies2(gt.semver, String(c3), options)) {
58653
+ return false;
58654
+ }
58655
+ }
58656
+ if (lt) {
58657
+ if (needDomLTPre) {
58658
+ if (c3.semver.prerelease && c3.semver.prerelease.length && c3.semver.major === needDomLTPre.major && c3.semver.minor === needDomLTPre.minor && c3.semver.patch === needDomLTPre.patch) {
58659
+ needDomLTPre = false;
58660
+ }
58661
+ }
58662
+ if (c3.operator === "<" || c3.operator === "<=") {
58663
+ lower = lowerLT(lt, c3, options);
58664
+ if (lower === c3 && lower !== lt) {
58665
+ return false;
58666
+ }
58667
+ } else if (lt.operator === "<=" && !satisfies2(lt.semver, String(c3), options)) {
58668
+ return false;
58669
+ }
58670
+ }
58671
+ if (!c3.operator && (lt || gt) && gtltComp !== 0) {
58672
+ return false;
58673
+ }
58674
+ }
58675
+ if (gt && hasDomLT && !lt && gtltComp !== 0) {
58676
+ return false;
58677
+ }
58678
+ if (lt && hasDomGT && !gt && gtltComp !== 0) {
58679
+ return false;
58680
+ }
58681
+ if (needDomGTPre || needDomLTPre) {
58682
+ return false;
58683
+ }
58684
+ return true;
58685
+ };
58686
+ var higherGT = (a4, b, options) => {
58687
+ if (!a4) {
58688
+ return b;
58689
+ }
58690
+ const comp = compare(a4.semver, b.semver, options);
58691
+ return comp > 0 ? a4 : comp < 0 ? b : b.operator === ">" && a4.operator === ">=" ? b : a4;
58692
+ };
58693
+ var lowerLT = (a4, b, options) => {
58694
+ if (!a4) {
58695
+ return b;
58696
+ }
58697
+ const comp = compare(a4.semver, b.semver, options);
58698
+ return comp < 0 ? a4 : comp > 0 ? b : b.operator === "<" && a4.operator === "<=" ? b : a4;
58699
+ };
58700
+ module2.exports = subset;
58701
+ }
58702
+ });
58703
+
58704
+ // ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/index.js
58705
+ var require_semver4 = __commonJS({
58706
+ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/index.js"(exports2, module2) {
58707
+ "use strict";
58708
+ var internalRe = require_re2();
58709
+ var constants3 = require_constants4();
58710
+ var SemVer = require_semver3();
58711
+ var identifiers = require_identifiers2();
58712
+ var parse12 = require_parse4();
58713
+ var valid = require_valid3();
58714
+ var clean = require_clean2();
58715
+ var inc = require_inc2();
58716
+ var diff = require_diff2();
58717
+ var major = require_major2();
58718
+ var minor = require_minor2();
58719
+ var patch = require_patch2();
58720
+ var prerelease = require_prerelease2();
58721
+ var compare = require_compare2();
58722
+ var rcompare = require_rcompare2();
58723
+ var compareLoose = require_compare_loose2();
58724
+ var compareBuild = require_compare_build2();
58725
+ var sort = require_sort2();
58726
+ var rsort = require_rsort2();
58727
+ var gt = require_gt2();
58728
+ var lt = require_lt2();
58729
+ var eq2 = require_eq2();
58730
+ var neq = require_neq2();
58731
+ var gte2 = require_gte2();
58732
+ var lte = require_lte2();
58733
+ var cmp = require_cmp2();
58734
+ var coerce = require_coerce2();
58735
+ var Comparator = require_comparator2();
58736
+ var Range = require_range3();
58737
+ var satisfies2 = require_satisfies2();
58738
+ var toComparators = require_to_comparators2();
58739
+ var maxSatisfying = require_max_satisfying2();
58740
+ var minSatisfying = require_min_satisfying2();
58741
+ var minVersion = require_min_version2();
58742
+ var validRange = require_valid4();
58743
+ var outside = require_outside2();
58744
+ var gtr = require_gtr2();
58745
+ var ltr = require_ltr2();
58746
+ var intersects = require_intersects2();
58747
+ var simplifyRange = require_simplify2();
58748
+ var subset = require_subset2();
58749
+ module2.exports = {
58750
+ parse: parse12,
58751
+ valid,
58752
+ clean,
58753
+ inc,
58754
+ diff,
58755
+ major,
58756
+ minor,
58757
+ patch,
58758
+ prerelease,
58759
+ compare,
58760
+ rcompare,
58761
+ compareLoose,
58762
+ compareBuild,
58763
+ sort,
58764
+ rsort,
58765
+ gt,
58766
+ lt,
58767
+ eq: eq2,
58768
+ neq,
58769
+ gte: gte2,
58770
+ lte,
58771
+ cmp,
58772
+ coerce,
58773
+ Comparator,
58774
+ Range,
58775
+ satisfies: satisfies2,
58776
+ toComparators,
58777
+ maxSatisfying,
58778
+ minSatisfying,
58779
+ minVersion,
58780
+ validRange,
58781
+ outside,
58782
+ gtr,
58783
+ ltr,
58784
+ intersects,
58785
+ simplifyRange,
58786
+ subset,
58787
+ SemVer,
58788
+ re: internalRe.re,
58789
+ src: internalRe.src,
58790
+ tokens: internalRe.t,
58791
+ SEMVER_SPEC_VERSION: constants3.SEMVER_SPEC_VERSION,
58792
+ RELEASE_TYPES: constants3.RELEASE_TYPES,
58793
+ compareIdentifiers: identifiers.compareIdentifiers,
58794
+ rcompareIdentifiers: identifiers.rcompareIdentifiers
58795
+ };
58796
+ }
58797
+ });
58798
+
56891
58799
  // ../../node_modules/.pnpm/@pnpm+dependency-path@5.1.3/node_modules/@pnpm/dependency-path/lib/index.js
56892
58800
  var require_lib17 = __commonJS({
56893
58801
  "../../node_modules/.pnpm/@pnpm+dependency-path@5.1.3/node_modules/@pnpm/dependency-path/lib/index.js"(exports2) {
@@ -56898,7 +58806,7 @@ var require_lib17 = __commonJS({
56898
58806
  Object.defineProperty(exports2, "__esModule", { value: true });
56899
58807
  exports2.createPeersDirSuffix = exports2.depPathToFilename = exports2.parse = exports2.refToRelative = exports2.getRegistryByPackageName = exports2.tryGetPackageId = exports2.getPkgIdWithPatchHash = exports2.removeSuffix = exports2.parseDepPath = exports2.indexOfPeersSuffix = exports2.isAbsolute = void 0;
56900
58808
  var crypto_base32_hash_1 = require_lib16();
56901
- var semver_1 = __importDefault(require_semver2());
58809
+ var semver_1 = __importDefault(require_semver4());
56902
58810
  function isAbsolute(dependencyPath) {
56903
58811
  return dependencyPath[0] !== "/";
56904
58812
  }
@@ -60007,7 +61915,7 @@ var require_depd = __commonJS({
60007
61915
  });
60008
61916
 
60009
61917
  // ../../node_modules/.pnpm/agentkeepalive@4.2.1/node_modules/agentkeepalive/lib/constants.js
60010
- var require_constants4 = __commonJS({
61918
+ var require_constants5 = __commonJS({
60011
61919
  "../../node_modules/.pnpm/agentkeepalive@4.2.1/node_modules/agentkeepalive/lib/constants.js"(exports2, module2) {
60012
61920
  "use strict";
60013
61921
  module2.exports = {
@@ -60041,7 +61949,7 @@ var require_agent = __commonJS({
60041
61949
  SOCKET_NAME,
60042
61950
  SOCKET_REQUEST_COUNT,
60043
61951
  SOCKET_REQUEST_FINISHED_COUNT
60044
- } = require_constants4();
61952
+ } = require_constants5();
60045
61953
  var defaultTimeoutListenerCount = 1;
60046
61954
  var majorVersion = parseInt(process.version.split(".", 1)[0].substring(1));
60047
61955
  if (majorVersion >= 11 && majorVersion <= 12) {
@@ -60358,7 +62266,7 @@ var require_https_agent = __commonJS({
60358
62266
  var {
60359
62267
  INIT_SOCKET,
60360
62268
  CREATE_HTTPS_CONNECTION
60361
- } = require_constants4();
62269
+ } = require_constants5();
60362
62270
  var HttpsAgent = class extends HttpAgent {
60363
62271
  constructor(options) {
60364
62272
  super(options);
@@ -60401,7 +62309,7 @@ var require_agentkeepalive = __commonJS({
60401
62309
  "use strict";
60402
62310
  module2.exports = require_agent();
60403
62311
  module2.exports.HttpsAgent = require_https_agent();
60404
- module2.exports.constants = require_constants4();
62312
+ module2.exports.constants = require_constants5();
60405
62313
  }
60406
62314
  });
60407
62315
 
@@ -63390,7 +65298,7 @@ var require_smartbuffer = __commonJS({
63390
65298
  });
63391
65299
 
63392
65300
  // ../../node_modules/.pnpm/socks@2.7.1/node_modules/socks/build/common/constants.js
63393
- var require_constants5 = __commonJS({
65301
+ var require_constants6 = __commonJS({
63394
65302
  "../../node_modules/.pnpm/socks@2.7.1/node_modules/socks/build/common/constants.js"(exports2) {
63395
65303
  "use strict";
63396
65304
  Object.defineProperty(exports2, "__esModule", { value: true });
@@ -63538,7 +65446,7 @@ var require_helpers2 = __commonJS({
63538
65446
  Object.defineProperty(exports2, "__esModule", { value: true });
63539
65447
  exports2.validateSocksClientChainOptions = exports2.validateSocksClientOptions = void 0;
63540
65448
  var util_1 = require_util2();
63541
- var constants_1 = require_constants5();
65449
+ var constants_1 = require_constants6();
63542
65450
  var stream5 = __require("stream");
63543
65451
  function validateSocksClientOptions(options, acceptedCommands = ["connect", "bind", "associate"]) {
63544
65452
  if (!constants_1.SocksCommand[options.command]) {
@@ -63696,7 +65604,7 @@ var require_socksclient = __commonJS({
63696
65604
  var net = __require("net");
63697
65605
  var ip = require_ip();
63698
65606
  var smart_buffer_1 = require_smartbuffer();
63699
- var constants_1 = require_constants5();
65607
+ var constants_1 = require_constants6();
63700
65608
  var helpers_1 = require_helpers2();
63701
65609
  var receivebuffer_1 = require_receivebuffer();
63702
65610
  var util_1 = require_util2();
@@ -66247,7 +68155,7 @@ var require_lib21 = __commonJS({
66247
68155
  Object.defineProperty(exports2, "__esModule", { value: true });
66248
68156
  exports2.createGitResolver = exports2.createGitHostedPkgId = void 0;
66249
68157
  var graceful_git_1 = __importDefault(require_graceful_git());
66250
- var semver_1 = __importDefault(require_semver2());
68158
+ var semver_1 = __importDefault(require_semver4());
66251
68159
  var parsePref_1 = require_parsePref();
66252
68160
  var createGitHostedPkgId_1 = require_createGitHostedPkgId();
66253
68161
  Object.defineProperty(exports2, "createGitHostedPkgId", { enumerable: true, get: function() {
@@ -67447,7 +69355,7 @@ var require_lib24 = __commonJS({
67447
69355
  Object.defineProperty(exports2, "__esModule", { value: true });
67448
69356
  exports2.mergeLockfileChanges = void 0;
67449
69357
  var comver_to_semver_1 = __importDefault(require_comver_to_semver());
67450
- var semver_1 = __importDefault(require_semver2());
69358
+ var semver_1 = __importDefault(require_semver4());
67451
69359
  function mergeLockfileChanges(ours, theirs) {
67452
69360
  const newLockfile = {
67453
69361
  importers: {},
@@ -97257,7 +99165,7 @@ var require_expand = __commonJS({
97257
99165
  });
97258
99166
 
97259
99167
  // ../../node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/constants.js
97260
- var require_constants6 = __commonJS({
99168
+ var require_constants7 = __commonJS({
97261
99169
  "../../node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/constants.js"(exports2, module2) {
97262
99170
  "use strict";
97263
99171
  module2.exports = {
@@ -97358,7 +99266,7 @@ var require_constants6 = __commonJS({
97358
99266
  });
97359
99267
 
97360
99268
  // ../../node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/parse.js
97361
- var require_parse4 = __commonJS({
99269
+ var require_parse5 = __commonJS({
97362
99270
  "../../node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/parse.js"(exports2, module2) {
97363
99271
  "use strict";
97364
99272
  var stringify3 = require_stringify3();
@@ -97390,7 +99298,7 @@ var require_parse4 = __commonJS({
97390
99298
  /* ' */
97391
99299
  CHAR_NO_BREAK_SPACE,
97392
99300
  CHAR_ZERO_WIDTH_NOBREAK_SPACE
97393
- } = require_constants6();
99301
+ } = require_constants7();
97394
99302
  var parse12 = (input, options = {}) => {
97395
99303
  if (typeof input !== "string") {
97396
99304
  throw new TypeError("Expected a string");
@@ -97604,7 +99512,7 @@ var require_braces = __commonJS({
97604
99512
  var stringify3 = require_stringify3();
97605
99513
  var compile4 = require_compile();
97606
99514
  var expand2 = require_expand();
97607
- var parse12 = require_parse4();
99515
+ var parse12 = require_parse5();
97608
99516
  var braces = (input, options = {}) => {
97609
99517
  let output = [];
97610
99518
  if (Array.isArray(input)) {
@@ -97661,7 +99569,7 @@ var require_braces = __commonJS({
97661
99569
  });
97662
99570
 
97663
99571
  // ../../node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/constants.js
97664
- var require_constants7 = __commonJS({
99572
+ var require_constants8 = __commonJS({
97665
99573
  "../../node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/constants.js"(exports2, module2) {
97666
99574
  "use strict";
97667
99575
  var path2 = __require("path");
@@ -97868,7 +99776,7 @@ var require_utils5 = __commonJS({
97868
99776
  REGEX_REMOVE_BACKSLASH,
97869
99777
  REGEX_SPECIAL_CHARS,
97870
99778
  REGEX_SPECIAL_CHARS_GLOBAL
97871
- } = require_constants7();
99779
+ } = require_constants8();
97872
99780
  exports2.isObject = (val2) => val2 !== null && typeof val2 === "object" && !Array.isArray(val2);
97873
99781
  exports2.hasRegexChars = (str) => REGEX_SPECIAL_CHARS.test(str);
97874
99782
  exports2.isRegexChar = (str) => str.length === 1 && exports2.hasRegexChars(str);
@@ -97954,7 +99862,7 @@ var require_scan2 = __commonJS({
97954
99862
  /* ) */
97955
99863
  CHAR_RIGHT_SQUARE_BRACKET
97956
99864
  /* ] */
97957
- } = require_constants7();
99865
+ } = require_constants8();
97958
99866
  var isPathSeparator = (code) => {
97959
99867
  return code === CHAR_FORWARD_SLASH || code === CHAR_BACKWARD_SLASH;
97960
99868
  };
@@ -98249,10 +100157,10 @@ var require_scan2 = __commonJS({
98249
100157
  });
98250
100158
 
98251
100159
  // ../../node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/parse.js
98252
- var require_parse5 = __commonJS({
100160
+ var require_parse6 = __commonJS({
98253
100161
  "../../node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/parse.js"(exports2, module2) {
98254
100162
  "use strict";
98255
- var constants3 = require_constants7();
100163
+ var constants3 = require_constants8();
98256
100164
  var utils = require_utils5();
98257
100165
  var {
98258
100166
  MAX_LENGTH,
@@ -99027,9 +100935,9 @@ var require_picomatch3 = __commonJS({
99027
100935
  "use strict";
99028
100936
  var path2 = __require("path");
99029
100937
  var scan = require_scan2();
99030
- var parse12 = require_parse5();
100938
+ var parse12 = require_parse6();
99031
100939
  var utils = require_utils5();
99032
- var constants3 = require_constants7();
100940
+ var constants3 = require_constants8();
99033
100941
  var isObject2 = (val2) => val2 && typeof val2 === "object" && !Array.isArray(val2);
99034
100942
  var picomatch7 = (glob2, options, returnState = false) => {
99035
100943
  if (Array.isArray(glob2)) {
@@ -100425,7 +102333,7 @@ var require_errors6 = __commonJS({
100425
102333
  });
100426
102334
 
100427
102335
  // ../../node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/core/constants.js
100428
- var require_constants8 = __commonJS({
102336
+ var require_constants9 = __commonJS({
100429
102337
  "../../node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/core/constants.js"(exports2, module2) {
100430
102338
  "use strict";
100431
102339
  var headerNameLowerCasedRecord = {};
@@ -100552,7 +102460,7 @@ var require_util3 = __commonJS({
100552
102460
  var { Blob: Blob2 } = __require("buffer");
100553
102461
  var nodeUtil = __require("util");
100554
102462
  var { stringify: stringify3 } = __require("querystring");
100555
- var { headerNameLowerCasedRecord } = require_constants8();
102463
+ var { headerNameLowerCasedRecord } = require_constants9();
100556
102464
  var [nodeMajor, nodeMinor] = process.versions.node.split(".").map((v) => Number(v));
100557
102465
  function nop() {
100558
102466
  }
@@ -102997,7 +104905,7 @@ var require_main2 = __commonJS({
102997
104905
  });
102998
104906
 
102999
104907
  // ../../node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/fetch/constants.js
103000
- var require_constants9 = __commonJS({
104908
+ var require_constants10 = __commonJS({
103001
104909
  "../../node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/fetch/constants.js"(exports2, module2) {
103002
104910
  "use strict";
103003
104911
  var { MessageChannel, receiveMessageOnPort } = __require("worker_threads");
@@ -103235,7 +105143,7 @@ var require_global = __commonJS({
103235
105143
  var require_util4 = __commonJS({
103236
105144
  "../../node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/fetch/util.js"(exports2, module2) {
103237
105145
  "use strict";
103238
- var { redirectStatusSet, referrerPolicySet: referrerPolicyTokens, badPortsSet } = require_constants9();
105146
+ var { redirectStatusSet, referrerPolicySet: referrerPolicyTokens, badPortsSet } = require_constants10();
103239
105147
  var { getGlobalOrigin } = require_global();
103240
105148
  var { performance: performance2 } = __require("perf_hooks");
103241
105149
  var { isBlobLike, toUSVString, ReadableStreamFrom } = require_util3();
@@ -104874,7 +106782,7 @@ var require_body = __commonJS({
104874
106782
  var { FormData: FormData4 } = require_formdata();
104875
106783
  var { kState } = require_symbols2();
104876
106784
  var { webidl } = require_webidl();
104877
- var { DOMException: DOMException2, structuredClone } = require_constants9();
106785
+ var { DOMException: DOMException2, structuredClone } = require_constants10();
104878
106786
  var { Blob: Blob2, File: NativeFile } = __require("buffer");
104879
106787
  var { kBodyUsed } = require_symbols();
104880
106788
  var assert11 = __require("assert");
@@ -105965,7 +107873,7 @@ var require_utils7 = __commonJS({
105965
107873
  });
105966
107874
 
105967
107875
  // ../../node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/llhttp/constants.js
105968
- var require_constants10 = __commonJS({
107876
+ var require_constants11 = __commonJS({
105969
107877
  "../../node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/llhttp/constants.js"(exports2) {
105970
107878
  "use strict";
105971
107879
  Object.defineProperty(exports2, "__esModule", { value: true });
@@ -106855,7 +108763,7 @@ var require_client = __commonJS({
106855
108763
  );
106856
108764
  resume(client);
106857
108765
  }
106858
- var constants3 = require_constants10();
108766
+ var constants3 = require_constants11();
106859
108767
  var createRedirectInterceptor = require_redirectInterceptor();
106860
108768
  var EMPTY_BUF = Buffer.alloc(0);
106861
108769
  async function lazyllhttp() {
@@ -111552,7 +113460,7 @@ var require_response = __commonJS({
111552
113460
  redirectStatusSet,
111553
113461
  nullBodyStatus,
111554
113462
  DOMException: DOMException2
111555
- } = require_constants9();
113463
+ } = require_constants10();
111556
113464
  var { kState, kHeaders, kGuard, kRealm } = require_symbols2();
111557
113465
  var { webidl } = require_webidl();
111558
113466
  var { FormData: FormData4 } = require_formdata();
@@ -111934,7 +113842,7 @@ var require_request2 = __commonJS({
111934
113842
  requestCredentials,
111935
113843
  requestCache,
111936
113844
  requestDuplex
111937
- } = require_constants9();
113845
+ } = require_constants10();
111938
113846
  var { kEnumerableProperty } = util5;
111939
113847
  var { kHeaders, kSignal, kState, kGuard, kRealm } = require_symbols2();
111940
113848
  var { webidl } = require_webidl();
@@ -112603,7 +114511,7 @@ var require_fetch2 = __commonJS({
112603
114511
  requestBodyHeader,
112604
114512
  subresourceSet,
112605
114513
  DOMException: DOMException2
112606
- } = require_constants9();
114514
+ } = require_constants10();
112607
114515
  var { kHeadersList } = require_symbols();
112608
114516
  var EE = __require("events");
112609
114517
  var { Readable: Readable2, pipeline } = __require("stream");
@@ -113967,7 +115875,7 @@ var require_util6 = __commonJS({
113967
115875
  } = require_symbols3();
113968
115876
  var { ProgressEvent } = require_progressevent();
113969
115877
  var { getEncoding } = require_encoding();
113970
- var { DOMException: DOMException2 } = require_constants9();
115878
+ var { DOMException: DOMException2 } = require_constants10();
113971
115879
  var { serializeAMimeType, parseMIMEType } = require_dataURL();
113972
115880
  var { types: types2 } = __require("util");
113973
115881
  var { StringDecoder: StringDecoder2 } = __require("string_decoder");
@@ -115081,7 +116989,7 @@ var require_cachestorage = __commonJS({
115081
116989
  });
115082
116990
 
115083
116991
  // ../../node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/cookies/constants.js
115084
- var require_constants11 = __commonJS({
116992
+ var require_constants12 = __commonJS({
115085
116993
  "../../node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/cookies/constants.js"(exports2, module2) {
115086
116994
  "use strict";
115087
116995
  var maxAttributeValueSize = 1024;
@@ -115253,10 +117161,10 @@ var require_util8 = __commonJS({
115253
117161
  });
115254
117162
 
115255
117163
  // ../../node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/cookies/parse.js
115256
- var require_parse6 = __commonJS({
117164
+ var require_parse7 = __commonJS({
115257
117165
  "../../node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/cookies/parse.js"(exports2, module2) {
115258
117166
  "use strict";
115259
- var { maxNameValuePairSize, maxAttributeValueSize } = require_constants11();
117167
+ var { maxNameValuePairSize, maxAttributeValueSize } = require_constants12();
115260
117168
  var { isCTLExcludingHtab } = require_util8();
115261
117169
  var { collectASequenceOfCodePointsFast } = require_dataURL();
115262
117170
  var assert11 = __require("assert");
@@ -115396,7 +117304,7 @@ var require_parse6 = __commonJS({
115396
117304
  var require_cookies = __commonJS({
115397
117305
  "../../node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/cookies/index.js"(exports2, module2) {
115398
117306
  "use strict";
115399
- var { parseSetCookie } = require_parse6();
117307
+ var { parseSetCookie } = require_parse7();
115400
117308
  var { stringify: stringify3, getHeadersList } = require_util8();
115401
117309
  var { webidl } = require_webidl();
115402
117310
  var { Headers } = require_headers();
@@ -115521,7 +117429,7 @@ var require_cookies = __commonJS({
115521
117429
  });
115522
117430
 
115523
117431
  // ../../node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/websocket/constants.js
115524
- var require_constants12 = __commonJS({
117432
+ var require_constants13 = __commonJS({
115525
117433
  "../../node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/websocket/constants.js"(exports2, module2) {
115526
117434
  "use strict";
115527
117435
  var uid = "258EAFA5-E914-47DA-95CA-C5AB0DC85B11";
@@ -115829,7 +117737,7 @@ var require_util9 = __commonJS({
115829
117737
  "../../node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/websocket/util.js"(exports2, module2) {
115830
117738
  "use strict";
115831
117739
  var { kReadyState, kController, kResponse, kBinaryType, kWebSocketURL } = require_symbols5();
115832
- var { states, opcodes } = require_constants12();
117740
+ var { states, opcodes } = require_constants13();
115833
117741
  var { MessageEvent, ErrorEvent } = require_events();
115834
117742
  function isEstablished(ws) {
115835
117743
  return ws[kReadyState] === states.OPEN;
@@ -115919,7 +117827,7 @@ var require_connection = __commonJS({
115919
117827
  "../../node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/websocket/connection.js"(exports2, module2) {
115920
117828
  "use strict";
115921
117829
  var diagnosticsChannel = __require("diagnostics_channel");
115922
- var { uid, states } = require_constants12();
117830
+ var { uid, states } = require_constants13();
115923
117831
  var {
115924
117832
  kReadyState,
115925
117833
  kSentClose,
@@ -116066,7 +117974,7 @@ var require_connection = __commonJS({
116066
117974
  var require_frame = __commonJS({
116067
117975
  "../../node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/websocket/frame.js"(exports2, module2) {
116068
117976
  "use strict";
116069
- var { maxUnsigned16Bit } = require_constants12();
117977
+ var { maxUnsigned16Bit } = require_constants13();
116070
117978
  var crypto7;
116071
117979
  try {
116072
117980
  crypto7 = __require("crypto");
@@ -116125,7 +118033,7 @@ var require_receiver = __commonJS({
116125
118033
  "use strict";
116126
118034
  var { Writable } = __require("stream");
116127
118035
  var diagnosticsChannel = __require("diagnostics_channel");
116128
- var { parserStates, opcodes, states, emptyBuffer } = require_constants12();
118036
+ var { parserStates, opcodes, states, emptyBuffer } = require_constants13();
116129
118037
  var { kReadyState, kSentClose, kResponse, kReceivedClose } = require_symbols5();
116130
118038
  var { isValidStatusCode, failWebsocketConnection, websocketMessageReceived } = require_util9();
116131
118039
  var { WebsocketFrameSend } = require_frame();
@@ -116360,10 +118268,10 @@ var require_websocket = __commonJS({
116360
118268
  "../../node_modules/.pnpm/undici@5.28.5/node_modules/undici/lib/websocket/websocket.js"(exports2, module2) {
116361
118269
  "use strict";
116362
118270
  var { webidl } = require_webidl();
116363
- var { DOMException: DOMException2 } = require_constants9();
118271
+ var { DOMException: DOMException2 } = require_constants10();
116364
118272
  var { URLSerializer } = require_dataURL();
116365
118273
  var { getGlobalOrigin } = require_global();
116366
- var { staticPropertyDescriptors, states, opcodes, emptyBuffer } = require_constants12();
118274
+ var { staticPropertyDescriptors, states, opcodes, emptyBuffer } = require_constants13();
116367
118275
  var {
116368
118276
  kWebSocketURL,
116369
118277
  kReadyState,
@@ -123594,7 +125502,7 @@ var require_errors7 = __commonJS({
123594
125502
  });
123595
125503
 
123596
125504
  // ../../node_modules/.pnpm/undici@6.21.2/node_modules/undici/lib/core/constants.js
123597
- var require_constants13 = __commonJS({
125505
+ var require_constants14 = __commonJS({
123598
125506
  "../../node_modules/.pnpm/undici@6.21.2/node_modules/undici/lib/core/constants.js"(exports2, module2) {
123599
125507
  "use strict";
123600
125508
  var headerNameLowerCasedRecord = {};
@@ -123715,7 +125623,7 @@ var require_tree2 = __commonJS({
123715
125623
  var {
123716
125624
  wellknownHeaderNames,
123717
125625
  headerNameLowerCasedRecord
123718
- } = require_constants13();
125626
+ } = require_constants14();
123719
125627
  var TstNode = class _TstNode {
123720
125628
  /** @type {any} */
123721
125629
  value = null;
@@ -123862,7 +125770,7 @@ var require_util10 = __commonJS({
123862
125770
  var { stringify: stringify3 } = __require("node:querystring");
123863
125771
  var { EventEmitter: EE } = __require("node:events");
123864
125772
  var { InvalidArgumentError: InvalidArgumentError2 } = require_errors7();
123865
- var { headerNameLowerCasedRecord } = require_constants13();
125773
+ var { headerNameLowerCasedRecord } = require_constants14();
123866
125774
  var { tree } = require_tree2();
123867
125775
  var [nodeMajor, nodeMinor] = process.versions.node.split(".").map((v) => Number(v));
123868
125776
  var BodyAsyncIterable = class {
@@ -124563,7 +126471,7 @@ var require_request3 = __commonJS({
124563
126471
  normalizedMethodRecords
124564
126472
  } = require_util10();
124565
126473
  var { channels } = require_diagnostics2();
124566
- var { headerNameLowerCasedRecord } = require_constants13();
126474
+ var { headerNameLowerCasedRecord } = require_constants14();
124567
126475
  var invalidPathRegex = /[^\u0021-\u00ff]/;
124568
126476
  var kHandler = Symbol("handler");
124569
126477
  var Request2 = class {
@@ -125511,7 +127419,7 @@ var require_utils9 = __commonJS({
125511
127419
  });
125512
127420
 
125513
127421
  // ../../node_modules/.pnpm/undici@6.21.2/node_modules/undici/lib/llhttp/constants.js
125514
- var require_constants14 = __commonJS({
127422
+ var require_constants15 = __commonJS({
125515
127423
  "../../node_modules/.pnpm/undici@6.21.2/node_modules/undici/lib/llhttp/constants.js"(exports2) {
125516
127424
  "use strict";
125517
127425
  Object.defineProperty(exports2, "__esModule", { value: true });
@@ -125850,7 +127758,7 @@ var require_llhttp_simd_wasm2 = __commonJS({
125850
127758
  });
125851
127759
 
125852
127760
  // ../../node_modules/.pnpm/undici@6.21.2/node_modules/undici/lib/web/fetch/constants.js
125853
- var require_constants15 = __commonJS({
127761
+ var require_constants16 = __commonJS({
125854
127762
  "../../node_modules/.pnpm/undici@6.21.2/node_modules/undici/lib/web/fetch/constants.js"(exports2, module2) {
125855
127763
  "use strict";
125856
127764
  var corsSafeListedMethods = (
@@ -126880,7 +128788,7 @@ var require_util11 = __commonJS({
126880
128788
  "use strict";
126881
128789
  var { Transform } = __require("node:stream");
126882
128790
  var zlib2 = __require("node:zlib");
126883
- var { redirectStatusSet, referrerPolicySet: referrerPolicyTokens, badPortsSet } = require_constants15();
128791
+ var { redirectStatusSet, referrerPolicySet: referrerPolicyTokens, badPortsSet } = require_constants16();
126884
128792
  var { getGlobalOrigin } = require_global3();
126885
128793
  var { collectASequenceOfCodePoints, collectAnHTTPQuotedString, removeChars, parseMIMEType } = require_data_url();
126886
128794
  var { performance: performance2 } = __require("node:perf_hooks");
@@ -128588,7 +130496,7 @@ var require_client_h1 = __commonJS({
128588
130496
  kResume,
128589
130497
  kHTTPContext
128590
130498
  } = require_symbols6();
128591
- var constants3 = require_constants14();
130499
+ var constants3 = require_constants15();
128592
130500
  var EMPTY_BUF = Buffer.alloc(0);
128593
130501
  var FastBuffer = Buffer[Symbol.species];
128594
130502
  var addListener = util5.addListener;
@@ -134923,7 +136831,7 @@ var require_response2 = __commonJS({
134923
136831
  var {
134924
136832
  redirectStatusSet,
134925
136833
  nullBodyStatus
134926
- } = require_constants15();
136834
+ } = require_constants16();
134927
136835
  var { kState, kHeaders } = require_symbols7();
134928
136836
  var { webidl } = require_webidl2();
134929
136837
  var { FormData: FormData4 } = require_formdata2();
@@ -135362,7 +137270,7 @@ var require_request4 = __commonJS({
135362
137270
  requestCredentials,
135363
137271
  requestCache,
135364
137272
  requestDuplex
135365
- } = require_constants15();
137273
+ } = require_constants16();
135366
137274
  var { kEnumerableProperty, normalizedMethodRecordsBase, normalizedMethodRecords } = util5;
135367
137275
  var { kHeaders, kSignal, kState, kDispatcher } = require_symbols7();
135368
137276
  var { webidl } = require_webidl2();
@@ -136092,7 +138000,7 @@ var require_fetch3 = __commonJS({
136092
138000
  safeMethodsSet,
136093
138001
  requestBodyHeader,
136094
138002
  subresourceSet
136095
- } = require_constants15();
138003
+ } = require_constants16();
136096
138004
  var EE = __require("node:events");
136097
138005
  var { Readable: Readable2, pipeline, finished } = __require("node:stream");
136098
138006
  var { addAbortListener, isErrored, isReadable: isReadable2, bufferToLowerCasedHeaderName } = require_util10();
@@ -138608,7 +140516,7 @@ var require_cachestorage2 = __commonJS({
138608
140516
  });
138609
140517
 
138610
140518
  // ../../node_modules/.pnpm/undici@6.21.2/node_modules/undici/lib/web/cookies/constants.js
138611
- var require_constants16 = __commonJS({
140519
+ var require_constants17 = __commonJS({
138612
140520
  "../../node_modules/.pnpm/undici@6.21.2/node_modules/undici/lib/web/cookies/constants.js"(exports2, module2) {
138613
140521
  "use strict";
138614
140522
  var maxAttributeValueSize = 1024;
@@ -138791,10 +140699,10 @@ var require_util15 = __commonJS({
138791
140699
  });
138792
140700
 
138793
140701
  // ../../node_modules/.pnpm/undici@6.21.2/node_modules/undici/lib/web/cookies/parse.js
138794
- var require_parse7 = __commonJS({
140702
+ var require_parse8 = __commonJS({
138795
140703
  "../../node_modules/.pnpm/undici@6.21.2/node_modules/undici/lib/web/cookies/parse.js"(exports2, module2) {
138796
140704
  "use strict";
138797
- var { maxNameValuePairSize, maxAttributeValueSize } = require_constants16();
140705
+ var { maxNameValuePairSize, maxAttributeValueSize } = require_constants17();
138798
140706
  var { isCTLExcludingHtab } = require_util15();
138799
140707
  var { collectASequenceOfCodePointsFast } = require_data_url();
138800
140708
  var assert11 = __require("node:assert");
@@ -138934,7 +140842,7 @@ var require_parse7 = __commonJS({
138934
140842
  var require_cookies2 = __commonJS({
138935
140843
  "../../node_modules/.pnpm/undici@6.21.2/node_modules/undici/lib/web/cookies/index.js"(exports2, module2) {
138936
140844
  "use strict";
138937
- var { parseSetCookie } = require_parse7();
140845
+ var { parseSetCookie } = require_parse8();
138938
140846
  var { stringify: stringify3 } = require_util15();
138939
140847
  var { webidl } = require_webidl2();
138940
140848
  var { Headers } = require_headers2();
@@ -139326,7 +141234,7 @@ var require_events2 = __commonJS({
139326
141234
  });
139327
141235
 
139328
141236
  // ../../node_modules/.pnpm/undici@6.21.2/node_modules/undici/lib/web/websocket/constants.js
139329
- var require_constants17 = __commonJS({
141237
+ var require_constants18 = __commonJS({
139330
141238
  "../../node_modules/.pnpm/undici@6.21.2/node_modules/undici/lib/web/websocket/constants.js"(exports2, module2) {
139331
141239
  "use strict";
139332
141240
  var uid = "258EAFA5-E914-47DA-95CA-C5AB0DC85B11";
@@ -139404,7 +141312,7 @@ var require_util16 = __commonJS({
139404
141312
  "../../node_modules/.pnpm/undici@6.21.2/node_modules/undici/lib/web/websocket/util.js"(exports2, module2) {
139405
141313
  "use strict";
139406
141314
  var { kReadyState, kController, kResponse, kBinaryType, kWebSocketURL } = require_symbols10();
139407
- var { states, opcodes } = require_constants17();
141315
+ var { states, opcodes } = require_constants18();
139408
141316
  var { ErrorEvent, createFastMessageEvent } = require_events2();
139409
141317
  var { isUtf8 } = __require("node:buffer");
139410
141318
  var { collectASequenceOfCodePointsFast, removeHTTPWhitespace } = require_data_url();
@@ -139572,7 +141480,7 @@ var require_util16 = __commonJS({
139572
141480
  var require_frame2 = __commonJS({
139573
141481
  "../../node_modules/.pnpm/undici@6.21.2/node_modules/undici/lib/web/websocket/frame.js"(exports2, module2) {
139574
141482
  "use strict";
139575
- var { maxUnsigned16Bit } = require_constants17();
141483
+ var { maxUnsigned16Bit } = require_constants18();
139576
141484
  var BUFFER_SIZE = 16386;
139577
141485
  var crypto7;
139578
141486
  var buffer = null;
@@ -139649,7 +141557,7 @@ var require_frame2 = __commonJS({
139649
141557
  var require_connection2 = __commonJS({
139650
141558
  "../../node_modules/.pnpm/undici@6.21.2/node_modules/undici/lib/web/websocket/connection.js"(exports2, module2) {
139651
141559
  "use strict";
139652
- var { uid, states, sentCloseFrameState, emptyBuffer, opcodes } = require_constants17();
141560
+ var { uid, states, sentCloseFrameState, emptyBuffer, opcodes } = require_constants18();
139653
141561
  var {
139654
141562
  kReadyState,
139655
141563
  kSentClose,
@@ -139891,7 +141799,7 @@ var require_receiver2 = __commonJS({
139891
141799
  "use strict";
139892
141800
  var { Writable } = __require("node:stream");
139893
141801
  var assert11 = __require("node:assert");
139894
- var { parserStates, opcodes, states, emptyBuffer, sentCloseFrameState } = require_constants17();
141802
+ var { parserStates, opcodes, states, emptyBuffer, sentCloseFrameState } = require_constants18();
139895
141803
  var { kReadyState, kSentClose, kResponse, kReceivedClose } = require_symbols10();
139896
141804
  var { channels } = require_diagnostics2();
139897
141805
  var {
@@ -140195,7 +142103,7 @@ var require_sender = __commonJS({
140195
142103
  "../../node_modules/.pnpm/undici@6.21.2/node_modules/undici/lib/web/websocket/sender.js"(exports2, module2) {
140196
142104
  "use strict";
140197
142105
  var { WebsocketFrameSend } = require_frame2();
140198
- var { opcodes, sendHints } = require_constants17();
142106
+ var { opcodes, sendHints } = require_constants18();
140199
142107
  var FixedQueue = require_fixed_queue2();
140200
142108
  var FastBuffer = Buffer[Symbol.species];
140201
142109
  var SendQueue = class {
@@ -140279,7 +142187,7 @@ var require_websocket2 = __commonJS({
140279
142187
  var { webidl } = require_webidl2();
140280
142188
  var { URLSerializer } = require_data_url();
140281
142189
  var { environmentSettingsObject } = require_util11();
140282
- var { staticPropertyDescriptors, states, sentCloseFrameState, sendHints } = require_constants17();
142190
+ var { staticPropertyDescriptors, states, sentCloseFrameState, sendHints } = require_constants18();
140283
142191
  var {
140284
142192
  kWebSocketURL,
140285
142193
  kReadyState,
@@ -145542,7 +147450,7 @@ var require_expand2 = __commonJS({
145542
147450
  });
145543
147451
 
145544
147452
  // ../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/constants.js
145545
- var require_constants18 = __commonJS({
147453
+ var require_constants19 = __commonJS({
145546
147454
  "../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/constants.js"(exports2, module2) {
145547
147455
  "use strict";
145548
147456
  module2.exports = {
@@ -145643,7 +147551,7 @@ var require_constants18 = __commonJS({
145643
147551
  });
145644
147552
 
145645
147553
  // ../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/parse.js
145646
- var require_parse8 = __commonJS({
147554
+ var require_parse9 = __commonJS({
145647
147555
  "../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/parse.js"(exports2, module2) {
145648
147556
  "use strict";
145649
147557
  var stringify3 = require_stringify4();
@@ -145675,7 +147583,7 @@ var require_parse8 = __commonJS({
145675
147583
  /* ' */
145676
147584
  CHAR_NO_BREAK_SPACE,
145677
147585
  CHAR_ZERO_WIDTH_NOBREAK_SPACE
145678
- } = require_constants18();
147586
+ } = require_constants19();
145679
147587
  var parse12 = (input, options = {}) => {
145680
147588
  if (typeof input !== "string") {
145681
147589
  throw new TypeError("Expected a string");
@@ -145887,7 +147795,7 @@ var require_braces2 = __commonJS({
145887
147795
  var stringify3 = require_stringify4();
145888
147796
  var compile4 = require_compile2();
145889
147797
  var expand2 = require_expand2();
145890
- var parse12 = require_parse8();
147798
+ var parse12 = require_parse9();
145891
147799
  var braces = (input, options = {}) => {
145892
147800
  let output = [];
145893
147801
  if (Array.isArray(input)) {
@@ -157549,7 +159457,7 @@ var require_bson2 = __commonJS({
157549
159457
  });
157550
159458
 
157551
159459
  // ../../node_modules/.pnpm/mongodb@5.7.0/node_modules/mongodb/lib/cmap/wire_protocol/constants.js
157552
- var require_constants19 = __commonJS({
159460
+ var require_constants20 = __commonJS({
157553
159461
  "../../node_modules/.pnpm/mongodb@5.7.0/node_modules/mongodb/lib/cmap/wire_protocol/constants.js"(exports2) {
157554
159462
  "use strict";
157555
159463
  Object.defineProperty(exports2, "__esModule", { value: true });
@@ -157571,7 +159479,7 @@ var require_constants19 = __commonJS({
157571
159479
  });
157572
159480
 
157573
159481
  // ../../node_modules/.pnpm/mongodb@5.7.0/node_modules/mongodb/lib/constants.js
157574
- var require_constants20 = __commonJS({
159482
+ var require_constants21 = __commonJS({
157575
159483
  "../../node_modules/.pnpm/mongodb@5.7.0/node_modules/mongodb/lib/constants.js"(exports2) {
157576
159484
  "use strict";
157577
159485
  Object.defineProperty(exports2, "__esModule", { value: true });
@@ -158068,8 +159976,8 @@ var require_utils13 = __commonJS({
158068
159976
  var url2 = __require("url");
158069
159977
  var url_1 = __require("url");
158070
159978
  var bson_1 = require_bson2();
158071
- var constants_1 = require_constants19();
158072
- var constants_2 = require_constants20();
159979
+ var constants_1 = require_constants20();
159980
+ var constants_2 = require_constants21();
158073
159981
  var error_1 = require_error4();
158074
159982
  var read_concern_1 = require_read_concern();
158075
159983
  var read_preference_1 = require_read_preference();
@@ -161522,7 +163430,7 @@ var require_topology_description = __commonJS({
161522
163430
  "use strict";
161523
163431
  Object.defineProperty(exports2, "__esModule", { value: true });
161524
163432
  exports2.TopologyDescription = void 0;
161525
- var WIRE_CONSTANTS = require_constants19();
163433
+ var WIRE_CONSTANTS = require_constants20();
161526
163434
  var error_1 = require_error4();
161527
163435
  var utils_1 = require_utils13();
161528
163436
  var common_1 = require_common7();
@@ -162010,7 +163918,7 @@ var require_sessions = __commonJS({
162010
163918
  var bson_1 = require_bson2();
162011
163919
  var metrics_1 = require_metrics();
162012
163920
  var shared_1 = require_shared();
162013
- var constants_1 = require_constants20();
163921
+ var constants_1 = require_constants21();
162014
163922
  var error_1 = require_error4();
162015
163923
  var mongo_types_1 = require_mongo_types();
162016
163924
  var execute_operation_1 = require_execute_operation();
@@ -163448,7 +165356,7 @@ var require_count = __commonJS({
163448
165356
  });
163449
165357
 
163450
165358
  // ../../node_modules/.pnpm/mongodb@5.7.0/node_modules/mongodb/lib/sort.js
163451
- var require_sort2 = __commonJS({
165359
+ var require_sort3 = __commonJS({
163452
165360
  "../../node_modules/.pnpm/mongodb@5.7.0/node_modules/mongodb/lib/sort.js"(exports2) {
163453
165361
  "use strict";
163454
165362
  Object.defineProperty(exports2, "__esModule", { value: true });
@@ -163547,7 +165455,7 @@ var require_find = __commonJS({
163547
165455
  exports2.FindOperation = void 0;
163548
165456
  var error_1 = require_error4();
163549
165457
  var read_concern_1 = require_read_concern();
163550
- var sort_1 = require_sort2();
165458
+ var sort_1 = require_sort3();
163551
165459
  var utils_1 = require_utils13();
163552
165460
  var command_1 = require_command4();
163553
165461
  var operation_1 = require_operation();
@@ -163692,7 +165600,7 @@ var require_find_cursor = __commonJS({
163692
165600
  var count_1 = require_count();
163693
165601
  var execute_operation_1 = require_execute_operation();
163694
165602
  var find_1 = require_find();
163695
- var sort_1 = require_sort2();
165603
+ var sort_1 = require_sort3();
163696
165604
  var utils_1 = require_utils13();
163697
165605
  var abstract_cursor_1 = require_abstract_cursor();
163698
165606
  var kFilter = Symbol("filter");
@@ -164588,7 +166496,7 @@ var require_find_and_modify = __commonJS({
164588
166496
  exports2.FindOneAndUpdateOperation = exports2.FindOneAndReplaceOperation = exports2.FindOneAndDeleteOperation = exports2.ReturnDocument = void 0;
164589
166497
  var error_1 = require_error4();
164590
166498
  var read_preference_1 = require_read_preference();
164591
- var sort_1 = require_sort2();
166499
+ var sort_1 = require_sort3();
164592
166500
  var utils_1 = require_utils13();
164593
166501
  var command_1 = require_command4();
164594
166502
  var operation_1 = require_operation();
@@ -165576,7 +167484,7 @@ var require_change_stream_cursor = __commonJS({
165576
167484
  Object.defineProperty(exports2, "__esModule", { value: true });
165577
167485
  exports2.ChangeStreamCursor = void 0;
165578
167486
  var change_stream_1 = require_change_stream();
165579
- var constants_1 = require_constants20();
167487
+ var constants_1 = require_constants21();
165580
167488
  var aggregate_1 = require_aggregate();
165581
167489
  var execute_operation_1 = require_execute_operation();
165582
167490
  var utils_1 = require_utils13();
@@ -165902,7 +167810,7 @@ var require_create_collection = __commonJS({
165902
167810
  "use strict";
165903
167811
  Object.defineProperty(exports2, "__esModule", { value: true });
165904
167812
  exports2.CreateCollectionOperation = void 0;
165905
- var constants_1 = require_constants19();
167813
+ var constants_1 = require_constants20();
165906
167814
  var collection_1 = require_collection();
165907
167815
  var error_1 = require_error4();
165908
167816
  var command_1 = require_command4();
@@ -166093,7 +168001,7 @@ var require_db2 = __commonJS({
166093
168001
  var bson_1 = require_bson2();
166094
168002
  var change_stream_1 = require_change_stream();
166095
168003
  var collection_1 = require_collection();
166096
- var CONSTANTS = require_constants20();
168004
+ var CONSTANTS = require_constants21();
166097
168005
  var aggregation_cursor_1 = require_aggregation_cursor();
166098
168006
  var list_collections_cursor_1 = require_list_collections_cursor();
166099
168007
  var run_command_cursor_1 = require_run_command_cursor();
@@ -171426,7 +173334,7 @@ var require_compression = __commonJS({
171426
173334
  exports2.decompress = exports2.compress = exports2.uncompressibleCommands = exports2.Compressor = void 0;
171427
173335
  var util_1 = __require("util");
171428
173336
  var zlib2 = __require("zlib");
171429
- var constants_1 = require_constants20();
173337
+ var constants_1 = require_constants21();
171430
173338
  var deps_1 = require_deps();
171431
173339
  var error_1 = require_error4();
171432
173340
  exports2.Compressor = Object.freeze({
@@ -171527,7 +173435,7 @@ var require_encrypter = __commonJS({
171527
173435
  "use strict";
171528
173436
  Object.defineProperty(exports2, "__esModule", { value: true });
171529
173437
  exports2.Encrypter = void 0;
171530
- var constants_1 = require_constants20();
173438
+ var constants_1 = require_constants21();
171531
173439
  var error_1 = require_error4();
171532
173440
  var mongo_client_1 = require_mongo_client();
171533
173441
  var utils_1 = require_utils13();
@@ -171627,7 +173535,7 @@ var require_mongo_logger = __commonJS({
171627
173535
  exports2.MongoLogger = exports2.stringifyWithMaxLen = exports2.createStdioLogger = exports2.MongoLoggableComponent = exports2.SEVERITY_LEVEL_MAP = exports2.DEFAULT_MAX_DOCUMENT_LENGTH = exports2.SeverityLevel = void 0;
171628
173536
  var bson_1 = require_bson();
171629
173537
  var util_1 = __require("util");
171630
- var constants_1 = require_constants20();
173538
+ var constants_1 = require_constants21();
171631
173539
  var utils_1 = require_utils13();
171632
173540
  exports2.SeverityLevel = Object.freeze({
171633
173541
  EMERGENCY: "emergency",
@@ -173048,7 +174956,7 @@ var require_commands = __commonJS({
173048
174956
  var error_1 = require_error4();
173049
174957
  var read_preference_1 = require_read_preference();
173050
174958
  var utils_1 = require_utils13();
173051
- var constants_1 = require_constants19();
174959
+ var constants_1 = require_constants20();
173052
174960
  var _requestId = 0;
173053
174961
  var OPTS_TAILABLE_CURSOR = 2;
173054
174962
  var OPTS_SECONDARY = 4;
@@ -173433,7 +175341,7 @@ var require_command_monitoring_events = __commonJS({
173433
175341
  "use strict";
173434
175342
  Object.defineProperty(exports2, "__esModule", { value: true });
173435
175343
  exports2.SENSITIVE_COMMANDS = exports2.CommandFailedEvent = exports2.CommandSucceededEvent = exports2.CommandStartedEvent = void 0;
173436
- var constants_1 = require_constants20();
175344
+ var constants_1 = require_constants21();
173437
175345
  var utils_1 = require_utils13();
173438
175346
  var commands_1 = require_commands();
173439
175347
  var CommandStartedEvent = class {
@@ -173662,7 +175570,7 @@ var require_message_stream = __commonJS({
173662
175570
  var utils_1 = require_utils13();
173663
175571
  var commands_1 = require_commands();
173664
175572
  var compression_1 = require_compression();
173665
- var constants_1 = require_constants19();
175573
+ var constants_1 = require_constants20();
173666
175574
  var MESSAGE_HEADER_SIZE = 16;
173667
175575
  var COMPRESSION_DETAILS_SIZE = 9;
173668
175576
  var kDefaultMaxBsonMessageSize = 1024 * 1024 * 16 * 4;
@@ -173847,7 +175755,7 @@ var require_connection3 = __commonJS({
173847
175755
  exports2.hasSessionSupport = exports2.CryptoConnection = exports2.Connection = void 0;
173848
175756
  var timers_1 = __require("timers");
173849
175757
  var util_1 = __require("util");
173850
- var constants_1 = require_constants20();
175758
+ var constants_1 = require_constants21();
173851
175759
  var error_1 = require_error4();
173852
175760
  var mongo_types_1 = require_mongo_types();
173853
175761
  var sessions_1 = require_sessions();
@@ -175362,7 +177270,7 @@ var require_connect3 = __commonJS({
175362
177270
  var net = __require("net");
175363
177271
  var socks_1 = require_build();
175364
177272
  var tls = __require("tls");
175365
- var constants_1 = require_constants20();
177273
+ var constants_1 = require_constants21();
175366
177274
  var error_1 = require_error4();
175367
177275
  var utils_1 = require_utils13();
175368
177276
  var auth_provider_1 = require_auth_provider();
@@ -175375,7 +177283,7 @@ var require_connect3 = __commonJS({
175375
177283
  var scram_1 = require_scram();
175376
177284
  var x509_1 = require_x509();
175377
177285
  var connection_1 = require_connection3();
175378
- var constants_2 = require_constants19();
177286
+ var constants_2 = require_constants20();
175379
177287
  exports2.AUTH_PROVIDERS = /* @__PURE__ */ new Map([
175380
177288
  [providers_1.AuthMechanism.MONGODB_AWS, new mongodb_aws_1.MongoDBAWS()],
175381
177289
  [providers_1.AuthMechanism.MONGODB_CR, new mongocr_1.MongoCR()],
@@ -175706,7 +177614,7 @@ var require_connection_pool_events = __commonJS({
175706
177614
  "use strict";
175707
177615
  Object.defineProperty(exports2, "__esModule", { value: true });
175708
177616
  exports2.ConnectionPoolClearedEvent = exports2.ConnectionCheckedInEvent = exports2.ConnectionCheckedOutEvent = exports2.ConnectionCheckOutFailedEvent = exports2.ConnectionCheckOutStartedEvent = exports2.ConnectionClosedEvent = exports2.ConnectionReadyEvent = exports2.ConnectionCreatedEvent = exports2.ConnectionPoolClosedEvent = exports2.ConnectionPoolReadyEvent = exports2.ConnectionPoolCreatedEvent = exports2.ConnectionPoolMonitoringEvent = void 0;
175709
- var constants_1 = require_constants20();
177617
+ var constants_1 = require_constants21();
175710
177618
  var ConnectionPoolMonitoringEvent = class {
175711
177619
  /** @internal */
175712
177620
  constructor(pool) {
@@ -175877,7 +177785,7 @@ var require_connection_pool = __commonJS({
175877
177785
  Object.defineProperty(exports2, "__esModule", { value: true });
175878
177786
  exports2.ConnectionPool = exports2.PoolState = void 0;
175879
177787
  var timers_1 = __require("timers");
175880
- var constants_1 = require_constants20();
177788
+ var constants_1 = require_constants21();
175881
177789
  var error_1 = require_error4();
175882
177790
  var mongo_types_1 = require_mongo_types();
175883
177791
  var utils_1 = require_utils13();
@@ -176436,7 +178344,7 @@ var require_monitor = __commonJS({
176436
178344
  var bson_1 = require_bson2();
176437
178345
  var connect_1 = require_connect3();
176438
178346
  var connection_1 = require_connection3();
176439
- var constants_1 = require_constants20();
178347
+ var constants_1 = require_constants21();
176440
178348
  var error_1 = require_error4();
176441
178349
  var mongo_types_1 = require_mongo_types();
176442
178350
  var utils_1 = require_utils13();
@@ -176826,7 +178734,7 @@ var require_server = __commonJS({
176826
178734
  var connection_1 = require_connection3();
176827
178735
  var connection_pool_1 = require_connection_pool();
176828
178736
  var errors_1 = require_errors9();
176829
- var constants_1 = require_constants20();
178737
+ var constants_1 = require_constants21();
176830
178738
  var error_1 = require_error4();
176831
178739
  var mongo_types_1 = require_mongo_types();
176832
178740
  var transactions_1 = require_transactions();
@@ -177258,7 +179166,7 @@ var require_topology = __commonJS({
177258
179166
  var timers_1 = __require("timers");
177259
179167
  var util_1 = __require("util");
177260
179168
  var connection_string_1 = require_connection_string();
177261
- var constants_1 = require_constants20();
179169
+ var constants_1 = require_constants21();
177262
179170
  var error_1 = require_error4();
177263
179171
  var mongo_types_1 = require_mongo_types();
177264
179172
  var read_preference_1 = require_read_preference();
@@ -177804,7 +179712,7 @@ var require_mongo_client = __commonJS({
177804
179712
  var mongo_credentials_1 = require_mongo_credentials();
177805
179713
  var providers_1 = require_providers();
177806
179714
  var connection_string_1 = require_connection_string();
177807
- var constants_1 = require_constants20();
179715
+ var constants_1 = require_constants21();
177808
179716
  var db_1 = require_db2();
177809
179717
  var error_1 = require_error4();
177810
179718
  var mongo_logger_1 = require_mongo_logger();
@@ -178085,7 +179993,7 @@ var require_change_stream = __commonJS({
178085
179993
  Object.defineProperty(exports2, "__esModule", { value: true });
178086
179994
  exports2.ChangeStream = void 0;
178087
179995
  var collection_1 = require_collection();
178088
- var constants_1 = require_constants20();
179996
+ var constants_1 = require_constants21();
178089
179997
  var change_stream_cursor_1 = require_change_stream_cursor();
178090
179998
  var db_1 = require_db2();
178091
179999
  var error_1 = require_error4();
@@ -179505,7 +181413,7 @@ var require_types7 = __commonJS({
179505
181413
  });
179506
181414
 
179507
181415
  // ../../node_modules/.pnpm/css-what@6.1.0/node_modules/css-what/lib/commonjs/parse.js
179508
- var require_parse9 = __commonJS({
181416
+ var require_parse10 = __commonJS({
179509
181417
  "../../node_modules/.pnpm/css-what@6.1.0/node_modules/css-what/lib/commonjs/parse.js"(exports2) {
179510
181418
  "use strict";
179511
181419
  Object.defineProperty(exports2, "__esModule", { value: true });
@@ -180006,7 +181914,7 @@ var require_commonjs = __commonJS({
180006
181914
  Object.defineProperty(exports2, "__esModule", { value: true });
180007
181915
  exports2.stringify = exports2.parse = exports2.isTraversal = void 0;
180008
181916
  __exportStar(require_types7(), exports2);
180009
- var parse_1 = require_parse9();
181917
+ var parse_1 = require_parse10();
180010
181918
  Object.defineProperty(exports2, "isTraversal", { enumerable: true, get: function() {
180011
181919
  return parse_1.isTraversal;
180012
181920
  } });
@@ -183610,7 +185518,7 @@ var require_timespan = __commonJS({
183610
185518
  // ../../node_modules/.pnpm/jsonwebtoken@9.0.2/node_modules/jsonwebtoken/lib/asymmetricKeyDetailsSupported.js
183611
185519
  var require_asymmetricKeyDetailsSupported = __commonJS({
183612
185520
  "../../node_modules/.pnpm/jsonwebtoken@9.0.2/node_modules/jsonwebtoken/lib/asymmetricKeyDetailsSupported.js"(exports2, module2) {
183613
- var semver2 = require_semver2();
185521
+ var semver2 = require_semver4();
183614
185522
  module2.exports = semver2.satisfies(process.version, ">=15.7.0");
183615
185523
  }
183616
185524
  });
@@ -183618,7 +185526,7 @@ var require_asymmetricKeyDetailsSupported = __commonJS({
183618
185526
  // ../../node_modules/.pnpm/jsonwebtoken@9.0.2/node_modules/jsonwebtoken/lib/rsaPssKeyDetailsSupported.js
183619
185527
  var require_rsaPssKeyDetailsSupported = __commonJS({
183620
185528
  "../../node_modules/.pnpm/jsonwebtoken@9.0.2/node_modules/jsonwebtoken/lib/rsaPssKeyDetailsSupported.js"(exports2, module2) {
183621
- var semver2 = require_semver2();
185529
+ var semver2 = require_semver4();
183622
185530
  module2.exports = semver2.satisfies(process.version, ">=16.9.0");
183623
185531
  }
183624
185532
  });
@@ -183679,7 +185587,7 @@ var require_validateAsymmetricKey = __commonJS({
183679
185587
  // ../../node_modules/.pnpm/jsonwebtoken@9.0.2/node_modules/jsonwebtoken/lib/psSupported.js
183680
185588
  var require_psSupported = __commonJS({
183681
185589
  "../../node_modules/.pnpm/jsonwebtoken@9.0.2/node_modules/jsonwebtoken/lib/psSupported.js"(exports2, module2) {
183682
- var semver2 = require_semver2();
185590
+ var semver2 = require_semver4();
183683
185591
  module2.exports = semver2.satisfies(process.version, "^6.12.0 || >=8.0.0");
183684
185592
  }
183685
185593
  });
@@ -198811,14 +200719,14 @@ async function createSocketTier1Scan(cliOptions, coanaCliVersion) {
198811
200719
  throw new Error("we should never reach this point");
198812
200720
  }
198813
200721
  }
198814
- async function sendErrorReportToSocketDashboard(stackTrace, shouldLogSharing, reportId, logContent) {
200722
+ async function sendErrorReportToSocketDashboard(stackTrace, shouldLogSharing, errorType, reportId, logContent) {
198815
200723
  if (shouldLogSharing) {
198816
- console.log("Sending crash report to Socket");
198817
- console.log("The report will help team Socket debug the crash");
198818
- console.log("No source code is included in the crash report");
200724
+ console.log(`Sending ${errorType} report to Socket`);
200725
+ console.log("The report will help team Socket debug the problem");
200726
+ console.log("No source code is included in the report");
198819
200727
  }
198820
200728
  try {
198821
- const url2 = getSocketApiUrl("tier1-reachability-scan/failure");
200729
+ const url2 = errorType === "analysis-error" ? getSocketApiUrl("tier1-reachability-scan/analysis-error") : getSocketApiUrl("tier1-reachability-scan/failure");
198822
200730
  const data2 = {
198823
200731
  stack_trace: stackTrace,
198824
200732
  log_content: logContent,
@@ -219376,7 +221284,7 @@ async function fetchArtifactsFromSocket(rootWorkingDirectory, manifestsTarHash,
219376
221284
  ecosystem,
219377
221285
  artifactId: artifact.id
219378
221286
  };
219379
- const vulnId = `${ecosystem}-${workspace}-${vulnerability.url}`;
221287
+ const vulnId = `${ecosystem}-${workspace}-${artifact.namespace}-${artifact.name}-${artifact.version}-${vulnerability.url}`;
219380
221288
  if (!ecosystemWorkspaceVulnIds.has(vulnId)) {
219381
221289
  ecosystemWorkspaceVulnIds.add(vulnId);
219382
221290
  ((ecosystemToWorkspaceToVulnerabilities[ecosystem] ??= {})[workspace] ??= []).push(vulnerability);
@@ -219901,76 +221809,6 @@ function init(open, close) {
219901
221809
  }
219902
221810
  var kleur_default = $;
219903
221811
 
219904
- // ../../node_modules/.pnpm/yoctocolors@2.1.2/node_modules/yoctocolors/base.js
219905
- import tty from "node:tty";
219906
- var hasColors = tty?.WriteStream?.prototype?.hasColors?.() ?? false;
219907
- var format5 = (open, close) => {
219908
- if (!hasColors) {
219909
- return (input) => input;
219910
- }
219911
- const openCode = `\x1B[${open}m`;
219912
- const closeCode = `\x1B[${close}m`;
219913
- return (input) => {
219914
- const string = input + "";
219915
- let index2 = string.indexOf(closeCode);
219916
- if (index2 === -1) {
219917
- return openCode + string + closeCode;
219918
- }
219919
- let result = openCode;
219920
- let lastIndex = 0;
219921
- const reopenOnNestedClose = close === 22;
219922
- const replaceCode = (reopenOnNestedClose ? closeCode : "") + openCode;
219923
- while (index2 !== -1) {
219924
- result += string.slice(lastIndex, index2) + replaceCode;
219925
- lastIndex = index2 + closeCode.length;
219926
- index2 = string.indexOf(closeCode, lastIndex);
219927
- }
219928
- result += string.slice(lastIndex) + closeCode;
219929
- return result;
219930
- };
219931
- };
219932
- var reset = format5(0, 0);
219933
- var bold = format5(1, 22);
219934
- var dim = format5(2, 22);
219935
- var italic = format5(3, 23);
219936
- var underline = format5(4, 24);
219937
- var overline = format5(53, 55);
219938
- var inverse = format5(7, 27);
219939
- var hidden = format5(8, 28);
219940
- var strikethrough = format5(9, 29);
219941
- var black = format5(30, 39);
219942
- var red = format5(31, 39);
219943
- var green = format5(32, 39);
219944
- var yellow = format5(33, 39);
219945
- var blue = format5(34, 39);
219946
- var magenta = format5(35, 39);
219947
- var cyan = format5(36, 39);
219948
- var white = format5(37, 39);
219949
- var gray = format5(90, 39);
219950
- var bgBlack = format5(40, 49);
219951
- var bgRed = format5(41, 49);
219952
- var bgGreen = format5(42, 49);
219953
- var bgYellow = format5(43, 49);
219954
- var bgBlue = format5(44, 49);
219955
- var bgMagenta = format5(45, 49);
219956
- var bgCyan = format5(46, 49);
219957
- var bgWhite = format5(47, 49);
219958
- var bgGray = format5(100, 49);
219959
- var redBright = format5(91, 39);
219960
- var greenBright = format5(92, 39);
219961
- var yellowBright = format5(93, 39);
219962
- var blueBright = format5(94, 39);
219963
- var magentaBright = format5(95, 39);
219964
- var cyanBright = format5(96, 39);
219965
- var whiteBright = format5(97, 39);
219966
- var bgRedBright = format5(101, 49);
219967
- var bgGreenBright = format5(102, 49);
219968
- var bgYellowBright = format5(103, 49);
219969
- var bgBlueBright = format5(104, 49);
219970
- var bgMagentaBright = format5(105, 49);
219971
- var bgCyanBright = format5(106, 49);
219972
- var bgWhiteBright = format5(107, 49);
219973
-
219974
221812
  // dist/cli-core.js
219975
221813
  var import_lodash15 = __toESM(require_lodash(), 1);
219976
221814
  import os from "os";
@@ -220007,12 +221845,18 @@ var DashboardAPI = class {
220007
221845
  );
220008
221846
  }
220009
221847
  }
220010
- async sendErrorReport(apiKey, stackTrace, shouldLogSharing, reportId, repoUrl, projectName, logContent) {
221848
+ async sendErrorReport(apiKey, stackTrace, shouldLogSharing, errorType, reportId, repoUrl, projectName, logContent) {
220011
221849
  if (this.disableAnalyticsSharing) {
220012
221850
  return;
220013
221851
  }
220014
221852
  if (this.socketMode) {
220015
- await this.socketAPI.sendErrorReportToSocketDashboard(stackTrace, shouldLogSharing, reportId, logContent);
221853
+ await this.socketAPI.sendErrorReportToSocketDashboard(
221854
+ stackTrace,
221855
+ shouldLogSharing,
221856
+ errorType,
221857
+ reportId,
221858
+ logContent
221859
+ );
220016
221860
  } else {
220017
221861
  await this.coanaAPI.sendErrorReportToCoanaDashboard(
220018
221862
  apiKey,
@@ -220072,13 +221916,7 @@ var DashboardAPI = class {
220072
221916
  if (this.socketMode) {
220073
221917
  return await this.socketAPI.getLatestBucketsSocket(subprojectPath, workspacePath);
220074
221918
  } else {
220075
- return await this.coanaAPI.getBucketsForLastReport(
220076
- subprojectPath,
220077
- workspacePath,
220078
- ecosystem,
220079
- reportId,
220080
- apiKey
220081
- );
221919
+ return await this.coanaAPI.getBucketsForLastReport(subprojectPath, workspacePath, ecosystem, reportId, apiKey);
220082
221920
  }
220083
221921
  }
220084
221922
  };
@@ -220216,6 +222054,76 @@ function isVulnChainWithParentsMap(v) {
220216
222054
  return v.parentsMap !== void 0;
220217
222055
  }
220218
222056
 
222057
+ // ../../node_modules/.pnpm/yoctocolors@2.1.2/node_modules/yoctocolors/base.js
222058
+ import tty from "node:tty";
222059
+ var hasColors = tty?.WriteStream?.prototype?.hasColors?.() ?? false;
222060
+ var format5 = (open, close) => {
222061
+ if (!hasColors) {
222062
+ return (input) => input;
222063
+ }
222064
+ const openCode = `\x1B[${open}m`;
222065
+ const closeCode = `\x1B[${close}m`;
222066
+ return (input) => {
222067
+ const string = input + "";
222068
+ let index2 = string.indexOf(closeCode);
222069
+ if (index2 === -1) {
222070
+ return openCode + string + closeCode;
222071
+ }
222072
+ let result = openCode;
222073
+ let lastIndex = 0;
222074
+ const reopenOnNestedClose = close === 22;
222075
+ const replaceCode = (reopenOnNestedClose ? closeCode : "") + openCode;
222076
+ while (index2 !== -1) {
222077
+ result += string.slice(lastIndex, index2) + replaceCode;
222078
+ lastIndex = index2 + closeCode.length;
222079
+ index2 = string.indexOf(closeCode, lastIndex);
222080
+ }
222081
+ result += string.slice(lastIndex) + closeCode;
222082
+ return result;
222083
+ };
222084
+ };
222085
+ var reset = format5(0, 0);
222086
+ var bold = format5(1, 22);
222087
+ var dim = format5(2, 22);
222088
+ var italic = format5(3, 23);
222089
+ var underline = format5(4, 24);
222090
+ var overline = format5(53, 55);
222091
+ var inverse = format5(7, 27);
222092
+ var hidden = format5(8, 28);
222093
+ var strikethrough = format5(9, 29);
222094
+ var black = format5(30, 39);
222095
+ var red = format5(31, 39);
222096
+ var green = format5(32, 39);
222097
+ var yellow = format5(33, 39);
222098
+ var blue = format5(34, 39);
222099
+ var magenta = format5(35, 39);
222100
+ var cyan = format5(36, 39);
222101
+ var white = format5(37, 39);
222102
+ var gray = format5(90, 39);
222103
+ var bgBlack = format5(40, 49);
222104
+ var bgRed = format5(41, 49);
222105
+ var bgGreen = format5(42, 49);
222106
+ var bgYellow = format5(43, 49);
222107
+ var bgBlue = format5(44, 49);
222108
+ var bgMagenta = format5(45, 49);
222109
+ var bgCyan = format5(46, 49);
222110
+ var bgWhite = format5(47, 49);
222111
+ var bgGray = format5(100, 49);
222112
+ var redBright = format5(91, 39);
222113
+ var greenBright = format5(92, 39);
222114
+ var yellowBright = format5(93, 39);
222115
+ var blueBright = format5(94, 39);
222116
+ var magentaBright = format5(95, 39);
222117
+ var cyanBright = format5(96, 39);
222118
+ var whiteBright = format5(97, 39);
222119
+ var bgRedBright = format5(101, 49);
222120
+ var bgGreenBright = format5(102, 49);
222121
+ var bgYellowBright = format5(103, 49);
222122
+ var bgBlueBright = format5(104, 49);
222123
+ var bgMagentaBright = format5(105, 49);
222124
+ var bgCyanBright = format5(106, 49);
222125
+ var bgWhiteBright = format5(107, 49);
222126
+
220219
222127
  // dist/internal/constants.js
220220
222128
  var DEFAULT_REPORT_FILENAME_BASE = "coana-report";
220221
222129
 
@@ -235411,7 +237319,7 @@ async function onlineScan(dependencyTree, apiKey, timeout) {
235411
237319
  }
235412
237320
 
235413
237321
  // dist/version.js
235414
- var version2 = "14.12.59";
237322
+ var version2 = "14.12.61";
235415
237323
 
235416
237324
  // dist/cli-core.js
235417
237325
  var { mapValues, omit, partition, pick } = import_lodash15.default;
@@ -235556,7 +237464,7 @@ var CliCore = class {
235556
237464
  } catch (e) {
235557
237465
  await this.spinner.fail();
235558
237466
  logger.error("CLI failed with error:", e);
235559
- await this.shareErrorLogWithBackend(e, true);
237467
+ await this.shareErrorLogWithBackend(e, true, "cli-error");
235560
237468
  process.exit(1);
235561
237469
  }
235562
237470
  }
@@ -235605,15 +237513,8 @@ var CliCore = class {
235605
237513
  otherModulesCommunicator,
235606
237514
  this.rootWorkingDirectory,
235607
237515
  ecosystem,
235608
- [
235609
- "NPM",
235610
- "PIP",
235611
- "GO",
235612
- "MAVEN",
235613
- "NUGET",
235614
- "RUST"
235615
- /*, 'RUBYGEMS' */
235616
- ].includes(ecosystem) && isEcosystemToAnalyze,
237516
+ // TODO: Add RUBYGEMS to the list when we support it.
237517
+ ["NPM", "PIP", "GO", "MAVEN", "NUGET", "RUST"].includes(ecosystem) && isEcosystemToAnalyze,
235617
237518
  (workspaceName, workspaceNumber, totalWorkspacesForCurrentEcosystem) => {
235618
237519
  currentOverallWorkspace++;
235619
237520
  logger.info(bold(`Analyzing ecosystem ${ecosystem} for project ${workspaceName} (${workspaceNumber}/${totalWorkspacesForCurrentEcosystem}) - Overall progress: Project ${currentOverallWorkspace}/${totalWorkspaces}, ecosystem ${ecosystemIndex + 1}/${totalEcosystems}`));
@@ -235621,13 +237522,24 @@ var CliCore = class {
235621
237522
  )).flat());
235622
237523
  this.sendProgress("RUN_ON_SUBPROJECT", false, this.rootWorkingDirectory);
235623
237524
  }
237525
+ await this.shareLogIfAnalysisError(vulnsWithResults);
235624
237526
  const socketReport = toSocketFactsSocketDependencyTree(artifacts, vulnsWithResults, this.reportId);
235625
237527
  const outputFile = resolve38(this.options.socketMode);
235626
237528
  await writeFile12(outputFile, JSON.stringify(socketReport, null, 2));
235627
237529
  logger.info(kleur_default.green(`Socket report written to: ${outputFile}`));
235628
237530
  }
235629
- async shareErrorLogWithBackend(e, shouldLogSharing) {
235630
- await this.dashboardAPI.sendErrorReport(this.apiKey, e.stack ?? e.message ?? "Unknown stack trace", shouldLogSharing, this.reportId, this.options.repoUrl, this.options.projectName, await logger.getLogContent(this.coanaLogPath));
237531
+ async shareLogIfAnalysisError(vulns) {
237532
+ if (this.dashboardAPI.disableAnalyticsSharing) {
237533
+ return;
237534
+ }
237535
+ const team = this.options.socketMode ? "Socket" : "Coana";
237536
+ if (vulns.some((v) => v.codeAwareScanResult.type === "analysisError")) {
237537
+ logger.warn(`Analysis error detected in the report - sharing log with ${team} to help debug the issue`);
237538
+ await this.shareErrorLogWithBackend(new Error(CLI_ANALYSIS_ERROR_MESSAGE), false, "analysis-error");
237539
+ }
237540
+ }
237541
+ async shareErrorLogWithBackend(e, shouldLogSharing, errorType) {
237542
+ await this.dashboardAPI.sendErrorReport(this.apiKey, e.stack ?? e.message ?? "Unknown stack trace", shouldLogSharing, errorType, this.reportId, this.options.repoUrl, this.options.projectName, await logger.getLogContent(this.coanaLogPath));
235631
237543
  }
235632
237544
  async shareLogWithDashboard() {
235633
237545
  if (this.reportId)
@@ -235664,11 +237576,7 @@ var CliCore = class {
235664
237576
  logger.info("Submitting report to the dashboard");
235665
237577
  await sendToDashboard(report, this.options.writeReportToFile, this.reportId, this.apiKey);
235666
237578
  }
235667
- if (report.vulnerabilities.some((v) => v.codeAwareScanResult.type === "analysisError")) {
235668
- const team = this.options.socketMode ? "Socket" : "Coana";
235669
- logger.warn(`Analysis error detected in the report - sharing log with ${team} to help debug the issue`);
235670
- await this.shareErrorLogWithBackend(new Error(CLI_ANALYSIS_ERROR_MESSAGE), false);
235671
- }
237579
+ await this.shareLogIfAnalysisError(report.vulnerabilities);
235672
237580
  if (this.options.runEnv === "MANAGED_SCAN") {
235673
237581
  await this.shareLogWithDashboard();
235674
237582
  }