@terai/dev 0.0.7 → 0.0.9

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.
@@ -967,11 +967,11 @@ var require_signal_exit = __commonJS({
967
967
  "../../node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/index.js"(exports2, module2) {
968
968
  "use strict";
969
969
  init_cjs_shims();
970
- var process11 = global.process;
971
- var processOk = function(process12) {
972
- return process12 && typeof process12 === "object" && typeof process12.removeListener === "function" && typeof process12.emit === "function" && typeof process12.reallyExit === "function" && typeof process12.listeners === "function" && typeof process12.kill === "function" && typeof process12.pid === "number" && typeof process12.on === "function";
970
+ var process10 = global.process;
971
+ var processOk = function(process11) {
972
+ return process11 && typeof process11 === "object" && typeof process11.removeListener === "function" && typeof process11.emit === "function" && typeof process11.reallyExit === "function" && typeof process11.listeners === "function" && typeof process11.kill === "function" && typeof process11.pid === "number" && typeof process11.on === "function";
973
973
  };
974
- if (!processOk(process11)) {
974
+ if (!processOk(process10)) {
975
975
  module2.exports = function() {
976
976
  return function() {
977
977
  };
@@ -979,15 +979,15 @@ var require_signal_exit = __commonJS({
979
979
  } else {
980
980
  assert2 = require("assert");
981
981
  signals = require_signals();
982
- isWin = /^win/i.test(process11.platform);
982
+ isWin = /^win/i.test(process10.platform);
983
983
  EE = require("events");
984
984
  if (typeof EE !== "function") {
985
985
  EE = EE.EventEmitter;
986
986
  }
987
- if (process11.__signal_exit_emitter__) {
988
- emitter = process11.__signal_exit_emitter__;
987
+ if (process10.__signal_exit_emitter__) {
988
+ emitter = process10.__signal_exit_emitter__;
989
989
  } else {
990
- emitter = process11.__signal_exit_emitter__ = new EE();
990
+ emitter = process10.__signal_exit_emitter__ = new EE();
991
991
  emitter.count = 0;
992
992
  emitter.emitted = {};
993
993
  }
@@ -1024,12 +1024,12 @@ var require_signal_exit = __commonJS({
1024
1024
  loaded = false;
1025
1025
  signals.forEach(function(sig) {
1026
1026
  try {
1027
- process11.removeListener(sig, sigListeners[sig]);
1027
+ process10.removeListener(sig, sigListeners[sig]);
1028
1028
  } catch (er) {
1029
1029
  }
1030
1030
  });
1031
- process11.emit = originalProcessEmit;
1032
- process11.reallyExit = originalProcessReallyExit;
1031
+ process10.emit = originalProcessEmit;
1032
+ process10.reallyExit = originalProcessReallyExit;
1033
1033
  emitter.count -= 1;
1034
1034
  };
1035
1035
  module2.exports.unload = unload;
@@ -1046,7 +1046,7 @@ var require_signal_exit = __commonJS({
1046
1046
  if (!processOk(global.process)) {
1047
1047
  return;
1048
1048
  }
1049
- var listeners = process11.listeners(sig);
1049
+ var listeners = process10.listeners(sig);
1050
1050
  if (listeners.length === emitter.count) {
1051
1051
  unload();
1052
1052
  emit("exit", null, sig);
@@ -1054,7 +1054,7 @@ var require_signal_exit = __commonJS({
1054
1054
  if (isWin && sig === "SIGHUP") {
1055
1055
  sig = "SIGINT";
1056
1056
  }
1057
- process11.kill(process11.pid, sig);
1057
+ process10.kill(process10.pid, sig);
1058
1058
  }
1059
1059
  };
1060
1060
  });
@@ -1070,36 +1070,36 @@ var require_signal_exit = __commonJS({
1070
1070
  emitter.count += 1;
1071
1071
  signals = signals.filter(function(sig) {
1072
1072
  try {
1073
- process11.on(sig, sigListeners[sig]);
1073
+ process10.on(sig, sigListeners[sig]);
1074
1074
  return true;
1075
1075
  } catch (er) {
1076
1076
  return false;
1077
1077
  }
1078
1078
  });
1079
- process11.emit = processEmit;
1080
- process11.reallyExit = processReallyExit;
1079
+ process10.emit = processEmit;
1080
+ process10.reallyExit = processReallyExit;
1081
1081
  };
1082
1082
  module2.exports.load = load;
1083
- originalProcessReallyExit = process11.reallyExit;
1083
+ originalProcessReallyExit = process10.reallyExit;
1084
1084
  processReallyExit = function processReallyExit2(code) {
1085
1085
  if (!processOk(global.process)) {
1086
1086
  return;
1087
1087
  }
1088
- process11.exitCode = code || /* istanbul ignore next */
1088
+ process10.exitCode = code || /* istanbul ignore next */
1089
1089
  0;
1090
- emit("exit", process11.exitCode, null);
1091
- emit("afterexit", process11.exitCode, null);
1092
- originalProcessReallyExit.call(process11, process11.exitCode);
1090
+ emit("exit", process10.exitCode, null);
1091
+ emit("afterexit", process10.exitCode, null);
1092
+ originalProcessReallyExit.call(process10, process10.exitCode);
1093
1093
  };
1094
- originalProcessEmit = process11.emit;
1094
+ originalProcessEmit = process10.emit;
1095
1095
  processEmit = function processEmit2(ev, arg) {
1096
1096
  if (ev === "exit" && processOk(global.process)) {
1097
1097
  if (arg !== void 0) {
1098
- process11.exitCode = arg;
1098
+ process10.exitCode = arg;
1099
1099
  }
1100
1100
  var ret = originalProcessEmit.apply(this, arguments);
1101
- emit("exit", process11.exitCode, null);
1102
- emit("afterexit", process11.exitCode, null);
1101
+ emit("exit", process10.exitCode, null);
1102
+ emit("afterexit", process10.exitCode, null);
1103
1103
  return ret;
1104
1104
  } else {
1105
1105
  return originalProcessEmit.apply(this, arguments);
@@ -9643,6 +9643,1981 @@ var require_registry_auth_token = __commonJS({
9643
9643
  }
9644
9644
  });
9645
9645
 
9646
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/constants.js
9647
+ var require_constants2 = __commonJS({
9648
+ "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/constants.js"(exports2, module2) {
9649
+ "use strict";
9650
+ init_cjs_shims();
9651
+ var SEMVER_SPEC_VERSION = "2.0.0";
9652
+ var MAX_LENGTH = 256;
9653
+ var MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || /* istanbul ignore next */
9654
+ 9007199254740991;
9655
+ var MAX_SAFE_COMPONENT_LENGTH = 16;
9656
+ var MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6;
9657
+ var RELEASE_TYPES = [
9658
+ "major",
9659
+ "premajor",
9660
+ "minor",
9661
+ "preminor",
9662
+ "patch",
9663
+ "prepatch",
9664
+ "prerelease"
9665
+ ];
9666
+ module2.exports = {
9667
+ MAX_LENGTH,
9668
+ MAX_SAFE_COMPONENT_LENGTH,
9669
+ MAX_SAFE_BUILD_LENGTH,
9670
+ MAX_SAFE_INTEGER,
9671
+ RELEASE_TYPES,
9672
+ SEMVER_SPEC_VERSION,
9673
+ FLAG_INCLUDE_PRERELEASE: 1,
9674
+ FLAG_LOOSE: 2
9675
+ };
9676
+ }
9677
+ });
9678
+
9679
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/debug.js
9680
+ var require_debug2 = __commonJS({
9681
+ "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/debug.js"(exports2, module2) {
9682
+ "use strict";
9683
+ init_cjs_shims();
9684
+ var debug2 = typeof process === "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...args) => console.error("SEMVER", ...args) : () => {
9685
+ };
9686
+ module2.exports = debug2;
9687
+ }
9688
+ });
9689
+
9690
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/re.js
9691
+ var require_re2 = __commonJS({
9692
+ "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/re.js"(exports2, module2) {
9693
+ "use strict";
9694
+ init_cjs_shims();
9695
+ var {
9696
+ MAX_SAFE_COMPONENT_LENGTH,
9697
+ MAX_SAFE_BUILD_LENGTH,
9698
+ MAX_LENGTH
9699
+ } = require_constants2();
9700
+ var debug2 = require_debug2();
9701
+ exports2 = module2.exports = {};
9702
+ var re = exports2.re = [];
9703
+ var safeRe = exports2.safeRe = [];
9704
+ var src = exports2.src = [];
9705
+ var safeSrc = exports2.safeSrc = [];
9706
+ var t = exports2.t = {};
9707
+ var R = 0;
9708
+ var LETTERDASHNUMBER = "[a-zA-Z0-9-]";
9709
+ var safeRegexReplacements = [
9710
+ ["\\s", 1],
9711
+ ["\\d", MAX_LENGTH],
9712
+ [LETTERDASHNUMBER, MAX_SAFE_BUILD_LENGTH]
9713
+ ];
9714
+ var makeSafeRegex = (value) => {
9715
+ for (const [token, max] of safeRegexReplacements) {
9716
+ value = value.split(`${token}*`).join(`${token}{0,${max}}`).split(`${token}+`).join(`${token}{1,${max}}`);
9717
+ }
9718
+ return value;
9719
+ };
9720
+ var createToken = (name, value, isGlobal) => {
9721
+ const safe = makeSafeRegex(value);
9722
+ const index = R++;
9723
+ debug2(name, index, value);
9724
+ t[name] = index;
9725
+ src[index] = value;
9726
+ safeSrc[index] = safe;
9727
+ re[index] = new RegExp(value, isGlobal ? "g" : void 0);
9728
+ safeRe[index] = new RegExp(safe, isGlobal ? "g" : void 0);
9729
+ };
9730
+ createToken("NUMERICIDENTIFIER", "0|[1-9]\\d*");
9731
+ createToken("NUMERICIDENTIFIERLOOSE", "\\d+");
9732
+ createToken("NONNUMERICIDENTIFIER", `\\d*[a-zA-Z-]${LETTERDASHNUMBER}*`);
9733
+ createToken("MAINVERSION", `(${src[t.NUMERICIDENTIFIER]})\\.(${src[t.NUMERICIDENTIFIER]})\\.(${src[t.NUMERICIDENTIFIER]})`);
9734
+ createToken("MAINVERSIONLOOSE", `(${src[t.NUMERICIDENTIFIERLOOSE]})\\.(${src[t.NUMERICIDENTIFIERLOOSE]})\\.(${src[t.NUMERICIDENTIFIERLOOSE]})`);
9735
+ createToken("PRERELEASEIDENTIFIER", `(?:${src[t.NONNUMERICIDENTIFIER]}|${src[t.NUMERICIDENTIFIER]})`);
9736
+ createToken("PRERELEASEIDENTIFIERLOOSE", `(?:${src[t.NONNUMERICIDENTIFIER]}|${src[t.NUMERICIDENTIFIERLOOSE]})`);
9737
+ createToken("PRERELEASE", `(?:-(${src[t.PRERELEASEIDENTIFIER]}(?:\\.${src[t.PRERELEASEIDENTIFIER]})*))`);
9738
+ createToken("PRERELEASELOOSE", `(?:-?(${src[t.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${src[t.PRERELEASEIDENTIFIERLOOSE]})*))`);
9739
+ createToken("BUILDIDENTIFIER", `${LETTERDASHNUMBER}+`);
9740
+ createToken("BUILD", `(?:\\+(${src[t.BUILDIDENTIFIER]}(?:\\.${src[t.BUILDIDENTIFIER]})*))`);
9741
+ createToken("FULLPLAIN", `v?${src[t.MAINVERSION]}${src[t.PRERELEASE]}?${src[t.BUILD]}?`);
9742
+ createToken("FULL", `^${src[t.FULLPLAIN]}$`);
9743
+ createToken("LOOSEPLAIN", `[v=\\s]*${src[t.MAINVERSIONLOOSE]}${src[t.PRERELEASELOOSE]}?${src[t.BUILD]}?`);
9744
+ createToken("LOOSE", `^${src[t.LOOSEPLAIN]}$`);
9745
+ createToken("GTLT", "((?:<|>)?=?)");
9746
+ createToken("XRANGEIDENTIFIERLOOSE", `${src[t.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);
9747
+ createToken("XRANGEIDENTIFIER", `${src[t.NUMERICIDENTIFIER]}|x|X|\\*`);
9748
+ createToken("XRANGEPLAIN", `[v=\\s]*(${src[t.XRANGEIDENTIFIER]})(?:\\.(${src[t.XRANGEIDENTIFIER]})(?:\\.(${src[t.XRANGEIDENTIFIER]})(?:${src[t.PRERELEASE]})?${src[t.BUILD]}?)?)?`);
9749
+ createToken("XRANGEPLAINLOOSE", `[v=\\s]*(${src[t.XRANGEIDENTIFIERLOOSE]})(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})(?:${src[t.PRERELEASELOOSE]})?${src[t.BUILD]}?)?)?`);
9750
+ createToken("XRANGE", `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAIN]}$`);
9751
+ createToken("XRANGELOOSE", `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAINLOOSE]}$`);
9752
+ createToken("COERCEPLAIN", `${"(^|[^\\d])(\\d{1,"}${MAX_SAFE_COMPONENT_LENGTH}})(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?`);
9753
+ createToken("COERCE", `${src[t.COERCEPLAIN]}(?:$|[^\\d])`);
9754
+ createToken("COERCEFULL", src[t.COERCEPLAIN] + `(?:${src[t.PRERELEASE]})?(?:${src[t.BUILD]})?(?:$|[^\\d])`);
9755
+ createToken("COERCERTL", src[t.COERCE], true);
9756
+ createToken("COERCERTLFULL", src[t.COERCEFULL], true);
9757
+ createToken("LONETILDE", "(?:~>?)");
9758
+ createToken("TILDETRIM", `(\\s*)${src[t.LONETILDE]}\\s+`, true);
9759
+ exports2.tildeTrimReplace = "$1~";
9760
+ createToken("TILDE", `^${src[t.LONETILDE]}${src[t.XRANGEPLAIN]}$`);
9761
+ createToken("TILDELOOSE", `^${src[t.LONETILDE]}${src[t.XRANGEPLAINLOOSE]}$`);
9762
+ createToken("LONECARET", "(?:\\^)");
9763
+ createToken("CARETTRIM", `(\\s*)${src[t.LONECARET]}\\s+`, true);
9764
+ exports2.caretTrimReplace = "$1^";
9765
+ createToken("CARET", `^${src[t.LONECARET]}${src[t.XRANGEPLAIN]}$`);
9766
+ createToken("CARETLOOSE", `^${src[t.LONECARET]}${src[t.XRANGEPLAINLOOSE]}$`);
9767
+ createToken("COMPARATORLOOSE", `^${src[t.GTLT]}\\s*(${src[t.LOOSEPLAIN]})$|^$`);
9768
+ createToken("COMPARATOR", `^${src[t.GTLT]}\\s*(${src[t.FULLPLAIN]})$|^$`);
9769
+ createToken("COMPARATORTRIM", `(\\s*)${src[t.GTLT]}\\s*(${src[t.LOOSEPLAIN]}|${src[t.XRANGEPLAIN]})`, true);
9770
+ exports2.comparatorTrimReplace = "$1$2$3";
9771
+ createToken("HYPHENRANGE", `^\\s*(${src[t.XRANGEPLAIN]})\\s+-\\s+(${src[t.XRANGEPLAIN]})\\s*$`);
9772
+ createToken("HYPHENRANGELOOSE", `^\\s*(${src[t.XRANGEPLAINLOOSE]})\\s+-\\s+(${src[t.XRANGEPLAINLOOSE]})\\s*$`);
9773
+ createToken("STAR", "(<|>)?=?\\s*\\*");
9774
+ createToken("GTE0", "^\\s*>=\\s*0\\.0\\.0\\s*$");
9775
+ createToken("GTE0PRE", "^\\s*>=\\s*0\\.0\\.0-0\\s*$");
9776
+ }
9777
+ });
9778
+
9779
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/parse-options.js
9780
+ var require_parse_options2 = __commonJS({
9781
+ "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/parse-options.js"(exports2, module2) {
9782
+ "use strict";
9783
+ init_cjs_shims();
9784
+ var looseOption = Object.freeze({ loose: true });
9785
+ var emptyOpts = Object.freeze({});
9786
+ var parseOptions = (options) => {
9787
+ if (!options) {
9788
+ return emptyOpts;
9789
+ }
9790
+ if (typeof options !== "object") {
9791
+ return looseOption;
9792
+ }
9793
+ return options;
9794
+ };
9795
+ module2.exports = parseOptions;
9796
+ }
9797
+ });
9798
+
9799
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/identifiers.js
9800
+ var require_identifiers2 = __commonJS({
9801
+ "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/identifiers.js"(exports2, module2) {
9802
+ "use strict";
9803
+ init_cjs_shims();
9804
+ var numeric = /^[0-9]+$/;
9805
+ var compareIdentifiers = (a, b) => {
9806
+ if (typeof a === "number" && typeof b === "number") {
9807
+ return a === b ? 0 : a < b ? -1 : 1;
9808
+ }
9809
+ const anum = numeric.test(a);
9810
+ const bnum = numeric.test(b);
9811
+ if (anum && bnum) {
9812
+ a = +a;
9813
+ b = +b;
9814
+ }
9815
+ return a === b ? 0 : anum && !bnum ? -1 : bnum && !anum ? 1 : a < b ? -1 : 1;
9816
+ };
9817
+ var rcompareIdentifiers = (a, b) => compareIdentifiers(b, a);
9818
+ module2.exports = {
9819
+ compareIdentifiers,
9820
+ rcompareIdentifiers
9821
+ };
9822
+ }
9823
+ });
9824
+
9825
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/classes/semver.js
9826
+ var require_semver3 = __commonJS({
9827
+ "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/classes/semver.js"(exports2, module2) {
9828
+ "use strict";
9829
+ init_cjs_shims();
9830
+ var debug2 = require_debug2();
9831
+ var { MAX_LENGTH, MAX_SAFE_INTEGER } = require_constants2();
9832
+ var { safeRe: re, t } = require_re2();
9833
+ var parseOptions = require_parse_options2();
9834
+ var { compareIdentifiers } = require_identifiers2();
9835
+ var SemVer = class _SemVer {
9836
+ constructor(version, options) {
9837
+ options = parseOptions(options);
9838
+ if (version instanceof _SemVer) {
9839
+ if (version.loose === !!options.loose && version.includePrerelease === !!options.includePrerelease) {
9840
+ return version;
9841
+ } else {
9842
+ version = version.version;
9843
+ }
9844
+ } else if (typeof version !== "string") {
9845
+ throw new TypeError(`Invalid version. Must be a string. Got type "${typeof version}".`);
9846
+ }
9847
+ if (version.length > MAX_LENGTH) {
9848
+ throw new TypeError(
9849
+ `version is longer than ${MAX_LENGTH} characters`
9850
+ );
9851
+ }
9852
+ debug2("SemVer", version, options);
9853
+ this.options = options;
9854
+ this.loose = !!options.loose;
9855
+ this.includePrerelease = !!options.includePrerelease;
9856
+ const m = version.trim().match(options.loose ? re[t.LOOSE] : re[t.FULL]);
9857
+ if (!m) {
9858
+ throw new TypeError(`Invalid Version: ${version}`);
9859
+ }
9860
+ this.raw = version;
9861
+ this.major = +m[1];
9862
+ this.minor = +m[2];
9863
+ this.patch = +m[3];
9864
+ if (this.major > MAX_SAFE_INTEGER || this.major < 0) {
9865
+ throw new TypeError("Invalid major version");
9866
+ }
9867
+ if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) {
9868
+ throw new TypeError("Invalid minor version");
9869
+ }
9870
+ if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) {
9871
+ throw new TypeError("Invalid patch version");
9872
+ }
9873
+ if (!m[4]) {
9874
+ this.prerelease = [];
9875
+ } else {
9876
+ this.prerelease = m[4].split(".").map((id) => {
9877
+ if (/^[0-9]+$/.test(id)) {
9878
+ const num = +id;
9879
+ if (num >= 0 && num < MAX_SAFE_INTEGER) {
9880
+ return num;
9881
+ }
9882
+ }
9883
+ return id;
9884
+ });
9885
+ }
9886
+ this.build = m[5] ? m[5].split(".") : [];
9887
+ this.format();
9888
+ }
9889
+ format() {
9890
+ this.version = `${this.major}.${this.minor}.${this.patch}`;
9891
+ if (this.prerelease.length) {
9892
+ this.version += `-${this.prerelease.join(".")}`;
9893
+ }
9894
+ return this.version;
9895
+ }
9896
+ toString() {
9897
+ return this.version;
9898
+ }
9899
+ compare(other) {
9900
+ debug2("SemVer.compare", this.version, this.options, other);
9901
+ if (!(other instanceof _SemVer)) {
9902
+ if (typeof other === "string" && other === this.version) {
9903
+ return 0;
9904
+ }
9905
+ other = new _SemVer(other, this.options);
9906
+ }
9907
+ if (other.version === this.version) {
9908
+ return 0;
9909
+ }
9910
+ return this.compareMain(other) || this.comparePre(other);
9911
+ }
9912
+ compareMain(other) {
9913
+ if (!(other instanceof _SemVer)) {
9914
+ other = new _SemVer(other, this.options);
9915
+ }
9916
+ if (this.major < other.major) {
9917
+ return -1;
9918
+ }
9919
+ if (this.major > other.major) {
9920
+ return 1;
9921
+ }
9922
+ if (this.minor < other.minor) {
9923
+ return -1;
9924
+ }
9925
+ if (this.minor > other.minor) {
9926
+ return 1;
9927
+ }
9928
+ if (this.patch < other.patch) {
9929
+ return -1;
9930
+ }
9931
+ if (this.patch > other.patch) {
9932
+ return 1;
9933
+ }
9934
+ return 0;
9935
+ }
9936
+ comparePre(other) {
9937
+ if (!(other instanceof _SemVer)) {
9938
+ other = new _SemVer(other, this.options);
9939
+ }
9940
+ if (this.prerelease.length && !other.prerelease.length) {
9941
+ return -1;
9942
+ } else if (!this.prerelease.length && other.prerelease.length) {
9943
+ return 1;
9944
+ } else if (!this.prerelease.length && !other.prerelease.length) {
9945
+ return 0;
9946
+ }
9947
+ let i = 0;
9948
+ do {
9949
+ const a = this.prerelease[i];
9950
+ const b = other.prerelease[i];
9951
+ debug2("prerelease compare", i, a, b);
9952
+ if (a === void 0 && b === void 0) {
9953
+ return 0;
9954
+ } else if (b === void 0) {
9955
+ return 1;
9956
+ } else if (a === void 0) {
9957
+ return -1;
9958
+ } else if (a === b) {
9959
+ continue;
9960
+ } else {
9961
+ return compareIdentifiers(a, b);
9962
+ }
9963
+ } while (++i);
9964
+ }
9965
+ compareBuild(other) {
9966
+ if (!(other instanceof _SemVer)) {
9967
+ other = new _SemVer(other, this.options);
9968
+ }
9969
+ let i = 0;
9970
+ do {
9971
+ const a = this.build[i];
9972
+ const b = other.build[i];
9973
+ debug2("build compare", i, a, b);
9974
+ if (a === void 0 && b === void 0) {
9975
+ return 0;
9976
+ } else if (b === void 0) {
9977
+ return 1;
9978
+ } else if (a === void 0) {
9979
+ return -1;
9980
+ } else if (a === b) {
9981
+ continue;
9982
+ } else {
9983
+ return compareIdentifiers(a, b);
9984
+ }
9985
+ } while (++i);
9986
+ }
9987
+ // preminor will bump the version up to the next minor release, and immediately
9988
+ // down to pre-release. premajor and prepatch work the same way.
9989
+ inc(release, identifier, identifierBase) {
9990
+ if (release.startsWith("pre")) {
9991
+ if (!identifier && identifierBase === false) {
9992
+ throw new Error("invalid increment argument: identifier is empty");
9993
+ }
9994
+ if (identifier) {
9995
+ const match = `-${identifier}`.match(this.options.loose ? re[t.PRERELEASELOOSE] : re[t.PRERELEASE]);
9996
+ if (!match || match[1] !== identifier) {
9997
+ throw new Error(`invalid identifier: ${identifier}`);
9998
+ }
9999
+ }
10000
+ }
10001
+ switch (release) {
10002
+ case "premajor":
10003
+ this.prerelease.length = 0;
10004
+ this.patch = 0;
10005
+ this.minor = 0;
10006
+ this.major++;
10007
+ this.inc("pre", identifier, identifierBase);
10008
+ break;
10009
+ case "preminor":
10010
+ this.prerelease.length = 0;
10011
+ this.patch = 0;
10012
+ this.minor++;
10013
+ this.inc("pre", identifier, identifierBase);
10014
+ break;
10015
+ case "prepatch":
10016
+ this.prerelease.length = 0;
10017
+ this.inc("patch", identifier, identifierBase);
10018
+ this.inc("pre", identifier, identifierBase);
10019
+ break;
10020
+ // If the input is a non-prerelease version, this acts the same as
10021
+ // prepatch.
10022
+ case "prerelease":
10023
+ if (this.prerelease.length === 0) {
10024
+ this.inc("patch", identifier, identifierBase);
10025
+ }
10026
+ this.inc("pre", identifier, identifierBase);
10027
+ break;
10028
+ case "release":
10029
+ if (this.prerelease.length === 0) {
10030
+ throw new Error(`version ${this.raw} is not a prerelease`);
10031
+ }
10032
+ this.prerelease.length = 0;
10033
+ break;
10034
+ case "major":
10035
+ if (this.minor !== 0 || this.patch !== 0 || this.prerelease.length === 0) {
10036
+ this.major++;
10037
+ }
10038
+ this.minor = 0;
10039
+ this.patch = 0;
10040
+ this.prerelease = [];
10041
+ break;
10042
+ case "minor":
10043
+ if (this.patch !== 0 || this.prerelease.length === 0) {
10044
+ this.minor++;
10045
+ }
10046
+ this.patch = 0;
10047
+ this.prerelease = [];
10048
+ break;
10049
+ case "patch":
10050
+ if (this.prerelease.length === 0) {
10051
+ this.patch++;
10052
+ }
10053
+ this.prerelease = [];
10054
+ break;
10055
+ // This probably shouldn't be used publicly.
10056
+ // 1.0.0 'pre' would become 1.0.0-0 which is the wrong direction.
10057
+ case "pre": {
10058
+ const base = Number(identifierBase) ? 1 : 0;
10059
+ if (this.prerelease.length === 0) {
10060
+ this.prerelease = [base];
10061
+ } else {
10062
+ let i = this.prerelease.length;
10063
+ while (--i >= 0) {
10064
+ if (typeof this.prerelease[i] === "number") {
10065
+ this.prerelease[i]++;
10066
+ i = -2;
10067
+ }
10068
+ }
10069
+ if (i === -1) {
10070
+ if (identifier === this.prerelease.join(".") && identifierBase === false) {
10071
+ throw new Error("invalid increment argument: identifier already exists");
10072
+ }
10073
+ this.prerelease.push(base);
10074
+ }
10075
+ }
10076
+ if (identifier) {
10077
+ let prerelease = [identifier, base];
10078
+ if (identifierBase === false) {
10079
+ prerelease = [identifier];
10080
+ }
10081
+ if (compareIdentifiers(this.prerelease[0], identifier) === 0) {
10082
+ if (isNaN(this.prerelease[1])) {
10083
+ this.prerelease = prerelease;
10084
+ }
10085
+ } else {
10086
+ this.prerelease = prerelease;
10087
+ }
10088
+ }
10089
+ break;
10090
+ }
10091
+ default:
10092
+ throw new Error(`invalid increment argument: ${release}`);
10093
+ }
10094
+ this.raw = this.format();
10095
+ if (this.build.length) {
10096
+ this.raw += `+${this.build.join(".")}`;
10097
+ }
10098
+ return this;
10099
+ }
10100
+ };
10101
+ module2.exports = SemVer;
10102
+ }
10103
+ });
10104
+
10105
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/parse.js
10106
+ var require_parse2 = __commonJS({
10107
+ "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/parse.js"(exports2, module2) {
10108
+ "use strict";
10109
+ init_cjs_shims();
10110
+ var SemVer = require_semver3();
10111
+ var parse = (version, options, throwErrors = false) => {
10112
+ if (version instanceof SemVer) {
10113
+ return version;
10114
+ }
10115
+ try {
10116
+ return new SemVer(version, options);
10117
+ } catch (er) {
10118
+ if (!throwErrors) {
10119
+ return null;
10120
+ }
10121
+ throw er;
10122
+ }
10123
+ };
10124
+ module2.exports = parse;
10125
+ }
10126
+ });
10127
+
10128
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/valid.js
10129
+ var require_valid3 = __commonJS({
10130
+ "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/valid.js"(exports2, module2) {
10131
+ "use strict";
10132
+ init_cjs_shims();
10133
+ var parse = require_parse2();
10134
+ var valid = (version, options) => {
10135
+ const v = parse(version, options);
10136
+ return v ? v.version : null;
10137
+ };
10138
+ module2.exports = valid;
10139
+ }
10140
+ });
10141
+
10142
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/clean.js
10143
+ var require_clean2 = __commonJS({
10144
+ "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/clean.js"(exports2, module2) {
10145
+ "use strict";
10146
+ init_cjs_shims();
10147
+ var parse = require_parse2();
10148
+ var clean = (version, options) => {
10149
+ const s = parse(version.trim().replace(/^[=v]+/, ""), options);
10150
+ return s ? s.version : null;
10151
+ };
10152
+ module2.exports = clean;
10153
+ }
10154
+ });
10155
+
10156
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/inc.js
10157
+ var require_inc2 = __commonJS({
10158
+ "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/inc.js"(exports2, module2) {
10159
+ "use strict";
10160
+ init_cjs_shims();
10161
+ var SemVer = require_semver3();
10162
+ var inc = (version, release, options, identifier, identifierBase) => {
10163
+ if (typeof options === "string") {
10164
+ identifierBase = identifier;
10165
+ identifier = options;
10166
+ options = void 0;
10167
+ }
10168
+ try {
10169
+ return new SemVer(
10170
+ version instanceof SemVer ? version.version : version,
10171
+ options
10172
+ ).inc(release, identifier, identifierBase).version;
10173
+ } catch (er) {
10174
+ return null;
10175
+ }
10176
+ };
10177
+ module2.exports = inc;
10178
+ }
10179
+ });
10180
+
10181
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/diff.js
10182
+ var require_diff2 = __commonJS({
10183
+ "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/diff.js"(exports2, module2) {
10184
+ "use strict";
10185
+ init_cjs_shims();
10186
+ var parse = require_parse2();
10187
+ var diff = (version1, version2) => {
10188
+ const v1 = parse(version1, null, true);
10189
+ const v2 = parse(version2, null, true);
10190
+ const comparison = v1.compare(v2);
10191
+ if (comparison === 0) {
10192
+ return null;
10193
+ }
10194
+ const v1Higher = comparison > 0;
10195
+ const highVersion = v1Higher ? v1 : v2;
10196
+ const lowVersion = v1Higher ? v2 : v1;
10197
+ const highHasPre = !!highVersion.prerelease.length;
10198
+ const lowHasPre = !!lowVersion.prerelease.length;
10199
+ if (lowHasPre && !highHasPre) {
10200
+ if (!lowVersion.patch && !lowVersion.minor) {
10201
+ return "major";
10202
+ }
10203
+ if (lowVersion.compareMain(highVersion) === 0) {
10204
+ if (lowVersion.minor && !lowVersion.patch) {
10205
+ return "minor";
10206
+ }
10207
+ return "patch";
10208
+ }
10209
+ }
10210
+ const prefix = highHasPre ? "pre" : "";
10211
+ if (v1.major !== v2.major) {
10212
+ return prefix + "major";
10213
+ }
10214
+ if (v1.minor !== v2.minor) {
10215
+ return prefix + "minor";
10216
+ }
10217
+ if (v1.patch !== v2.patch) {
10218
+ return prefix + "patch";
10219
+ }
10220
+ return "prerelease";
10221
+ };
10222
+ module2.exports = diff;
10223
+ }
10224
+ });
10225
+
10226
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/major.js
10227
+ var require_major2 = __commonJS({
10228
+ "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/major.js"(exports2, module2) {
10229
+ "use strict";
10230
+ init_cjs_shims();
10231
+ var SemVer = require_semver3();
10232
+ var major2 = (a, loose) => new SemVer(a, loose).major;
10233
+ module2.exports = major2;
10234
+ }
10235
+ });
10236
+
10237
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/minor.js
10238
+ var require_minor2 = __commonJS({
10239
+ "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/minor.js"(exports2, module2) {
10240
+ "use strict";
10241
+ init_cjs_shims();
10242
+ var SemVer = require_semver3();
10243
+ var minor2 = (a, loose) => new SemVer(a, loose).minor;
10244
+ module2.exports = minor2;
10245
+ }
10246
+ });
10247
+
10248
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/patch.js
10249
+ var require_patch2 = __commonJS({
10250
+ "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/patch.js"(exports2, module2) {
10251
+ "use strict";
10252
+ init_cjs_shims();
10253
+ var SemVer = require_semver3();
10254
+ var patch = (a, loose) => new SemVer(a, loose).patch;
10255
+ module2.exports = patch;
10256
+ }
10257
+ });
10258
+
10259
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/prerelease.js
10260
+ var require_prerelease2 = __commonJS({
10261
+ "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/prerelease.js"(exports2, module2) {
10262
+ "use strict";
10263
+ init_cjs_shims();
10264
+ var parse = require_parse2();
10265
+ var prerelease = (version, options) => {
10266
+ const parsed = parse(version, options);
10267
+ return parsed && parsed.prerelease.length ? parsed.prerelease : null;
10268
+ };
10269
+ module2.exports = prerelease;
10270
+ }
10271
+ });
10272
+
10273
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/compare.js
10274
+ var require_compare2 = __commonJS({
10275
+ "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/compare.js"(exports2, module2) {
10276
+ "use strict";
10277
+ init_cjs_shims();
10278
+ var SemVer = require_semver3();
10279
+ var compare = (a, b, loose) => new SemVer(a, loose).compare(new SemVer(b, loose));
10280
+ module2.exports = compare;
10281
+ }
10282
+ });
10283
+
10284
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/rcompare.js
10285
+ var require_rcompare2 = __commonJS({
10286
+ "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/rcompare.js"(exports2, module2) {
10287
+ "use strict";
10288
+ init_cjs_shims();
10289
+ var compare = require_compare2();
10290
+ var rcompare = (a, b, loose) => compare(b, a, loose);
10291
+ module2.exports = rcompare;
10292
+ }
10293
+ });
10294
+
10295
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/compare-loose.js
10296
+ var require_compare_loose2 = __commonJS({
10297
+ "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/compare-loose.js"(exports2, module2) {
10298
+ "use strict";
10299
+ init_cjs_shims();
10300
+ var compare = require_compare2();
10301
+ var compareLoose = (a, b) => compare(a, b, true);
10302
+ module2.exports = compareLoose;
10303
+ }
10304
+ });
10305
+
10306
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/compare-build.js
10307
+ var require_compare_build2 = __commonJS({
10308
+ "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/compare-build.js"(exports2, module2) {
10309
+ "use strict";
10310
+ init_cjs_shims();
10311
+ var SemVer = require_semver3();
10312
+ var compareBuild = (a, b, loose) => {
10313
+ const versionA = new SemVer(a, loose);
10314
+ const versionB = new SemVer(b, loose);
10315
+ return versionA.compare(versionB) || versionA.compareBuild(versionB);
10316
+ };
10317
+ module2.exports = compareBuild;
10318
+ }
10319
+ });
10320
+
10321
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/sort.js
10322
+ var require_sort2 = __commonJS({
10323
+ "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/sort.js"(exports2, module2) {
10324
+ "use strict";
10325
+ init_cjs_shims();
10326
+ var compareBuild = require_compare_build2();
10327
+ var sort = (list, loose) => list.sort((a, b) => compareBuild(a, b, loose));
10328
+ module2.exports = sort;
10329
+ }
10330
+ });
10331
+
10332
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/rsort.js
10333
+ var require_rsort2 = __commonJS({
10334
+ "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/rsort.js"(exports2, module2) {
10335
+ "use strict";
10336
+ init_cjs_shims();
10337
+ var compareBuild = require_compare_build2();
10338
+ var rsort = (list, loose) => list.sort((a, b) => compareBuild(b, a, loose));
10339
+ module2.exports = rsort;
10340
+ }
10341
+ });
10342
+
10343
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/gt.js
10344
+ var require_gt2 = __commonJS({
10345
+ "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/gt.js"(exports2, module2) {
10346
+ "use strict";
10347
+ init_cjs_shims();
10348
+ var compare = require_compare2();
10349
+ var gt = (a, b, loose) => compare(a, b, loose) > 0;
10350
+ module2.exports = gt;
10351
+ }
10352
+ });
10353
+
10354
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/lt.js
10355
+ var require_lt2 = __commonJS({
10356
+ "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/lt.js"(exports2, module2) {
10357
+ "use strict";
10358
+ init_cjs_shims();
10359
+ var compare = require_compare2();
10360
+ var lt = (a, b, loose) => compare(a, b, loose) < 0;
10361
+ module2.exports = lt;
10362
+ }
10363
+ });
10364
+
10365
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/eq.js
10366
+ var require_eq2 = __commonJS({
10367
+ "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/eq.js"(exports2, module2) {
10368
+ "use strict";
10369
+ init_cjs_shims();
10370
+ var compare = require_compare2();
10371
+ var eq = (a, b, loose) => compare(a, b, loose) === 0;
10372
+ module2.exports = eq;
10373
+ }
10374
+ });
10375
+
10376
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/neq.js
10377
+ var require_neq2 = __commonJS({
10378
+ "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/neq.js"(exports2, module2) {
10379
+ "use strict";
10380
+ init_cjs_shims();
10381
+ var compare = require_compare2();
10382
+ var neq = (a, b, loose) => compare(a, b, loose) !== 0;
10383
+ module2.exports = neq;
10384
+ }
10385
+ });
10386
+
10387
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/gte.js
10388
+ var require_gte2 = __commonJS({
10389
+ "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/gte.js"(exports2, module2) {
10390
+ "use strict";
10391
+ init_cjs_shims();
10392
+ var compare = require_compare2();
10393
+ var gte = (a, b, loose) => compare(a, b, loose) >= 0;
10394
+ module2.exports = gte;
10395
+ }
10396
+ });
10397
+
10398
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/lte.js
10399
+ var require_lte2 = __commonJS({
10400
+ "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/lte.js"(exports2, module2) {
10401
+ "use strict";
10402
+ init_cjs_shims();
10403
+ var compare = require_compare2();
10404
+ var lte = (a, b, loose) => compare(a, b, loose) <= 0;
10405
+ module2.exports = lte;
10406
+ }
10407
+ });
10408
+
10409
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/cmp.js
10410
+ var require_cmp2 = __commonJS({
10411
+ "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/cmp.js"(exports2, module2) {
10412
+ "use strict";
10413
+ init_cjs_shims();
10414
+ var eq = require_eq2();
10415
+ var neq = require_neq2();
10416
+ var gt = require_gt2();
10417
+ var gte = require_gte2();
10418
+ var lt = require_lt2();
10419
+ var lte = require_lte2();
10420
+ var cmp = (a, op, b, loose) => {
10421
+ switch (op) {
10422
+ case "===":
10423
+ if (typeof a === "object") {
10424
+ a = a.version;
10425
+ }
10426
+ if (typeof b === "object") {
10427
+ b = b.version;
10428
+ }
10429
+ return a === b;
10430
+ case "!==":
10431
+ if (typeof a === "object") {
10432
+ a = a.version;
10433
+ }
10434
+ if (typeof b === "object") {
10435
+ b = b.version;
10436
+ }
10437
+ return a !== b;
10438
+ case "":
10439
+ case "=":
10440
+ case "==":
10441
+ return eq(a, b, loose);
10442
+ case "!=":
10443
+ return neq(a, b, loose);
10444
+ case ">":
10445
+ return gt(a, b, loose);
10446
+ case ">=":
10447
+ return gte(a, b, loose);
10448
+ case "<":
10449
+ return lt(a, b, loose);
10450
+ case "<=":
10451
+ return lte(a, b, loose);
10452
+ default:
10453
+ throw new TypeError(`Invalid operator: ${op}`);
10454
+ }
10455
+ };
10456
+ module2.exports = cmp;
10457
+ }
10458
+ });
10459
+
10460
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/coerce.js
10461
+ var require_coerce2 = __commonJS({
10462
+ "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/coerce.js"(exports2, module2) {
10463
+ "use strict";
10464
+ init_cjs_shims();
10465
+ var SemVer = require_semver3();
10466
+ var parse = require_parse2();
10467
+ var { safeRe: re, t } = require_re2();
10468
+ var coerce = (version, options) => {
10469
+ if (version instanceof SemVer) {
10470
+ return version;
10471
+ }
10472
+ if (typeof version === "number") {
10473
+ version = String(version);
10474
+ }
10475
+ if (typeof version !== "string") {
10476
+ return null;
10477
+ }
10478
+ options = options || {};
10479
+ let match = null;
10480
+ if (!options.rtl) {
10481
+ match = version.match(options.includePrerelease ? re[t.COERCEFULL] : re[t.COERCE]);
10482
+ } else {
10483
+ const coerceRtlRegex = options.includePrerelease ? re[t.COERCERTLFULL] : re[t.COERCERTL];
10484
+ let next;
10485
+ while ((next = coerceRtlRegex.exec(version)) && (!match || match.index + match[0].length !== version.length)) {
10486
+ if (!match || next.index + next[0].length !== match.index + match[0].length) {
10487
+ match = next;
10488
+ }
10489
+ coerceRtlRegex.lastIndex = next.index + next[1].length + next[2].length;
10490
+ }
10491
+ coerceRtlRegex.lastIndex = -1;
10492
+ }
10493
+ if (match === null) {
10494
+ return null;
10495
+ }
10496
+ const major2 = match[2];
10497
+ const minor2 = match[3] || "0";
10498
+ const patch = match[4] || "0";
10499
+ const prerelease = options.includePrerelease && match[5] ? `-${match[5]}` : "";
10500
+ const build = options.includePrerelease && match[6] ? `+${match[6]}` : "";
10501
+ return parse(`${major2}.${minor2}.${patch}${prerelease}${build}`, options);
10502
+ };
10503
+ module2.exports = coerce;
10504
+ }
10505
+ });
10506
+
10507
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/lrucache.js
10508
+ var require_lrucache = __commonJS({
10509
+ "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/lrucache.js"(exports2, module2) {
10510
+ "use strict";
10511
+ init_cjs_shims();
10512
+ var LRUCache = class {
10513
+ constructor() {
10514
+ this.max = 1e3;
10515
+ this.map = /* @__PURE__ */ new Map();
10516
+ }
10517
+ get(key) {
10518
+ const value = this.map.get(key);
10519
+ if (value === void 0) {
10520
+ return void 0;
10521
+ } else {
10522
+ this.map.delete(key);
10523
+ this.map.set(key, value);
10524
+ return value;
10525
+ }
10526
+ }
10527
+ delete(key) {
10528
+ return this.map.delete(key);
10529
+ }
10530
+ set(key, value) {
10531
+ const deleted = this.delete(key);
10532
+ if (!deleted && value !== void 0) {
10533
+ if (this.map.size >= this.max) {
10534
+ const firstKey = this.map.keys().next().value;
10535
+ this.delete(firstKey);
10536
+ }
10537
+ this.map.set(key, value);
10538
+ }
10539
+ return this;
10540
+ }
10541
+ };
10542
+ module2.exports = LRUCache;
10543
+ }
10544
+ });
10545
+
10546
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/classes/range.js
10547
+ var require_range2 = __commonJS({
10548
+ "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/classes/range.js"(exports2, module2) {
10549
+ "use strict";
10550
+ init_cjs_shims();
10551
+ var SPACE_CHARACTERS = /\s+/g;
10552
+ var Range = class _Range {
10553
+ constructor(range, options) {
10554
+ options = parseOptions(options);
10555
+ if (range instanceof _Range) {
10556
+ if (range.loose === !!options.loose && range.includePrerelease === !!options.includePrerelease) {
10557
+ return range;
10558
+ } else {
10559
+ return new _Range(range.raw, options);
10560
+ }
10561
+ }
10562
+ if (range instanceof Comparator) {
10563
+ this.raw = range.value;
10564
+ this.set = [[range]];
10565
+ this.formatted = void 0;
10566
+ return this;
10567
+ }
10568
+ this.options = options;
10569
+ this.loose = !!options.loose;
10570
+ this.includePrerelease = !!options.includePrerelease;
10571
+ this.raw = range.trim().replace(SPACE_CHARACTERS, " ");
10572
+ this.set = this.raw.split("||").map((r) => this.parseRange(r.trim())).filter((c) => c.length);
10573
+ if (!this.set.length) {
10574
+ throw new TypeError(`Invalid SemVer Range: ${this.raw}`);
10575
+ }
10576
+ if (this.set.length > 1) {
10577
+ const first = this.set[0];
10578
+ this.set = this.set.filter((c) => !isNullSet(c[0]));
10579
+ if (this.set.length === 0) {
10580
+ this.set = [first];
10581
+ } else if (this.set.length > 1) {
10582
+ for (const c of this.set) {
10583
+ if (c.length === 1 && isAny(c[0])) {
10584
+ this.set = [c];
10585
+ break;
10586
+ }
10587
+ }
10588
+ }
10589
+ }
10590
+ this.formatted = void 0;
10591
+ }
10592
+ get range() {
10593
+ if (this.formatted === void 0) {
10594
+ this.formatted = "";
10595
+ for (let i = 0; i < this.set.length; i++) {
10596
+ if (i > 0) {
10597
+ this.formatted += "||";
10598
+ }
10599
+ const comps = this.set[i];
10600
+ for (let k = 0; k < comps.length; k++) {
10601
+ if (k > 0) {
10602
+ this.formatted += " ";
10603
+ }
10604
+ this.formatted += comps[k].toString().trim();
10605
+ }
10606
+ }
10607
+ }
10608
+ return this.formatted;
10609
+ }
10610
+ format() {
10611
+ return this.range;
10612
+ }
10613
+ toString() {
10614
+ return this.range;
10615
+ }
10616
+ parseRange(range) {
10617
+ const memoOpts = (this.options.includePrerelease && FLAG_INCLUDE_PRERELEASE) | (this.options.loose && FLAG_LOOSE);
10618
+ const memoKey = memoOpts + ":" + range;
10619
+ const cached = cache.get(memoKey);
10620
+ if (cached) {
10621
+ return cached;
10622
+ }
10623
+ const loose = this.options.loose;
10624
+ const hr = loose ? re[t.HYPHENRANGELOOSE] : re[t.HYPHENRANGE];
10625
+ range = range.replace(hr, hyphenReplace(this.options.includePrerelease));
10626
+ debug2("hyphen replace", range);
10627
+ range = range.replace(re[t.COMPARATORTRIM], comparatorTrimReplace);
10628
+ debug2("comparator trim", range);
10629
+ range = range.replace(re[t.TILDETRIM], tildeTrimReplace);
10630
+ debug2("tilde trim", range);
10631
+ range = range.replace(re[t.CARETTRIM], caretTrimReplace);
10632
+ debug2("caret trim", range);
10633
+ let rangeList = range.split(" ").map((comp) => parseComparator(comp, this.options)).join(" ").split(/\s+/).map((comp) => replaceGTE0(comp, this.options));
10634
+ if (loose) {
10635
+ rangeList = rangeList.filter((comp) => {
10636
+ debug2("loose invalid filter", comp, this.options);
10637
+ return !!comp.match(re[t.COMPARATORLOOSE]);
10638
+ });
10639
+ }
10640
+ debug2("range list", rangeList);
10641
+ const rangeMap = /* @__PURE__ */ new Map();
10642
+ const comparators = rangeList.map((comp) => new Comparator(comp, this.options));
10643
+ for (const comp of comparators) {
10644
+ if (isNullSet(comp)) {
10645
+ return [comp];
10646
+ }
10647
+ rangeMap.set(comp.value, comp);
10648
+ }
10649
+ if (rangeMap.size > 1 && rangeMap.has("")) {
10650
+ rangeMap.delete("");
10651
+ }
10652
+ const result = [...rangeMap.values()];
10653
+ cache.set(memoKey, result);
10654
+ return result;
10655
+ }
10656
+ intersects(range, options) {
10657
+ if (!(range instanceof _Range)) {
10658
+ throw new TypeError("a Range is required");
10659
+ }
10660
+ return this.set.some((thisComparators) => {
10661
+ return isSatisfiable(thisComparators, options) && range.set.some((rangeComparators) => {
10662
+ return isSatisfiable(rangeComparators, options) && thisComparators.every((thisComparator) => {
10663
+ return rangeComparators.every((rangeComparator) => {
10664
+ return thisComparator.intersects(rangeComparator, options);
10665
+ });
10666
+ });
10667
+ });
10668
+ });
10669
+ }
10670
+ // if ANY of the sets match ALL of its comparators, then pass
10671
+ test(version) {
10672
+ if (!version) {
10673
+ return false;
10674
+ }
10675
+ if (typeof version === "string") {
10676
+ try {
10677
+ version = new SemVer(version, this.options);
10678
+ } catch (er) {
10679
+ return false;
10680
+ }
10681
+ }
10682
+ for (let i = 0; i < this.set.length; i++) {
10683
+ if (testSet(this.set[i], version, this.options)) {
10684
+ return true;
10685
+ }
10686
+ }
10687
+ return false;
10688
+ }
10689
+ };
10690
+ module2.exports = Range;
10691
+ var LRU = require_lrucache();
10692
+ var cache = new LRU();
10693
+ var parseOptions = require_parse_options2();
10694
+ var Comparator = require_comparator2();
10695
+ var debug2 = require_debug2();
10696
+ var SemVer = require_semver3();
10697
+ var {
10698
+ safeRe: re,
10699
+ t,
10700
+ comparatorTrimReplace,
10701
+ tildeTrimReplace,
10702
+ caretTrimReplace
10703
+ } = require_re2();
10704
+ var { FLAG_INCLUDE_PRERELEASE, FLAG_LOOSE } = require_constants2();
10705
+ var isNullSet = (c) => c.value === "<0.0.0-0";
10706
+ var isAny = (c) => c.value === "";
10707
+ var isSatisfiable = (comparators, options) => {
10708
+ let result = true;
10709
+ const remainingComparators = comparators.slice();
10710
+ let testComparator = remainingComparators.pop();
10711
+ while (result && remainingComparators.length) {
10712
+ result = remainingComparators.every((otherComparator) => {
10713
+ return testComparator.intersects(otherComparator, options);
10714
+ });
10715
+ testComparator = remainingComparators.pop();
10716
+ }
10717
+ return result;
10718
+ };
10719
+ var parseComparator = (comp, options) => {
10720
+ comp = comp.replace(re[t.BUILD], "");
10721
+ debug2("comp", comp, options);
10722
+ comp = replaceCarets(comp, options);
10723
+ debug2("caret", comp);
10724
+ comp = replaceTildes(comp, options);
10725
+ debug2("tildes", comp);
10726
+ comp = replaceXRanges(comp, options);
10727
+ debug2("xrange", comp);
10728
+ comp = replaceStars(comp, options);
10729
+ debug2("stars", comp);
10730
+ return comp;
10731
+ };
10732
+ var isX = (id) => !id || id.toLowerCase() === "x" || id === "*";
10733
+ var replaceTildes = (comp, options) => {
10734
+ return comp.trim().split(/\s+/).map((c) => replaceTilde(c, options)).join(" ");
10735
+ };
10736
+ var replaceTilde = (comp, options) => {
10737
+ const r = options.loose ? re[t.TILDELOOSE] : re[t.TILDE];
10738
+ return comp.replace(r, (_, M, m, p, pr) => {
10739
+ debug2("tilde", comp, _, M, m, p, pr);
10740
+ let ret;
10741
+ if (isX(M)) {
10742
+ ret = "";
10743
+ } else if (isX(m)) {
10744
+ ret = `>=${M}.0.0 <${+M + 1}.0.0-0`;
10745
+ } else if (isX(p)) {
10746
+ ret = `>=${M}.${m}.0 <${M}.${+m + 1}.0-0`;
10747
+ } else if (pr) {
10748
+ debug2("replaceTilde pr", pr);
10749
+ ret = `>=${M}.${m}.${p}-${pr} <${M}.${+m + 1}.0-0`;
10750
+ } else {
10751
+ ret = `>=${M}.${m}.${p} <${M}.${+m + 1}.0-0`;
10752
+ }
10753
+ debug2("tilde return", ret);
10754
+ return ret;
10755
+ });
10756
+ };
10757
+ var replaceCarets = (comp, options) => {
10758
+ return comp.trim().split(/\s+/).map((c) => replaceCaret(c, options)).join(" ");
10759
+ };
10760
+ var replaceCaret = (comp, options) => {
10761
+ debug2("caret", comp, options);
10762
+ const r = options.loose ? re[t.CARETLOOSE] : re[t.CARET];
10763
+ const z = options.includePrerelease ? "-0" : "";
10764
+ return comp.replace(r, (_, M, m, p, pr) => {
10765
+ debug2("caret", comp, _, M, m, p, pr);
10766
+ let ret;
10767
+ if (isX(M)) {
10768
+ ret = "";
10769
+ } else if (isX(m)) {
10770
+ ret = `>=${M}.0.0${z} <${+M + 1}.0.0-0`;
10771
+ } else if (isX(p)) {
10772
+ if (M === "0") {
10773
+ ret = `>=${M}.${m}.0${z} <${M}.${+m + 1}.0-0`;
10774
+ } else {
10775
+ ret = `>=${M}.${m}.0${z} <${+M + 1}.0.0-0`;
10776
+ }
10777
+ } else if (pr) {
10778
+ debug2("replaceCaret pr", pr);
10779
+ if (M === "0") {
10780
+ if (m === "0") {
10781
+ ret = `>=${M}.${m}.${p}-${pr} <${M}.${m}.${+p + 1}-0`;
10782
+ } else {
10783
+ ret = `>=${M}.${m}.${p}-${pr} <${M}.${+m + 1}.0-0`;
10784
+ }
10785
+ } else {
10786
+ ret = `>=${M}.${m}.${p}-${pr} <${+M + 1}.0.0-0`;
10787
+ }
10788
+ } else {
10789
+ debug2("no pr");
10790
+ if (M === "0") {
10791
+ if (m === "0") {
10792
+ ret = `>=${M}.${m}.${p}${z} <${M}.${m}.${+p + 1}-0`;
10793
+ } else {
10794
+ ret = `>=${M}.${m}.${p}${z} <${M}.${+m + 1}.0-0`;
10795
+ }
10796
+ } else {
10797
+ ret = `>=${M}.${m}.${p} <${+M + 1}.0.0-0`;
10798
+ }
10799
+ }
10800
+ debug2("caret return", ret);
10801
+ return ret;
10802
+ });
10803
+ };
10804
+ var replaceXRanges = (comp, options) => {
10805
+ debug2("replaceXRanges", comp, options);
10806
+ return comp.split(/\s+/).map((c) => replaceXRange(c, options)).join(" ");
10807
+ };
10808
+ var replaceXRange = (comp, options) => {
10809
+ comp = comp.trim();
10810
+ const r = options.loose ? re[t.XRANGELOOSE] : re[t.XRANGE];
10811
+ return comp.replace(r, (ret, gtlt, M, m, p, pr) => {
10812
+ debug2("xRange", comp, ret, gtlt, M, m, p, pr);
10813
+ const xM = isX(M);
10814
+ const xm = xM || isX(m);
10815
+ const xp = xm || isX(p);
10816
+ const anyX = xp;
10817
+ if (gtlt === "=" && anyX) {
10818
+ gtlt = "";
10819
+ }
10820
+ pr = options.includePrerelease ? "-0" : "";
10821
+ if (xM) {
10822
+ if (gtlt === ">" || gtlt === "<") {
10823
+ ret = "<0.0.0-0";
10824
+ } else {
10825
+ ret = "*";
10826
+ }
10827
+ } else if (gtlt && anyX) {
10828
+ if (xm) {
10829
+ m = 0;
10830
+ }
10831
+ p = 0;
10832
+ if (gtlt === ">") {
10833
+ gtlt = ">=";
10834
+ if (xm) {
10835
+ M = +M + 1;
10836
+ m = 0;
10837
+ p = 0;
10838
+ } else {
10839
+ m = +m + 1;
10840
+ p = 0;
10841
+ }
10842
+ } else if (gtlt === "<=") {
10843
+ gtlt = "<";
10844
+ if (xm) {
10845
+ M = +M + 1;
10846
+ } else {
10847
+ m = +m + 1;
10848
+ }
10849
+ }
10850
+ if (gtlt === "<") {
10851
+ pr = "-0";
10852
+ }
10853
+ ret = `${gtlt + M}.${m}.${p}${pr}`;
10854
+ } else if (xm) {
10855
+ ret = `>=${M}.0.0${pr} <${+M + 1}.0.0-0`;
10856
+ } else if (xp) {
10857
+ ret = `>=${M}.${m}.0${pr} <${M}.${+m + 1}.0-0`;
10858
+ }
10859
+ debug2("xRange return", ret);
10860
+ return ret;
10861
+ });
10862
+ };
10863
+ var replaceStars = (comp, options) => {
10864
+ debug2("replaceStars", comp, options);
10865
+ return comp.trim().replace(re[t.STAR], "");
10866
+ };
10867
+ var replaceGTE0 = (comp, options) => {
10868
+ debug2("replaceGTE0", comp, options);
10869
+ return comp.trim().replace(re[options.includePrerelease ? t.GTE0PRE : t.GTE0], "");
10870
+ };
10871
+ var hyphenReplace = (incPr) => ($0, from, fM, fm, fp, fpr, fb, to, tM, tm, tp, tpr) => {
10872
+ if (isX(fM)) {
10873
+ from = "";
10874
+ } else if (isX(fm)) {
10875
+ from = `>=${fM}.0.0${incPr ? "-0" : ""}`;
10876
+ } else if (isX(fp)) {
10877
+ from = `>=${fM}.${fm}.0${incPr ? "-0" : ""}`;
10878
+ } else if (fpr) {
10879
+ from = `>=${from}`;
10880
+ } else {
10881
+ from = `>=${from}${incPr ? "-0" : ""}`;
10882
+ }
10883
+ if (isX(tM)) {
10884
+ to = "";
10885
+ } else if (isX(tm)) {
10886
+ to = `<${+tM + 1}.0.0-0`;
10887
+ } else if (isX(tp)) {
10888
+ to = `<${tM}.${+tm + 1}.0-0`;
10889
+ } else if (tpr) {
10890
+ to = `<=${tM}.${tm}.${tp}-${tpr}`;
10891
+ } else if (incPr) {
10892
+ to = `<${tM}.${tm}.${+tp + 1}-0`;
10893
+ } else {
10894
+ to = `<=${to}`;
10895
+ }
10896
+ return `${from} ${to}`.trim();
10897
+ };
10898
+ var testSet = (set, version, options) => {
10899
+ for (let i = 0; i < set.length; i++) {
10900
+ if (!set[i].test(version)) {
10901
+ return false;
10902
+ }
10903
+ }
10904
+ if (version.prerelease.length && !options.includePrerelease) {
10905
+ for (let i = 0; i < set.length; i++) {
10906
+ debug2(set[i].semver);
10907
+ if (set[i].semver === Comparator.ANY) {
10908
+ continue;
10909
+ }
10910
+ if (set[i].semver.prerelease.length > 0) {
10911
+ const allowed = set[i].semver;
10912
+ if (allowed.major === version.major && allowed.minor === version.minor && allowed.patch === version.patch) {
10913
+ return true;
10914
+ }
10915
+ }
10916
+ }
10917
+ return false;
10918
+ }
10919
+ return true;
10920
+ };
10921
+ }
10922
+ });
10923
+
10924
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/classes/comparator.js
10925
+ var require_comparator2 = __commonJS({
10926
+ "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/classes/comparator.js"(exports2, module2) {
10927
+ "use strict";
10928
+ init_cjs_shims();
10929
+ var ANY = Symbol("SemVer ANY");
10930
+ var Comparator = class _Comparator {
10931
+ static get ANY() {
10932
+ return ANY;
10933
+ }
10934
+ constructor(comp, options) {
10935
+ options = parseOptions(options);
10936
+ if (comp instanceof _Comparator) {
10937
+ if (comp.loose === !!options.loose) {
10938
+ return comp;
10939
+ } else {
10940
+ comp = comp.value;
10941
+ }
10942
+ }
10943
+ comp = comp.trim().split(/\s+/).join(" ");
10944
+ debug2("comparator", comp, options);
10945
+ this.options = options;
10946
+ this.loose = !!options.loose;
10947
+ this.parse(comp);
10948
+ if (this.semver === ANY) {
10949
+ this.value = "";
10950
+ } else {
10951
+ this.value = this.operator + this.semver.version;
10952
+ }
10953
+ debug2("comp", this);
10954
+ }
10955
+ parse(comp) {
10956
+ const r = this.options.loose ? re[t.COMPARATORLOOSE] : re[t.COMPARATOR];
10957
+ const m = comp.match(r);
10958
+ if (!m) {
10959
+ throw new TypeError(`Invalid comparator: ${comp}`);
10960
+ }
10961
+ this.operator = m[1] !== void 0 ? m[1] : "";
10962
+ if (this.operator === "=") {
10963
+ this.operator = "";
10964
+ }
10965
+ if (!m[2]) {
10966
+ this.semver = ANY;
10967
+ } else {
10968
+ this.semver = new SemVer(m[2], this.options.loose);
10969
+ }
10970
+ }
10971
+ toString() {
10972
+ return this.value;
10973
+ }
10974
+ test(version) {
10975
+ debug2("Comparator.test", version, this.options.loose);
10976
+ if (this.semver === ANY || version === ANY) {
10977
+ return true;
10978
+ }
10979
+ if (typeof version === "string") {
10980
+ try {
10981
+ version = new SemVer(version, this.options);
10982
+ } catch (er) {
10983
+ return false;
10984
+ }
10985
+ }
10986
+ return cmp(version, this.operator, this.semver, this.options);
10987
+ }
10988
+ intersects(comp, options) {
10989
+ if (!(comp instanceof _Comparator)) {
10990
+ throw new TypeError("a Comparator is required");
10991
+ }
10992
+ if (this.operator === "") {
10993
+ if (this.value === "") {
10994
+ return true;
10995
+ }
10996
+ return new Range(comp.value, options).test(this.value);
10997
+ } else if (comp.operator === "") {
10998
+ if (comp.value === "") {
10999
+ return true;
11000
+ }
11001
+ return new Range(this.value, options).test(comp.semver);
11002
+ }
11003
+ options = parseOptions(options);
11004
+ if (options.includePrerelease && (this.value === "<0.0.0-0" || comp.value === "<0.0.0-0")) {
11005
+ return false;
11006
+ }
11007
+ if (!options.includePrerelease && (this.value.startsWith("<0.0.0") || comp.value.startsWith("<0.0.0"))) {
11008
+ return false;
11009
+ }
11010
+ if (this.operator.startsWith(">") && comp.operator.startsWith(">")) {
11011
+ return true;
11012
+ }
11013
+ if (this.operator.startsWith("<") && comp.operator.startsWith("<")) {
11014
+ return true;
11015
+ }
11016
+ if (this.semver.version === comp.semver.version && this.operator.includes("=") && comp.operator.includes("=")) {
11017
+ return true;
11018
+ }
11019
+ if (cmp(this.semver, "<", comp.semver, options) && this.operator.startsWith(">") && comp.operator.startsWith("<")) {
11020
+ return true;
11021
+ }
11022
+ if (cmp(this.semver, ">", comp.semver, options) && this.operator.startsWith("<") && comp.operator.startsWith(">")) {
11023
+ return true;
11024
+ }
11025
+ return false;
11026
+ }
11027
+ };
11028
+ module2.exports = Comparator;
11029
+ var parseOptions = require_parse_options2();
11030
+ var { safeRe: re, t } = require_re2();
11031
+ var cmp = require_cmp2();
11032
+ var debug2 = require_debug2();
11033
+ var SemVer = require_semver3();
11034
+ var Range = require_range2();
11035
+ }
11036
+ });
11037
+
11038
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/satisfies.js
11039
+ var require_satisfies2 = __commonJS({
11040
+ "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/satisfies.js"(exports2, module2) {
11041
+ "use strict";
11042
+ init_cjs_shims();
11043
+ var Range = require_range2();
11044
+ var satisfies = (version, range, options) => {
11045
+ try {
11046
+ range = new Range(range, options);
11047
+ } catch (er) {
11048
+ return false;
11049
+ }
11050
+ return range.test(version);
11051
+ };
11052
+ module2.exports = satisfies;
11053
+ }
11054
+ });
11055
+
11056
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/to-comparators.js
11057
+ var require_to_comparators2 = __commonJS({
11058
+ "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/to-comparators.js"(exports2, module2) {
11059
+ "use strict";
11060
+ init_cjs_shims();
11061
+ var Range = require_range2();
11062
+ var toComparators = (range, options) => new Range(range, options).set.map((comp) => comp.map((c) => c.value).join(" ").trim().split(" "));
11063
+ module2.exports = toComparators;
11064
+ }
11065
+ });
11066
+
11067
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/max-satisfying.js
11068
+ var require_max_satisfying2 = __commonJS({
11069
+ "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/max-satisfying.js"(exports2, module2) {
11070
+ "use strict";
11071
+ init_cjs_shims();
11072
+ var SemVer = require_semver3();
11073
+ var Range = require_range2();
11074
+ var maxSatisfying = (versions, range, options) => {
11075
+ let max = null;
11076
+ let maxSV = null;
11077
+ let rangeObj = null;
11078
+ try {
11079
+ rangeObj = new Range(range, options);
11080
+ } catch (er) {
11081
+ return null;
11082
+ }
11083
+ versions.forEach((v) => {
11084
+ if (rangeObj.test(v)) {
11085
+ if (!max || maxSV.compare(v) === -1) {
11086
+ max = v;
11087
+ maxSV = new SemVer(max, options);
11088
+ }
11089
+ }
11090
+ });
11091
+ return max;
11092
+ };
11093
+ module2.exports = maxSatisfying;
11094
+ }
11095
+ });
11096
+
11097
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/min-satisfying.js
11098
+ var require_min_satisfying2 = __commonJS({
11099
+ "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/min-satisfying.js"(exports2, module2) {
11100
+ "use strict";
11101
+ init_cjs_shims();
11102
+ var SemVer = require_semver3();
11103
+ var Range = require_range2();
11104
+ var minSatisfying = (versions, range, options) => {
11105
+ let min = null;
11106
+ let minSV = null;
11107
+ let rangeObj = null;
11108
+ try {
11109
+ rangeObj = new Range(range, options);
11110
+ } catch (er) {
11111
+ return null;
11112
+ }
11113
+ versions.forEach((v) => {
11114
+ if (rangeObj.test(v)) {
11115
+ if (!min || minSV.compare(v) === 1) {
11116
+ min = v;
11117
+ minSV = new SemVer(min, options);
11118
+ }
11119
+ }
11120
+ });
11121
+ return min;
11122
+ };
11123
+ module2.exports = minSatisfying;
11124
+ }
11125
+ });
11126
+
11127
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/min-version.js
11128
+ var require_min_version2 = __commonJS({
11129
+ "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/min-version.js"(exports2, module2) {
11130
+ "use strict";
11131
+ init_cjs_shims();
11132
+ var SemVer = require_semver3();
11133
+ var Range = require_range2();
11134
+ var gt = require_gt2();
11135
+ var minVersion = (range, loose) => {
11136
+ range = new Range(range, loose);
11137
+ let minver = new SemVer("0.0.0");
11138
+ if (range.test(minver)) {
11139
+ return minver;
11140
+ }
11141
+ minver = new SemVer("0.0.0-0");
11142
+ if (range.test(minver)) {
11143
+ return minver;
11144
+ }
11145
+ minver = null;
11146
+ for (let i = 0; i < range.set.length; ++i) {
11147
+ const comparators = range.set[i];
11148
+ let setMin = null;
11149
+ comparators.forEach((comparator) => {
11150
+ const compver = new SemVer(comparator.semver.version);
11151
+ switch (comparator.operator) {
11152
+ case ">":
11153
+ if (compver.prerelease.length === 0) {
11154
+ compver.patch++;
11155
+ } else {
11156
+ compver.prerelease.push(0);
11157
+ }
11158
+ compver.raw = compver.format();
11159
+ /* fallthrough */
11160
+ case "":
11161
+ case ">=":
11162
+ if (!setMin || gt(compver, setMin)) {
11163
+ setMin = compver;
11164
+ }
11165
+ break;
11166
+ case "<":
11167
+ case "<=":
11168
+ break;
11169
+ /* istanbul ignore next */
11170
+ default:
11171
+ throw new Error(`Unexpected operation: ${comparator.operator}`);
11172
+ }
11173
+ });
11174
+ if (setMin && (!minver || gt(minver, setMin))) {
11175
+ minver = setMin;
11176
+ }
11177
+ }
11178
+ if (minver && range.test(minver)) {
11179
+ return minver;
11180
+ }
11181
+ return null;
11182
+ };
11183
+ module2.exports = minVersion;
11184
+ }
11185
+ });
11186
+
11187
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/valid.js
11188
+ var require_valid4 = __commonJS({
11189
+ "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/valid.js"(exports2, module2) {
11190
+ "use strict";
11191
+ init_cjs_shims();
11192
+ var Range = require_range2();
11193
+ var validRange = (range, options) => {
11194
+ try {
11195
+ return new Range(range, options).range || "*";
11196
+ } catch (er) {
11197
+ return null;
11198
+ }
11199
+ };
11200
+ module2.exports = validRange;
11201
+ }
11202
+ });
11203
+
11204
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/outside.js
11205
+ var require_outside2 = __commonJS({
11206
+ "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/outside.js"(exports2, module2) {
11207
+ "use strict";
11208
+ init_cjs_shims();
11209
+ var SemVer = require_semver3();
11210
+ var Comparator = require_comparator2();
11211
+ var { ANY } = Comparator;
11212
+ var Range = require_range2();
11213
+ var satisfies = require_satisfies2();
11214
+ var gt = require_gt2();
11215
+ var lt = require_lt2();
11216
+ var lte = require_lte2();
11217
+ var gte = require_gte2();
11218
+ var outside = (version, range, hilo, options) => {
11219
+ version = new SemVer(version, options);
11220
+ range = new Range(range, options);
11221
+ let gtfn, ltefn, ltfn, comp, ecomp;
11222
+ switch (hilo) {
11223
+ case ">":
11224
+ gtfn = gt;
11225
+ ltefn = lte;
11226
+ ltfn = lt;
11227
+ comp = ">";
11228
+ ecomp = ">=";
11229
+ break;
11230
+ case "<":
11231
+ gtfn = lt;
11232
+ ltefn = gte;
11233
+ ltfn = gt;
11234
+ comp = "<";
11235
+ ecomp = "<=";
11236
+ break;
11237
+ default:
11238
+ throw new TypeError('Must provide a hilo val of "<" or ">"');
11239
+ }
11240
+ if (satisfies(version, range, options)) {
11241
+ return false;
11242
+ }
11243
+ for (let i = 0; i < range.set.length; ++i) {
11244
+ const comparators = range.set[i];
11245
+ let high = null;
11246
+ let low = null;
11247
+ comparators.forEach((comparator) => {
11248
+ if (comparator.semver === ANY) {
11249
+ comparator = new Comparator(">=0.0.0");
11250
+ }
11251
+ high = high || comparator;
11252
+ low = low || comparator;
11253
+ if (gtfn(comparator.semver, high.semver, options)) {
11254
+ high = comparator;
11255
+ } else if (ltfn(comparator.semver, low.semver, options)) {
11256
+ low = comparator;
11257
+ }
11258
+ });
11259
+ if (high.operator === comp || high.operator === ecomp) {
11260
+ return false;
11261
+ }
11262
+ if ((!low.operator || low.operator === comp) && ltefn(version, low.semver)) {
11263
+ return false;
11264
+ } else if (low.operator === ecomp && ltfn(version, low.semver)) {
11265
+ return false;
11266
+ }
11267
+ }
11268
+ return true;
11269
+ };
11270
+ module2.exports = outside;
11271
+ }
11272
+ });
11273
+
11274
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/gtr.js
11275
+ var require_gtr2 = __commonJS({
11276
+ "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/gtr.js"(exports2, module2) {
11277
+ "use strict";
11278
+ init_cjs_shims();
11279
+ var outside = require_outside2();
11280
+ var gtr = (version, range, options) => outside(version, range, ">", options);
11281
+ module2.exports = gtr;
11282
+ }
11283
+ });
11284
+
11285
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/ltr.js
11286
+ var require_ltr2 = __commonJS({
11287
+ "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/ltr.js"(exports2, module2) {
11288
+ "use strict";
11289
+ init_cjs_shims();
11290
+ var outside = require_outside2();
11291
+ var ltr = (version, range, options) => outside(version, range, "<", options);
11292
+ module2.exports = ltr;
11293
+ }
11294
+ });
11295
+
11296
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/intersects.js
11297
+ var require_intersects2 = __commonJS({
11298
+ "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/intersects.js"(exports2, module2) {
11299
+ "use strict";
11300
+ init_cjs_shims();
11301
+ var Range = require_range2();
11302
+ var intersects = (r1, r2, options) => {
11303
+ r1 = new Range(r1, options);
11304
+ r2 = new Range(r2, options);
11305
+ return r1.intersects(r2, options);
11306
+ };
11307
+ module2.exports = intersects;
11308
+ }
11309
+ });
11310
+
11311
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/simplify.js
11312
+ var require_simplify2 = __commonJS({
11313
+ "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/simplify.js"(exports2, module2) {
11314
+ "use strict";
11315
+ init_cjs_shims();
11316
+ var satisfies = require_satisfies2();
11317
+ var compare = require_compare2();
11318
+ module2.exports = (versions, range, options) => {
11319
+ const set = [];
11320
+ let first = null;
11321
+ let prev = null;
11322
+ const v = versions.sort((a, b) => compare(a, b, options));
11323
+ for (const version of v) {
11324
+ const included = satisfies(version, range, options);
11325
+ if (included) {
11326
+ prev = version;
11327
+ if (!first) {
11328
+ first = version;
11329
+ }
11330
+ } else {
11331
+ if (prev) {
11332
+ set.push([first, prev]);
11333
+ }
11334
+ prev = null;
11335
+ first = null;
11336
+ }
11337
+ }
11338
+ if (first) {
11339
+ set.push([first, null]);
11340
+ }
11341
+ const ranges = [];
11342
+ for (const [min, max] of set) {
11343
+ if (min === max) {
11344
+ ranges.push(min);
11345
+ } else if (!max && min === v[0]) {
11346
+ ranges.push("*");
11347
+ } else if (!max) {
11348
+ ranges.push(`>=${min}`);
11349
+ } else if (min === v[0]) {
11350
+ ranges.push(`<=${max}`);
11351
+ } else {
11352
+ ranges.push(`${min} - ${max}`);
11353
+ }
11354
+ }
11355
+ const simplified = ranges.join(" || ");
11356
+ const original = typeof range.raw === "string" ? range.raw : String(range);
11357
+ return simplified.length < original.length ? simplified : range;
11358
+ };
11359
+ }
11360
+ });
11361
+
11362
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/subset.js
11363
+ var require_subset2 = __commonJS({
11364
+ "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/subset.js"(exports2, module2) {
11365
+ "use strict";
11366
+ init_cjs_shims();
11367
+ var Range = require_range2();
11368
+ var Comparator = require_comparator2();
11369
+ var { ANY } = Comparator;
11370
+ var satisfies = require_satisfies2();
11371
+ var compare = require_compare2();
11372
+ var subset = (sub, dom, options = {}) => {
11373
+ if (sub === dom) {
11374
+ return true;
11375
+ }
11376
+ sub = new Range(sub, options);
11377
+ dom = new Range(dom, options);
11378
+ let sawNonNull = false;
11379
+ OUTER: for (const simpleSub of sub.set) {
11380
+ for (const simpleDom of dom.set) {
11381
+ const isSub = simpleSubset(simpleSub, simpleDom, options);
11382
+ sawNonNull = sawNonNull || isSub !== null;
11383
+ if (isSub) {
11384
+ continue OUTER;
11385
+ }
11386
+ }
11387
+ if (sawNonNull) {
11388
+ return false;
11389
+ }
11390
+ }
11391
+ return true;
11392
+ };
11393
+ var minimumVersionWithPreRelease = [new Comparator(">=0.0.0-0")];
11394
+ var minimumVersion = [new Comparator(">=0.0.0")];
11395
+ var simpleSubset = (sub, dom, options) => {
11396
+ if (sub === dom) {
11397
+ return true;
11398
+ }
11399
+ if (sub.length === 1 && sub[0].semver === ANY) {
11400
+ if (dom.length === 1 && dom[0].semver === ANY) {
11401
+ return true;
11402
+ } else if (options.includePrerelease) {
11403
+ sub = minimumVersionWithPreRelease;
11404
+ } else {
11405
+ sub = minimumVersion;
11406
+ }
11407
+ }
11408
+ if (dom.length === 1 && dom[0].semver === ANY) {
11409
+ if (options.includePrerelease) {
11410
+ return true;
11411
+ } else {
11412
+ dom = minimumVersion;
11413
+ }
11414
+ }
11415
+ const eqSet = /* @__PURE__ */ new Set();
11416
+ let gt, lt;
11417
+ for (const c of sub) {
11418
+ if (c.operator === ">" || c.operator === ">=") {
11419
+ gt = higherGT(gt, c, options);
11420
+ } else if (c.operator === "<" || c.operator === "<=") {
11421
+ lt = lowerLT(lt, c, options);
11422
+ } else {
11423
+ eqSet.add(c.semver);
11424
+ }
11425
+ }
11426
+ if (eqSet.size > 1) {
11427
+ return null;
11428
+ }
11429
+ let gtltComp;
11430
+ if (gt && lt) {
11431
+ gtltComp = compare(gt.semver, lt.semver, options);
11432
+ if (gtltComp > 0) {
11433
+ return null;
11434
+ } else if (gtltComp === 0 && (gt.operator !== ">=" || lt.operator !== "<=")) {
11435
+ return null;
11436
+ }
11437
+ }
11438
+ for (const eq of eqSet) {
11439
+ if (gt && !satisfies(eq, String(gt), options)) {
11440
+ return null;
11441
+ }
11442
+ if (lt && !satisfies(eq, String(lt), options)) {
11443
+ return null;
11444
+ }
11445
+ for (const c of dom) {
11446
+ if (!satisfies(eq, String(c), options)) {
11447
+ return false;
11448
+ }
11449
+ }
11450
+ return true;
11451
+ }
11452
+ let higher, lower;
11453
+ let hasDomLT, hasDomGT;
11454
+ let needDomLTPre = lt && !options.includePrerelease && lt.semver.prerelease.length ? lt.semver : false;
11455
+ let needDomGTPre = gt && !options.includePrerelease && gt.semver.prerelease.length ? gt.semver : false;
11456
+ if (needDomLTPre && needDomLTPre.prerelease.length === 1 && lt.operator === "<" && needDomLTPre.prerelease[0] === 0) {
11457
+ needDomLTPre = false;
11458
+ }
11459
+ for (const c of dom) {
11460
+ hasDomGT = hasDomGT || c.operator === ">" || c.operator === ">=";
11461
+ hasDomLT = hasDomLT || c.operator === "<" || c.operator === "<=";
11462
+ if (gt) {
11463
+ if (needDomGTPre) {
11464
+ if (c.semver.prerelease && c.semver.prerelease.length && c.semver.major === needDomGTPre.major && c.semver.minor === needDomGTPre.minor && c.semver.patch === needDomGTPre.patch) {
11465
+ needDomGTPre = false;
11466
+ }
11467
+ }
11468
+ if (c.operator === ">" || c.operator === ">=") {
11469
+ higher = higherGT(gt, c, options);
11470
+ if (higher === c && higher !== gt) {
11471
+ return false;
11472
+ }
11473
+ } else if (gt.operator === ">=" && !satisfies(gt.semver, String(c), options)) {
11474
+ return false;
11475
+ }
11476
+ }
11477
+ if (lt) {
11478
+ if (needDomLTPre) {
11479
+ if (c.semver.prerelease && c.semver.prerelease.length && c.semver.major === needDomLTPre.major && c.semver.minor === needDomLTPre.minor && c.semver.patch === needDomLTPre.patch) {
11480
+ needDomLTPre = false;
11481
+ }
11482
+ }
11483
+ if (c.operator === "<" || c.operator === "<=") {
11484
+ lower = lowerLT(lt, c, options);
11485
+ if (lower === c && lower !== lt) {
11486
+ return false;
11487
+ }
11488
+ } else if (lt.operator === "<=" && !satisfies(lt.semver, String(c), options)) {
11489
+ return false;
11490
+ }
11491
+ }
11492
+ if (!c.operator && (lt || gt) && gtltComp !== 0) {
11493
+ return false;
11494
+ }
11495
+ }
11496
+ if (gt && hasDomLT && !lt && gtltComp !== 0) {
11497
+ return false;
11498
+ }
11499
+ if (lt && hasDomGT && !gt && gtltComp !== 0) {
11500
+ return false;
11501
+ }
11502
+ if (needDomGTPre || needDomLTPre) {
11503
+ return false;
11504
+ }
11505
+ return true;
11506
+ };
11507
+ var higherGT = (a, b, options) => {
11508
+ if (!a) {
11509
+ return b;
11510
+ }
11511
+ const comp = compare(a.semver, b.semver, options);
11512
+ return comp > 0 ? a : comp < 0 ? b : b.operator === ">" && a.operator === ">=" ? b : a;
11513
+ };
11514
+ var lowerLT = (a, b, options) => {
11515
+ if (!a) {
11516
+ return b;
11517
+ }
11518
+ const comp = compare(a.semver, b.semver, options);
11519
+ return comp < 0 ? a : comp > 0 ? b : b.operator === "<" && a.operator === "<=" ? b : a;
11520
+ };
11521
+ module2.exports = subset;
11522
+ }
11523
+ });
11524
+
11525
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/index.js
11526
+ var require_semver4 = __commonJS({
11527
+ "../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/index.js"(exports2, module2) {
11528
+ "use strict";
11529
+ init_cjs_shims();
11530
+ var internalRe = require_re2();
11531
+ var constants = require_constants2();
11532
+ var SemVer = require_semver3();
11533
+ var identifiers = require_identifiers2();
11534
+ var parse = require_parse2();
11535
+ var valid = require_valid3();
11536
+ var clean = require_clean2();
11537
+ var inc = require_inc2();
11538
+ var diff = require_diff2();
11539
+ var major2 = require_major2();
11540
+ var minor2 = require_minor2();
11541
+ var patch = require_patch2();
11542
+ var prerelease = require_prerelease2();
11543
+ var compare = require_compare2();
11544
+ var rcompare = require_rcompare2();
11545
+ var compareLoose = require_compare_loose2();
11546
+ var compareBuild = require_compare_build2();
11547
+ var sort = require_sort2();
11548
+ var rsort = require_rsort2();
11549
+ var gt = require_gt2();
11550
+ var lt = require_lt2();
11551
+ var eq = require_eq2();
11552
+ var neq = require_neq2();
11553
+ var gte = require_gte2();
11554
+ var lte = require_lte2();
11555
+ var cmp = require_cmp2();
11556
+ var coerce = require_coerce2();
11557
+ var Comparator = require_comparator2();
11558
+ var Range = require_range2();
11559
+ var satisfies = require_satisfies2();
11560
+ var toComparators = require_to_comparators2();
11561
+ var maxSatisfying = require_max_satisfying2();
11562
+ var minSatisfying = require_min_satisfying2();
11563
+ var minVersion = require_min_version2();
11564
+ var validRange = require_valid4();
11565
+ var outside = require_outside2();
11566
+ var gtr = require_gtr2();
11567
+ var ltr = require_ltr2();
11568
+ var intersects = require_intersects2();
11569
+ var simplifyRange = require_simplify2();
11570
+ var subset = require_subset2();
11571
+ module2.exports = {
11572
+ parse,
11573
+ valid,
11574
+ clean,
11575
+ inc,
11576
+ diff,
11577
+ major: major2,
11578
+ minor: minor2,
11579
+ patch,
11580
+ prerelease,
11581
+ compare,
11582
+ rcompare,
11583
+ compareLoose,
11584
+ compareBuild,
11585
+ sort,
11586
+ rsort,
11587
+ gt,
11588
+ lt,
11589
+ eq,
11590
+ neq,
11591
+ gte,
11592
+ lte,
11593
+ cmp,
11594
+ coerce,
11595
+ Comparator,
11596
+ Range,
11597
+ satisfies,
11598
+ toComparators,
11599
+ maxSatisfying,
11600
+ minSatisfying,
11601
+ minVersion,
11602
+ validRange,
11603
+ outside,
11604
+ gtr,
11605
+ ltr,
11606
+ intersects,
11607
+ simplifyRange,
11608
+ subset,
11609
+ SemVer,
11610
+ re: internalRe.re,
11611
+ src: internalRe.src,
11612
+ tokens: internalRe.t,
11613
+ SEMVER_SPEC_VERSION: constants.SEMVER_SPEC_VERSION,
11614
+ RELEASE_TYPES: constants.RELEASE_TYPES,
11615
+ compareIdentifiers: identifiers.compareIdentifiers,
11616
+ rcompareIdentifiers: identifiers.rcompareIdentifiers
11617
+ };
11618
+ }
11619
+ });
11620
+
9646
11621
  // ../../node_modules/.pnpm/ini@2.0.0/node_modules/ini/ini.js
9647
11622
  var require_ini2 = __commonJS({
9648
11623
  "../../node_modules/.pnpm/ini@2.0.0/node_modules/ini/ini.js"(exports2, module2) {
@@ -10706,8 +12681,10 @@ var import_runtime5 = require("@terai/runtime");
10706
12681
 
10707
12682
  // ../logger/dist/index.mjs
10708
12683
  init_cjs_shims();
12684
+
12685
+ // ../logger/dist/chunk-HH7ZIRTH.mjs
12686
+ init_cjs_shims();
10709
12687
  var import_process = __toESM(require("process"), 1);
10710
- var import_process2 = __toESM(require("process"), 1);
10711
12688
  var import_os = __toESM(require("os"), 1);
10712
12689
  var import_tty = __toESM(require("tty"), 1);
10713
12690
  var ANSI_BACKGROUND_OFFSET = 10;
@@ -10774,10 +12751,10 @@ var styles = {
10774
12751
  bgWhiteBright: [107, 49]
10775
12752
  }
10776
12753
  };
10777
- var modifierNames = Object.keys(styles.modifier);
12754
+ Object.keys(styles.modifier);
10778
12755
  var foregroundColorNames = Object.keys(styles.color);
10779
12756
  var backgroundColorNames = Object.keys(styles.bgColor);
10780
- var colorNames = [...foregroundColorNames, ...backgroundColorNames];
12757
+ [...foregroundColorNames, ...backgroundColorNames];
10781
12758
  function assembleStyles() {
10782
12759
  const codes = /* @__PURE__ */ new Map();
10783
12760
  for (const [groupName, group] of Object.entries(styles)) {
@@ -10894,13 +12871,13 @@ function assembleStyles() {
10894
12871
  }
10895
12872
  var ansiStyles = assembleStyles();
10896
12873
  var ansi_styles_default = ansiStyles;
10897
- function hasFlag(flag, argv = globalThis.Deno ? globalThis.Deno.args : import_process2.default.argv) {
12874
+ function hasFlag(flag, argv = globalThis.Deno ? globalThis.Deno.args : import_process.default.argv) {
10898
12875
  const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
10899
12876
  const position = argv.indexOf(prefix + flag);
10900
12877
  const terminatorPosition = argv.indexOf("--");
10901
12878
  return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
10902
12879
  }
10903
- var { env } = import_process2.default;
12880
+ var { env } = import_process.default;
10904
12881
  var flagForceColor;
10905
12882
  if (hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false") || hasFlag("color=never")) {
10906
12883
  flagForceColor = 0;
@@ -10956,7 +12933,7 @@ function _supportsColor(haveStream, { streamIsTTY, sniffFlags = true } = {}) {
10956
12933
  if (env.TERM === "dumb") {
10957
12934
  return min;
10958
12935
  }
10959
- if (import_process2.default.platform === "win32") {
12936
+ if (import_process.default.platform === "win32") {
10960
12937
  const osRelease = import_os.default.release().split(".");
10961
12938
  if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
10962
12939
  return Number(osRelease[2]) >= 14931 ? 3 : 2;
@@ -11192,7 +13169,7 @@ var applyStyle = (self, string) => {
11192
13169
  };
11193
13170
  Object.defineProperties(createChalk.prototype, styles2);
11194
13171
  var chalk = createChalk();
11195
- var chalkStderr = createChalk({ level: stderrColor ? stderrColor.level : 0 });
13172
+ createChalk({ level: stderrColor ? stderrColor.level : 0 });
11196
13173
  var source_default = chalk;
11197
13174
  function log(message) {
11198
13175
  return import_process.default.stdout.write(`${message}
@@ -11575,10 +13552,10 @@ var styles3 = {
11575
13552
  bgWhiteBright: [107, 49]
11576
13553
  }
11577
13554
  };
11578
- var modifierNames2 = Object.keys(styles3.modifier);
13555
+ var modifierNames = Object.keys(styles3.modifier);
11579
13556
  var foregroundColorNames2 = Object.keys(styles3.color);
11580
13557
  var backgroundColorNames2 = Object.keys(styles3.bgColor);
11581
- var colorNames2 = [...foregroundColorNames2, ...backgroundColorNames2];
13558
+ var colorNames = [...foregroundColorNames2, ...backgroundColorNames2];
11582
13559
  function assembleStyles2() {
11583
13560
  const codes = /* @__PURE__ */ new Map();
11584
13561
  for (const [groupName, group] of Object.entries(styles3)) {
@@ -12004,7 +13981,7 @@ var applyStyle2 = (self, string) => {
12004
13981
  };
12005
13982
  Object.defineProperties(createChalk2.prototype, styles4);
12006
13983
  var chalk2 = createChalk2();
12007
- var chalkStderr2 = createChalk2({ level: stderrColor2 ? stderrColor2.level : 0 });
13984
+ var chalkStderr = createChalk2({ level: stderrColor2 ? stderrColor2.level : 0 });
12008
13985
  var source_default2 = chalk2;
12009
13986
 
12010
13987
  // ../../node_modules/.pnpm/update-notifier@6.0.2/node_modules/update-notifier/update-notifier.js
@@ -17270,7 +19247,7 @@ function registryUrl(scope) {
17270
19247
 
17271
19248
  // ../../node_modules/.pnpm/package-json@8.1.1/node_modules/package-json/index.js
17272
19249
  var import_registry_auth_token = __toESM(require_registry_auth_token(), 1);
17273
- var import_semver2 = __toESM(require_semver2(), 1);
19250
+ var import_semver2 = __toESM(require_semver4(), 1);
17274
19251
  var agentOptions = {
17275
19252
  keepAlive: true,
17276
19253
  maxSockets: 50
@@ -17633,10 +19610,10 @@ var styles5 = {
17633
19610
  bgWhiteBright: [107, 49]
17634
19611
  }
17635
19612
  };
17636
- var modifierNames3 = Object.keys(styles5.modifier);
19613
+ var modifierNames2 = Object.keys(styles5.modifier);
17637
19614
  var foregroundColorNames3 = Object.keys(styles5.color);
17638
19615
  var backgroundColorNames3 = Object.keys(styles5.bgColor);
17639
- var colorNames3 = [...foregroundColorNames3, ...backgroundColorNames3];
19616
+ var colorNames2 = [...foregroundColorNames3, ...backgroundColorNames3];
17640
19617
  function assembleStyles3() {
17641
19618
  const codes = /* @__PURE__ */ new Map();
17642
19619
  for (const [groupName, group] of Object.entries(styles5)) {
@@ -18393,7 +20370,7 @@ function updateNotifier(options) {
18393
20370
  // package.json
18394
20371
  var package_default = {
18395
20372
  name: "@terai/dev",
18396
- version: "0.0.7",
20373
+ version: "0.0.9",
18397
20374
  description: "The user-facing package for Terai",
18398
20375
  main: "dist/index.js",
18399
20376
  module: "dist/index.mjs",
@@ -18643,6 +20620,9 @@ var import_extractor = require("@terai/extractor");
18643
20620
 
18644
20621
  // ../generator/dist/index.mjs
18645
20622
  init_cjs_shims();
20623
+
20624
+ // ../generator/dist/chunk-N4N3TZO6.mjs
20625
+ init_cjs_shims();
18646
20626
  var import_runtime2 = require("@terai/runtime");
18647
20627
  var import_utils = require("@terai/utils");
18648
20628
  async function generate({