@storm-software/git-tools 2.104.26 → 2.104.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bin/git.cjs CHANGED
@@ -21,7 +21,7 @@ var _chunkRH2GTX7Ecjs = require('./chunk-RH2GTX7E.cjs');
21
21
 
22
22
 
23
23
 
24
- var _chunkOWXRZTBJcjs = require('./chunk-OWXRZTBJ.cjs');
24
+ var _chunkRXIHQPJRcjs = require('./chunk-RXIHQPJR.cjs');
25
25
 
26
26
 
27
27
  var _chunkZVKDYUF7cjs = require('./chunk-ZVKDYUF7.cjs');
@@ -3264,7 +3264,7 @@ var require_wrap_ansi = _chunk43OEKRHHcjs.__commonJS.call(void 0, {
3264
3264
  _chunk43OEKRHHcjs.init_cjs_shims.call(void 0, );
3265
3265
  var stringWidth = require_string_width();
3266
3266
  var stripAnsi2 = require_strip_ansi();
3267
- var ansiStyles2 = _chunkOWXRZTBJcjs.require_ansi_styles.call(void 0, );
3267
+ var ansiStyles2 = _chunkRXIHQPJRcjs.require_ansi_styles.call(void 0, );
3268
3268
  var ESCAPES2 = /* @__PURE__ */ new Set([
3269
3269
  "\x1B",
3270
3270
  "\x9B"
@@ -15606,7 +15606,7 @@ var require_node = _chunk43OEKRHHcjs.__commonJS.call(void 0, {
15606
15606
  1
15607
15607
  ];
15608
15608
  try {
15609
- const supportsColor2 = _chunkOWXRZTBJcjs.require_supports_color.call(void 0, );
15609
+ const supportsColor2 = _chunkRXIHQPJRcjs.require_supports_color.call(void 0, );
15610
15610
  if (supportsColor2 && (supportsColor2.stderr || supportsColor2).level >= 2) {
15611
15611
  exports.colors = [
15612
15612
  20,
@@ -49188,6 +49188,1952 @@ var require_versions = _chunk43OEKRHHcjs.__commonJS.call(void 0, {
49188
49188
  }
49189
49189
  });
49190
49190
 
49191
+ // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/constants.js
49192
+ var require_constants2 = _chunk43OEKRHHcjs.__commonJS.call(void 0, {
49193
+ "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/constants.js"(exports, module) {
49194
+ _chunk43OEKRHHcjs.init_cjs_shims.call(void 0, );
49195
+ var SEMVER_SPEC_VERSION = "2.0.0";
49196
+ var MAX_LENGTH = 256;
49197
+ var MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || /* istanbul ignore next */
49198
+ 9007199254740991;
49199
+ var MAX_SAFE_COMPONENT_LENGTH = 16;
49200
+ var MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6;
49201
+ var RELEASE_TYPES = [
49202
+ "major",
49203
+ "premajor",
49204
+ "minor",
49205
+ "preminor",
49206
+ "patch",
49207
+ "prepatch",
49208
+ "prerelease"
49209
+ ];
49210
+ module.exports = {
49211
+ MAX_LENGTH,
49212
+ MAX_SAFE_COMPONENT_LENGTH,
49213
+ MAX_SAFE_BUILD_LENGTH,
49214
+ MAX_SAFE_INTEGER,
49215
+ RELEASE_TYPES,
49216
+ SEMVER_SPEC_VERSION,
49217
+ FLAG_INCLUDE_PRERELEASE: 1,
49218
+ FLAG_LOOSE: 2
49219
+ };
49220
+ }
49221
+ });
49222
+
49223
+ // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/debug.js
49224
+ var require_debug3 = _chunk43OEKRHHcjs.__commonJS.call(void 0, {
49225
+ "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/debug.js"(exports, module) {
49226
+ _chunk43OEKRHHcjs.init_cjs_shims.call(void 0, );
49227
+ var debug2 = typeof process === "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...args) => console.error("SEMVER", ...args) : () => {
49228
+ };
49229
+ module.exports = debug2;
49230
+ }
49231
+ });
49232
+
49233
+ // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/re.js
49234
+ var require_re2 = _chunk43OEKRHHcjs.__commonJS.call(void 0, {
49235
+ "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/re.js"(exports, module) {
49236
+ _chunk43OEKRHHcjs.init_cjs_shims.call(void 0, );
49237
+ var { MAX_SAFE_COMPONENT_LENGTH, MAX_SAFE_BUILD_LENGTH, MAX_LENGTH } = require_constants2();
49238
+ var debug2 = require_debug3();
49239
+ exports = module.exports = {};
49240
+ var re = exports.re = [];
49241
+ var safeRe = exports.safeRe = [];
49242
+ var src = exports.src = [];
49243
+ var safeSrc = exports.safeSrc = [];
49244
+ var t = exports.t = {};
49245
+ var R = 0;
49246
+ var LETTERDASHNUMBER = "[a-zA-Z0-9-]";
49247
+ var safeRegexReplacements = [
49248
+ [
49249
+ "\\s",
49250
+ 1
49251
+ ],
49252
+ [
49253
+ "\\d",
49254
+ MAX_LENGTH
49255
+ ],
49256
+ [
49257
+ LETTERDASHNUMBER,
49258
+ MAX_SAFE_BUILD_LENGTH
49259
+ ]
49260
+ ];
49261
+ var makeSafeRegex = /* @__PURE__ */ _chunk43OEKRHHcjs.__name.call(void 0, (value) => {
49262
+ for (const [token, max2] of safeRegexReplacements) {
49263
+ value = value.split(`${token}*`).join(`${token}{0,${max2}}`).split(`${token}+`).join(`${token}{1,${max2}}`);
49264
+ }
49265
+ return value;
49266
+ }, "makeSafeRegex");
49267
+ var createToken = /* @__PURE__ */ _chunk43OEKRHHcjs.__name.call(void 0, (name, value, isGlobal) => {
49268
+ const safe = makeSafeRegex(value);
49269
+ const index = R++;
49270
+ debug2(name, index, value);
49271
+ t[name] = index;
49272
+ src[index] = value;
49273
+ safeSrc[index] = safe;
49274
+ re[index] = new RegExp(value, isGlobal ? "g" : void 0);
49275
+ safeRe[index] = new RegExp(safe, isGlobal ? "g" : void 0);
49276
+ }, "createToken");
49277
+ createToken("NUMERICIDENTIFIER", "0|[1-9]\\d*");
49278
+ createToken("NUMERICIDENTIFIERLOOSE", "\\d+");
49279
+ createToken("NONNUMERICIDENTIFIER", `\\d*[a-zA-Z-]${LETTERDASHNUMBER}*`);
49280
+ createToken("MAINVERSION", `(${src[t.NUMERICIDENTIFIER]})\\.(${src[t.NUMERICIDENTIFIER]})\\.(${src[t.NUMERICIDENTIFIER]})`);
49281
+ createToken("MAINVERSIONLOOSE", `(${src[t.NUMERICIDENTIFIERLOOSE]})\\.(${src[t.NUMERICIDENTIFIERLOOSE]})\\.(${src[t.NUMERICIDENTIFIERLOOSE]})`);
49282
+ createToken("PRERELEASEIDENTIFIER", `(?:${src[t.NUMERICIDENTIFIER]}|${src[t.NONNUMERICIDENTIFIER]})`);
49283
+ createToken("PRERELEASEIDENTIFIERLOOSE", `(?:${src[t.NUMERICIDENTIFIERLOOSE]}|${src[t.NONNUMERICIDENTIFIER]})`);
49284
+ createToken("PRERELEASE", `(?:-(${src[t.PRERELEASEIDENTIFIER]}(?:\\.${src[t.PRERELEASEIDENTIFIER]})*))`);
49285
+ createToken("PRERELEASELOOSE", `(?:-?(${src[t.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${src[t.PRERELEASEIDENTIFIERLOOSE]})*))`);
49286
+ createToken("BUILDIDENTIFIER", `${LETTERDASHNUMBER}+`);
49287
+ createToken("BUILD", `(?:\\+(${src[t.BUILDIDENTIFIER]}(?:\\.${src[t.BUILDIDENTIFIER]})*))`);
49288
+ createToken("FULLPLAIN", `v?${src[t.MAINVERSION]}${src[t.PRERELEASE]}?${src[t.BUILD]}?`);
49289
+ createToken("FULL", `^${src[t.FULLPLAIN]}$`);
49290
+ createToken("LOOSEPLAIN", `[v=\\s]*${src[t.MAINVERSIONLOOSE]}${src[t.PRERELEASELOOSE]}?${src[t.BUILD]}?`);
49291
+ createToken("LOOSE", `^${src[t.LOOSEPLAIN]}$`);
49292
+ createToken("GTLT", "((?:<|>)?=?)");
49293
+ createToken("XRANGEIDENTIFIERLOOSE", `${src[t.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);
49294
+ createToken("XRANGEIDENTIFIER", `${src[t.NUMERICIDENTIFIER]}|x|X|\\*`);
49295
+ createToken("XRANGEPLAIN", `[v=\\s]*(${src[t.XRANGEIDENTIFIER]})(?:\\.(${src[t.XRANGEIDENTIFIER]})(?:\\.(${src[t.XRANGEIDENTIFIER]})(?:${src[t.PRERELEASE]})?${src[t.BUILD]}?)?)?`);
49296
+ createToken("XRANGEPLAINLOOSE", `[v=\\s]*(${src[t.XRANGEIDENTIFIERLOOSE]})(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})(?:${src[t.PRERELEASELOOSE]})?${src[t.BUILD]}?)?)?`);
49297
+ createToken("XRANGE", `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAIN]}$`);
49298
+ createToken("XRANGELOOSE", `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAINLOOSE]}$`);
49299
+ createToken("COERCEPLAIN", `${"(^|[^\\d])(\\d{1,"}${MAX_SAFE_COMPONENT_LENGTH}})(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?`);
49300
+ createToken("COERCE", `${src[t.COERCEPLAIN]}(?:$|[^\\d])`);
49301
+ createToken("COERCEFULL", src[t.COERCEPLAIN] + `(?:${src[t.PRERELEASE]})?(?:${src[t.BUILD]})?(?:$|[^\\d])`);
49302
+ createToken("COERCERTL", src[t.COERCE], true);
49303
+ createToken("COERCERTLFULL", src[t.COERCEFULL], true);
49304
+ createToken("LONETILDE", "(?:~>?)");
49305
+ createToken("TILDETRIM", `(\\s*)${src[t.LONETILDE]}\\s+`, true);
49306
+ exports.tildeTrimReplace = "$1~";
49307
+ createToken("TILDE", `^${src[t.LONETILDE]}${src[t.XRANGEPLAIN]}$`);
49308
+ createToken("TILDELOOSE", `^${src[t.LONETILDE]}${src[t.XRANGEPLAINLOOSE]}$`);
49309
+ createToken("LONECARET", "(?:\\^)");
49310
+ createToken("CARETTRIM", `(\\s*)${src[t.LONECARET]}\\s+`, true);
49311
+ exports.caretTrimReplace = "$1^";
49312
+ createToken("CARET", `^${src[t.LONECARET]}${src[t.XRANGEPLAIN]}$`);
49313
+ createToken("CARETLOOSE", `^${src[t.LONECARET]}${src[t.XRANGEPLAINLOOSE]}$`);
49314
+ createToken("COMPARATORLOOSE", `^${src[t.GTLT]}\\s*(${src[t.LOOSEPLAIN]})$|^$`);
49315
+ createToken("COMPARATOR", `^${src[t.GTLT]}\\s*(${src[t.FULLPLAIN]})$|^$`);
49316
+ createToken("COMPARATORTRIM", `(\\s*)${src[t.GTLT]}\\s*(${src[t.LOOSEPLAIN]}|${src[t.XRANGEPLAIN]})`, true);
49317
+ exports.comparatorTrimReplace = "$1$2$3";
49318
+ createToken("HYPHENRANGE", `^\\s*(${src[t.XRANGEPLAIN]})\\s+-\\s+(${src[t.XRANGEPLAIN]})\\s*$`);
49319
+ createToken("HYPHENRANGELOOSE", `^\\s*(${src[t.XRANGEPLAINLOOSE]})\\s+-\\s+(${src[t.XRANGEPLAINLOOSE]})\\s*$`);
49320
+ createToken("STAR", "(<|>)?=?\\s*\\*");
49321
+ createToken("GTE0", "^\\s*>=\\s*0\\.0\\.0\\s*$");
49322
+ createToken("GTE0PRE", "^\\s*>=\\s*0\\.0\\.0-0\\s*$");
49323
+ }
49324
+ });
49325
+
49326
+ // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/parse-options.js
49327
+ var require_parse_options2 = _chunk43OEKRHHcjs.__commonJS.call(void 0, {
49328
+ "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/parse-options.js"(exports, module) {
49329
+ _chunk43OEKRHHcjs.init_cjs_shims.call(void 0, );
49330
+ var looseOption = Object.freeze({
49331
+ loose: true
49332
+ });
49333
+ var emptyOpts = Object.freeze({});
49334
+ var parseOptions = /* @__PURE__ */ _chunk43OEKRHHcjs.__name.call(void 0, (options) => {
49335
+ if (!options) {
49336
+ return emptyOpts;
49337
+ }
49338
+ if (typeof options !== "object") {
49339
+ return looseOption;
49340
+ }
49341
+ return options;
49342
+ }, "parseOptions");
49343
+ module.exports = parseOptions;
49344
+ }
49345
+ });
49346
+
49347
+ // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/identifiers.js
49348
+ var require_identifiers2 = _chunk43OEKRHHcjs.__commonJS.call(void 0, {
49349
+ "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/identifiers.js"(exports, module) {
49350
+ _chunk43OEKRHHcjs.init_cjs_shims.call(void 0, );
49351
+ var numeric = /^[0-9]+$/;
49352
+ var compareIdentifiers = /* @__PURE__ */ _chunk43OEKRHHcjs.__name.call(void 0, (a, b) => {
49353
+ const anum = numeric.test(a);
49354
+ const bnum = numeric.test(b);
49355
+ if (anum && bnum) {
49356
+ a = +a;
49357
+ b = +b;
49358
+ }
49359
+ return a === b ? 0 : anum && !bnum ? -1 : bnum && !anum ? 1 : a < b ? -1 : 1;
49360
+ }, "compareIdentifiers");
49361
+ var rcompareIdentifiers = /* @__PURE__ */ _chunk43OEKRHHcjs.__name.call(void 0, (a, b) => compareIdentifiers(b, a), "rcompareIdentifiers");
49362
+ module.exports = {
49363
+ compareIdentifiers,
49364
+ rcompareIdentifiers
49365
+ };
49366
+ }
49367
+ });
49368
+
49369
+ // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/classes/semver.js
49370
+ var require_semver3 = _chunk43OEKRHHcjs.__commonJS.call(void 0, {
49371
+ "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/classes/semver.js"(exports, module) {
49372
+ _chunk43OEKRHHcjs.init_cjs_shims.call(void 0, );
49373
+ var debug2 = require_debug3();
49374
+ var { MAX_LENGTH, MAX_SAFE_INTEGER } = require_constants2();
49375
+ var { safeRe: re, safeSrc: src, t } = require_re2();
49376
+ var parseOptions = require_parse_options2();
49377
+ var { compareIdentifiers } = require_identifiers2();
49378
+ var SemVer = class SemVer2 {
49379
+ static {
49380
+ _chunk43OEKRHHcjs.__name.call(void 0, this, "SemVer");
49381
+ }
49382
+ constructor(version, options) {
49383
+ options = parseOptions(options);
49384
+ if (version instanceof SemVer2) {
49385
+ if (version.loose === !!options.loose && version.includePrerelease === !!options.includePrerelease) {
49386
+ return version;
49387
+ } else {
49388
+ version = version.version;
49389
+ }
49390
+ } else if (typeof version !== "string") {
49391
+ throw new TypeError(`Invalid version. Must be a string. Got type "${typeof version}".`);
49392
+ }
49393
+ if (version.length > MAX_LENGTH) {
49394
+ throw new TypeError(`version is longer than ${MAX_LENGTH} characters`);
49395
+ }
49396
+ debug2("SemVer", version, options);
49397
+ this.options = options;
49398
+ this.loose = !!options.loose;
49399
+ this.includePrerelease = !!options.includePrerelease;
49400
+ const m = version.trim().match(options.loose ? re[t.LOOSE] : re[t.FULL]);
49401
+ if (!m) {
49402
+ throw new TypeError(`Invalid Version: ${version}`);
49403
+ }
49404
+ this.raw = version;
49405
+ this.major = +m[1];
49406
+ this.minor = +m[2];
49407
+ this.patch = +m[3];
49408
+ if (this.major > MAX_SAFE_INTEGER || this.major < 0) {
49409
+ throw new TypeError("Invalid major version");
49410
+ }
49411
+ if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) {
49412
+ throw new TypeError("Invalid minor version");
49413
+ }
49414
+ if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) {
49415
+ throw new TypeError("Invalid patch version");
49416
+ }
49417
+ if (!m[4]) {
49418
+ this.prerelease = [];
49419
+ } else {
49420
+ this.prerelease = m[4].split(".").map((id) => {
49421
+ if (/^[0-9]+$/.test(id)) {
49422
+ const num = +id;
49423
+ if (num >= 0 && num < MAX_SAFE_INTEGER) {
49424
+ return num;
49425
+ }
49426
+ }
49427
+ return id;
49428
+ });
49429
+ }
49430
+ this.build = m[5] ? m[5].split(".") : [];
49431
+ this.format();
49432
+ }
49433
+ format() {
49434
+ this.version = `${this.major}.${this.minor}.${this.patch}`;
49435
+ if (this.prerelease.length) {
49436
+ this.version += `-${this.prerelease.join(".")}`;
49437
+ }
49438
+ return this.version;
49439
+ }
49440
+ toString() {
49441
+ return this.version;
49442
+ }
49443
+ compare(other) {
49444
+ debug2("SemVer.compare", this.version, this.options, other);
49445
+ if (!(other instanceof SemVer2)) {
49446
+ if (typeof other === "string" && other === this.version) {
49447
+ return 0;
49448
+ }
49449
+ other = new SemVer2(other, this.options);
49450
+ }
49451
+ if (other.version === this.version) {
49452
+ return 0;
49453
+ }
49454
+ return this.compareMain(other) || this.comparePre(other);
49455
+ }
49456
+ compareMain(other) {
49457
+ if (!(other instanceof SemVer2)) {
49458
+ other = new SemVer2(other, this.options);
49459
+ }
49460
+ return compareIdentifiers(this.major, other.major) || compareIdentifiers(this.minor, other.minor) || compareIdentifiers(this.patch, other.patch);
49461
+ }
49462
+ comparePre(other) {
49463
+ if (!(other instanceof SemVer2)) {
49464
+ other = new SemVer2(other, this.options);
49465
+ }
49466
+ if (this.prerelease.length && !other.prerelease.length) {
49467
+ return -1;
49468
+ } else if (!this.prerelease.length && other.prerelease.length) {
49469
+ return 1;
49470
+ } else if (!this.prerelease.length && !other.prerelease.length) {
49471
+ return 0;
49472
+ }
49473
+ let i = 0;
49474
+ do {
49475
+ const a = this.prerelease[i];
49476
+ const b = other.prerelease[i];
49477
+ debug2("prerelease compare", i, a, b);
49478
+ if (a === void 0 && b === void 0) {
49479
+ return 0;
49480
+ } else if (b === void 0) {
49481
+ return 1;
49482
+ } else if (a === void 0) {
49483
+ return -1;
49484
+ } else if (a === b) {
49485
+ continue;
49486
+ } else {
49487
+ return compareIdentifiers(a, b);
49488
+ }
49489
+ } while (++i);
49490
+ }
49491
+ compareBuild(other) {
49492
+ if (!(other instanceof SemVer2)) {
49493
+ other = new SemVer2(other, this.options);
49494
+ }
49495
+ let i = 0;
49496
+ do {
49497
+ const a = this.build[i];
49498
+ const b = other.build[i];
49499
+ debug2("build compare", i, a, b);
49500
+ if (a === void 0 && b === void 0) {
49501
+ return 0;
49502
+ } else if (b === void 0) {
49503
+ return 1;
49504
+ } else if (a === void 0) {
49505
+ return -1;
49506
+ } else if (a === b) {
49507
+ continue;
49508
+ } else {
49509
+ return compareIdentifiers(a, b);
49510
+ }
49511
+ } while (++i);
49512
+ }
49513
+ // preminor will bump the version up to the next minor release, and immediately
49514
+ // down to pre-release. premajor and prepatch work the same way.
49515
+ inc(release, identifier, identifierBase) {
49516
+ if (release.startsWith("pre")) {
49517
+ if (!identifier && identifierBase === false) {
49518
+ throw new Error("invalid increment argument: identifier is empty");
49519
+ }
49520
+ if (identifier) {
49521
+ const r = new RegExp(`^${this.options.loose ? src[t.PRERELEASELOOSE] : src[t.PRERELEASE]}$`);
49522
+ const match = `-${identifier}`.match(r);
49523
+ if (!match || match[1] !== identifier) {
49524
+ throw new Error(`invalid identifier: ${identifier}`);
49525
+ }
49526
+ }
49527
+ }
49528
+ switch (release) {
49529
+ case "premajor":
49530
+ this.prerelease.length = 0;
49531
+ this.patch = 0;
49532
+ this.minor = 0;
49533
+ this.major++;
49534
+ this.inc("pre", identifier, identifierBase);
49535
+ break;
49536
+ case "preminor":
49537
+ this.prerelease.length = 0;
49538
+ this.patch = 0;
49539
+ this.minor++;
49540
+ this.inc("pre", identifier, identifierBase);
49541
+ break;
49542
+ case "prepatch":
49543
+ this.prerelease.length = 0;
49544
+ this.inc("patch", identifier, identifierBase);
49545
+ this.inc("pre", identifier, identifierBase);
49546
+ break;
49547
+ // If the input is a non-prerelease version, this acts the same as
49548
+ // prepatch.
49549
+ case "prerelease":
49550
+ if (this.prerelease.length === 0) {
49551
+ this.inc("patch", identifier, identifierBase);
49552
+ }
49553
+ this.inc("pre", identifier, identifierBase);
49554
+ break;
49555
+ case "release":
49556
+ if (this.prerelease.length === 0) {
49557
+ throw new Error(`version ${this.raw} is not a prerelease`);
49558
+ }
49559
+ this.prerelease.length = 0;
49560
+ break;
49561
+ case "major":
49562
+ if (this.minor !== 0 || this.patch !== 0 || this.prerelease.length === 0) {
49563
+ this.major++;
49564
+ }
49565
+ this.minor = 0;
49566
+ this.patch = 0;
49567
+ this.prerelease = [];
49568
+ break;
49569
+ case "minor":
49570
+ if (this.patch !== 0 || this.prerelease.length === 0) {
49571
+ this.minor++;
49572
+ }
49573
+ this.patch = 0;
49574
+ this.prerelease = [];
49575
+ break;
49576
+ case "patch":
49577
+ if (this.prerelease.length === 0) {
49578
+ this.patch++;
49579
+ }
49580
+ this.prerelease = [];
49581
+ break;
49582
+ // This probably shouldn't be used publicly.
49583
+ // 1.0.0 'pre' would become 1.0.0-0 which is the wrong direction.
49584
+ case "pre": {
49585
+ const base = Number(identifierBase) ? 1 : 0;
49586
+ if (this.prerelease.length === 0) {
49587
+ this.prerelease = [
49588
+ base
49589
+ ];
49590
+ } else {
49591
+ let i = this.prerelease.length;
49592
+ while (--i >= 0) {
49593
+ if (typeof this.prerelease[i] === "number") {
49594
+ this.prerelease[i]++;
49595
+ i = -2;
49596
+ }
49597
+ }
49598
+ if (i === -1) {
49599
+ if (identifier === this.prerelease.join(".") && identifierBase === false) {
49600
+ throw new Error("invalid increment argument: identifier already exists");
49601
+ }
49602
+ this.prerelease.push(base);
49603
+ }
49604
+ }
49605
+ if (identifier) {
49606
+ let prerelease = [
49607
+ identifier,
49608
+ base
49609
+ ];
49610
+ if (identifierBase === false) {
49611
+ prerelease = [
49612
+ identifier
49613
+ ];
49614
+ }
49615
+ if (compareIdentifiers(this.prerelease[0], identifier) === 0) {
49616
+ if (isNaN(this.prerelease[1])) {
49617
+ this.prerelease = prerelease;
49618
+ }
49619
+ } else {
49620
+ this.prerelease = prerelease;
49621
+ }
49622
+ }
49623
+ break;
49624
+ }
49625
+ default:
49626
+ throw new Error(`invalid increment argument: ${release}`);
49627
+ }
49628
+ this.raw = this.format();
49629
+ if (this.build.length) {
49630
+ this.raw += `+${this.build.join(".")}`;
49631
+ }
49632
+ return this;
49633
+ }
49634
+ };
49635
+ module.exports = SemVer;
49636
+ }
49637
+ });
49638
+
49639
+ // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/parse.js
49640
+ var require_parse3 = _chunk43OEKRHHcjs.__commonJS.call(void 0, {
49641
+ "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/parse.js"(exports, module) {
49642
+ _chunk43OEKRHHcjs.init_cjs_shims.call(void 0, );
49643
+ var SemVer = require_semver3();
49644
+ var parse2 = /* @__PURE__ */ _chunk43OEKRHHcjs.__name.call(void 0, (version, options, throwErrors = false) => {
49645
+ if (version instanceof SemVer) {
49646
+ return version;
49647
+ }
49648
+ try {
49649
+ return new SemVer(version, options);
49650
+ } catch (er) {
49651
+ if (!throwErrors) {
49652
+ return null;
49653
+ }
49654
+ throw er;
49655
+ }
49656
+ }, "parse");
49657
+ module.exports = parse2;
49658
+ }
49659
+ });
49660
+
49661
+ // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/valid.js
49662
+ var require_valid3 = _chunk43OEKRHHcjs.__commonJS.call(void 0, {
49663
+ "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/valid.js"(exports, module) {
49664
+ _chunk43OEKRHHcjs.init_cjs_shims.call(void 0, );
49665
+ var parse2 = require_parse3();
49666
+ var valid2 = /* @__PURE__ */ _chunk43OEKRHHcjs.__name.call(void 0, (version, options) => {
49667
+ const v = parse2(version, options);
49668
+ return v ? v.version : null;
49669
+ }, "valid");
49670
+ module.exports = valid2;
49671
+ }
49672
+ });
49673
+
49674
+ // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/clean.js
49675
+ var require_clean2 = _chunk43OEKRHHcjs.__commonJS.call(void 0, {
49676
+ "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/clean.js"(exports, module) {
49677
+ _chunk43OEKRHHcjs.init_cjs_shims.call(void 0, );
49678
+ var parse2 = require_parse3();
49679
+ var clean = /* @__PURE__ */ _chunk43OEKRHHcjs.__name.call(void 0, (version, options) => {
49680
+ const s = parse2(version.trim().replace(/^[=v]+/, ""), options);
49681
+ return s ? s.version : null;
49682
+ }, "clean");
49683
+ module.exports = clean;
49684
+ }
49685
+ });
49686
+
49687
+ // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/inc.js
49688
+ var require_inc2 = _chunk43OEKRHHcjs.__commonJS.call(void 0, {
49689
+ "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/inc.js"(exports, module) {
49690
+ _chunk43OEKRHHcjs.init_cjs_shims.call(void 0, );
49691
+ var SemVer = require_semver3();
49692
+ var inc = /* @__PURE__ */ _chunk43OEKRHHcjs.__name.call(void 0, (version, release, options, identifier, identifierBase) => {
49693
+ if (typeof options === "string") {
49694
+ identifierBase = identifier;
49695
+ identifier = options;
49696
+ options = void 0;
49697
+ }
49698
+ try {
49699
+ return new SemVer(version instanceof SemVer ? version.version : version, options).inc(release, identifier, identifierBase).version;
49700
+ } catch (er) {
49701
+ return null;
49702
+ }
49703
+ }, "inc");
49704
+ module.exports = inc;
49705
+ }
49706
+ });
49707
+
49708
+ // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/diff.js
49709
+ var require_diff2 = _chunk43OEKRHHcjs.__commonJS.call(void 0, {
49710
+ "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/diff.js"(exports, module) {
49711
+ _chunk43OEKRHHcjs.init_cjs_shims.call(void 0, );
49712
+ var parse2 = require_parse3();
49713
+ var diff = /* @__PURE__ */ _chunk43OEKRHHcjs.__name.call(void 0, (version1, version2) => {
49714
+ const v1 = parse2(version1, null, true);
49715
+ const v2 = parse2(version2, null, true);
49716
+ const comparison = v1.compare(v2);
49717
+ if (comparison === 0) {
49718
+ return null;
49719
+ }
49720
+ const v1Higher = comparison > 0;
49721
+ const highVersion = v1Higher ? v1 : v2;
49722
+ const lowVersion = v1Higher ? v2 : v1;
49723
+ const highHasPre = !!highVersion.prerelease.length;
49724
+ const lowHasPre = !!lowVersion.prerelease.length;
49725
+ if (lowHasPre && !highHasPre) {
49726
+ if (!lowVersion.patch && !lowVersion.minor) {
49727
+ return "major";
49728
+ }
49729
+ if (lowVersion.compareMain(highVersion) === 0) {
49730
+ if (lowVersion.minor && !lowVersion.patch) {
49731
+ return "minor";
49732
+ }
49733
+ return "patch";
49734
+ }
49735
+ }
49736
+ const prefix = highHasPre ? "pre" : "";
49737
+ if (v1.major !== v2.major) {
49738
+ return prefix + "major";
49739
+ }
49740
+ if (v1.minor !== v2.minor) {
49741
+ return prefix + "minor";
49742
+ }
49743
+ if (v1.patch !== v2.patch) {
49744
+ return prefix + "patch";
49745
+ }
49746
+ return "prerelease";
49747
+ }, "diff");
49748
+ module.exports = diff;
49749
+ }
49750
+ });
49751
+
49752
+ // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/major.js
49753
+ var require_major2 = _chunk43OEKRHHcjs.__commonJS.call(void 0, {
49754
+ "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/major.js"(exports, module) {
49755
+ _chunk43OEKRHHcjs.init_cjs_shims.call(void 0, );
49756
+ var SemVer = require_semver3();
49757
+ var major2 = /* @__PURE__ */ _chunk43OEKRHHcjs.__name.call(void 0, (a, loose) => new SemVer(a, loose).major, "major");
49758
+ module.exports = major2;
49759
+ }
49760
+ });
49761
+
49762
+ // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/minor.js
49763
+ var require_minor2 = _chunk43OEKRHHcjs.__commonJS.call(void 0, {
49764
+ "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/minor.js"(exports, module) {
49765
+ _chunk43OEKRHHcjs.init_cjs_shims.call(void 0, );
49766
+ var SemVer = require_semver3();
49767
+ var minor = /* @__PURE__ */ _chunk43OEKRHHcjs.__name.call(void 0, (a, loose) => new SemVer(a, loose).minor, "minor");
49768
+ module.exports = minor;
49769
+ }
49770
+ });
49771
+
49772
+ // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/patch.js
49773
+ var require_patch2 = _chunk43OEKRHHcjs.__commonJS.call(void 0, {
49774
+ "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/patch.js"(exports, module) {
49775
+ _chunk43OEKRHHcjs.init_cjs_shims.call(void 0, );
49776
+ var SemVer = require_semver3();
49777
+ var patch = /* @__PURE__ */ _chunk43OEKRHHcjs.__name.call(void 0, (a, loose) => new SemVer(a, loose).patch, "patch");
49778
+ module.exports = patch;
49779
+ }
49780
+ });
49781
+
49782
+ // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/prerelease.js
49783
+ var require_prerelease2 = _chunk43OEKRHHcjs.__commonJS.call(void 0, {
49784
+ "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/prerelease.js"(exports, module) {
49785
+ _chunk43OEKRHHcjs.init_cjs_shims.call(void 0, );
49786
+ var parse2 = require_parse3();
49787
+ var prerelease = /* @__PURE__ */ _chunk43OEKRHHcjs.__name.call(void 0, (version, options) => {
49788
+ const parsed = parse2(version, options);
49789
+ return parsed && parsed.prerelease.length ? parsed.prerelease : null;
49790
+ }, "prerelease");
49791
+ module.exports = prerelease;
49792
+ }
49793
+ });
49794
+
49795
+ // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/compare.js
49796
+ var require_compare2 = _chunk43OEKRHHcjs.__commonJS.call(void 0, {
49797
+ "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/compare.js"(exports, module) {
49798
+ _chunk43OEKRHHcjs.init_cjs_shims.call(void 0, );
49799
+ var SemVer = require_semver3();
49800
+ var compare = /* @__PURE__ */ _chunk43OEKRHHcjs.__name.call(void 0, (a, b, loose) => new SemVer(a, loose).compare(new SemVer(b, loose)), "compare");
49801
+ module.exports = compare;
49802
+ }
49803
+ });
49804
+
49805
+ // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/rcompare.js
49806
+ var require_rcompare2 = _chunk43OEKRHHcjs.__commonJS.call(void 0, {
49807
+ "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/rcompare.js"(exports, module) {
49808
+ _chunk43OEKRHHcjs.init_cjs_shims.call(void 0, );
49809
+ var compare = require_compare2();
49810
+ var rcompare = /* @__PURE__ */ _chunk43OEKRHHcjs.__name.call(void 0, (a, b, loose) => compare(b, a, loose), "rcompare");
49811
+ module.exports = rcompare;
49812
+ }
49813
+ });
49814
+
49815
+ // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/compare-loose.js
49816
+ var require_compare_loose2 = _chunk43OEKRHHcjs.__commonJS.call(void 0, {
49817
+ "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/compare-loose.js"(exports, module) {
49818
+ _chunk43OEKRHHcjs.init_cjs_shims.call(void 0, );
49819
+ var compare = require_compare2();
49820
+ var compareLoose = /* @__PURE__ */ _chunk43OEKRHHcjs.__name.call(void 0, (a, b) => compare(a, b, true), "compareLoose");
49821
+ module.exports = compareLoose;
49822
+ }
49823
+ });
49824
+
49825
+ // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/compare-build.js
49826
+ var require_compare_build2 = _chunk43OEKRHHcjs.__commonJS.call(void 0, {
49827
+ "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/compare-build.js"(exports, module) {
49828
+ _chunk43OEKRHHcjs.init_cjs_shims.call(void 0, );
49829
+ var SemVer = require_semver3();
49830
+ var compareBuild = /* @__PURE__ */ _chunk43OEKRHHcjs.__name.call(void 0, (a, b, loose) => {
49831
+ const versionA = new SemVer(a, loose);
49832
+ const versionB = new SemVer(b, loose);
49833
+ return versionA.compare(versionB) || versionA.compareBuild(versionB);
49834
+ }, "compareBuild");
49835
+ module.exports = compareBuild;
49836
+ }
49837
+ });
49838
+
49839
+ // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/sort.js
49840
+ var require_sort3 = _chunk43OEKRHHcjs.__commonJS.call(void 0, {
49841
+ "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/sort.js"(exports, module) {
49842
+ _chunk43OEKRHHcjs.init_cjs_shims.call(void 0, );
49843
+ var compareBuild = require_compare_build2();
49844
+ var sort = /* @__PURE__ */ _chunk43OEKRHHcjs.__name.call(void 0, (list, loose) => list.sort((a, b) => compareBuild(a, b, loose)), "sort");
49845
+ module.exports = sort;
49846
+ }
49847
+ });
49848
+
49849
+ // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/rsort.js
49850
+ var require_rsort2 = _chunk43OEKRHHcjs.__commonJS.call(void 0, {
49851
+ "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/rsort.js"(exports, module) {
49852
+ _chunk43OEKRHHcjs.init_cjs_shims.call(void 0, );
49853
+ var compareBuild = require_compare_build2();
49854
+ var rsort = /* @__PURE__ */ _chunk43OEKRHHcjs.__name.call(void 0, (list, loose) => list.sort((a, b) => compareBuild(b, a, loose)), "rsort");
49855
+ module.exports = rsort;
49856
+ }
49857
+ });
49858
+
49859
+ // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/gt.js
49860
+ var require_gt2 = _chunk43OEKRHHcjs.__commonJS.call(void 0, {
49861
+ "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/gt.js"(exports, module) {
49862
+ _chunk43OEKRHHcjs.init_cjs_shims.call(void 0, );
49863
+ var compare = require_compare2();
49864
+ var gt = /* @__PURE__ */ _chunk43OEKRHHcjs.__name.call(void 0, (a, b, loose) => compare(a, b, loose) > 0, "gt");
49865
+ module.exports = gt;
49866
+ }
49867
+ });
49868
+
49869
+ // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/lt.js
49870
+ var require_lt2 = _chunk43OEKRHHcjs.__commonJS.call(void 0, {
49871
+ "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/lt.js"(exports, module) {
49872
+ _chunk43OEKRHHcjs.init_cjs_shims.call(void 0, );
49873
+ var compare = require_compare2();
49874
+ var lt = /* @__PURE__ */ _chunk43OEKRHHcjs.__name.call(void 0, (a, b, loose) => compare(a, b, loose) < 0, "lt");
49875
+ module.exports = lt;
49876
+ }
49877
+ });
49878
+
49879
+ // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/eq.js
49880
+ var require_eq2 = _chunk43OEKRHHcjs.__commonJS.call(void 0, {
49881
+ "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/eq.js"(exports, module) {
49882
+ _chunk43OEKRHHcjs.init_cjs_shims.call(void 0, );
49883
+ var compare = require_compare2();
49884
+ var eq2 = /* @__PURE__ */ _chunk43OEKRHHcjs.__name.call(void 0, (a, b, loose) => compare(a, b, loose) === 0, "eq");
49885
+ module.exports = eq2;
49886
+ }
49887
+ });
49888
+
49889
+ // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/neq.js
49890
+ var require_neq2 = _chunk43OEKRHHcjs.__commonJS.call(void 0, {
49891
+ "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/neq.js"(exports, module) {
49892
+ _chunk43OEKRHHcjs.init_cjs_shims.call(void 0, );
49893
+ var compare = require_compare2();
49894
+ var neq = /* @__PURE__ */ _chunk43OEKRHHcjs.__name.call(void 0, (a, b, loose) => compare(a, b, loose) !== 0, "neq");
49895
+ module.exports = neq;
49896
+ }
49897
+ });
49898
+
49899
+ // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/gte.js
49900
+ var require_gte2 = _chunk43OEKRHHcjs.__commonJS.call(void 0, {
49901
+ "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/gte.js"(exports, module) {
49902
+ _chunk43OEKRHHcjs.init_cjs_shims.call(void 0, );
49903
+ var compare = require_compare2();
49904
+ var gte = /* @__PURE__ */ _chunk43OEKRHHcjs.__name.call(void 0, (a, b, loose) => compare(a, b, loose) >= 0, "gte");
49905
+ module.exports = gte;
49906
+ }
49907
+ });
49908
+
49909
+ // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/lte.js
49910
+ var require_lte2 = _chunk43OEKRHHcjs.__commonJS.call(void 0, {
49911
+ "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/lte.js"(exports, module) {
49912
+ _chunk43OEKRHHcjs.init_cjs_shims.call(void 0, );
49913
+ var compare = require_compare2();
49914
+ var lte = /* @__PURE__ */ _chunk43OEKRHHcjs.__name.call(void 0, (a, b, loose) => compare(a, b, loose) <= 0, "lte");
49915
+ module.exports = lte;
49916
+ }
49917
+ });
49918
+
49919
+ // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/cmp.js
49920
+ var require_cmp2 = _chunk43OEKRHHcjs.__commonJS.call(void 0, {
49921
+ "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/cmp.js"(exports, module) {
49922
+ _chunk43OEKRHHcjs.init_cjs_shims.call(void 0, );
49923
+ var eq2 = require_eq2();
49924
+ var neq = require_neq2();
49925
+ var gt = require_gt2();
49926
+ var gte = require_gte2();
49927
+ var lt = require_lt2();
49928
+ var lte = require_lte2();
49929
+ var cmp = /* @__PURE__ */ _chunk43OEKRHHcjs.__name.call(void 0, (a, op, b, loose) => {
49930
+ switch (op) {
49931
+ case "===":
49932
+ if (typeof a === "object") {
49933
+ a = a.version;
49934
+ }
49935
+ if (typeof b === "object") {
49936
+ b = b.version;
49937
+ }
49938
+ return a === b;
49939
+ case "!==":
49940
+ if (typeof a === "object") {
49941
+ a = a.version;
49942
+ }
49943
+ if (typeof b === "object") {
49944
+ b = b.version;
49945
+ }
49946
+ return a !== b;
49947
+ case "":
49948
+ case "=":
49949
+ case "==":
49950
+ return eq2(a, b, loose);
49951
+ case "!=":
49952
+ return neq(a, b, loose);
49953
+ case ">":
49954
+ return gt(a, b, loose);
49955
+ case ">=":
49956
+ return gte(a, b, loose);
49957
+ case "<":
49958
+ return lt(a, b, loose);
49959
+ case "<=":
49960
+ return lte(a, b, loose);
49961
+ default:
49962
+ throw new TypeError(`Invalid operator: ${op}`);
49963
+ }
49964
+ }, "cmp");
49965
+ module.exports = cmp;
49966
+ }
49967
+ });
49968
+
49969
+ // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/coerce.js
49970
+ var require_coerce2 = _chunk43OEKRHHcjs.__commonJS.call(void 0, {
49971
+ "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/coerce.js"(exports, module) {
49972
+ _chunk43OEKRHHcjs.init_cjs_shims.call(void 0, );
49973
+ var SemVer = require_semver3();
49974
+ var parse2 = require_parse3();
49975
+ var { safeRe: re, t } = require_re2();
49976
+ var coerce = /* @__PURE__ */ _chunk43OEKRHHcjs.__name.call(void 0, (version, options) => {
49977
+ if (version instanceof SemVer) {
49978
+ return version;
49979
+ }
49980
+ if (typeof version === "number") {
49981
+ version = String(version);
49982
+ }
49983
+ if (typeof version !== "string") {
49984
+ return null;
49985
+ }
49986
+ options = options || {};
49987
+ let match = null;
49988
+ if (!options.rtl) {
49989
+ match = version.match(options.includePrerelease ? re[t.COERCEFULL] : re[t.COERCE]);
49990
+ } else {
49991
+ const coerceRtlRegex = options.includePrerelease ? re[t.COERCERTLFULL] : re[t.COERCERTL];
49992
+ let next;
49993
+ while ((next = coerceRtlRegex.exec(version)) && (!match || match.index + match[0].length !== version.length)) {
49994
+ if (!match || next.index + next[0].length !== match.index + match[0].length) {
49995
+ match = next;
49996
+ }
49997
+ coerceRtlRegex.lastIndex = next.index + next[1].length + next[2].length;
49998
+ }
49999
+ coerceRtlRegex.lastIndex = -1;
50000
+ }
50001
+ if (match === null) {
50002
+ return null;
50003
+ }
50004
+ const major2 = match[2];
50005
+ const minor = match[3] || "0";
50006
+ const patch = match[4] || "0";
50007
+ const prerelease = options.includePrerelease && match[5] ? `-${match[5]}` : "";
50008
+ const build = options.includePrerelease && match[6] ? `+${match[6]}` : "";
50009
+ return parse2(`${major2}.${minor}.${patch}${prerelease}${build}`, options);
50010
+ }, "coerce");
50011
+ module.exports = coerce;
50012
+ }
50013
+ });
50014
+
50015
+ // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/lrucache.js
50016
+ var require_lrucache2 = _chunk43OEKRHHcjs.__commonJS.call(void 0, {
50017
+ "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/internal/lrucache.js"(exports, module) {
50018
+ _chunk43OEKRHHcjs.init_cjs_shims.call(void 0, );
50019
+ var LRUCache = class LRUCache {
50020
+ static {
50021
+ _chunk43OEKRHHcjs.__name.call(void 0, this, "LRUCache");
50022
+ }
50023
+ constructor() {
50024
+ this.max = 1e3;
50025
+ this.map = /* @__PURE__ */ new Map();
50026
+ }
50027
+ get(key) {
50028
+ const value = this.map.get(key);
50029
+ if (value === void 0) {
50030
+ return void 0;
50031
+ } else {
50032
+ this.map.delete(key);
50033
+ this.map.set(key, value);
50034
+ return value;
50035
+ }
50036
+ }
50037
+ delete(key) {
50038
+ return this.map.delete(key);
50039
+ }
50040
+ set(key, value) {
50041
+ const deleted = this.delete(key);
50042
+ if (!deleted && value !== void 0) {
50043
+ if (this.map.size >= this.max) {
50044
+ const firstKey = this.map.keys().next().value;
50045
+ this.delete(firstKey);
50046
+ }
50047
+ this.map.set(key, value);
50048
+ }
50049
+ return this;
50050
+ }
50051
+ };
50052
+ module.exports = LRUCache;
50053
+ }
50054
+ });
50055
+
50056
+ // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/classes/range.js
50057
+ var require_range3 = _chunk43OEKRHHcjs.__commonJS.call(void 0, {
50058
+ "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/classes/range.js"(exports, module) {
50059
+ _chunk43OEKRHHcjs.init_cjs_shims.call(void 0, );
50060
+ var SPACE_CHARACTERS = /\s+/g;
50061
+ var Range = class Range2 {
50062
+ static {
50063
+ _chunk43OEKRHHcjs.__name.call(void 0, this, "Range");
50064
+ }
50065
+ constructor(range2, options) {
50066
+ options = parseOptions(options);
50067
+ if (range2 instanceof Range2) {
50068
+ if (range2.loose === !!options.loose && range2.includePrerelease === !!options.includePrerelease) {
50069
+ return range2;
50070
+ } else {
50071
+ return new Range2(range2.raw, options);
50072
+ }
50073
+ }
50074
+ if (range2 instanceof Comparator) {
50075
+ this.raw = range2.value;
50076
+ this.set = [
50077
+ [
50078
+ range2
50079
+ ]
50080
+ ];
50081
+ this.formatted = void 0;
50082
+ return this;
50083
+ }
50084
+ this.options = options;
50085
+ this.loose = !!options.loose;
50086
+ this.includePrerelease = !!options.includePrerelease;
50087
+ this.raw = range2.trim().replace(SPACE_CHARACTERS, " ");
50088
+ this.set = this.raw.split("||").map((r) => this.parseRange(r.trim())).filter((c) => c.length);
50089
+ if (!this.set.length) {
50090
+ throw new TypeError(`Invalid SemVer Range: ${this.raw}`);
50091
+ }
50092
+ if (this.set.length > 1) {
50093
+ const first2 = this.set[0];
50094
+ this.set = this.set.filter((c) => !isNullSet(c[0]));
50095
+ if (this.set.length === 0) {
50096
+ this.set = [
50097
+ first2
50098
+ ];
50099
+ } else if (this.set.length > 1) {
50100
+ for (const c of this.set) {
50101
+ if (c.length === 1 && isAny(c[0])) {
50102
+ this.set = [
50103
+ c
50104
+ ];
50105
+ break;
50106
+ }
50107
+ }
50108
+ }
50109
+ }
50110
+ this.formatted = void 0;
50111
+ }
50112
+ get range() {
50113
+ if (this.formatted === void 0) {
50114
+ this.formatted = "";
50115
+ for (let i = 0; i < this.set.length; i++) {
50116
+ if (i > 0) {
50117
+ this.formatted += "||";
50118
+ }
50119
+ const comps = this.set[i];
50120
+ for (let k = 0; k < comps.length; k++) {
50121
+ if (k > 0) {
50122
+ this.formatted += " ";
50123
+ }
50124
+ this.formatted += comps[k].toString().trim();
50125
+ }
50126
+ }
50127
+ }
50128
+ return this.formatted;
50129
+ }
50130
+ format() {
50131
+ return this.range;
50132
+ }
50133
+ toString() {
50134
+ return this.range;
50135
+ }
50136
+ parseRange(range2) {
50137
+ const memoOpts = (this.options.includePrerelease && FLAG_INCLUDE_PRERELEASE) | (this.options.loose && FLAG_LOOSE);
50138
+ const memoKey = memoOpts + ":" + range2;
50139
+ const cached = cache.get(memoKey);
50140
+ if (cached) {
50141
+ return cached;
50142
+ }
50143
+ const loose = this.options.loose;
50144
+ const hr = loose ? re[t.HYPHENRANGELOOSE] : re[t.HYPHENRANGE];
50145
+ range2 = range2.replace(hr, hyphenReplace(this.options.includePrerelease));
50146
+ debug2("hyphen replace", range2);
50147
+ range2 = range2.replace(re[t.COMPARATORTRIM], comparatorTrimReplace);
50148
+ debug2("comparator trim", range2);
50149
+ range2 = range2.replace(re[t.TILDETRIM], tildeTrimReplace);
50150
+ debug2("tilde trim", range2);
50151
+ range2 = range2.replace(re[t.CARETTRIM], caretTrimReplace);
50152
+ debug2("caret trim", range2);
50153
+ let rangeList = range2.split(" ").map((comp) => parseComparator(comp, this.options)).join(" ").split(/\s+/).map((comp) => replaceGTE0(comp, this.options));
50154
+ if (loose) {
50155
+ rangeList = rangeList.filter((comp) => {
50156
+ debug2("loose invalid filter", comp, this.options);
50157
+ return !!comp.match(re[t.COMPARATORLOOSE]);
50158
+ });
50159
+ }
50160
+ debug2("range list", rangeList);
50161
+ const rangeMap = /* @__PURE__ */ new Map();
50162
+ const comparators = rangeList.map((comp) => new Comparator(comp, this.options));
50163
+ for (const comp of comparators) {
50164
+ if (isNullSet(comp)) {
50165
+ return [
50166
+ comp
50167
+ ];
50168
+ }
50169
+ rangeMap.set(comp.value, comp);
50170
+ }
50171
+ if (rangeMap.size > 1 && rangeMap.has("")) {
50172
+ rangeMap.delete("");
50173
+ }
50174
+ const result2 = [
50175
+ ...rangeMap.values()
50176
+ ];
50177
+ cache.set(memoKey, result2);
50178
+ return result2;
50179
+ }
50180
+ intersects(range2, options) {
50181
+ if (!(range2 instanceof Range2)) {
50182
+ throw new TypeError("a Range is required");
50183
+ }
50184
+ return this.set.some((thisComparators) => {
50185
+ return isSatisfiable(thisComparators, options) && range2.set.some((rangeComparators) => {
50186
+ return isSatisfiable(rangeComparators, options) && thisComparators.every((thisComparator) => {
50187
+ return rangeComparators.every((rangeComparator) => {
50188
+ return thisComparator.intersects(rangeComparator, options);
50189
+ });
50190
+ });
50191
+ });
50192
+ });
50193
+ }
50194
+ // if ANY of the sets match ALL of its comparators, then pass
50195
+ test(version) {
50196
+ if (!version) {
50197
+ return false;
50198
+ }
50199
+ if (typeof version === "string") {
50200
+ try {
50201
+ version = new SemVer(version, this.options);
50202
+ } catch (er) {
50203
+ return false;
50204
+ }
50205
+ }
50206
+ for (let i = 0; i < this.set.length; i++) {
50207
+ if (testSet(this.set[i], version, this.options)) {
50208
+ return true;
50209
+ }
50210
+ }
50211
+ return false;
50212
+ }
50213
+ };
50214
+ module.exports = Range;
50215
+ var LRU = require_lrucache2();
50216
+ var cache = new LRU();
50217
+ var parseOptions = require_parse_options2();
50218
+ var Comparator = require_comparator2();
50219
+ var debug2 = require_debug3();
50220
+ var SemVer = require_semver3();
50221
+ var { safeRe: re, t, comparatorTrimReplace, tildeTrimReplace, caretTrimReplace } = require_re2();
50222
+ var { FLAG_INCLUDE_PRERELEASE, FLAG_LOOSE } = require_constants2();
50223
+ var isNullSet = /* @__PURE__ */ _chunk43OEKRHHcjs.__name.call(void 0, (c) => c.value === "<0.0.0-0", "isNullSet");
50224
+ var isAny = /* @__PURE__ */ _chunk43OEKRHHcjs.__name.call(void 0, (c) => c.value === "", "isAny");
50225
+ var isSatisfiable = /* @__PURE__ */ _chunk43OEKRHHcjs.__name.call(void 0, (comparators, options) => {
50226
+ let result2 = true;
50227
+ const remainingComparators = comparators.slice();
50228
+ let testComparator = remainingComparators.pop();
50229
+ while (result2 && remainingComparators.length) {
50230
+ result2 = remainingComparators.every((otherComparator) => {
50231
+ return testComparator.intersects(otherComparator, options);
50232
+ });
50233
+ testComparator = remainingComparators.pop();
50234
+ }
50235
+ return result2;
50236
+ }, "isSatisfiable");
50237
+ var parseComparator = /* @__PURE__ */ _chunk43OEKRHHcjs.__name.call(void 0, (comp, options) => {
50238
+ debug2("comp", comp, options);
50239
+ comp = replaceCarets(comp, options);
50240
+ debug2("caret", comp);
50241
+ comp = replaceTildes(comp, options);
50242
+ debug2("tildes", comp);
50243
+ comp = replaceXRanges(comp, options);
50244
+ debug2("xrange", comp);
50245
+ comp = replaceStars(comp, options);
50246
+ debug2("stars", comp);
50247
+ return comp;
50248
+ }, "parseComparator");
50249
+ var isX = /* @__PURE__ */ _chunk43OEKRHHcjs.__name.call(void 0, (id) => !id || id.toLowerCase() === "x" || id === "*", "isX");
50250
+ var replaceTildes = /* @__PURE__ */ _chunk43OEKRHHcjs.__name.call(void 0, (comp, options) => {
50251
+ return comp.trim().split(/\s+/).map((c) => replaceTilde(c, options)).join(" ");
50252
+ }, "replaceTildes");
50253
+ var replaceTilde = /* @__PURE__ */ _chunk43OEKRHHcjs.__name.call(void 0, (comp, options) => {
50254
+ const r = options.loose ? re[t.TILDELOOSE] : re[t.TILDE];
50255
+ return comp.replace(r, (_3, M, m, p, pr) => {
50256
+ debug2("tilde", comp, _3, M, m, p, pr);
50257
+ let ret;
50258
+ if (isX(M)) {
50259
+ ret = "";
50260
+ } else if (isX(m)) {
50261
+ ret = `>=${M}.0.0 <${+M + 1}.0.0-0`;
50262
+ } else if (isX(p)) {
50263
+ ret = `>=${M}.${m}.0 <${M}.${+m + 1}.0-0`;
50264
+ } else if (pr) {
50265
+ debug2("replaceTilde pr", pr);
50266
+ ret = `>=${M}.${m}.${p}-${pr} <${M}.${+m + 1}.0-0`;
50267
+ } else {
50268
+ ret = `>=${M}.${m}.${p} <${M}.${+m + 1}.0-0`;
50269
+ }
50270
+ debug2("tilde return", ret);
50271
+ return ret;
50272
+ });
50273
+ }, "replaceTilde");
50274
+ var replaceCarets = /* @__PURE__ */ _chunk43OEKRHHcjs.__name.call(void 0, (comp, options) => {
50275
+ return comp.trim().split(/\s+/).map((c) => replaceCaret(c, options)).join(" ");
50276
+ }, "replaceCarets");
50277
+ var replaceCaret = /* @__PURE__ */ _chunk43OEKRHHcjs.__name.call(void 0, (comp, options) => {
50278
+ debug2("caret", comp, options);
50279
+ const r = options.loose ? re[t.CARETLOOSE] : re[t.CARET];
50280
+ const z = options.includePrerelease ? "-0" : "";
50281
+ return comp.replace(r, (_3, M, m, p, pr) => {
50282
+ debug2("caret", comp, _3, M, m, p, pr);
50283
+ let ret;
50284
+ if (isX(M)) {
50285
+ ret = "";
50286
+ } else if (isX(m)) {
50287
+ ret = `>=${M}.0.0${z} <${+M + 1}.0.0-0`;
50288
+ } else if (isX(p)) {
50289
+ if (M === "0") {
50290
+ ret = `>=${M}.${m}.0${z} <${M}.${+m + 1}.0-0`;
50291
+ } else {
50292
+ ret = `>=${M}.${m}.0${z} <${+M + 1}.0.0-0`;
50293
+ }
50294
+ } else if (pr) {
50295
+ debug2("replaceCaret pr", pr);
50296
+ if (M === "0") {
50297
+ if (m === "0") {
50298
+ ret = `>=${M}.${m}.${p}-${pr} <${M}.${m}.${+p + 1}-0`;
50299
+ } else {
50300
+ ret = `>=${M}.${m}.${p}-${pr} <${M}.${+m + 1}.0-0`;
50301
+ }
50302
+ } else {
50303
+ ret = `>=${M}.${m}.${p}-${pr} <${+M + 1}.0.0-0`;
50304
+ }
50305
+ } else {
50306
+ debug2("no pr");
50307
+ if (M === "0") {
50308
+ if (m === "0") {
50309
+ ret = `>=${M}.${m}.${p}${z} <${M}.${m}.${+p + 1}-0`;
50310
+ } else {
50311
+ ret = `>=${M}.${m}.${p}${z} <${M}.${+m + 1}.0-0`;
50312
+ }
50313
+ } else {
50314
+ ret = `>=${M}.${m}.${p} <${+M + 1}.0.0-0`;
50315
+ }
50316
+ }
50317
+ debug2("caret return", ret);
50318
+ return ret;
50319
+ });
50320
+ }, "replaceCaret");
50321
+ var replaceXRanges = /* @__PURE__ */ _chunk43OEKRHHcjs.__name.call(void 0, (comp, options) => {
50322
+ debug2("replaceXRanges", comp, options);
50323
+ return comp.split(/\s+/).map((c) => replaceXRange(c, options)).join(" ");
50324
+ }, "replaceXRanges");
50325
+ var replaceXRange = /* @__PURE__ */ _chunk43OEKRHHcjs.__name.call(void 0, (comp, options) => {
50326
+ comp = comp.trim();
50327
+ const r = options.loose ? re[t.XRANGELOOSE] : re[t.XRANGE];
50328
+ return comp.replace(r, (ret, gtlt, M, m, p, pr) => {
50329
+ debug2("xRange", comp, ret, gtlt, M, m, p, pr);
50330
+ const xM = isX(M);
50331
+ const xm = xM || isX(m);
50332
+ const xp = xm || isX(p);
50333
+ const anyX = xp;
50334
+ if (gtlt === "=" && anyX) {
50335
+ gtlt = "";
50336
+ }
50337
+ pr = options.includePrerelease ? "-0" : "";
50338
+ if (xM) {
50339
+ if (gtlt === ">" || gtlt === "<") {
50340
+ ret = "<0.0.0-0";
50341
+ } else {
50342
+ ret = "*";
50343
+ }
50344
+ } else if (gtlt && anyX) {
50345
+ if (xm) {
50346
+ m = 0;
50347
+ }
50348
+ p = 0;
50349
+ if (gtlt === ">") {
50350
+ gtlt = ">=";
50351
+ if (xm) {
50352
+ M = +M + 1;
50353
+ m = 0;
50354
+ p = 0;
50355
+ } else {
50356
+ m = +m + 1;
50357
+ p = 0;
50358
+ }
50359
+ } else if (gtlt === "<=") {
50360
+ gtlt = "<";
50361
+ if (xm) {
50362
+ M = +M + 1;
50363
+ } else {
50364
+ m = +m + 1;
50365
+ }
50366
+ }
50367
+ if (gtlt === "<") {
50368
+ pr = "-0";
50369
+ }
50370
+ ret = `${gtlt + M}.${m}.${p}${pr}`;
50371
+ } else if (xm) {
50372
+ ret = `>=${M}.0.0${pr} <${+M + 1}.0.0-0`;
50373
+ } else if (xp) {
50374
+ ret = `>=${M}.${m}.0${pr} <${M}.${+m + 1}.0-0`;
50375
+ }
50376
+ debug2("xRange return", ret);
50377
+ return ret;
50378
+ });
50379
+ }, "replaceXRange");
50380
+ var replaceStars = /* @__PURE__ */ _chunk43OEKRHHcjs.__name.call(void 0, (comp, options) => {
50381
+ debug2("replaceStars", comp, options);
50382
+ return comp.trim().replace(re[t.STAR], "");
50383
+ }, "replaceStars");
50384
+ var replaceGTE0 = /* @__PURE__ */ _chunk43OEKRHHcjs.__name.call(void 0, (comp, options) => {
50385
+ debug2("replaceGTE0", comp, options);
50386
+ return comp.trim().replace(re[options.includePrerelease ? t.GTE0PRE : t.GTE0], "");
50387
+ }, "replaceGTE0");
50388
+ var hyphenReplace = /* @__PURE__ */ _chunk43OEKRHHcjs.__name.call(void 0, (incPr) => ($0, from, fM, fm, fp, fpr, fb, to, tM, tm, tp, tpr) => {
50389
+ if (isX(fM)) {
50390
+ from = "";
50391
+ } else if (isX(fm)) {
50392
+ from = `>=${fM}.0.0${incPr ? "-0" : ""}`;
50393
+ } else if (isX(fp)) {
50394
+ from = `>=${fM}.${fm}.0${incPr ? "-0" : ""}`;
50395
+ } else if (fpr) {
50396
+ from = `>=${from}`;
50397
+ } else {
50398
+ from = `>=${from}${incPr ? "-0" : ""}`;
50399
+ }
50400
+ if (isX(tM)) {
50401
+ to = "";
50402
+ } else if (isX(tm)) {
50403
+ to = `<${+tM + 1}.0.0-0`;
50404
+ } else if (isX(tp)) {
50405
+ to = `<${tM}.${+tm + 1}.0-0`;
50406
+ } else if (tpr) {
50407
+ to = `<=${tM}.${tm}.${tp}-${tpr}`;
50408
+ } else if (incPr) {
50409
+ to = `<${tM}.${tm}.${+tp + 1}-0`;
50410
+ } else {
50411
+ to = `<=${to}`;
50412
+ }
50413
+ return `${from} ${to}`.trim();
50414
+ }, "hyphenReplace");
50415
+ var testSet = /* @__PURE__ */ _chunk43OEKRHHcjs.__name.call(void 0, (set, version, options) => {
50416
+ for (let i = 0; i < set.length; i++) {
50417
+ if (!set[i].test(version)) {
50418
+ return false;
50419
+ }
50420
+ }
50421
+ if (version.prerelease.length && !options.includePrerelease) {
50422
+ for (let i = 0; i < set.length; i++) {
50423
+ debug2(set[i].semver);
50424
+ if (set[i].semver === Comparator.ANY) {
50425
+ continue;
50426
+ }
50427
+ if (set[i].semver.prerelease.length > 0) {
50428
+ const allowed = set[i].semver;
50429
+ if (allowed.major === version.major && allowed.minor === version.minor && allowed.patch === version.patch) {
50430
+ return true;
50431
+ }
50432
+ }
50433
+ }
50434
+ return false;
50435
+ }
50436
+ return true;
50437
+ }, "testSet");
50438
+ }
50439
+ });
50440
+
50441
+ // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/classes/comparator.js
50442
+ var require_comparator2 = _chunk43OEKRHHcjs.__commonJS.call(void 0, {
50443
+ "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/classes/comparator.js"(exports, module) {
50444
+ _chunk43OEKRHHcjs.init_cjs_shims.call(void 0, );
50445
+ var ANY = Symbol("SemVer ANY");
50446
+ var Comparator = class Comparator2 {
50447
+ static {
50448
+ _chunk43OEKRHHcjs.__name.call(void 0, this, "Comparator");
50449
+ }
50450
+ static get ANY() {
50451
+ return ANY;
50452
+ }
50453
+ constructor(comp, options) {
50454
+ options = parseOptions(options);
50455
+ if (comp instanceof Comparator2) {
50456
+ if (comp.loose === !!options.loose) {
50457
+ return comp;
50458
+ } else {
50459
+ comp = comp.value;
50460
+ }
50461
+ }
50462
+ comp = comp.trim().split(/\s+/).join(" ");
50463
+ debug2("comparator", comp, options);
50464
+ this.options = options;
50465
+ this.loose = !!options.loose;
50466
+ this.parse(comp);
50467
+ if (this.semver === ANY) {
50468
+ this.value = "";
50469
+ } else {
50470
+ this.value = this.operator + this.semver.version;
50471
+ }
50472
+ debug2("comp", this);
50473
+ }
50474
+ parse(comp) {
50475
+ const r = this.options.loose ? re[t.COMPARATORLOOSE] : re[t.COMPARATOR];
50476
+ const m = comp.match(r);
50477
+ if (!m) {
50478
+ throw new TypeError(`Invalid comparator: ${comp}`);
50479
+ }
50480
+ this.operator = m[1] !== void 0 ? m[1] : "";
50481
+ if (this.operator === "=") {
50482
+ this.operator = "";
50483
+ }
50484
+ if (!m[2]) {
50485
+ this.semver = ANY;
50486
+ } else {
50487
+ this.semver = new SemVer(m[2], this.options.loose);
50488
+ }
50489
+ }
50490
+ toString() {
50491
+ return this.value;
50492
+ }
50493
+ test(version) {
50494
+ debug2("Comparator.test", version, this.options.loose);
50495
+ if (this.semver === ANY || version === ANY) {
50496
+ return true;
50497
+ }
50498
+ if (typeof version === "string") {
50499
+ try {
50500
+ version = new SemVer(version, this.options);
50501
+ } catch (er) {
50502
+ return false;
50503
+ }
50504
+ }
50505
+ return cmp(version, this.operator, this.semver, this.options);
50506
+ }
50507
+ intersects(comp, options) {
50508
+ if (!(comp instanceof Comparator2)) {
50509
+ throw new TypeError("a Comparator is required");
50510
+ }
50511
+ if (this.operator === "") {
50512
+ if (this.value === "") {
50513
+ return true;
50514
+ }
50515
+ return new Range(comp.value, options).test(this.value);
50516
+ } else if (comp.operator === "") {
50517
+ if (comp.value === "") {
50518
+ return true;
50519
+ }
50520
+ return new Range(this.value, options).test(comp.semver);
50521
+ }
50522
+ options = parseOptions(options);
50523
+ if (options.includePrerelease && (this.value === "<0.0.0-0" || comp.value === "<0.0.0-0")) {
50524
+ return false;
50525
+ }
50526
+ if (!options.includePrerelease && (this.value.startsWith("<0.0.0") || comp.value.startsWith("<0.0.0"))) {
50527
+ return false;
50528
+ }
50529
+ if (this.operator.startsWith(">") && comp.operator.startsWith(">")) {
50530
+ return true;
50531
+ }
50532
+ if (this.operator.startsWith("<") && comp.operator.startsWith("<")) {
50533
+ return true;
50534
+ }
50535
+ if (this.semver.version === comp.semver.version && this.operator.includes("=") && comp.operator.includes("=")) {
50536
+ return true;
50537
+ }
50538
+ if (cmp(this.semver, "<", comp.semver, options) && this.operator.startsWith(">") && comp.operator.startsWith("<")) {
50539
+ return true;
50540
+ }
50541
+ if (cmp(this.semver, ">", comp.semver, options) && this.operator.startsWith("<") && comp.operator.startsWith(">")) {
50542
+ return true;
50543
+ }
50544
+ return false;
50545
+ }
50546
+ };
50547
+ module.exports = Comparator;
50548
+ var parseOptions = require_parse_options2();
50549
+ var { safeRe: re, t } = require_re2();
50550
+ var cmp = require_cmp2();
50551
+ var debug2 = require_debug3();
50552
+ var SemVer = require_semver3();
50553
+ var Range = require_range3();
50554
+ }
50555
+ });
50556
+
50557
+ // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/satisfies.js
50558
+ var require_satisfies2 = _chunk43OEKRHHcjs.__commonJS.call(void 0, {
50559
+ "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/functions/satisfies.js"(exports, module) {
50560
+ _chunk43OEKRHHcjs.init_cjs_shims.call(void 0, );
50561
+ var Range = require_range3();
50562
+ var satisfies = /* @__PURE__ */ _chunk43OEKRHHcjs.__name.call(void 0, (version, range2, options) => {
50563
+ try {
50564
+ range2 = new Range(range2, options);
50565
+ } catch (er) {
50566
+ return false;
50567
+ }
50568
+ return range2.test(version);
50569
+ }, "satisfies");
50570
+ module.exports = satisfies;
50571
+ }
50572
+ });
50573
+
50574
+ // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/ranges/to-comparators.js
50575
+ var require_to_comparators2 = _chunk43OEKRHHcjs.__commonJS.call(void 0, {
50576
+ "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/ranges/to-comparators.js"(exports, module) {
50577
+ _chunk43OEKRHHcjs.init_cjs_shims.call(void 0, );
50578
+ var Range = require_range3();
50579
+ var toComparators = /* @__PURE__ */ _chunk43OEKRHHcjs.__name.call(void 0, (range2, options) => new Range(range2, options).set.map((comp) => comp.map((c) => c.value).join(" ").trim().split(" ")), "toComparators");
50580
+ module.exports = toComparators;
50581
+ }
50582
+ });
50583
+
50584
+ // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/ranges/max-satisfying.js
50585
+ var require_max_satisfying2 = _chunk43OEKRHHcjs.__commonJS.call(void 0, {
50586
+ "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/ranges/max-satisfying.js"(exports, module) {
50587
+ _chunk43OEKRHHcjs.init_cjs_shims.call(void 0, );
50588
+ var SemVer = require_semver3();
50589
+ var Range = require_range3();
50590
+ var maxSatisfying = /* @__PURE__ */ _chunk43OEKRHHcjs.__name.call(void 0, (versions, range2, options) => {
50591
+ let max2 = null;
50592
+ let maxSV = null;
50593
+ let rangeObj = null;
50594
+ try {
50595
+ rangeObj = new Range(range2, options);
50596
+ } catch (er) {
50597
+ return null;
50598
+ }
50599
+ versions.forEach((v) => {
50600
+ if (rangeObj.test(v)) {
50601
+ if (!max2 || maxSV.compare(v) === -1) {
50602
+ max2 = v;
50603
+ maxSV = new SemVer(max2, options);
50604
+ }
50605
+ }
50606
+ });
50607
+ return max2;
50608
+ }, "maxSatisfying");
50609
+ module.exports = maxSatisfying;
50610
+ }
50611
+ });
50612
+
50613
+ // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/ranges/min-satisfying.js
50614
+ var require_min_satisfying2 = _chunk43OEKRHHcjs.__commonJS.call(void 0, {
50615
+ "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/ranges/min-satisfying.js"(exports, module) {
50616
+ _chunk43OEKRHHcjs.init_cjs_shims.call(void 0, );
50617
+ var SemVer = require_semver3();
50618
+ var Range = require_range3();
50619
+ var minSatisfying = /* @__PURE__ */ _chunk43OEKRHHcjs.__name.call(void 0, (versions, range2, options) => {
50620
+ let min2 = null;
50621
+ let minSV = null;
50622
+ let rangeObj = null;
50623
+ try {
50624
+ rangeObj = new Range(range2, options);
50625
+ } catch (er) {
50626
+ return null;
50627
+ }
50628
+ versions.forEach((v) => {
50629
+ if (rangeObj.test(v)) {
50630
+ if (!min2 || minSV.compare(v) === 1) {
50631
+ min2 = v;
50632
+ minSV = new SemVer(min2, options);
50633
+ }
50634
+ }
50635
+ });
50636
+ return min2;
50637
+ }, "minSatisfying");
50638
+ module.exports = minSatisfying;
50639
+ }
50640
+ });
50641
+
50642
+ // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/ranges/min-version.js
50643
+ var require_min_version2 = _chunk43OEKRHHcjs.__commonJS.call(void 0, {
50644
+ "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/ranges/min-version.js"(exports, module) {
50645
+ _chunk43OEKRHHcjs.init_cjs_shims.call(void 0, );
50646
+ var SemVer = require_semver3();
50647
+ var Range = require_range3();
50648
+ var gt = require_gt2();
50649
+ var minVersion = /* @__PURE__ */ _chunk43OEKRHHcjs.__name.call(void 0, (range2, loose) => {
50650
+ range2 = new Range(range2, loose);
50651
+ let minver = new SemVer("0.0.0");
50652
+ if (range2.test(minver)) {
50653
+ return minver;
50654
+ }
50655
+ minver = new SemVer("0.0.0-0");
50656
+ if (range2.test(minver)) {
50657
+ return minver;
50658
+ }
50659
+ minver = null;
50660
+ for (let i = 0; i < range2.set.length; ++i) {
50661
+ const comparators = range2.set[i];
50662
+ let setMin = null;
50663
+ comparators.forEach((comparator) => {
50664
+ const compver = new SemVer(comparator.semver.version);
50665
+ switch (comparator.operator) {
50666
+ case ">":
50667
+ if (compver.prerelease.length === 0) {
50668
+ compver.patch++;
50669
+ } else {
50670
+ compver.prerelease.push(0);
50671
+ }
50672
+ compver.raw = compver.format();
50673
+ /* fallthrough */
50674
+ case "":
50675
+ case ">=":
50676
+ if (!setMin || gt(compver, setMin)) {
50677
+ setMin = compver;
50678
+ }
50679
+ break;
50680
+ case "<":
50681
+ case "<=":
50682
+ break;
50683
+ /* istanbul ignore next */
50684
+ default:
50685
+ throw new Error(`Unexpected operation: ${comparator.operator}`);
50686
+ }
50687
+ });
50688
+ if (setMin && (!minver || gt(minver, setMin))) {
50689
+ minver = setMin;
50690
+ }
50691
+ }
50692
+ if (minver && range2.test(minver)) {
50693
+ return minver;
50694
+ }
50695
+ return null;
50696
+ }, "minVersion");
50697
+ module.exports = minVersion;
50698
+ }
50699
+ });
50700
+
50701
+ // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/ranges/valid.js
50702
+ var require_valid4 = _chunk43OEKRHHcjs.__commonJS.call(void 0, {
50703
+ "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/ranges/valid.js"(exports, module) {
50704
+ _chunk43OEKRHHcjs.init_cjs_shims.call(void 0, );
50705
+ var Range = require_range3();
50706
+ var validRange = /* @__PURE__ */ _chunk43OEKRHHcjs.__name.call(void 0, (range2, options) => {
50707
+ try {
50708
+ return new Range(range2, options).range || "*";
50709
+ } catch (er) {
50710
+ return null;
50711
+ }
50712
+ }, "validRange");
50713
+ module.exports = validRange;
50714
+ }
50715
+ });
50716
+
50717
+ // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/ranges/outside.js
50718
+ var require_outside2 = _chunk43OEKRHHcjs.__commonJS.call(void 0, {
50719
+ "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/ranges/outside.js"(exports, module) {
50720
+ _chunk43OEKRHHcjs.init_cjs_shims.call(void 0, );
50721
+ var SemVer = require_semver3();
50722
+ var Comparator = require_comparator2();
50723
+ var { ANY } = Comparator;
50724
+ var Range = require_range3();
50725
+ var satisfies = require_satisfies2();
50726
+ var gt = require_gt2();
50727
+ var lt = require_lt2();
50728
+ var lte = require_lte2();
50729
+ var gte = require_gte2();
50730
+ var outside = /* @__PURE__ */ _chunk43OEKRHHcjs.__name.call(void 0, (version, range2, hilo, options) => {
50731
+ version = new SemVer(version, options);
50732
+ range2 = new Range(range2, options);
50733
+ let gtfn, ltefn, ltfn, comp, ecomp;
50734
+ switch (hilo) {
50735
+ case ">":
50736
+ gtfn = gt;
50737
+ ltefn = lte;
50738
+ ltfn = lt;
50739
+ comp = ">";
50740
+ ecomp = ">=";
50741
+ break;
50742
+ case "<":
50743
+ gtfn = lt;
50744
+ ltefn = gte;
50745
+ ltfn = gt;
50746
+ comp = "<";
50747
+ ecomp = "<=";
50748
+ break;
50749
+ default:
50750
+ throw new TypeError('Must provide a hilo val of "<" or ">"');
50751
+ }
50752
+ if (satisfies(version, range2, options)) {
50753
+ return false;
50754
+ }
50755
+ for (let i = 0; i < range2.set.length; ++i) {
50756
+ const comparators = range2.set[i];
50757
+ let high = null;
50758
+ let low = null;
50759
+ comparators.forEach((comparator) => {
50760
+ if (comparator.semver === ANY) {
50761
+ comparator = new Comparator(">=0.0.0");
50762
+ }
50763
+ high = high || comparator;
50764
+ low = low || comparator;
50765
+ if (gtfn(comparator.semver, high.semver, options)) {
50766
+ high = comparator;
50767
+ } else if (ltfn(comparator.semver, low.semver, options)) {
50768
+ low = comparator;
50769
+ }
50770
+ });
50771
+ if (high.operator === comp || high.operator === ecomp) {
50772
+ return false;
50773
+ }
50774
+ if ((!low.operator || low.operator === comp) && ltefn(version, low.semver)) {
50775
+ return false;
50776
+ } else if (low.operator === ecomp && ltfn(version, low.semver)) {
50777
+ return false;
50778
+ }
50779
+ }
50780
+ return true;
50781
+ }, "outside");
50782
+ module.exports = outside;
50783
+ }
50784
+ });
50785
+
50786
+ // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/ranges/gtr.js
50787
+ var require_gtr2 = _chunk43OEKRHHcjs.__commonJS.call(void 0, {
50788
+ "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/ranges/gtr.js"(exports, module) {
50789
+ _chunk43OEKRHHcjs.init_cjs_shims.call(void 0, );
50790
+ var outside = require_outside2();
50791
+ var gtr = /* @__PURE__ */ _chunk43OEKRHHcjs.__name.call(void 0, (version, range2, options) => outside(version, range2, ">", options), "gtr");
50792
+ module.exports = gtr;
50793
+ }
50794
+ });
50795
+
50796
+ // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/ranges/ltr.js
50797
+ var require_ltr2 = _chunk43OEKRHHcjs.__commonJS.call(void 0, {
50798
+ "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/ranges/ltr.js"(exports, module) {
50799
+ _chunk43OEKRHHcjs.init_cjs_shims.call(void 0, );
50800
+ var outside = require_outside2();
50801
+ var ltr = /* @__PURE__ */ _chunk43OEKRHHcjs.__name.call(void 0, (version, range2, options) => outside(version, range2, "<", options), "ltr");
50802
+ module.exports = ltr;
50803
+ }
50804
+ });
50805
+
50806
+ // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/ranges/intersects.js
50807
+ var require_intersects2 = _chunk43OEKRHHcjs.__commonJS.call(void 0, {
50808
+ "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/ranges/intersects.js"(exports, module) {
50809
+ _chunk43OEKRHHcjs.init_cjs_shims.call(void 0, );
50810
+ var Range = require_range3();
50811
+ var intersects = /* @__PURE__ */ _chunk43OEKRHHcjs.__name.call(void 0, (r1, r2, options) => {
50812
+ r1 = new Range(r1, options);
50813
+ r2 = new Range(r2, options);
50814
+ return r1.intersects(r2, options);
50815
+ }, "intersects");
50816
+ module.exports = intersects;
50817
+ }
50818
+ });
50819
+
50820
+ // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/ranges/simplify.js
50821
+ var require_simplify2 = _chunk43OEKRHHcjs.__commonJS.call(void 0, {
50822
+ "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/ranges/simplify.js"(exports, module) {
50823
+ _chunk43OEKRHHcjs.init_cjs_shims.call(void 0, );
50824
+ var satisfies = require_satisfies2();
50825
+ var compare = require_compare2();
50826
+ module.exports = (versions, range2, options) => {
50827
+ const set = [];
50828
+ let first2 = null;
50829
+ let prev = null;
50830
+ const v = versions.sort((a, b) => compare(a, b, options));
50831
+ for (const version of v) {
50832
+ const included = satisfies(version, range2, options);
50833
+ if (included) {
50834
+ prev = version;
50835
+ if (!first2) {
50836
+ first2 = version;
50837
+ }
50838
+ } else {
50839
+ if (prev) {
50840
+ set.push([
50841
+ first2,
50842
+ prev
50843
+ ]);
50844
+ }
50845
+ prev = null;
50846
+ first2 = null;
50847
+ }
50848
+ }
50849
+ if (first2) {
50850
+ set.push([
50851
+ first2,
50852
+ null
50853
+ ]);
50854
+ }
50855
+ const ranges = [];
50856
+ for (const [min2, max2] of set) {
50857
+ if (min2 === max2) {
50858
+ ranges.push(min2);
50859
+ } else if (!max2 && min2 === v[0]) {
50860
+ ranges.push("*");
50861
+ } else if (!max2) {
50862
+ ranges.push(`>=${min2}`);
50863
+ } else if (min2 === v[0]) {
50864
+ ranges.push(`<=${max2}`);
50865
+ } else {
50866
+ ranges.push(`${min2} - ${max2}`);
50867
+ }
50868
+ }
50869
+ const simplified = ranges.join(" || ");
50870
+ const original = typeof range2.raw === "string" ? range2.raw : String(range2);
50871
+ return simplified.length < original.length ? simplified : range2;
50872
+ };
50873
+ }
50874
+ });
50875
+
50876
+ // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/ranges/subset.js
50877
+ var require_subset2 = _chunk43OEKRHHcjs.__commonJS.call(void 0, {
50878
+ "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/ranges/subset.js"(exports, module) {
50879
+ _chunk43OEKRHHcjs.init_cjs_shims.call(void 0, );
50880
+ var Range = require_range3();
50881
+ var Comparator = require_comparator2();
50882
+ var { ANY } = Comparator;
50883
+ var satisfies = require_satisfies2();
50884
+ var compare = require_compare2();
50885
+ var subset = /* @__PURE__ */ _chunk43OEKRHHcjs.__name.call(void 0, (sub, dom, options = {}) => {
50886
+ if (sub === dom) {
50887
+ return true;
50888
+ }
50889
+ sub = new Range(sub, options);
50890
+ dom = new Range(dom, options);
50891
+ let sawNonNull = false;
50892
+ OUTER: for (const simpleSub of sub.set) {
50893
+ for (const simpleDom of dom.set) {
50894
+ const isSub = simpleSubset(simpleSub, simpleDom, options);
50895
+ sawNonNull = sawNonNull || isSub !== null;
50896
+ if (isSub) {
50897
+ continue OUTER;
50898
+ }
50899
+ }
50900
+ if (sawNonNull) {
50901
+ return false;
50902
+ }
50903
+ }
50904
+ return true;
50905
+ }, "subset");
50906
+ var minimumVersionWithPreRelease = [
50907
+ new Comparator(">=0.0.0-0")
50908
+ ];
50909
+ var minimumVersion = [
50910
+ new Comparator(">=0.0.0")
50911
+ ];
50912
+ var simpleSubset = /* @__PURE__ */ _chunk43OEKRHHcjs.__name.call(void 0, (sub, dom, options) => {
50913
+ if (sub === dom) {
50914
+ return true;
50915
+ }
50916
+ if (sub.length === 1 && sub[0].semver === ANY) {
50917
+ if (dom.length === 1 && dom[0].semver === ANY) {
50918
+ return true;
50919
+ } else if (options.includePrerelease) {
50920
+ sub = minimumVersionWithPreRelease;
50921
+ } else {
50922
+ sub = minimumVersion;
50923
+ }
50924
+ }
50925
+ if (dom.length === 1 && dom[0].semver === ANY) {
50926
+ if (options.includePrerelease) {
50927
+ return true;
50928
+ } else {
50929
+ dom = minimumVersion;
50930
+ }
50931
+ }
50932
+ const eqSet = /* @__PURE__ */ new Set();
50933
+ let gt, lt;
50934
+ for (const c of sub) {
50935
+ if (c.operator === ">" || c.operator === ">=") {
50936
+ gt = higherGT(gt, c, options);
50937
+ } else if (c.operator === "<" || c.operator === "<=") {
50938
+ lt = lowerLT(lt, c, options);
50939
+ } else {
50940
+ eqSet.add(c.semver);
50941
+ }
50942
+ }
50943
+ if (eqSet.size > 1) {
50944
+ return null;
50945
+ }
50946
+ let gtltComp;
50947
+ if (gt && lt) {
50948
+ gtltComp = compare(gt.semver, lt.semver, options);
50949
+ if (gtltComp > 0) {
50950
+ return null;
50951
+ } else if (gtltComp === 0 && (gt.operator !== ">=" || lt.operator !== "<=")) {
50952
+ return null;
50953
+ }
50954
+ }
50955
+ for (const eq2 of eqSet) {
50956
+ if (gt && !satisfies(eq2, String(gt), options)) {
50957
+ return null;
50958
+ }
50959
+ if (lt && !satisfies(eq2, String(lt), options)) {
50960
+ return null;
50961
+ }
50962
+ for (const c of dom) {
50963
+ if (!satisfies(eq2, String(c), options)) {
50964
+ return false;
50965
+ }
50966
+ }
50967
+ return true;
50968
+ }
50969
+ let higher, lower;
50970
+ let hasDomLT, hasDomGT;
50971
+ let needDomLTPre = lt && !options.includePrerelease && lt.semver.prerelease.length ? lt.semver : false;
50972
+ let needDomGTPre = gt && !options.includePrerelease && gt.semver.prerelease.length ? gt.semver : false;
50973
+ if (needDomLTPre && needDomLTPre.prerelease.length === 1 && lt.operator === "<" && needDomLTPre.prerelease[0] === 0) {
50974
+ needDomLTPre = false;
50975
+ }
50976
+ for (const c of dom) {
50977
+ hasDomGT = hasDomGT || c.operator === ">" || c.operator === ">=";
50978
+ hasDomLT = hasDomLT || c.operator === "<" || c.operator === "<=";
50979
+ if (gt) {
50980
+ if (needDomGTPre) {
50981
+ if (c.semver.prerelease && c.semver.prerelease.length && c.semver.major === needDomGTPre.major && c.semver.minor === needDomGTPre.minor && c.semver.patch === needDomGTPre.patch) {
50982
+ needDomGTPre = false;
50983
+ }
50984
+ }
50985
+ if (c.operator === ">" || c.operator === ">=") {
50986
+ higher = higherGT(gt, c, options);
50987
+ if (higher === c && higher !== gt) {
50988
+ return false;
50989
+ }
50990
+ } else if (gt.operator === ">=" && !satisfies(gt.semver, String(c), options)) {
50991
+ return false;
50992
+ }
50993
+ }
50994
+ if (lt) {
50995
+ if (needDomLTPre) {
50996
+ if (c.semver.prerelease && c.semver.prerelease.length && c.semver.major === needDomLTPre.major && c.semver.minor === needDomLTPre.minor && c.semver.patch === needDomLTPre.patch) {
50997
+ needDomLTPre = false;
50998
+ }
50999
+ }
51000
+ if (c.operator === "<" || c.operator === "<=") {
51001
+ lower = lowerLT(lt, c, options);
51002
+ if (lower === c && lower !== lt) {
51003
+ return false;
51004
+ }
51005
+ } else if (lt.operator === "<=" && !satisfies(lt.semver, String(c), options)) {
51006
+ return false;
51007
+ }
51008
+ }
51009
+ if (!c.operator && (lt || gt) && gtltComp !== 0) {
51010
+ return false;
51011
+ }
51012
+ }
51013
+ if (gt && hasDomLT && !lt && gtltComp !== 0) {
51014
+ return false;
51015
+ }
51016
+ if (lt && hasDomGT && !gt && gtltComp !== 0) {
51017
+ return false;
51018
+ }
51019
+ if (needDomGTPre || needDomLTPre) {
51020
+ return false;
51021
+ }
51022
+ return true;
51023
+ }, "simpleSubset");
51024
+ var higherGT = /* @__PURE__ */ _chunk43OEKRHHcjs.__name.call(void 0, (a, b, options) => {
51025
+ if (!a) {
51026
+ return b;
51027
+ }
51028
+ const comp = compare(a.semver, b.semver, options);
51029
+ return comp > 0 ? a : comp < 0 ? b : b.operator === ">" && a.operator === ">=" ? b : a;
51030
+ }, "higherGT");
51031
+ var lowerLT = /* @__PURE__ */ _chunk43OEKRHHcjs.__name.call(void 0, (a, b, options) => {
51032
+ if (!a) {
51033
+ return b;
51034
+ }
51035
+ const comp = compare(a.semver, b.semver, options);
51036
+ return comp < 0 ? a : comp > 0 ? b : b.operator === "<" && a.operator === "<=" ? b : a;
51037
+ }, "lowerLT");
51038
+ module.exports = subset;
51039
+ }
51040
+ });
51041
+
51042
+ // ../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/index.js
51043
+ var require_semver4 = _chunk43OEKRHHcjs.__commonJS.call(void 0, {
51044
+ "../../node_modules/.pnpm/semver@7.7.1/node_modules/semver/index.js"(exports, module) {
51045
+ _chunk43OEKRHHcjs.init_cjs_shims.call(void 0, );
51046
+ var internalRe = require_re2();
51047
+ var constants = require_constants2();
51048
+ var SemVer = require_semver3();
51049
+ var identifiers = require_identifiers2();
51050
+ var parse2 = require_parse3();
51051
+ var valid2 = require_valid3();
51052
+ var clean = require_clean2();
51053
+ var inc = require_inc2();
51054
+ var diff = require_diff2();
51055
+ var major2 = require_major2();
51056
+ var minor = require_minor2();
51057
+ var patch = require_patch2();
51058
+ var prerelease = require_prerelease2();
51059
+ var compare = require_compare2();
51060
+ var rcompare = require_rcompare2();
51061
+ var compareLoose = require_compare_loose2();
51062
+ var compareBuild = require_compare_build2();
51063
+ var sort = require_sort3();
51064
+ var rsort = require_rsort2();
51065
+ var gt = require_gt2();
51066
+ var lt = require_lt2();
51067
+ var eq2 = require_eq2();
51068
+ var neq = require_neq2();
51069
+ var gte = require_gte2();
51070
+ var lte = require_lte2();
51071
+ var cmp = require_cmp2();
51072
+ var coerce = require_coerce2();
51073
+ var Comparator = require_comparator2();
51074
+ var Range = require_range3();
51075
+ var satisfies = require_satisfies2();
51076
+ var toComparators = require_to_comparators2();
51077
+ var maxSatisfying = require_max_satisfying2();
51078
+ var minSatisfying = require_min_satisfying2();
51079
+ var minVersion = require_min_version2();
51080
+ var validRange = require_valid4();
51081
+ var outside = require_outside2();
51082
+ var gtr = require_gtr2();
51083
+ var ltr = require_ltr2();
51084
+ var intersects = require_intersects2();
51085
+ var simplifyRange = require_simplify2();
51086
+ var subset = require_subset2();
51087
+ module.exports = {
51088
+ parse: parse2,
51089
+ valid: valid2,
51090
+ clean,
51091
+ inc,
51092
+ diff,
51093
+ major: major2,
51094
+ minor,
51095
+ patch,
51096
+ prerelease,
51097
+ compare,
51098
+ rcompare,
51099
+ compareLoose,
51100
+ compareBuild,
51101
+ sort,
51102
+ rsort,
51103
+ gt,
51104
+ lt,
51105
+ eq: eq2,
51106
+ neq,
51107
+ gte,
51108
+ lte,
51109
+ cmp,
51110
+ coerce,
51111
+ Comparator,
51112
+ Range,
51113
+ satisfies,
51114
+ toComparators,
51115
+ maxSatisfying,
51116
+ minSatisfying,
51117
+ minVersion,
51118
+ validRange,
51119
+ outside,
51120
+ gtr,
51121
+ ltr,
51122
+ intersects,
51123
+ simplifyRange,
51124
+ subset,
51125
+ SemVer,
51126
+ re: internalRe.re,
51127
+ src: internalRe.src,
51128
+ tokens: internalRe.t,
51129
+ SEMVER_SPEC_VERSION: constants.SEMVER_SPEC_VERSION,
51130
+ RELEASE_TYPES: constants.RELEASE_TYPES,
51131
+ compareIdentifiers: identifiers.compareIdentifiers,
51132
+ rcompareIdentifiers: identifiers.rcompareIdentifiers
51133
+ };
51134
+ }
51135
+ });
51136
+
49191
51137
  // ../../node_modules/.pnpm/@nx+devkit@20.8.0_nx@20.8.0_@swc-node+register@1.10.9_@swc+core@1.7.26_@swc+helpers@0.5_bd20000ef4ff80f47109509163a3e134/node_modules/@nx/devkit/src/tasks/install-packages-task.js
49192
51138
  var require_install_packages_task = _chunk43OEKRHHcjs.__commonJS.call(void 0, {
49193
51139
  "../../node_modules/.pnpm/@nx+devkit@20.8.0_nx@20.8.0_@swc-node+register@1.10.9_@swc+core@1.7.26_@swc+helpers@0.5_bd20000ef4ff80f47109509163a3e134/node_modules/@nx/devkit/src/tasks/install-packages-task.js"(exports) {
@@ -49238,7 +51184,7 @@ var require_package_json = _chunk43OEKRHHcjs.__commonJS.call(void 0, {
49238
51184
  exports.ensurePackage = ensurePackage;
49239
51185
  var child_process_1 = _chunk43OEKRHHcjs.__require.call(void 0, "child_process");
49240
51186
  var module_1 = _chunk43OEKRHHcjs.__require.call(void 0, "module");
49241
- var semver_1 = require_semver2();
51187
+ var semver_1 = require_semver4();
49242
51188
  var install_packages_task_1 = require_install_packages_task();
49243
51189
  var tmp_1 = require_tmp2();
49244
51190
  var path_1 = _chunk43OEKRHHcjs.__require.call(void 0, "path");
@@ -56196,7 +58142,7 @@ var require_race = _chunk43OEKRHHcjs.__commonJS.call(void 0, {
56196
58142
  });
56197
58143
 
56198
58144
  // ../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/cjs/internal/observable/range.js
56199
- var require_range3 = _chunk43OEKRHHcjs.__commonJS.call(void 0, {
58145
+ var require_range4 = _chunk43OEKRHHcjs.__commonJS.call(void 0, {
56200
58146
  "../../node_modules/.pnpm/rxjs@7.8.1/node_modules/rxjs/dist/cjs/internal/observable/range.js"(exports) {
56201
58147
  "use strict";
56202
58148
  _chunk43OEKRHHcjs.init_cjs_shims.call(void 0, );
@@ -60919,7 +62865,7 @@ var require_cjs = _chunk43OEKRHHcjs.__commonJS.call(void 0, {
60919
62865
  return race_1.race;
60920
62866
  }, "get")
60921
62867
  });
60922
- var range_1 = require_range3();
62868
+ var range_1 = require_range4();
60923
62869
  Object.defineProperty(exports, "range", {
60924
62870
  enumerable: true,
60925
62871
  get: /* @__PURE__ */ _chunk43OEKRHHcjs.__name.call(void 0, function() {
@@ -61745,7 +63691,7 @@ var require_convert_nx_executor = _chunk43OEKRHHcjs.__commonJS.call(void 0, {
61745
63691
  });
61746
63692
  exports.convertNxExecutor = convertNxExecutor;
61747
63693
  var package_json_1 = require_package_json();
61748
- var semver_1 = require_semver2();
63694
+ var semver_1 = require_semver4();
61749
63695
  var devkit_internals_1 = _chunk43OEKRHHcjs.__require.call(void 0, "nx/src/devkit-internals");
61750
63696
  function convertNxExecutor(executor) {
61751
63697
  const builderFunction = /* @__PURE__ */ _chunk43OEKRHHcjs.__name.call(void 0, (options, builderContext) => {
@@ -67073,7 +69019,16 @@ async function getNxScopes(context, selector = (params) => true) {
67073
69019
  const ctx = context || {};
67074
69020
  const workspaceRoot3 = process.env.NX_WORKSPACE_ROOT_PATH || process.env.STORM_WORKSPACE_ROOT || ctx.cwd || process.cwd();
67075
69021
  process.env.NX_WORKSPACE_ROOT_PATH ??= workspaceRoot3;
67076
- const projectGraph = _projectgraph.readCachedProjectGraph.call(void 0, );
69022
+ let projectGraph;
69023
+ try {
69024
+ projectGraph = _projectgraph.readCachedProjectGraph.call(void 0, );
69025
+ } catch (e7) {
69026
+ await _projectgraph.createProjectGraphAsync.call(void 0, );
69027
+ projectGraph = _projectgraph.readCachedProjectGraph.call(void 0, );
69028
+ }
69029
+ if (!projectGraph) {
69030
+ throw new Error("The commit process failed because the project graph is not available. Please run the build command again.");
69031
+ }
67077
69032
  const projectConfigs = _projectgraph.readProjectsConfigurationFromProjectGraph.call(void 0, projectGraph);
67078
69033
  const result2 = Object.entries(projectConfigs.projects || {}).map(([name, project]) => ({
67079
69034
  name,
@@ -67100,12 +69055,12 @@ var getRuleFromScopeEnum = /* @__PURE__ */ _chunk43OEKRHHcjs.__name.call(void 0,
67100
69055
  // src/commitlint/run.ts
67101
69056
  var COMMIT_EDITMSG_PATH = ".git/COMMIT_EDITMSG";
67102
69057
  var runCommitLint = /* @__PURE__ */ _chunk43OEKRHHcjs.__name.call(void 0, async (config, params) => {
67103
- _chunkOWXRZTBJcjs.writeInfo.call(void 0, "\u{1F4DD} Validating git commit message aligns with the Storm Software specification", config);
69058
+ _chunkRXIHQPJRcjs.writeInfo.call(void 0, "\u{1F4DD} Validating git commit message aligns with the Storm Software specification", config);
67104
69059
  let commitMessage;
67105
69060
  if (params.message && params.message !== COMMIT_EDITMSG_PATH) {
67106
69061
  commitMessage = params.message;
67107
69062
  } else {
67108
- const commitFile = _chunkOWXRZTBJcjs.joinPaths.call(void 0, config.workspaceRoot, params.file || params.message || COMMIT_EDITMSG_PATH);
69063
+ const commitFile = _chunkRXIHQPJRcjs.joinPaths.call(void 0, config.workspaceRoot, params.file || params.message || COMMIT_EDITMSG_PATH);
67109
69064
  if (_fs.existsSync.call(void 0, commitFile)) {
67110
69065
  commitMessage = await _asyncOptionalChain([(await _promises.readFile.call(void 0, commitFile, "utf8")), 'optionalAccess', async _81 => _81.trim, 'call', async _82 => _82()]);
67111
69066
  }
@@ -67117,19 +69072,19 @@ var runCommitLint = /* @__PURE__ */ _chunk43OEKRHHcjs.__name.call(void 0, async
67117
69072
  if (upstreamRemote) {
67118
69073
  const upstreamRemoteIdentifier = _optionalChain([upstreamRemote, 'access', _83 => _83.split, 'call', _84 => _84(" "), 'access', _85 => _85[0], 'optionalAccess', _86 => _86.trim, 'call', _87 => _87()]);
67119
69074
  if (!upstreamRemoteIdentifier) {
67120
- _chunkOWXRZTBJcjs.writeWarning.call(void 0, `No upstream remote found for ${config.name}.git. Skipping comparison.`, config);
69075
+ _chunkRXIHQPJRcjs.writeWarning.call(void 0, `No upstream remote found for ${config.name}.git. Skipping comparison.`, config);
67121
69076
  return;
67122
69077
  }
67123
- _chunkOWXRZTBJcjs.writeDebug.call(void 0, `Comparing against remote ${upstreamRemoteIdentifier}`);
69078
+ _chunkRXIHQPJRcjs.writeDebug.call(void 0, `Comparing against remote ${upstreamRemoteIdentifier}`);
67124
69079
  const currentBranch = _child_process2.default.execSync("git branch --show-current").toString().trim();
67125
69080
  gitLogCmd = gitLogCmd + ` ${currentBranch} ^${upstreamRemoteIdentifier}/main`;
67126
69081
  } else {
67127
- _chunkOWXRZTBJcjs.writeWarning.call(void 0, `No upstream remote found for ${config.name}.git. Skipping comparison against upstream main.`, config);
69082
+ _chunkRXIHQPJRcjs.writeWarning.call(void 0, `No upstream remote found for ${config.name}.git. Skipping comparison against upstream main.`, config);
67128
69083
  return;
67129
69084
  }
67130
69085
  commitMessage = _child_process2.default.execSync(gitLogCmd).toString().trim();
67131
69086
  if (!commitMessage) {
67132
- _chunkOWXRZTBJcjs.writeWarning.call(void 0, "No commits found. Skipping commit message validation.", config);
69087
+ _chunkRXIHQPJRcjs.writeWarning.call(void 0, "No commits found. Skipping commit message validation.", config);
67133
69088
  return;
67134
69089
  }
67135
69090
  }
@@ -67147,7 +69102,7 @@ var runCommitLint = /* @__PURE__ */ _chunk43OEKRHHcjs.__name.call(void 0, async
67147
69102
  helpUrl: commitlintConfig.helpUrl
67148
69103
  });
67149
69104
  if (!matchCommit || report.errors.length || report.warnings.length) {
67150
- _chunkOWXRZTBJcjs.writeSuccess.call(void 0, `Commit was processing completed successfully!`, config);
69105
+ _chunkRXIHQPJRcjs.writeSuccess.call(void 0, `Commit was processing completed successfully!`, config);
67151
69106
  } else {
67152
69107
  let errorMessage = " Oh no! Your commit message: \n-------------------------------------------------------------------\n" + commitMessage + "\n-------------------------------------------------------------------\n\n Does not follow the commit message convention specified by Storm Software.";
67153
69108
  errorMessage += "\ntype(scope): subject \n BLANK LINE \n body";
@@ -68341,7 +70296,7 @@ var createState = /* @__PURE__ */ _chunk43OEKRHHcjs.__name.call(void 0, async (c
68341
70296
  answers: {}
68342
70297
  };
68343
70298
  } else {
68344
- _chunkOWXRZTBJcjs.writeInfo.call(void 0, `Using custom commit config file: ${commitizenFile}`, config);
70299
+ _chunkRXIHQPJRcjs.writeInfo.call(void 0, `Using custom commit config file: ${commitizenFile}`, config);
68345
70300
  let commitizenConfig = await Promise.resolve().then(() => _interopRequireWildcard(require(commitizenFile)));
68346
70301
  if (_optionalChain([commitizenConfig, 'optionalAccess', _93 => _93.default])) {
68347
70302
  commitizenConfig = _optionalChain([commitizenConfig, 'optionalAccess', _94 => _94.default]);
@@ -68382,7 +70337,7 @@ var createState = /* @__PURE__ */ _chunk43OEKRHHcjs.__name.call(void 0, async (c
68382
70337
  }
68383
70338
  if (project) {
68384
70339
  let description = `${project.name} - ${project.root}`;
68385
- const packageJsonPath = _chunkOWXRZTBJcjs.joinPaths.call(void 0, project.root, "package.json");
70340
+ const packageJsonPath = _chunkRXIHQPJRcjs.joinPaths.call(void 0, project.root, "package.json");
68386
70341
  if (await hfs.isFile(packageJsonPath)) {
68387
70342
  const packageJson = await hfs.json(packageJsonPath);
68388
70343
  description = packageJson.description || description;
@@ -68456,10 +70411,10 @@ ${closedIssueEmoji}${config.prompt.settings.closedIssueMessage}${issues}`;
68456
70411
 
68457
70412
  // src/commit/run.ts
68458
70413
  var runCommit = /* @__PURE__ */ _chunk43OEKRHHcjs.__name.call(void 0, async (commitizenFile = "@storm-software/git-tools/commit/config", dryRun = false) => {
68459
- const config = await _chunkOWXRZTBJcjs.getConfig.call(void 0, );
70414
+ const config = await _chunkRXIHQPJRcjs.getConfig.call(void 0, );
68460
70415
  const state = await createState(config, commitizenFile);
68461
70416
  if (dryRun) {
68462
- _chunkOWXRZTBJcjs.writeInfo.call(void 0, "Running in dry mode.", config);
70417
+ _chunkRXIHQPJRcjs.writeInfo.call(void 0, "Running in dry mode.", config);
68463
70418
  }
68464
70419
  console.log(chalk_template_default`
68465
70420
  {bold.#999999 ----------------------------------------}
@@ -68469,7 +70424,7 @@ var runCommit = /* @__PURE__ */ _chunk43OEKRHHcjs.__name.call(void 0, async (com
68469
70424
  `);
68470
70425
  state.answers = await askQuestions(state);
68471
70426
  const message2 = formatCommitMessage(state);
68472
- const commitMsgFile = _chunkOWXRZTBJcjs.joinPaths.call(void 0, getGitDir(), "COMMIT_EDITMSG");
70427
+ const commitMsgFile = _chunkRXIHQPJRcjs.joinPaths.call(void 0, getGitDir(), "COMMIT_EDITMSG");
68473
70428
  console.log(chalk_template_default`
68474
70429
  {bold.#999999 ----------------------------------------}
68475
70430
 
@@ -68493,8 +70448,8 @@ var runCommit = /* @__PURE__ */ _chunk43OEKRHHcjs.__name.call(void 0, async (com
68493
70448
  ]);
68494
70449
  const command = (0, import_any_shell_escape.default)(commandItems);
68495
70450
  if (dryRun) {
68496
- _chunkOWXRZTBJcjs.writeDebug.call(void 0, `Skipping execution [dry-run]: ${command.replace(commitMsgFile, ".git/COMMIT_EDITMSG")}`, config);
68497
- _chunkOWXRZTBJcjs.writeDebug.call(void 0, `Message [dry-run]: ${message2}`, config);
70451
+ _chunkRXIHQPJRcjs.writeDebug.call(void 0, `Skipping execution [dry-run]: ${command.replace(commitMsgFile, ".git/COMMIT_EDITMSG")}`, config);
70452
+ _chunkRXIHQPJRcjs.writeDebug.call(void 0, `Message [dry-run]: ${message2}`, config);
68498
70453
  } else {
68499
70454
  await _promises2.default.writeFile(commitMsgFile, message2);
68500
70455
  _chunkRH2GTX7Ecjs.run.call(void 0, config, command);
@@ -80887,7 +82842,7 @@ var _nxjsonjs = require('nx/src/config/nx-json.js');
80887
82842
 
80888
82843
  // src/release/changelog.ts
80889
82844
  _chunk43OEKRHHcjs.init_cjs_shims.call(void 0, );
80890
- var chalk2 = _chunk43OEKRHHcjs.__toESM.call(void 0, _chunkOWXRZTBJcjs.require_source.call(void 0, ), 1);
82845
+ var chalk2 = _chunk43OEKRHHcjs.__toESM.call(void 0, _chunkRXIHQPJRcjs.require_source.call(void 0, ), 1);
80891
82846
  var import_enquirer = _chunk43OEKRHHcjs.__toESM.call(void 0, require_enquirer(), 1);
80892
82847
  var import_semver2 = _chunk43OEKRHHcjs.__toESM.call(void 0, require_semver2(), 1);
80893
82848
  var import_tmp = _chunk43OEKRHHcjs.__toESM.call(void 0, require_tmp2(), 1);
@@ -84527,7 +86482,7 @@ var StormChangelogRenderer = (_class13 = class extends _changelogrenderer2.defau
84527
86482
  super(config);_class13.prototype.__init27.call(this);;
84528
86483
  }
84529
86484
  async render() {
84530
- this.workspaceConfig = await _chunkOWXRZTBJcjs.getWorkspaceConfig.call(void 0, );
86485
+ this.workspaceConfig = await _chunkRXIHQPJRcjs.getWorkspaceConfig.call(void 0, );
84531
86486
  return await super.render();
84532
86487
  }
84533
86488
  preprocessChanges() {
@@ -84701,7 +86656,7 @@ var StormChangelogRenderer = (_class13 = class extends _changelogrenderer2.defau
84701
86656
  // src/release/changelog.ts
84702
86657
  function createAPI(overrideReleaseConfig) {
84703
86658
  return /* @__PURE__ */ _chunk43OEKRHHcjs.__name.call(void 0, async function releaseChangelog(args) {
84704
- const workspaceConfig = await _chunkOWXRZTBJcjs.getWorkspaceConfig.call(void 0, );
86659
+ const workspaceConfig = await _chunkRXIHQPJRcjs.getWorkspaceConfig.call(void 0, );
84705
86660
  const projectGraph = await _projectgraph.createProjectGraphAsync.call(void 0, {
84706
86661
  exitOnError: true
84707
86662
  });
@@ -85251,7 +87206,7 @@ async function applyChangesAndExit(args, nxReleaseConfig, tree, toSHA, postGitTa
85251
87206
  }
85252
87207
  _chunk43OEKRHHcjs.__name.call(void 0, applyChangesAndExit, "applyChangesAndExit");
85253
87208
  async function generateChangelogForWorkspace({ tree, args, projectGraph, nxReleaseConfig, workspaceChangelogVersion, changes, commits }) {
85254
- const workspaceConfig = await _chunkOWXRZTBJcjs.getWorkspaceConfig.call(void 0, );
87209
+ const workspaceConfig = await _chunkRXIHQPJRcjs.getWorkspaceConfig.call(void 0, );
85255
87210
  if (!workspaceConfig) {
85256
87211
  throw new Error(`Unable to determine the Storm workspace config. Please ensure that your storm-workspace.json file is present and valid.`);
85257
87212
  }
@@ -85341,7 +87296,7 @@ async function generateChangelogForWorkspace({ tree, args, projectGraph, nxRelea
85341
87296
  }
85342
87297
  _chunk43OEKRHHcjs.__name.call(void 0, generateChangelogForWorkspace, "generateChangelogForWorkspace");
85343
87298
  async function generateChangelogForProjects({ tree, args, changes, projectsVersionData, releaseGroup, projects, nxReleaseConfig, projectToAdditionalDependencyBumps }) {
85344
- const workspaceConfig = await _chunkOWXRZTBJcjs.getWorkspaceConfig.call(void 0, );
87299
+ const workspaceConfig = await _chunkRXIHQPJRcjs.getWorkspaceConfig.call(void 0, );
85345
87300
  if (!workspaceConfig) {
85346
87301
  throw new Error(`Unable to determine the Storm workspace config. Please ensure that your storm-workspace.json file is present and valid.`);
85347
87302
  }
@@ -85647,13 +87602,13 @@ var _filemaputilsjs = require('nx/src/project-graph/file-map-utils.js');
85647
87602
  var _paramsjs = require('nx/src/utils/params.js');
85648
87603
  async function releaseVersion(config, args) {
85649
87604
  try {
85650
- _chunkOWXRZTBJcjs.writeInfo.call(void 0, "Running release version command", config);
87605
+ _chunkRXIHQPJRcjs.writeInfo.call(void 0, "Running release version command", config);
85651
87606
  const projectGraph = await _projectgraphjs.createProjectGraphAsync.call(void 0, {
85652
87607
  exitOnError: true
85653
87608
  });
85654
87609
  const { projects } = _projectgraphjs.readProjectsConfigurationFromProjectGraph.call(void 0, projectGraph);
85655
87610
  const nxJson = _nxjsonjs.readNxJson.call(void 0, );
85656
- const workspaceRoot3 = _nullishCoalesce(_optionalChain([config, 'optionalAccess', _242 => _242.workspaceRoot]), () => ( _chunkOWXRZTBJcjs.findWorkspaceRoot.call(void 0, )));
87611
+ const workspaceRoot3 = _nullishCoalesce(_optionalChain([config, 'optionalAccess', _242 => _242.workspaceRoot]), () => ( _chunkRXIHQPJRcjs.findWorkspaceRoot.call(void 0, )));
85657
87612
  if (args.verbose) {
85658
87613
  process.env.NX_VERBOSE_LOGGING = "true";
85659
87614
  }
@@ -85668,10 +87623,10 @@ async function releaseVersion(config, args) {
85668
87623
  ]);
85669
87624
  throw new Error(`The "release.git" property in nx.json may not be used with the "nx release version" subcommand or programmatic API. Instead, configure git options for subcommands directly with "release.version.git" and "release.changelog.git".`);
85670
87625
  }
85671
- _chunkOWXRZTBJcjs.writeInfo.call(void 0, "Filtering projects and release groups", config);
87626
+ _chunkRXIHQPJRcjs.writeInfo.call(void 0, "Filtering projects and release groups", config);
85672
87627
  const { error: filterError, releaseGroups, releaseGroupToFilteredProjects } = _filterreleasegroupsjs.filterReleaseGroups.call(void 0, projectGraph, nxReleaseConfig, args.projects, args.groups);
85673
87628
  if (filterError) {
85674
- _chunkOWXRZTBJcjs.writeError.call(void 0, filterError.title, config);
87629
+ _chunkRXIHQPJRcjs.writeError.call(void 0, filterError.title, config);
85675
87630
  throw new Error(filterError.title);
85676
87631
  }
85677
87632
  const tree = new (0, _treejs.FsTree)(workspaceRoot3, true);
@@ -85680,10 +87635,10 @@ async function releaseVersion(config, args) {
85680
87635
  const additionalChangedFiles = /* @__PURE__ */ new Set();
85681
87636
  const generatorCallbacks = [];
85682
87637
  if (_optionalChain([args, 'access', _248 => _248.projects, 'optionalAccess', _249 => _249.length])) {
85683
- _chunkOWXRZTBJcjs.writeInfo.call(void 0, "Run versioning for all remaining release groups and filtered projects within them", config);
87638
+ _chunkRXIHQPJRcjs.writeInfo.call(void 0, "Run versioning for all remaining release groups and filtered projects within them", config);
85684
87639
  for (const releaseGroup of releaseGroups) {
85685
87640
  const releaseGroupName = releaseGroup.name;
85686
- _chunkOWXRZTBJcjs.writeInfo.call(void 0, `Running versioning for release group "${releaseGroupName}" and filtered projects within it`, config);
87641
+ _chunkRXIHQPJRcjs.writeInfo.call(void 0, `Running versioning for release group "${releaseGroupName}" and filtered projects within it`, config);
85687
87642
  const releaseGroupProjectNames = Array.from(_nullishCoalesce(releaseGroupToFilteredProjects.get(releaseGroup), () => ( [])));
85688
87643
  const projectBatches = _batchprojectsbygeneratorconfigjs.batchProjectsByGeneratorConfig.call(void 0,
85689
87644
  projectGraph,
@@ -85692,7 +87647,7 @@ async function releaseVersion(config, args) {
85692
87647
  releaseGroupProjectNames
85693
87648
  );
85694
87649
  for (const [generatorConfigString, projectNames] of projectBatches.entries()) {
85695
- _chunkOWXRZTBJcjs.writeInfo.call(void 0, `Running versioning for batch "${JSON.stringify(projectNames)}" for release-group "${releaseGroupName}"`, config);
87650
+ _chunkRXIHQPJRcjs.writeInfo.call(void 0, `Running versioning for batch "${JSON.stringify(projectNames)}" for release-group "${releaseGroupName}"`, config);
85696
87651
  const [generatorName, generatorOptions] = JSON.parse(generatorConfigString);
85697
87652
  const generatorData = resolveGeneratorData({
85698
87653
  ...extractGeneratorCollectionAndName(`batch "${JSON.stringify(projectNames)}" for release-group "${releaseGroupName}"`, generatorName),
@@ -85745,7 +87700,7 @@ async function releaseVersion(config, args) {
85745
87700
  gitCommitArgs: args.gitCommitArgs || _optionalChain([nxReleaseConfig, 'optionalAccess', _256 => _256.version, 'access', _257 => _257.git, 'access', _258 => _258.commitArgs])
85746
87701
  });
85747
87702
  } else if (_nullishCoalesce(args.stageChanges, () => ( _optionalChain([nxReleaseConfig, 'optionalAccess', _259 => _259.version, 'access', _260 => _260.git, 'access', _261 => _261.stageChanges])))) {
85748
- _chunkOWXRZTBJcjs.writeInfo.call(void 0, "Staging changed files with git", config);
87703
+ _chunkRXIHQPJRcjs.writeInfo.call(void 0, "Staging changed files with git", config);
85749
87704
  await _gitjs.gitAdd.call(void 0, {
85750
87705
  changedFiles: changedFiles2,
85751
87706
  dryRun: args.dryRun,
@@ -85753,7 +87708,7 @@ async function releaseVersion(config, args) {
85753
87708
  });
85754
87709
  }
85755
87710
  if (_nullishCoalesce(args.gitTag, () => ( _optionalChain([nxReleaseConfig, 'optionalAccess', _262 => _262.version, 'access', _263 => _263.git, 'access', _264 => _264.tag])))) {
85756
- _chunkOWXRZTBJcjs.writeInfo.call(void 0, "Tagging commit with git", config);
87711
+ _chunkRXIHQPJRcjs.writeInfo.call(void 0, "Tagging commit with git", config);
85757
87712
  for (const tag of gitTagValues2) {
85758
87713
  await gitTag({
85759
87714
  tag,
@@ -85840,7 +87795,7 @@ async function releaseVersion(config, args) {
85840
87795
  gitCommitArgs: args.gitCommitArgs || _optionalChain([nxReleaseConfig, 'optionalAccess', _280 => _280.version, 'access', _281 => _281.git, 'access', _282 => _282.commitArgs])
85841
87796
  });
85842
87797
  } else if (_nullishCoalesce(args.stageChanges, () => ( _optionalChain([nxReleaseConfig, 'optionalAccess', _283 => _283.version, 'access', _284 => _284.git, 'access', _285 => _285.stageChanges])))) {
85843
- _chunkOWXRZTBJcjs.writeInfo.call(void 0, "Staging changed files with git", config);
87798
+ _chunkRXIHQPJRcjs.writeInfo.call(void 0, "Staging changed files with git", config);
85844
87799
  await _gitjs.gitAdd.call(void 0, {
85845
87800
  changedFiles,
85846
87801
  dryRun: args.dryRun,
@@ -85848,7 +87803,7 @@ async function releaseVersion(config, args) {
85848
87803
  });
85849
87804
  }
85850
87805
  if (_nullishCoalesce(args.gitTag, () => ( _optionalChain([nxReleaseConfig, 'optionalAccess', _286 => _286.version, 'access', _287 => _287.git, 'access', _288 => _288.tag])))) {
85851
- _chunkOWXRZTBJcjs.writeInfo.call(void 0, "Tagging commit with git", config);
87806
+ _chunkRXIHQPJRcjs.writeInfo.call(void 0, "Tagging commit with git", config);
85852
87807
  for (const tag of gitTagValues) {
85853
87808
  await gitTag({
85854
87809
  tag,
@@ -85864,8 +87819,8 @@ async function releaseVersion(config, args) {
85864
87819
  projectsVersionData: versionData
85865
87820
  };
85866
87821
  } catch (error) {
85867
- _chunkOWXRZTBJcjs.writeFatal.call(void 0, "A fatal error occurred while determining the Storm Release Version - the process was forced to terminate", config);
85868
- _chunkOWXRZTBJcjs.writeError.call(void 0, `An exception was thrown while determining the Storm Release Version
87822
+ _chunkRXIHQPJRcjs.writeFatal.call(void 0, "A fatal error occurred while determining the Storm Release Version - the process was forced to terminate", config);
87823
+ _chunkRXIHQPJRcjs.writeError.call(void 0, `An exception was thrown while determining the Storm Release Version
85869
87824
  - Details: ${error.message}
85870
87825
  - Stacktrace: ${error.stack}`, config);
85871
87826
  throw new Error(`An exception was thrown in the Storm Release Version generator's process
@@ -85876,7 +87831,7 @@ async function releaseVersion(config, args) {
85876
87831
  }
85877
87832
  _chunk43OEKRHHcjs.__name.call(void 0, releaseVersion, "releaseVersion");
85878
87833
  async function runVersionOnProjects(config, projectGraph, nxJson, args, tree, generatorData, projectNames, releaseGroup, versionData) {
85879
- const workspaceRoot3 = _nullishCoalesce(_optionalChain([config, 'optionalAccess', _295 => _295.workspaceRoot]), () => ( _chunkOWXRZTBJcjs.findWorkspaceRoot.call(void 0, )));
87834
+ const workspaceRoot3 = _nullishCoalesce(_optionalChain([config, 'optionalAccess', _295 => _295.workspaceRoot]), () => ( _chunkRXIHQPJRcjs.findWorkspaceRoot.call(void 0, )));
85880
87835
  const generatorOptions = {
85881
87836
  // Always ensure a string to avoid generator schema validation errors
85882
87837
  specifier: _nullishCoalesce(args.specifier, () => ( "")),
@@ -85895,7 +87850,7 @@ async function runVersionOnProjects(config, projectGraph, nxJson, args, tree, ge
85895
87850
  throw new Error(`The version generator ${generatorData.collectionName}:${generatorData.normalizedGeneratorName} returned a function instead of an expected ReleaseVersionGeneratorResult`);
85896
87851
  }
85897
87852
  appendVersionData(versionData, versionResult.data);
85898
- _chunkOWXRZTBJcjs.writeDebug.call(void 0, `Updated version data: ${JSON.stringify(versionData, null, 2)}`, config);
87853
+ _chunkRXIHQPJRcjs.writeDebug.call(void 0, `Updated version data: ${JSON.stringify(versionData, null, 2)}`, config);
85899
87854
  return versionResult.callback;
85900
87855
  }
85901
87856
  _chunk43OEKRHHcjs.__name.call(void 0, runVersionOnProjects, "runVersionOnProjects");
@@ -85903,10 +87858,10 @@ function printAndFlushChanges2(config, tree, isDryRun) {
85903
87858
  const changes = tree.listChanges();
85904
87859
  for (const f of changes) {
85905
87860
  if (f.type === "CREATE") {
85906
- _chunkOWXRZTBJcjs.writeInfo.call(void 0, `CREATE ${f.path}${isDryRun ? " [dry-run]" : ""}`, config);
87861
+ _chunkRXIHQPJRcjs.writeInfo.call(void 0, `CREATE ${f.path}${isDryRun ? " [dry-run]" : ""}`, config);
85907
87862
  _printchangesjs.printDiff.call(void 0, "", _optionalChain([f, 'access', _296 => _296.content, 'optionalAccess', _297 => _297.toString, 'call', _298 => _298()]) || "");
85908
87863
  } else if (f.type === "UPDATE") {
85909
- _chunkOWXRZTBJcjs.writeInfo.call(void 0, `UPDATE ${f.path}${isDryRun ? " [dry-run]" : ""}`, config);
87864
+ _chunkRXIHQPJRcjs.writeInfo.call(void 0, `UPDATE ${f.path}${isDryRun ? " [dry-run]" : ""}`, config);
85910
87865
  const currentContentsOnDisk = _fs.readFileSync.call(void 0, (0, import_devkit.joinPathFragments)(tree.root, f.path)).toString();
85911
87866
  _printchangesjs.printDiff.call(void 0, currentContentsOnDisk, _optionalChain([f, 'access', _299 => _299.content, 'optionalAccess', _300 => _300.toString, 'call', _301 => _301()]) || "");
85912
87867
  } else if (f.type === "DELETE") {
@@ -85957,7 +87912,7 @@ function resolveGeneratorData({ collectionName, generatorName, configGeneratorOp
85957
87912
  try {
85958
87913
  _chunk43OEKRHHcjs.__require.resolve(collectionName);
85959
87914
  throw new Error(`Unable to resolve the generator called "${generatorName}" within the "${collectionName}" package`);
85960
- } catch (e7) {
87915
+ } catch (e8) {
85961
87916
  if (collectionName === "@nx/js") {
85962
87917
  throw new Error("The @nx/js plugin is required in order to version your JavaScript packages. Please install it and try again.");
85963
87918
  }
@@ -85978,12 +87933,12 @@ var runRelease = /* @__PURE__ */ _chunk43OEKRHHcjs.__name.call(void 0, async (co
85978
87933
  process.env.NODE_AUTH_TOKEN = process.env.NPM_TOKEN;
85979
87934
  process.env.NPM_AUTH_TOKEN = process.env.NPM_TOKEN;
85980
87935
  process.env.NPM_CONFIG_PROVENANCE = "true";
85981
- _chunkOWXRZTBJcjs.writeDebug.call(void 0, "Creating workspace Project Graph data...", config);
87936
+ _chunkRXIHQPJRcjs.writeDebug.call(void 0, "Creating workspace Project Graph data...", config);
85982
87937
  const nxJson = _nxjsonjs.readNxJson.call(void 0, );
85983
- _chunkOWXRZTBJcjs.writeDebug.call(void 0, "Reading in the workspaces release configuration", config);
87938
+ _chunkRXIHQPJRcjs.writeDebug.call(void 0, "Reading in the workspaces release configuration", config);
85984
87939
  const to = options.head || process.env.NX_HEAD;
85985
87940
  const from = options.base || process.env.NX_BASE;
85986
- _chunkOWXRZTBJcjs.writeDebug.call(void 0, `Using the following Git SHAs to determine the release content:
87941
+ _chunkRXIHQPJRcjs.writeDebug.call(void 0, `Using the following Git SHAs to determine the release content:
85987
87942
  - From: ${from}
85988
87943
  - To: ${to}
85989
87944
  `, config);
@@ -85995,14 +87950,14 @@ var runRelease = /* @__PURE__ */ _chunk43OEKRHHcjs.__name.call(void 0, async (co
85995
87950
  }, {});
85996
87951
  }
85997
87952
  const nxReleaseConfig = _chunkZVKDYUF7cjs.defu.call(void 0, nxJson.release, DEFAULT_RELEASE_CONFIG);
85998
- _chunkOWXRZTBJcjs.writeInfo.call(void 0, "Using the following `nx.json` release configuration values", config);
85999
- _chunkOWXRZTBJcjs.writeInfo.call(void 0, nxReleaseConfig, config);
87953
+ _chunkRXIHQPJRcjs.writeInfo.call(void 0, "Using the following `nx.json` release configuration values", config);
87954
+ _chunkRXIHQPJRcjs.writeInfo.call(void 0, nxReleaseConfig, config);
86000
87955
  const releaseChangelog = createAPI(nxReleaseConfig);
86001
87956
  const releasePublish = _publishjs.createAPI.call(void 0, nxReleaseConfig);
86002
- _chunkOWXRZTBJcjs.writeDebug.call(void 0, "Determining the current release versions...", config);
87957
+ _chunkRXIHQPJRcjs.writeDebug.call(void 0, "Determining the current release versions...", config);
86003
87958
  const { workspaceVersion, projectsVersionData } = await releaseVersion(config, {
86004
87959
  dryRun: false,
86005
- verbose: _chunkOWXRZTBJcjs.isVerbose.call(void 0, config.logLevel),
87960
+ verbose: _chunkRXIHQPJRcjs.isVerbose.call(void 0, config.logLevel),
86006
87961
  preid: config.preid,
86007
87962
  deleteVersionPlans: false,
86008
87963
  stageChanges: true,
@@ -86014,25 +87969,25 @@ var runRelease = /* @__PURE__ */ _chunk43OEKRHHcjs.__name.call(void 0, async (co
86014
87969
  version: _optionalChain([nxReleaseConfig, 'optionalAccess', _307 => _307.projectsRelationship]) !== "fixed" ? void 0 : workspaceVersion,
86015
87970
  versionData: projectsVersionData,
86016
87971
  dryRun: false,
86017
- verbose: _chunkOWXRZTBJcjs.isVerbose.call(void 0, config.logLevel),
87972
+ verbose: _chunkRXIHQPJRcjs.isVerbose.call(void 0, config.logLevel),
86018
87973
  to,
86019
87974
  from,
86020
87975
  gitCommit: true,
86021
87976
  gitCommitMessage: "release(monorepo): Publish workspace release updates"
86022
87977
  });
86023
- _chunkOWXRZTBJcjs.writeDebug.call(void 0, "Tagging commit with git", config);
87978
+ _chunkRXIHQPJRcjs.writeDebug.call(void 0, "Tagging commit with git", config);
86024
87979
  if (options.skipPublish) {
86025
- _chunkOWXRZTBJcjs.writeWarning.call(void 0, "Skipping publishing packages since `skipPublish` was provided as `true` in the release options.", config);
87980
+ _chunkRXIHQPJRcjs.writeWarning.call(void 0, "Skipping publishing packages since `skipPublish` was provided as `true` in the release options.", config);
86026
87981
  } else {
86027
87982
  const changedProjects = Object.keys(projectsVersionData).filter((key) => _optionalChain([projectsVersionData, 'access', _308 => _308[key], 'optionalAccess', _309 => _309.newVersion]));
86028
87983
  if (changedProjects.length > 0) {
86029
- _chunkOWXRZTBJcjs.writeInfo.call(void 0, `Publishing release for ${changedProjects.length} ${changedProjects.length === 1 ? "project" : "projects"}:
87984
+ _chunkRXIHQPJRcjs.writeInfo.call(void 0, `Publishing release for ${changedProjects.length} ${changedProjects.length === 1 ? "project" : "projects"}:
86030
87985
  ${changedProjects.map((changedProject) => ` - ${changedProject}`).join("\n")}
86031
87986
  `, config);
86032
87987
  const result2 = await releasePublish({
86033
87988
  ...options,
86034
87989
  dryRun: !!options.dryRun,
86035
- verbose: _chunkOWXRZTBJcjs.isVerbose.call(void 0, config.logLevel)
87990
+ verbose: _chunkRXIHQPJRcjs.isVerbose.call(void 0, config.logLevel)
86036
87991
  });
86037
87992
  const failedProjects = Object.keys(result2).filter((key) => _optionalChain([result2, 'access', _310 => _310[key], 'optionalAccess', _311 => _311.code]) && _optionalChain([result2, 'access', _312 => _312[key], 'optionalAccess', _313 => _313.code]) > 0);
86038
87993
  if (failedProjects.length > 0) {
@@ -86043,18 +87998,18 @@ ${failedProjects.map((failedProject) => ` - ${failedProject} (Error Code: ${_op
86043
87998
  `);
86044
87999
  }
86045
88000
  } else {
86046
- _chunkOWXRZTBJcjs.writeWarning.call(void 0, "Skipped publishing packages.", config);
88001
+ _chunkRXIHQPJRcjs.writeWarning.call(void 0, "Skipped publishing packages.", config);
86047
88002
  }
86048
88003
  }
86049
- _chunkOWXRZTBJcjs.writeSuccess.call(void 0, "Completed the Storm workspace release process!", config);
88004
+ _chunkRXIHQPJRcjs.writeSuccess.call(void 0, "Completed the Storm workspace release process!", config);
86050
88005
  }, "runRelease");
86051
88006
 
86052
88007
  // src/cli/index.ts
86053
88008
  var _config = {};
86054
88009
  function createProgram(config) {
86055
88010
  _config = config;
86056
- _chunkOWXRZTBJcjs.writeInfo.call(void 0, "\u26A1 Running Storm Git Tools", config);
86057
- const root2 = _chunkOWXRZTBJcjs.findWorkspaceRootSafe.call(void 0, process.cwd());
88011
+ _chunkRXIHQPJRcjs.writeInfo.call(void 0, "\u26A1 Running Storm Git Tools", config);
88012
+ const root2 = _chunkRXIHQPJRcjs.findWorkspaceRootSafe.call(void 0, process.cwd());
86058
88013
  process.env.STORM_WORKSPACE_ROOT ??= root2;
86059
88014
  process.env.NX_WORKSPACE_ROOT_PATH ??= root2;
86060
88015
  if (root2) {
@@ -86084,14 +88039,14 @@ function createProgram(config) {
86084
88039
  _chunk43OEKRHHcjs.__name.call(void 0, createProgram, "createProgram");
86085
88040
  async function commitAction({ config = "@storm-software/git-tools/commit/config.js", dryRun = false }) {
86086
88041
  try {
86087
- _chunkOWXRZTBJcjs.writeInfo.call(void 0, `\u26A1 Preparing to commit your changes. Please provide the requested details below...`, _config);
88042
+ _chunkRXIHQPJRcjs.writeInfo.call(void 0, `\u26A1 Preparing to commit your changes. Please provide the requested details below...`, _config);
86088
88043
  await runCommit(config, dryRun);
86089
- _chunkOWXRZTBJcjs.writeSuccess.call(void 0, `\u{1F389} Storm Commit processing completed successfully!
88044
+ _chunkRXIHQPJRcjs.writeSuccess.call(void 0, `\u{1F389} Storm Commit processing completed successfully!
86090
88045
 
86091
88046
  Note: Please run "pnpm push" to upload these changes to the remote ${_config.name ? _config.name : _config.namespace ? _config.namespace : _config.organization ? _config.organization : "Storm-Software"} Git repository at ${_config.repository}
86092
88047
  `, _config);
86093
88048
  } catch (error) {
86094
- _chunkOWXRZTBJcjs.writeFatal.call(void 0, `A fatal error occurred while running commit action:
88049
+ _chunkRXIHQPJRcjs.writeFatal.call(void 0, `A fatal error occurred while running commit action:
86095
88050
 
86096
88051
  ${error.message}`, _config);
86097
88052
  throw new Error(error.message, {
@@ -86102,11 +88057,11 @@ ${error.message}`, _config);
86102
88057
  _chunk43OEKRHHcjs.__name.call(void 0, commitAction, "commitAction");
86103
88058
  async function readmeAction(options) {
86104
88059
  try {
86105
- _chunkOWXRZTBJcjs.writeInfo.call(void 0, "\u26A1 Formatting the workspace's README.md files", _config);
88060
+ _chunkRXIHQPJRcjs.writeInfo.call(void 0, "\u26A1 Formatting the workspace's README.md files", _config);
86106
88061
  await runReadme(options);
86107
- _chunkOWXRZTBJcjs.writeSuccess.call(void 0, "Formatting of the workspace's README.md files is complete\n", _config);
88062
+ _chunkRXIHQPJRcjs.writeSuccess.call(void 0, "Formatting of the workspace's README.md files is complete\n", _config);
86108
88063
  } catch (error) {
86109
- _chunkOWXRZTBJcjs.writeFatal.call(void 0, `A fatal error occurred while running README format action:
88064
+ _chunkRXIHQPJRcjs.writeFatal.call(void 0, `A fatal error occurred while running README format action:
86110
88065
 
86111
88066
  ${error.message}`);
86112
88067
  throw new Error(error.message, {
@@ -86117,16 +88072,16 @@ ${error.message}`);
86117
88072
  _chunk43OEKRHHcjs.__name.call(void 0, readmeAction, "readmeAction");
86118
88073
  async function releaseAction({ project, base, head, dryRun }) {
86119
88074
  try {
86120
- _chunkOWXRZTBJcjs.writeInfo.call(void 0, "\u26A1 Running the Storm Release and Publish process on the workspace", _config);
88075
+ _chunkRXIHQPJRcjs.writeInfo.call(void 0, "\u26A1 Running the Storm Release and Publish process on the workspace", _config);
86121
88076
  await runRelease(_config, {
86122
88077
  dryRun,
86123
88078
  project,
86124
88079
  base,
86125
88080
  head
86126
88081
  });
86127
- _chunkOWXRZTBJcjs.writeSuccess.call(void 0, "Release completed successfully!\n", _config);
88082
+ _chunkRXIHQPJRcjs.writeSuccess.call(void 0, "Release completed successfully!\n", _config);
86128
88083
  } catch (error) {
86129
- _chunkOWXRZTBJcjs.writeFatal.call(void 0, `A fatal error occurred while running release action:
88084
+ _chunkRXIHQPJRcjs.writeFatal.call(void 0, `A fatal error occurred while running release action:
86130
88085
 
86131
88086
  ${error.message} ${error.stack ? `
86132
88087
 
@@ -86140,15 +88095,15 @@ Stacktrace: ${error.stack}` : ""}`, _config);
86140
88095
  _chunk43OEKRHHcjs.__name.call(void 0, releaseAction, "releaseAction");
86141
88096
  async function commitLintAction({ config, message: message2, file }) {
86142
88097
  try {
86143
- _chunkOWXRZTBJcjs.writeInfo.call(void 0, `\u26A1 Linting the ${_config.repository ? _config.repository : _config.namespace ? _config.namespace : _config.name ? _config.name : _config.organization ? _config.organization : "Storm-Software"} repository's commit messages.`, _config);
88098
+ _chunkRXIHQPJRcjs.writeInfo.call(void 0, `\u26A1 Linting the ${_config.repository ? _config.repository : _config.namespace ? _config.namespace : _config.name ? _config.name : _config.organization ? _config.organization : "Storm-Software"} repository's commit messages.`, _config);
86144
88099
  await runCommitLint(_config, {
86145
88100
  config,
86146
88101
  message: message2,
86147
88102
  file
86148
88103
  });
86149
- _chunkOWXRZTBJcjs.writeSuccess.call(void 0, "Linting the commit messages completed successfully!\n", _config);
88104
+ _chunkRXIHQPJRcjs.writeSuccess.call(void 0, "Linting the commit messages completed successfully!\n", _config);
86150
88105
  } catch (error) {
86151
- _chunkOWXRZTBJcjs.writeFatal.call(void 0, `A fatal error occurred while linting the commit messages:
88106
+ _chunkRXIHQPJRcjs.writeFatal.call(void 0, `A fatal error occurred while linting the commit messages:
86152
88107
 
86153
88108
  ${error.message}`, _config);
86154
88109
  throw new Error(error.message, {
@@ -86160,20 +88115,21 @@ _chunk43OEKRHHcjs.__name.call(void 0, commitLintAction, "commitLintAction");
86160
88115
 
86161
88116
  // bin/git.ts
86162
88117
  void (async () => {
86163
- const config = await _chunkOWXRZTBJcjs.getConfig.call(void 0, );
88118
+ const config = await _chunkRXIHQPJRcjs.getConfig.call(void 0, );
86164
88119
  try {
86165
- _chunkOWXRZTBJcjs.handleProcess.call(void 0, config);
88120
+ _chunkRXIHQPJRcjs.handleProcess.call(void 0, config);
86166
88121
  const program2 = createProgram(config);
86167
88122
  await program2.parseAsync(process.argv);
86168
- _chunkOWXRZTBJcjs.writeSuccess.call(void 0, `\u{1F389} Git ${process.argv && process.argv.length >= 3 && process.argv[2] ? process.argv[2] : "tool"} processing completed successfully!`, config);
86169
- _chunkOWXRZTBJcjs.exitWithSuccess.call(void 0, config);
88123
+ _chunkRXIHQPJRcjs.writeSuccess.call(void 0, `\u{1F389} Git ${process.argv && process.argv.length >= 3 && process.argv[2] ? process.argv[2] : "tool"} processing completed successfully!`, config);
88124
+ _chunkRXIHQPJRcjs.exitWithSuccess.call(void 0, config);
86170
88125
  } catch (error) {
86171
- _chunkOWXRZTBJcjs.exitWithError.call(void 0, config);
88126
+ _chunkRXIHQPJRcjs.exitWithError.call(void 0, config);
86172
88127
  process.exit(1);
86173
88128
  }
86174
88129
  })();
86175
88130
  /*! Bundled license information:
86176
88131
 
88132
+ tmp/lib/tmp.js:
86177
88133
  tmp/lib/tmp.js:
86178
88134
  (*!
86179
88135
  * Tmp
@@ -86207,15 +88163,6 @@ repeat-string/index.js:
86207
88163
  * Licensed under the MIT License.
86208
88164
  *)
86209
88165
 
86210
- tmp/lib/tmp.js:
86211
- (*!
86212
- * Tmp
86213
- *
86214
- * Copyright (c) 2011-2017 KARASZI Istvan <github@spam.raszi.hu>
86215
- *
86216
- * MIT Licensed
86217
- *)
86218
-
86219
88166
  mime-db/index.js:
86220
88167
  (*!
86221
88168
  * mime-db