ph-cmd 6.0.0-dev.56 → 6.0.0-dev.58

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.
@@ -9700,6 +9700,1789 @@ var require_semver2 = __commonJS((exports, module) => {
9700
9700
  };
9701
9701
  });
9702
9702
 
9703
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/constants.js
9704
+ var require_constants2 = __commonJS((exports, module) => {
9705
+ var SEMVER_SPEC_VERSION = "2.0.0";
9706
+ var MAX_LENGTH2 = 256;
9707
+ var MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || 9007199254740991;
9708
+ var MAX_SAFE_COMPONENT_LENGTH = 16;
9709
+ var MAX_SAFE_BUILD_LENGTH = MAX_LENGTH2 - 6;
9710
+ var RELEASE_TYPES = [
9711
+ "major",
9712
+ "premajor",
9713
+ "minor",
9714
+ "preminor",
9715
+ "patch",
9716
+ "prepatch",
9717
+ "prerelease"
9718
+ ];
9719
+ module.exports = {
9720
+ MAX_LENGTH: MAX_LENGTH2,
9721
+ MAX_SAFE_COMPONENT_LENGTH,
9722
+ MAX_SAFE_BUILD_LENGTH,
9723
+ MAX_SAFE_INTEGER,
9724
+ RELEASE_TYPES,
9725
+ SEMVER_SPEC_VERSION,
9726
+ FLAG_INCLUDE_PRERELEASE: 1,
9727
+ FLAG_LOOSE: 2
9728
+ };
9729
+ });
9730
+
9731
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/debug.js
9732
+ var require_debug2 = __commonJS((exports, module) => {
9733
+ var debug = typeof process === "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...args) => console.error("SEMVER", ...args) : () => {};
9734
+ module.exports = debug;
9735
+ });
9736
+
9737
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/re.js
9738
+ var require_re2 = __commonJS((exports, module) => {
9739
+ var {
9740
+ MAX_SAFE_COMPONENT_LENGTH,
9741
+ MAX_SAFE_BUILD_LENGTH,
9742
+ MAX_LENGTH: MAX_LENGTH2
9743
+ } = require_constants2();
9744
+ var debug = require_debug2();
9745
+ exports = module.exports = {};
9746
+ var re = exports.re = [];
9747
+ var safeRe = exports.safeRe = [];
9748
+ var src = exports.src = [];
9749
+ var safeSrc = exports.safeSrc = [];
9750
+ var t = exports.t = {};
9751
+ var R = 0;
9752
+ var LETTERDASHNUMBER = "[a-zA-Z0-9-]";
9753
+ var safeRegexReplacements = [
9754
+ ["\\s", 1],
9755
+ ["\\d", MAX_LENGTH2],
9756
+ [LETTERDASHNUMBER, MAX_SAFE_BUILD_LENGTH]
9757
+ ];
9758
+ var makeSafeRegex = (value2) => {
9759
+ for (const [token, max] of safeRegexReplacements) {
9760
+ value2 = value2.split(`${token}*`).join(`${token}{0,${max}}`).split(`${token}+`).join(`${token}{1,${max}}`);
9761
+ }
9762
+ return value2;
9763
+ };
9764
+ var createToken = (name, value2, isGlobal) => {
9765
+ const safe = makeSafeRegex(value2);
9766
+ const index = R++;
9767
+ debug(name, index, value2);
9768
+ t[name] = index;
9769
+ src[index] = value2;
9770
+ safeSrc[index] = safe;
9771
+ re[index] = new RegExp(value2, isGlobal ? "g" : undefined);
9772
+ safeRe[index] = new RegExp(safe, isGlobal ? "g" : undefined);
9773
+ };
9774
+ createToken("NUMERICIDENTIFIER", "0|[1-9]\\d*");
9775
+ createToken("NUMERICIDENTIFIERLOOSE", "\\d+");
9776
+ createToken("NONNUMERICIDENTIFIER", `\\d*[a-zA-Z-]${LETTERDASHNUMBER}*`);
9777
+ createToken("MAINVERSION", `(${src[t.NUMERICIDENTIFIER]})\\.` + `(${src[t.NUMERICIDENTIFIER]})\\.` + `(${src[t.NUMERICIDENTIFIER]})`);
9778
+ createToken("MAINVERSIONLOOSE", `(${src[t.NUMERICIDENTIFIERLOOSE]})\\.` + `(${src[t.NUMERICIDENTIFIERLOOSE]})\\.` + `(${src[t.NUMERICIDENTIFIERLOOSE]})`);
9779
+ createToken("PRERELEASEIDENTIFIER", `(?:${src[t.NONNUMERICIDENTIFIER]}|${src[t.NUMERICIDENTIFIER]})`);
9780
+ createToken("PRERELEASEIDENTIFIERLOOSE", `(?:${src[t.NONNUMERICIDENTIFIER]}|${src[t.NUMERICIDENTIFIERLOOSE]})`);
9781
+ createToken("PRERELEASE", `(?:-(${src[t.PRERELEASEIDENTIFIER]}(?:\\.${src[t.PRERELEASEIDENTIFIER]})*))`);
9782
+ createToken("PRERELEASELOOSE", `(?:-?(${src[t.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${src[t.PRERELEASEIDENTIFIERLOOSE]})*))`);
9783
+ createToken("BUILDIDENTIFIER", `${LETTERDASHNUMBER}+`);
9784
+ createToken("BUILD", `(?:\\+(${src[t.BUILDIDENTIFIER]}(?:\\.${src[t.BUILDIDENTIFIER]})*))`);
9785
+ createToken("FULLPLAIN", `v?${src[t.MAINVERSION]}${src[t.PRERELEASE]}?${src[t.BUILD]}?`);
9786
+ createToken("FULL", `^${src[t.FULLPLAIN]}$`);
9787
+ createToken("LOOSEPLAIN", `[v=\\s]*${src[t.MAINVERSIONLOOSE]}${src[t.PRERELEASELOOSE]}?${src[t.BUILD]}?`);
9788
+ createToken("LOOSE", `^${src[t.LOOSEPLAIN]}$`);
9789
+ createToken("GTLT", "((?:<|>)?=?)");
9790
+ createToken("XRANGEIDENTIFIERLOOSE", `${src[t.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);
9791
+ createToken("XRANGEIDENTIFIER", `${src[t.NUMERICIDENTIFIER]}|x|X|\\*`);
9792
+ createToken("XRANGEPLAIN", `[v=\\s]*(${src[t.XRANGEIDENTIFIER]})` + `(?:\\.(${src[t.XRANGEIDENTIFIER]})` + `(?:\\.(${src[t.XRANGEIDENTIFIER]})` + `(?:${src[t.PRERELEASE]})?${src[t.BUILD]}?` + `)?)?`);
9793
+ createToken("XRANGEPLAINLOOSE", `[v=\\s]*(${src[t.XRANGEIDENTIFIERLOOSE]})` + `(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})` + `(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})` + `(?:${src[t.PRERELEASELOOSE]})?${src[t.BUILD]}?` + `)?)?`);
9794
+ createToken("XRANGE", `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAIN]}$`);
9795
+ createToken("XRANGELOOSE", `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAINLOOSE]}$`);
9796
+ createToken("COERCEPLAIN", `${"(^|[^\\d])" + "(\\d{1,"}${MAX_SAFE_COMPONENT_LENGTH}})` + `(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?` + `(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?`);
9797
+ createToken("COERCE", `${src[t.COERCEPLAIN]}(?:$|[^\\d])`);
9798
+ createToken("COERCEFULL", src[t.COERCEPLAIN] + `(?:${src[t.PRERELEASE]})?` + `(?:${src[t.BUILD]})?` + `(?:$|[^\\d])`);
9799
+ createToken("COERCERTL", src[t.COERCE], true);
9800
+ createToken("COERCERTLFULL", src[t.COERCEFULL], true);
9801
+ createToken("LONETILDE", "(?:~>?)");
9802
+ createToken("TILDETRIM", `(\\s*)${src[t.LONETILDE]}\\s+`, true);
9803
+ exports.tildeTrimReplace = "$1~";
9804
+ createToken("TILDE", `^${src[t.LONETILDE]}${src[t.XRANGEPLAIN]}$`);
9805
+ createToken("TILDELOOSE", `^${src[t.LONETILDE]}${src[t.XRANGEPLAINLOOSE]}$`);
9806
+ createToken("LONECARET", "(?:\\^)");
9807
+ createToken("CARETTRIM", `(\\s*)${src[t.LONECARET]}\\s+`, true);
9808
+ exports.caretTrimReplace = "$1^";
9809
+ createToken("CARET", `^${src[t.LONECARET]}${src[t.XRANGEPLAIN]}$`);
9810
+ createToken("CARETLOOSE", `^${src[t.LONECARET]}${src[t.XRANGEPLAINLOOSE]}$`);
9811
+ createToken("COMPARATORLOOSE", `^${src[t.GTLT]}\\s*(${src[t.LOOSEPLAIN]})$|^$`);
9812
+ createToken("COMPARATOR", `^${src[t.GTLT]}\\s*(${src[t.FULLPLAIN]})$|^$`);
9813
+ createToken("COMPARATORTRIM", `(\\s*)${src[t.GTLT]}\\s*(${src[t.LOOSEPLAIN]}|${src[t.XRANGEPLAIN]})`, true);
9814
+ exports.comparatorTrimReplace = "$1$2$3";
9815
+ createToken("HYPHENRANGE", `^\\s*(${src[t.XRANGEPLAIN]})` + `\\s+-\\s+` + `(${src[t.XRANGEPLAIN]})` + `\\s*$`);
9816
+ createToken("HYPHENRANGELOOSE", `^\\s*(${src[t.XRANGEPLAINLOOSE]})` + `\\s+-\\s+` + `(${src[t.XRANGEPLAINLOOSE]})` + `\\s*$`);
9817
+ createToken("STAR", "(<|>)?=?\\s*\\*");
9818
+ createToken("GTE0", "^\\s*>=\\s*0\\.0\\.0\\s*$");
9819
+ createToken("GTE0PRE", "^\\s*>=\\s*0\\.0\\.0-0\\s*$");
9820
+ });
9821
+
9822
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/parse-options.js
9823
+ var require_parse_options2 = __commonJS((exports, module) => {
9824
+ var looseOption = Object.freeze({ loose: true });
9825
+ var emptyOpts = Object.freeze({});
9826
+ var parseOptions = (options) => {
9827
+ if (!options) {
9828
+ return emptyOpts;
9829
+ }
9830
+ if (typeof options !== "object") {
9831
+ return looseOption;
9832
+ }
9833
+ return options;
9834
+ };
9835
+ module.exports = parseOptions;
9836
+ });
9837
+
9838
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/identifiers.js
9839
+ var require_identifiers2 = __commonJS((exports, module) => {
9840
+ var numeric = /^[0-9]+$/;
9841
+ var compareIdentifiers = (a, b) => {
9842
+ if (typeof a === "number" && typeof b === "number") {
9843
+ return a === b ? 0 : a < b ? -1 : 1;
9844
+ }
9845
+ const anum = numeric.test(a);
9846
+ const bnum = numeric.test(b);
9847
+ if (anum && bnum) {
9848
+ a = +a;
9849
+ b = +b;
9850
+ }
9851
+ return a === b ? 0 : anum && !bnum ? -1 : bnum && !anum ? 1 : a < b ? -1 : 1;
9852
+ };
9853
+ var rcompareIdentifiers = (a, b) => compareIdentifiers(b, a);
9854
+ module.exports = {
9855
+ compareIdentifiers,
9856
+ rcompareIdentifiers
9857
+ };
9858
+ });
9859
+
9860
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/classes/semver.js
9861
+ var require_semver3 = __commonJS((exports, module) => {
9862
+ var debug = require_debug2();
9863
+ var { MAX_LENGTH: MAX_LENGTH2, MAX_SAFE_INTEGER } = require_constants2();
9864
+ var { safeRe: re, t } = require_re2();
9865
+ var parseOptions = require_parse_options2();
9866
+ var { compareIdentifiers } = require_identifiers2();
9867
+
9868
+ class SemVer {
9869
+ constructor(version, options) {
9870
+ options = parseOptions(options);
9871
+ if (version instanceof SemVer) {
9872
+ if (version.loose === !!options.loose && version.includePrerelease === !!options.includePrerelease) {
9873
+ return version;
9874
+ } else {
9875
+ version = version.version;
9876
+ }
9877
+ } else if (typeof version !== "string") {
9878
+ throw new TypeError(`Invalid version. Must be a string. Got type "${typeof version}".`);
9879
+ }
9880
+ if (version.length > MAX_LENGTH2) {
9881
+ throw new TypeError(`version is longer than ${MAX_LENGTH2} characters`);
9882
+ }
9883
+ debug("SemVer", version, options);
9884
+ this.options = options;
9885
+ this.loose = !!options.loose;
9886
+ this.includePrerelease = !!options.includePrerelease;
9887
+ const m = version.trim().match(options.loose ? re[t.LOOSE] : re[t.FULL]);
9888
+ if (!m) {
9889
+ throw new TypeError(`Invalid Version: ${version}`);
9890
+ }
9891
+ this.raw = version;
9892
+ this.major = +m[1];
9893
+ this.minor = +m[2];
9894
+ this.patch = +m[3];
9895
+ if (this.major > MAX_SAFE_INTEGER || this.major < 0) {
9896
+ throw new TypeError("Invalid major version");
9897
+ }
9898
+ if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) {
9899
+ throw new TypeError("Invalid minor version");
9900
+ }
9901
+ if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) {
9902
+ throw new TypeError("Invalid patch version");
9903
+ }
9904
+ if (!m[4]) {
9905
+ this.prerelease = [];
9906
+ } else {
9907
+ this.prerelease = m[4].split(".").map((id) => {
9908
+ if (/^[0-9]+$/.test(id)) {
9909
+ const num = +id;
9910
+ if (num >= 0 && num < MAX_SAFE_INTEGER) {
9911
+ return num;
9912
+ }
9913
+ }
9914
+ return id;
9915
+ });
9916
+ }
9917
+ this.build = m[5] ? m[5].split(".") : [];
9918
+ this.format();
9919
+ }
9920
+ format() {
9921
+ this.version = `${this.major}.${this.minor}.${this.patch}`;
9922
+ if (this.prerelease.length) {
9923
+ this.version += `-${this.prerelease.join(".")}`;
9924
+ }
9925
+ return this.version;
9926
+ }
9927
+ toString() {
9928
+ return this.version;
9929
+ }
9930
+ compare(other) {
9931
+ debug("SemVer.compare", this.version, this.options, other);
9932
+ if (!(other instanceof SemVer)) {
9933
+ if (typeof other === "string" && other === this.version) {
9934
+ return 0;
9935
+ }
9936
+ other = new SemVer(other, this.options);
9937
+ }
9938
+ if (other.version === this.version) {
9939
+ return 0;
9940
+ }
9941
+ return this.compareMain(other) || this.comparePre(other);
9942
+ }
9943
+ compareMain(other) {
9944
+ if (!(other instanceof SemVer)) {
9945
+ other = new SemVer(other, this.options);
9946
+ }
9947
+ if (this.major < other.major) {
9948
+ return -1;
9949
+ }
9950
+ if (this.major > other.major) {
9951
+ return 1;
9952
+ }
9953
+ if (this.minor < other.minor) {
9954
+ return -1;
9955
+ }
9956
+ if (this.minor > other.minor) {
9957
+ return 1;
9958
+ }
9959
+ if (this.patch < other.patch) {
9960
+ return -1;
9961
+ }
9962
+ if (this.patch > other.patch) {
9963
+ return 1;
9964
+ }
9965
+ return 0;
9966
+ }
9967
+ comparePre(other) {
9968
+ if (!(other instanceof SemVer)) {
9969
+ other = new SemVer(other, this.options);
9970
+ }
9971
+ if (this.prerelease.length && !other.prerelease.length) {
9972
+ return -1;
9973
+ } else if (!this.prerelease.length && other.prerelease.length) {
9974
+ return 1;
9975
+ } else if (!this.prerelease.length && !other.prerelease.length) {
9976
+ return 0;
9977
+ }
9978
+ let i = 0;
9979
+ do {
9980
+ const a = this.prerelease[i];
9981
+ const b = other.prerelease[i];
9982
+ debug("prerelease compare", i, a, b);
9983
+ if (a === undefined && b === undefined) {
9984
+ return 0;
9985
+ } else if (b === undefined) {
9986
+ return 1;
9987
+ } else if (a === undefined) {
9988
+ return -1;
9989
+ } else if (a === b) {
9990
+ continue;
9991
+ } else {
9992
+ return compareIdentifiers(a, b);
9993
+ }
9994
+ } while (++i);
9995
+ }
9996
+ compareBuild(other) {
9997
+ if (!(other instanceof SemVer)) {
9998
+ other = new SemVer(other, this.options);
9999
+ }
10000
+ let i = 0;
10001
+ do {
10002
+ const a = this.build[i];
10003
+ const b = other.build[i];
10004
+ debug("build compare", i, a, b);
10005
+ if (a === undefined && b === undefined) {
10006
+ return 0;
10007
+ } else if (b === undefined) {
10008
+ return 1;
10009
+ } else if (a === undefined) {
10010
+ return -1;
10011
+ } else if (a === b) {
10012
+ continue;
10013
+ } else {
10014
+ return compareIdentifiers(a, b);
10015
+ }
10016
+ } while (++i);
10017
+ }
10018
+ inc(release, identifier, identifierBase) {
10019
+ if (release.startsWith("pre")) {
10020
+ if (!identifier && identifierBase === false) {
10021
+ throw new Error("invalid increment argument: identifier is empty");
10022
+ }
10023
+ if (identifier) {
10024
+ const match = `-${identifier}`.match(this.options.loose ? re[t.PRERELEASELOOSE] : re[t.PRERELEASE]);
10025
+ if (!match || match[1] !== identifier) {
10026
+ throw new Error(`invalid identifier: ${identifier}`);
10027
+ }
10028
+ }
10029
+ }
10030
+ switch (release) {
10031
+ case "premajor":
10032
+ this.prerelease.length = 0;
10033
+ this.patch = 0;
10034
+ this.minor = 0;
10035
+ this.major++;
10036
+ this.inc("pre", identifier, identifierBase);
10037
+ break;
10038
+ case "preminor":
10039
+ this.prerelease.length = 0;
10040
+ this.patch = 0;
10041
+ this.minor++;
10042
+ this.inc("pre", identifier, identifierBase);
10043
+ break;
10044
+ case "prepatch":
10045
+ this.prerelease.length = 0;
10046
+ this.inc("patch", identifier, identifierBase);
10047
+ this.inc("pre", identifier, identifierBase);
10048
+ break;
10049
+ case "prerelease":
10050
+ if (this.prerelease.length === 0) {
10051
+ this.inc("patch", identifier, identifierBase);
10052
+ }
10053
+ this.inc("pre", identifier, identifierBase);
10054
+ break;
10055
+ case "release":
10056
+ if (this.prerelease.length === 0) {
10057
+ throw new Error(`version ${this.raw} is not a prerelease`);
10058
+ }
10059
+ this.prerelease.length = 0;
10060
+ break;
10061
+ case "major":
10062
+ if (this.minor !== 0 || this.patch !== 0 || this.prerelease.length === 0) {
10063
+ this.major++;
10064
+ }
10065
+ this.minor = 0;
10066
+ this.patch = 0;
10067
+ this.prerelease = [];
10068
+ break;
10069
+ case "minor":
10070
+ if (this.patch !== 0 || this.prerelease.length === 0) {
10071
+ this.minor++;
10072
+ }
10073
+ this.patch = 0;
10074
+ this.prerelease = [];
10075
+ break;
10076
+ case "patch":
10077
+ if (this.prerelease.length === 0) {
10078
+ this.patch++;
10079
+ }
10080
+ this.prerelease = [];
10081
+ break;
10082
+ case "pre": {
10083
+ const base = Number(identifierBase) ? 1 : 0;
10084
+ if (this.prerelease.length === 0) {
10085
+ this.prerelease = [base];
10086
+ } else {
10087
+ let i = this.prerelease.length;
10088
+ while (--i >= 0) {
10089
+ if (typeof this.prerelease[i] === "number") {
10090
+ this.prerelease[i]++;
10091
+ i = -2;
10092
+ }
10093
+ }
10094
+ if (i === -1) {
10095
+ if (identifier === this.prerelease.join(".") && identifierBase === false) {
10096
+ throw new Error("invalid increment argument: identifier already exists");
10097
+ }
10098
+ this.prerelease.push(base);
10099
+ }
10100
+ }
10101
+ if (identifier) {
10102
+ let prerelease = [identifier, base];
10103
+ if (identifierBase === false) {
10104
+ prerelease = [identifier];
10105
+ }
10106
+ if (compareIdentifiers(this.prerelease[0], identifier) === 0) {
10107
+ if (isNaN(this.prerelease[1])) {
10108
+ this.prerelease = prerelease;
10109
+ }
10110
+ } else {
10111
+ this.prerelease = prerelease;
10112
+ }
10113
+ }
10114
+ break;
10115
+ }
10116
+ default:
10117
+ throw new Error(`invalid increment argument: ${release}`);
10118
+ }
10119
+ this.raw = this.format();
10120
+ if (this.build.length) {
10121
+ this.raw += `+${this.build.join(".")}`;
10122
+ }
10123
+ return this;
10124
+ }
10125
+ }
10126
+ module.exports = SemVer;
10127
+ });
10128
+
10129
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/parse.js
10130
+ var require_parse3 = __commonJS((exports, module) => {
10131
+ var SemVer = require_semver3();
10132
+ var parse3 = (version, options, throwErrors = false) => {
10133
+ if (version instanceof SemVer) {
10134
+ return version;
10135
+ }
10136
+ try {
10137
+ return new SemVer(version, options);
10138
+ } catch (er) {
10139
+ if (!throwErrors) {
10140
+ return null;
10141
+ }
10142
+ throw er;
10143
+ }
10144
+ };
10145
+ module.exports = parse3;
10146
+ });
10147
+
10148
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/valid.js
10149
+ var require_valid3 = __commonJS((exports, module) => {
10150
+ var parse3 = require_parse3();
10151
+ var valid2 = (version, options) => {
10152
+ const v = parse3(version, options);
10153
+ return v ? v.version : null;
10154
+ };
10155
+ module.exports = valid2;
10156
+ });
10157
+
10158
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/clean.js
10159
+ var require_clean2 = __commonJS((exports, module) => {
10160
+ var parse3 = require_parse3();
10161
+ var clean2 = (version, options) => {
10162
+ const s = parse3(version.trim().replace(/^[=v]+/, ""), options);
10163
+ return s ? s.version : null;
10164
+ };
10165
+ module.exports = clean2;
10166
+ });
10167
+
10168
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/inc.js
10169
+ var require_inc2 = __commonJS((exports, module) => {
10170
+ var SemVer = require_semver3();
10171
+ var inc = (version, release, options, identifier, identifierBase) => {
10172
+ if (typeof options === "string") {
10173
+ identifierBase = identifier;
10174
+ identifier = options;
10175
+ options = undefined;
10176
+ }
10177
+ try {
10178
+ return new SemVer(version instanceof SemVer ? version.version : version, options).inc(release, identifier, identifierBase).version;
10179
+ } catch (er) {
10180
+ return null;
10181
+ }
10182
+ };
10183
+ module.exports = inc;
10184
+ });
10185
+
10186
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/diff.js
10187
+ var require_diff2 = __commonJS((exports, module) => {
10188
+ var parse3 = require_parse3();
10189
+ var diff2 = (version1, version2) => {
10190
+ const v1 = parse3(version1, null, true);
10191
+ const v2 = parse3(version2, null, true);
10192
+ const comparison = v1.compare(v2);
10193
+ if (comparison === 0) {
10194
+ return null;
10195
+ }
10196
+ const v1Higher = comparison > 0;
10197
+ const highVersion = v1Higher ? v1 : v2;
10198
+ const lowVersion = v1Higher ? v2 : v1;
10199
+ const highHasPre = !!highVersion.prerelease.length;
10200
+ const lowHasPre = !!lowVersion.prerelease.length;
10201
+ if (lowHasPre && !highHasPre) {
10202
+ if (!lowVersion.patch && !lowVersion.minor) {
10203
+ return "major";
10204
+ }
10205
+ if (lowVersion.compareMain(highVersion) === 0) {
10206
+ if (lowVersion.minor && !lowVersion.patch) {
10207
+ return "minor";
10208
+ }
10209
+ return "patch";
10210
+ }
10211
+ }
10212
+ const prefix = highHasPre ? "pre" : "";
10213
+ if (v1.major !== v2.major) {
10214
+ return prefix + "major";
10215
+ }
10216
+ if (v1.minor !== v2.minor) {
10217
+ return prefix + "minor";
10218
+ }
10219
+ if (v1.patch !== v2.patch) {
10220
+ return prefix + "patch";
10221
+ }
10222
+ return "prerelease";
10223
+ };
10224
+ module.exports = diff2;
10225
+ });
10226
+
10227
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/major.js
10228
+ var require_major2 = __commonJS((exports, module) => {
10229
+ var SemVer = require_semver3();
10230
+ var major = (a, loose) => new SemVer(a, loose).major;
10231
+ module.exports = major;
10232
+ });
10233
+
10234
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/minor.js
10235
+ var require_minor2 = __commonJS((exports, module) => {
10236
+ var SemVer = require_semver3();
10237
+ var minor = (a, loose) => new SemVer(a, loose).minor;
10238
+ module.exports = minor;
10239
+ });
10240
+
10241
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/patch.js
10242
+ var require_patch2 = __commonJS((exports, module) => {
10243
+ var SemVer = require_semver3();
10244
+ var patch = (a, loose) => new SemVer(a, loose).patch;
10245
+ module.exports = patch;
10246
+ });
10247
+
10248
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/prerelease.js
10249
+ var require_prerelease2 = __commonJS((exports, module) => {
10250
+ var parse3 = require_parse3();
10251
+ var prerelease = (version, options) => {
10252
+ const parsed = parse3(version, options);
10253
+ return parsed && parsed.prerelease.length ? parsed.prerelease : null;
10254
+ };
10255
+ module.exports = prerelease;
10256
+ });
10257
+
10258
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/compare.js
10259
+ var require_compare2 = __commonJS((exports, module) => {
10260
+ var SemVer = require_semver3();
10261
+ var compare = (a, b, loose) => new SemVer(a, loose).compare(new SemVer(b, loose));
10262
+ module.exports = compare;
10263
+ });
10264
+
10265
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/rcompare.js
10266
+ var require_rcompare2 = __commonJS((exports, module) => {
10267
+ var compare = require_compare2();
10268
+ var rcompare = (a, b, loose) => compare(b, a, loose);
10269
+ module.exports = rcompare;
10270
+ });
10271
+
10272
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/compare-loose.js
10273
+ var require_compare_loose2 = __commonJS((exports, module) => {
10274
+ var compare = require_compare2();
10275
+ var compareLoose = (a, b) => compare(a, b, true);
10276
+ module.exports = compareLoose;
10277
+ });
10278
+
10279
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/compare-build.js
10280
+ var require_compare_build2 = __commonJS((exports, module) => {
10281
+ var SemVer = require_semver3();
10282
+ var compareBuild = (a, b, loose) => {
10283
+ const versionA = new SemVer(a, loose);
10284
+ const versionB = new SemVer(b, loose);
10285
+ return versionA.compare(versionB) || versionA.compareBuild(versionB);
10286
+ };
10287
+ module.exports = compareBuild;
10288
+ });
10289
+
10290
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/sort.js
10291
+ var require_sort2 = __commonJS((exports, module) => {
10292
+ var compareBuild = require_compare_build2();
10293
+ var sort = (list, loose) => list.sort((a, b) => compareBuild(a, b, loose));
10294
+ module.exports = sort;
10295
+ });
10296
+
10297
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/rsort.js
10298
+ var require_rsort2 = __commonJS((exports, module) => {
10299
+ var compareBuild = require_compare_build2();
10300
+ var rsort = (list, loose) => list.sort((a, b) => compareBuild(b, a, loose));
10301
+ module.exports = rsort;
10302
+ });
10303
+
10304
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/gt.js
10305
+ var require_gt2 = __commonJS((exports, module) => {
10306
+ var compare = require_compare2();
10307
+ var gt = (a, b, loose) => compare(a, b, loose) > 0;
10308
+ module.exports = gt;
10309
+ });
10310
+
10311
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/lt.js
10312
+ var require_lt2 = __commonJS((exports, module) => {
10313
+ var compare = require_compare2();
10314
+ var lt = (a, b, loose) => compare(a, b, loose) < 0;
10315
+ module.exports = lt;
10316
+ });
10317
+
10318
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/eq.js
10319
+ var require_eq2 = __commonJS((exports, module) => {
10320
+ var compare = require_compare2();
10321
+ var eq = (a, b, loose) => compare(a, b, loose) === 0;
10322
+ module.exports = eq;
10323
+ });
10324
+
10325
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/neq.js
10326
+ var require_neq2 = __commonJS((exports, module) => {
10327
+ var compare = require_compare2();
10328
+ var neq = (a, b, loose) => compare(a, b, loose) !== 0;
10329
+ module.exports = neq;
10330
+ });
10331
+
10332
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/gte.js
10333
+ var require_gte2 = __commonJS((exports, module) => {
10334
+ var compare = require_compare2();
10335
+ var gte = (a, b, loose) => compare(a, b, loose) >= 0;
10336
+ module.exports = gte;
10337
+ });
10338
+
10339
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/lte.js
10340
+ var require_lte2 = __commonJS((exports, module) => {
10341
+ var compare = require_compare2();
10342
+ var lte = (a, b, loose) => compare(a, b, loose) <= 0;
10343
+ module.exports = lte;
10344
+ });
10345
+
10346
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/cmp.js
10347
+ var require_cmp2 = __commonJS((exports, module) => {
10348
+ var eq = require_eq2();
10349
+ var neq = require_neq2();
10350
+ var gt = require_gt2();
10351
+ var gte = require_gte2();
10352
+ var lt = require_lt2();
10353
+ var lte = require_lte2();
10354
+ var cmp = (a, op, b, loose) => {
10355
+ switch (op) {
10356
+ case "===":
10357
+ if (typeof a === "object") {
10358
+ a = a.version;
10359
+ }
10360
+ if (typeof b === "object") {
10361
+ b = b.version;
10362
+ }
10363
+ return a === b;
10364
+ case "!==":
10365
+ if (typeof a === "object") {
10366
+ a = a.version;
10367
+ }
10368
+ if (typeof b === "object") {
10369
+ b = b.version;
10370
+ }
10371
+ return a !== b;
10372
+ case "":
10373
+ case "=":
10374
+ case "==":
10375
+ return eq(a, b, loose);
10376
+ case "!=":
10377
+ return neq(a, b, loose);
10378
+ case ">":
10379
+ return gt(a, b, loose);
10380
+ case ">=":
10381
+ return gte(a, b, loose);
10382
+ case "<":
10383
+ return lt(a, b, loose);
10384
+ case "<=":
10385
+ return lte(a, b, loose);
10386
+ default:
10387
+ throw new TypeError(`Invalid operator: ${op}`);
10388
+ }
10389
+ };
10390
+ module.exports = cmp;
10391
+ });
10392
+
10393
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/coerce.js
10394
+ var require_coerce2 = __commonJS((exports, module) => {
10395
+ var SemVer = require_semver3();
10396
+ var parse3 = require_parse3();
10397
+ var { safeRe: re, t } = require_re2();
10398
+ var coerce = (version, options) => {
10399
+ if (version instanceof SemVer) {
10400
+ return version;
10401
+ }
10402
+ if (typeof version === "number") {
10403
+ version = String(version);
10404
+ }
10405
+ if (typeof version !== "string") {
10406
+ return null;
10407
+ }
10408
+ options = options || {};
10409
+ let match = null;
10410
+ if (!options.rtl) {
10411
+ match = version.match(options.includePrerelease ? re[t.COERCEFULL] : re[t.COERCE]);
10412
+ } else {
10413
+ const coerceRtlRegex = options.includePrerelease ? re[t.COERCERTLFULL] : re[t.COERCERTL];
10414
+ let next;
10415
+ while ((next = coerceRtlRegex.exec(version)) && (!match || match.index + match[0].length !== version.length)) {
10416
+ if (!match || next.index + next[0].length !== match.index + match[0].length) {
10417
+ match = next;
10418
+ }
10419
+ coerceRtlRegex.lastIndex = next.index + next[1].length + next[2].length;
10420
+ }
10421
+ coerceRtlRegex.lastIndex = -1;
10422
+ }
10423
+ if (match === null) {
10424
+ return null;
10425
+ }
10426
+ const major = match[2];
10427
+ const minor = match[3] || "0";
10428
+ const patch = match[4] || "0";
10429
+ const prerelease = options.includePrerelease && match[5] ? `-${match[5]}` : "";
10430
+ const build = options.includePrerelease && match[6] ? `+${match[6]}` : "";
10431
+ return parse3(`${major}.${minor}.${patch}${prerelease}${build}`, options);
10432
+ };
10433
+ module.exports = coerce;
10434
+ });
10435
+
10436
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/lrucache.js
10437
+ var require_lrucache2 = __commonJS((exports, module) => {
10438
+ class LRUCache {
10439
+ constructor() {
10440
+ this.max = 1000;
10441
+ this.map = new Map;
10442
+ }
10443
+ get(key) {
10444
+ const value2 = this.map.get(key);
10445
+ if (value2 === undefined) {
10446
+ return;
10447
+ } else {
10448
+ this.map.delete(key);
10449
+ this.map.set(key, value2);
10450
+ return value2;
10451
+ }
10452
+ }
10453
+ delete(key) {
10454
+ return this.map.delete(key);
10455
+ }
10456
+ set(key, value2) {
10457
+ const deleted = this.delete(key);
10458
+ if (!deleted && value2 !== undefined) {
10459
+ if (this.map.size >= this.max) {
10460
+ const firstKey = this.map.keys().next().value;
10461
+ this.delete(firstKey);
10462
+ }
10463
+ this.map.set(key, value2);
10464
+ }
10465
+ return this;
10466
+ }
10467
+ }
10468
+ module.exports = LRUCache;
10469
+ });
10470
+
10471
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/classes/range.js
10472
+ var require_range2 = __commonJS((exports, module) => {
10473
+ var SPACE_CHARACTERS = /\s+/g;
10474
+
10475
+ class Range {
10476
+ constructor(range, options) {
10477
+ options = parseOptions(options);
10478
+ if (range instanceof Range) {
10479
+ if (range.loose === !!options.loose && range.includePrerelease === !!options.includePrerelease) {
10480
+ return range;
10481
+ } else {
10482
+ return new Range(range.raw, options);
10483
+ }
10484
+ }
10485
+ if (range instanceof Comparator) {
10486
+ this.raw = range.value;
10487
+ this.set = [[range]];
10488
+ this.formatted = undefined;
10489
+ return this;
10490
+ }
10491
+ this.options = options;
10492
+ this.loose = !!options.loose;
10493
+ this.includePrerelease = !!options.includePrerelease;
10494
+ this.raw = range.trim().replace(SPACE_CHARACTERS, " ");
10495
+ this.set = this.raw.split("||").map((r2) => this.parseRange(r2.trim())).filter((c2) => c2.length);
10496
+ if (!this.set.length) {
10497
+ throw new TypeError(`Invalid SemVer Range: ${this.raw}`);
10498
+ }
10499
+ if (this.set.length > 1) {
10500
+ const first = this.set[0];
10501
+ this.set = this.set.filter((c2) => !isNullSet(c2[0]));
10502
+ if (this.set.length === 0) {
10503
+ this.set = [first];
10504
+ } else if (this.set.length > 1) {
10505
+ for (const c2 of this.set) {
10506
+ if (c2.length === 1 && isAny(c2[0])) {
10507
+ this.set = [c2];
10508
+ break;
10509
+ }
10510
+ }
10511
+ }
10512
+ }
10513
+ this.formatted = undefined;
10514
+ }
10515
+ get range() {
10516
+ if (this.formatted === undefined) {
10517
+ this.formatted = "";
10518
+ for (let i = 0;i < this.set.length; i++) {
10519
+ if (i > 0) {
10520
+ this.formatted += "||";
10521
+ }
10522
+ const comps = this.set[i];
10523
+ for (let k = 0;k < comps.length; k++) {
10524
+ if (k > 0) {
10525
+ this.formatted += " ";
10526
+ }
10527
+ this.formatted += comps[k].toString().trim();
10528
+ }
10529
+ }
10530
+ }
10531
+ return this.formatted;
10532
+ }
10533
+ format() {
10534
+ return this.range;
10535
+ }
10536
+ toString() {
10537
+ return this.range;
10538
+ }
10539
+ parseRange(range) {
10540
+ const memoOpts = (this.options.includePrerelease && FLAG_INCLUDE_PRERELEASE) | (this.options.loose && FLAG_LOOSE);
10541
+ const memoKey = memoOpts + ":" + range;
10542
+ const cached = cache.get(memoKey);
10543
+ if (cached) {
10544
+ return cached;
10545
+ }
10546
+ const loose = this.options.loose;
10547
+ const hr = loose ? re[t.HYPHENRANGELOOSE] : re[t.HYPHENRANGE];
10548
+ range = range.replace(hr, hyphenReplace(this.options.includePrerelease));
10549
+ debug("hyphen replace", range);
10550
+ range = range.replace(re[t.COMPARATORTRIM], comparatorTrimReplace);
10551
+ debug("comparator trim", range);
10552
+ range = range.replace(re[t.TILDETRIM], tildeTrimReplace);
10553
+ debug("tilde trim", range);
10554
+ range = range.replace(re[t.CARETTRIM], caretTrimReplace);
10555
+ debug("caret trim", range);
10556
+ let rangeList = range.split(" ").map((comp) => parseComparator(comp, this.options)).join(" ").split(/\s+/).map((comp) => replaceGTE0(comp, this.options));
10557
+ if (loose) {
10558
+ rangeList = rangeList.filter((comp) => {
10559
+ debug("loose invalid filter", comp, this.options);
10560
+ return !!comp.match(re[t.COMPARATORLOOSE]);
10561
+ });
10562
+ }
10563
+ debug("range list", rangeList);
10564
+ const rangeMap = new Map;
10565
+ const comparators = rangeList.map((comp) => new Comparator(comp, this.options));
10566
+ for (const comp of comparators) {
10567
+ if (isNullSet(comp)) {
10568
+ return [comp];
10569
+ }
10570
+ rangeMap.set(comp.value, comp);
10571
+ }
10572
+ if (rangeMap.size > 1 && rangeMap.has("")) {
10573
+ rangeMap.delete("");
10574
+ }
10575
+ const result = [...rangeMap.values()];
10576
+ cache.set(memoKey, result);
10577
+ return result;
10578
+ }
10579
+ intersects(range, options) {
10580
+ if (!(range instanceof Range)) {
10581
+ throw new TypeError("a Range is required");
10582
+ }
10583
+ return this.set.some((thisComparators) => {
10584
+ return isSatisfiable(thisComparators, options) && range.set.some((rangeComparators) => {
10585
+ return isSatisfiable(rangeComparators, options) && thisComparators.every((thisComparator) => {
10586
+ return rangeComparators.every((rangeComparator) => {
10587
+ return thisComparator.intersects(rangeComparator, options);
10588
+ });
10589
+ });
10590
+ });
10591
+ });
10592
+ }
10593
+ test(version) {
10594
+ if (!version) {
10595
+ return false;
10596
+ }
10597
+ if (typeof version === "string") {
10598
+ try {
10599
+ version = new SemVer(version, this.options);
10600
+ } catch (er) {
10601
+ return false;
10602
+ }
10603
+ }
10604
+ for (let i = 0;i < this.set.length; i++) {
10605
+ if (testSet(this.set[i], version, this.options)) {
10606
+ return true;
10607
+ }
10608
+ }
10609
+ return false;
10610
+ }
10611
+ }
10612
+ module.exports = Range;
10613
+ var LRU = require_lrucache2();
10614
+ var cache = new LRU;
10615
+ var parseOptions = require_parse_options2();
10616
+ var Comparator = require_comparator2();
10617
+ var debug = require_debug2();
10618
+ var SemVer = require_semver3();
10619
+ var {
10620
+ safeRe: re,
10621
+ t,
10622
+ comparatorTrimReplace,
10623
+ tildeTrimReplace,
10624
+ caretTrimReplace
10625
+ } = require_re2();
10626
+ var { FLAG_INCLUDE_PRERELEASE, FLAG_LOOSE } = require_constants2();
10627
+ var isNullSet = (c2) => c2.value === "<0.0.0-0";
10628
+ var isAny = (c2) => c2.value === "";
10629
+ var isSatisfiable = (comparators, options) => {
10630
+ let result = true;
10631
+ const remainingComparators = comparators.slice();
10632
+ let testComparator = remainingComparators.pop();
10633
+ while (result && remainingComparators.length) {
10634
+ result = remainingComparators.every((otherComparator) => {
10635
+ return testComparator.intersects(otherComparator, options);
10636
+ });
10637
+ testComparator = remainingComparators.pop();
10638
+ }
10639
+ return result;
10640
+ };
10641
+ var parseComparator = (comp, options) => {
10642
+ comp = comp.replace(re[t.BUILD], "");
10643
+ debug("comp", comp, options);
10644
+ comp = replaceCarets(comp, options);
10645
+ debug("caret", comp);
10646
+ comp = replaceTildes(comp, options);
10647
+ debug("tildes", comp);
10648
+ comp = replaceXRanges(comp, options);
10649
+ debug("xrange", comp);
10650
+ comp = replaceStars(comp, options);
10651
+ debug("stars", comp);
10652
+ return comp;
10653
+ };
10654
+ var isX = (id) => !id || id.toLowerCase() === "x" || id === "*";
10655
+ var replaceTildes = (comp, options) => {
10656
+ return comp.trim().split(/\s+/).map((c2) => replaceTilde(c2, options)).join(" ");
10657
+ };
10658
+ var replaceTilde = (comp, options) => {
10659
+ const r2 = options.loose ? re[t.TILDELOOSE] : re[t.TILDE];
10660
+ return comp.replace(r2, (_, M, m, p, pr) => {
10661
+ debug("tilde", comp, _, M, m, p, pr);
10662
+ let ret;
10663
+ if (isX(M)) {
10664
+ ret = "";
10665
+ } else if (isX(m)) {
10666
+ ret = `>=${M}.0.0 <${+M + 1}.0.0-0`;
10667
+ } else if (isX(p)) {
10668
+ ret = `>=${M}.${m}.0 <${M}.${+m + 1}.0-0`;
10669
+ } else if (pr) {
10670
+ debug("replaceTilde pr", pr);
10671
+ ret = `>=${M}.${m}.${p}-${pr} <${M}.${+m + 1}.0-0`;
10672
+ } else {
10673
+ ret = `>=${M}.${m}.${p} <${M}.${+m + 1}.0-0`;
10674
+ }
10675
+ debug("tilde return", ret);
10676
+ return ret;
10677
+ });
10678
+ };
10679
+ var replaceCarets = (comp, options) => {
10680
+ return comp.trim().split(/\s+/).map((c2) => replaceCaret(c2, options)).join(" ");
10681
+ };
10682
+ var replaceCaret = (comp, options) => {
10683
+ debug("caret", comp, options);
10684
+ const r2 = options.loose ? re[t.CARETLOOSE] : re[t.CARET];
10685
+ const z = options.includePrerelease ? "-0" : "";
10686
+ return comp.replace(r2, (_, M, m, p, pr) => {
10687
+ debug("caret", comp, _, M, m, p, pr);
10688
+ let ret;
10689
+ if (isX(M)) {
10690
+ ret = "";
10691
+ } else if (isX(m)) {
10692
+ ret = `>=${M}.0.0${z} <${+M + 1}.0.0-0`;
10693
+ } else if (isX(p)) {
10694
+ if (M === "0") {
10695
+ ret = `>=${M}.${m}.0${z} <${M}.${+m + 1}.0-0`;
10696
+ } else {
10697
+ ret = `>=${M}.${m}.0${z} <${+M + 1}.0.0-0`;
10698
+ }
10699
+ } else if (pr) {
10700
+ debug("replaceCaret pr", pr);
10701
+ if (M === "0") {
10702
+ if (m === "0") {
10703
+ ret = `>=${M}.${m}.${p}-${pr} <${M}.${m}.${+p + 1}-0`;
10704
+ } else {
10705
+ ret = `>=${M}.${m}.${p}-${pr} <${M}.${+m + 1}.0-0`;
10706
+ }
10707
+ } else {
10708
+ ret = `>=${M}.${m}.${p}-${pr} <${+M + 1}.0.0-0`;
10709
+ }
10710
+ } else {
10711
+ debug("no pr");
10712
+ if (M === "0") {
10713
+ if (m === "0") {
10714
+ ret = `>=${M}.${m}.${p}${z} <${M}.${m}.${+p + 1}-0`;
10715
+ } else {
10716
+ ret = `>=${M}.${m}.${p}${z} <${M}.${+m + 1}.0-0`;
10717
+ }
10718
+ } else {
10719
+ ret = `>=${M}.${m}.${p} <${+M + 1}.0.0-0`;
10720
+ }
10721
+ }
10722
+ debug("caret return", ret);
10723
+ return ret;
10724
+ });
10725
+ };
10726
+ var replaceXRanges = (comp, options) => {
10727
+ debug("replaceXRanges", comp, options);
10728
+ return comp.split(/\s+/).map((c2) => replaceXRange(c2, options)).join(" ");
10729
+ };
10730
+ var replaceXRange = (comp, options) => {
10731
+ comp = comp.trim();
10732
+ const r2 = options.loose ? re[t.XRANGELOOSE] : re[t.XRANGE];
10733
+ return comp.replace(r2, (ret, gtlt, M, m, p, pr) => {
10734
+ debug("xRange", comp, ret, gtlt, M, m, p, pr);
10735
+ const xM = isX(M);
10736
+ const xm = xM || isX(m);
10737
+ const xp = xm || isX(p);
10738
+ const anyX = xp;
10739
+ if (gtlt === "=" && anyX) {
10740
+ gtlt = "";
10741
+ }
10742
+ pr = options.includePrerelease ? "-0" : "";
10743
+ if (xM) {
10744
+ if (gtlt === ">" || gtlt === "<") {
10745
+ ret = "<0.0.0-0";
10746
+ } else {
10747
+ ret = "*";
10748
+ }
10749
+ } else if (gtlt && anyX) {
10750
+ if (xm) {
10751
+ m = 0;
10752
+ }
10753
+ p = 0;
10754
+ if (gtlt === ">") {
10755
+ gtlt = ">=";
10756
+ if (xm) {
10757
+ M = +M + 1;
10758
+ m = 0;
10759
+ p = 0;
10760
+ } else {
10761
+ m = +m + 1;
10762
+ p = 0;
10763
+ }
10764
+ } else if (gtlt === "<=") {
10765
+ gtlt = "<";
10766
+ if (xm) {
10767
+ M = +M + 1;
10768
+ } else {
10769
+ m = +m + 1;
10770
+ }
10771
+ }
10772
+ if (gtlt === "<") {
10773
+ pr = "-0";
10774
+ }
10775
+ ret = `${gtlt + M}.${m}.${p}${pr}`;
10776
+ } else if (xm) {
10777
+ ret = `>=${M}.0.0${pr} <${+M + 1}.0.0-0`;
10778
+ } else if (xp) {
10779
+ ret = `>=${M}.${m}.0${pr} <${M}.${+m + 1}.0-0`;
10780
+ }
10781
+ debug("xRange return", ret);
10782
+ return ret;
10783
+ });
10784
+ };
10785
+ var replaceStars = (comp, options) => {
10786
+ debug("replaceStars", comp, options);
10787
+ return comp.trim().replace(re[t.STAR], "");
10788
+ };
10789
+ var replaceGTE0 = (comp, options) => {
10790
+ debug("replaceGTE0", comp, options);
10791
+ return comp.trim().replace(re[options.includePrerelease ? t.GTE0PRE : t.GTE0], "");
10792
+ };
10793
+ var hyphenReplace = (incPr) => ($0, from, fM, fm, fp, fpr, fb, to, tM, tm, tp, tpr) => {
10794
+ if (isX(fM)) {
10795
+ from = "";
10796
+ } else if (isX(fm)) {
10797
+ from = `>=${fM}.0.0${incPr ? "-0" : ""}`;
10798
+ } else if (isX(fp)) {
10799
+ from = `>=${fM}.${fm}.0${incPr ? "-0" : ""}`;
10800
+ } else if (fpr) {
10801
+ from = `>=${from}`;
10802
+ } else {
10803
+ from = `>=${from}${incPr ? "-0" : ""}`;
10804
+ }
10805
+ if (isX(tM)) {
10806
+ to = "";
10807
+ } else if (isX(tm)) {
10808
+ to = `<${+tM + 1}.0.0-0`;
10809
+ } else if (isX(tp)) {
10810
+ to = `<${tM}.${+tm + 1}.0-0`;
10811
+ } else if (tpr) {
10812
+ to = `<=${tM}.${tm}.${tp}-${tpr}`;
10813
+ } else if (incPr) {
10814
+ to = `<${tM}.${tm}.${+tp + 1}-0`;
10815
+ } else {
10816
+ to = `<=${to}`;
10817
+ }
10818
+ return `${from} ${to}`.trim();
10819
+ };
10820
+ var testSet = (set2, version, options) => {
10821
+ for (let i = 0;i < set2.length; i++) {
10822
+ if (!set2[i].test(version)) {
10823
+ return false;
10824
+ }
10825
+ }
10826
+ if (version.prerelease.length && !options.includePrerelease) {
10827
+ for (let i = 0;i < set2.length; i++) {
10828
+ debug(set2[i].semver);
10829
+ if (set2[i].semver === Comparator.ANY) {
10830
+ continue;
10831
+ }
10832
+ if (set2[i].semver.prerelease.length > 0) {
10833
+ const allowed = set2[i].semver;
10834
+ if (allowed.major === version.major && allowed.minor === version.minor && allowed.patch === version.patch) {
10835
+ return true;
10836
+ }
10837
+ }
10838
+ }
10839
+ return false;
10840
+ }
10841
+ return true;
10842
+ };
10843
+ });
10844
+
10845
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/classes/comparator.js
10846
+ var require_comparator2 = __commonJS((exports, module) => {
10847
+ var ANY = Symbol("SemVer ANY");
10848
+
10849
+ class Comparator {
10850
+ static get ANY() {
10851
+ return ANY;
10852
+ }
10853
+ constructor(comp, options) {
10854
+ options = parseOptions(options);
10855
+ if (comp instanceof Comparator) {
10856
+ if (comp.loose === !!options.loose) {
10857
+ return comp;
10858
+ } else {
10859
+ comp = comp.value;
10860
+ }
10861
+ }
10862
+ comp = comp.trim().split(/\s+/).join(" ");
10863
+ debug("comparator", comp, options);
10864
+ this.options = options;
10865
+ this.loose = !!options.loose;
10866
+ this.parse(comp);
10867
+ if (this.semver === ANY) {
10868
+ this.value = "";
10869
+ } else {
10870
+ this.value = this.operator + this.semver.version;
10871
+ }
10872
+ debug("comp", this);
10873
+ }
10874
+ parse(comp) {
10875
+ const r2 = this.options.loose ? re[t.COMPARATORLOOSE] : re[t.COMPARATOR];
10876
+ const m = comp.match(r2);
10877
+ if (!m) {
10878
+ throw new TypeError(`Invalid comparator: ${comp}`);
10879
+ }
10880
+ this.operator = m[1] !== undefined ? m[1] : "";
10881
+ if (this.operator === "=") {
10882
+ this.operator = "";
10883
+ }
10884
+ if (!m[2]) {
10885
+ this.semver = ANY;
10886
+ } else {
10887
+ this.semver = new SemVer(m[2], this.options.loose);
10888
+ }
10889
+ }
10890
+ toString() {
10891
+ return this.value;
10892
+ }
10893
+ test(version) {
10894
+ debug("Comparator.test", version, this.options.loose);
10895
+ if (this.semver === ANY || version === ANY) {
10896
+ return true;
10897
+ }
10898
+ if (typeof version === "string") {
10899
+ try {
10900
+ version = new SemVer(version, this.options);
10901
+ } catch (er) {
10902
+ return false;
10903
+ }
10904
+ }
10905
+ return cmp(version, this.operator, this.semver, this.options);
10906
+ }
10907
+ intersects(comp, options) {
10908
+ if (!(comp instanceof Comparator)) {
10909
+ throw new TypeError("a Comparator is required");
10910
+ }
10911
+ if (this.operator === "") {
10912
+ if (this.value === "") {
10913
+ return true;
10914
+ }
10915
+ return new Range(comp.value, options).test(this.value);
10916
+ } else if (comp.operator === "") {
10917
+ if (comp.value === "") {
10918
+ return true;
10919
+ }
10920
+ return new Range(this.value, options).test(comp.semver);
10921
+ }
10922
+ options = parseOptions(options);
10923
+ if (options.includePrerelease && (this.value === "<0.0.0-0" || comp.value === "<0.0.0-0")) {
10924
+ return false;
10925
+ }
10926
+ if (!options.includePrerelease && (this.value.startsWith("<0.0.0") || comp.value.startsWith("<0.0.0"))) {
10927
+ return false;
10928
+ }
10929
+ if (this.operator.startsWith(">") && comp.operator.startsWith(">")) {
10930
+ return true;
10931
+ }
10932
+ if (this.operator.startsWith("<") && comp.operator.startsWith("<")) {
10933
+ return true;
10934
+ }
10935
+ if (this.semver.version === comp.semver.version && this.operator.includes("=") && comp.operator.includes("=")) {
10936
+ return true;
10937
+ }
10938
+ if (cmp(this.semver, "<", comp.semver, options) && this.operator.startsWith(">") && comp.operator.startsWith("<")) {
10939
+ return true;
10940
+ }
10941
+ if (cmp(this.semver, ">", comp.semver, options) && this.operator.startsWith("<") && comp.operator.startsWith(">")) {
10942
+ return true;
10943
+ }
10944
+ return false;
10945
+ }
10946
+ }
10947
+ module.exports = Comparator;
10948
+ var parseOptions = require_parse_options2();
10949
+ var { safeRe: re, t } = require_re2();
10950
+ var cmp = require_cmp2();
10951
+ var debug = require_debug2();
10952
+ var SemVer = require_semver3();
10953
+ var Range = require_range2();
10954
+ });
10955
+
10956
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/functions/satisfies.js
10957
+ var require_satisfies2 = __commonJS((exports, module) => {
10958
+ var Range = require_range2();
10959
+ var satisfies = (version, range, options) => {
10960
+ try {
10961
+ range = new Range(range, options);
10962
+ } catch (er) {
10963
+ return false;
10964
+ }
10965
+ return range.test(version);
10966
+ };
10967
+ module.exports = satisfies;
10968
+ });
10969
+
10970
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/to-comparators.js
10971
+ var require_to_comparators2 = __commonJS((exports, module) => {
10972
+ var Range = require_range2();
10973
+ var toComparators = (range, options) => new Range(range, options).set.map((comp) => comp.map((c2) => c2.value).join(" ").trim().split(" "));
10974
+ module.exports = toComparators;
10975
+ });
10976
+
10977
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/max-satisfying.js
10978
+ var require_max_satisfying2 = __commonJS((exports, module) => {
10979
+ var SemVer = require_semver3();
10980
+ var Range = require_range2();
10981
+ var maxSatisfying = (versions, range, options) => {
10982
+ let max = null;
10983
+ let maxSV = null;
10984
+ let rangeObj = null;
10985
+ try {
10986
+ rangeObj = new Range(range, options);
10987
+ } catch (er) {
10988
+ return null;
10989
+ }
10990
+ versions.forEach((v) => {
10991
+ if (rangeObj.test(v)) {
10992
+ if (!max || maxSV.compare(v) === -1) {
10993
+ max = v;
10994
+ maxSV = new SemVer(max, options);
10995
+ }
10996
+ }
10997
+ });
10998
+ return max;
10999
+ };
11000
+ module.exports = maxSatisfying;
11001
+ });
11002
+
11003
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/min-satisfying.js
11004
+ var require_min_satisfying2 = __commonJS((exports, module) => {
11005
+ var SemVer = require_semver3();
11006
+ var Range = require_range2();
11007
+ var minSatisfying = (versions, range, options) => {
11008
+ let min = null;
11009
+ let minSV = null;
11010
+ let rangeObj = null;
11011
+ try {
11012
+ rangeObj = new Range(range, options);
11013
+ } catch (er) {
11014
+ return null;
11015
+ }
11016
+ versions.forEach((v) => {
11017
+ if (rangeObj.test(v)) {
11018
+ if (!min || minSV.compare(v) === 1) {
11019
+ min = v;
11020
+ minSV = new SemVer(min, options);
11021
+ }
11022
+ }
11023
+ });
11024
+ return min;
11025
+ };
11026
+ module.exports = minSatisfying;
11027
+ });
11028
+
11029
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/min-version.js
11030
+ var require_min_version2 = __commonJS((exports, module) => {
11031
+ var SemVer = require_semver3();
11032
+ var Range = require_range2();
11033
+ var gt = require_gt2();
11034
+ var minVersion = (range, loose) => {
11035
+ range = new Range(range, loose);
11036
+ let minver = new SemVer("0.0.0");
11037
+ if (range.test(minver)) {
11038
+ return minver;
11039
+ }
11040
+ minver = new SemVer("0.0.0-0");
11041
+ if (range.test(minver)) {
11042
+ return minver;
11043
+ }
11044
+ minver = null;
11045
+ for (let i = 0;i < range.set.length; ++i) {
11046
+ const comparators = range.set[i];
11047
+ let setMin = null;
11048
+ comparators.forEach((comparator) => {
11049
+ const compver = new SemVer(comparator.semver.version);
11050
+ switch (comparator.operator) {
11051
+ case ">":
11052
+ if (compver.prerelease.length === 0) {
11053
+ compver.patch++;
11054
+ } else {
11055
+ compver.prerelease.push(0);
11056
+ }
11057
+ compver.raw = compver.format();
11058
+ case "":
11059
+ case ">=":
11060
+ if (!setMin || gt(compver, setMin)) {
11061
+ setMin = compver;
11062
+ }
11063
+ break;
11064
+ case "<":
11065
+ case "<=":
11066
+ break;
11067
+ default:
11068
+ throw new Error(`Unexpected operation: ${comparator.operator}`);
11069
+ }
11070
+ });
11071
+ if (setMin && (!minver || gt(minver, setMin))) {
11072
+ minver = setMin;
11073
+ }
11074
+ }
11075
+ if (minver && range.test(minver)) {
11076
+ return minver;
11077
+ }
11078
+ return null;
11079
+ };
11080
+ module.exports = minVersion;
11081
+ });
11082
+
11083
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/valid.js
11084
+ var require_valid4 = __commonJS((exports, module) => {
11085
+ var Range = require_range2();
11086
+ var validRange = (range, options) => {
11087
+ try {
11088
+ return new Range(range, options).range || "*";
11089
+ } catch (er) {
11090
+ return null;
11091
+ }
11092
+ };
11093
+ module.exports = validRange;
11094
+ });
11095
+
11096
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/outside.js
11097
+ var require_outside2 = __commonJS((exports, module) => {
11098
+ var SemVer = require_semver3();
11099
+ var Comparator = require_comparator2();
11100
+ var { ANY } = Comparator;
11101
+ var Range = require_range2();
11102
+ var satisfies = require_satisfies2();
11103
+ var gt = require_gt2();
11104
+ var lt = require_lt2();
11105
+ var lte = require_lte2();
11106
+ var gte = require_gte2();
11107
+ var outside = (version, range, hilo, options) => {
11108
+ version = new SemVer(version, options);
11109
+ range = new Range(range, options);
11110
+ let gtfn, ltefn, ltfn, comp, ecomp;
11111
+ switch (hilo) {
11112
+ case ">":
11113
+ gtfn = gt;
11114
+ ltefn = lte;
11115
+ ltfn = lt;
11116
+ comp = ">";
11117
+ ecomp = ">=";
11118
+ break;
11119
+ case "<":
11120
+ gtfn = lt;
11121
+ ltefn = gte;
11122
+ ltfn = gt;
11123
+ comp = "<";
11124
+ ecomp = "<=";
11125
+ break;
11126
+ default:
11127
+ throw new TypeError('Must provide a hilo val of "<" or ">"');
11128
+ }
11129
+ if (satisfies(version, range, options)) {
11130
+ return false;
11131
+ }
11132
+ for (let i = 0;i < range.set.length; ++i) {
11133
+ const comparators = range.set[i];
11134
+ let high = null;
11135
+ let low = null;
11136
+ comparators.forEach((comparator) => {
11137
+ if (comparator.semver === ANY) {
11138
+ comparator = new Comparator(">=0.0.0");
11139
+ }
11140
+ high = high || comparator;
11141
+ low = low || comparator;
11142
+ if (gtfn(comparator.semver, high.semver, options)) {
11143
+ high = comparator;
11144
+ } else if (ltfn(comparator.semver, low.semver, options)) {
11145
+ low = comparator;
11146
+ }
11147
+ });
11148
+ if (high.operator === comp || high.operator === ecomp) {
11149
+ return false;
11150
+ }
11151
+ if ((!low.operator || low.operator === comp) && ltefn(version, low.semver)) {
11152
+ return false;
11153
+ } else if (low.operator === ecomp && ltfn(version, low.semver)) {
11154
+ return false;
11155
+ }
11156
+ }
11157
+ return true;
11158
+ };
11159
+ module.exports = outside;
11160
+ });
11161
+
11162
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/gtr.js
11163
+ var require_gtr2 = __commonJS((exports, module) => {
11164
+ var outside = require_outside2();
11165
+ var gtr = (version, range, options) => outside(version, range, ">", options);
11166
+ module.exports = gtr;
11167
+ });
11168
+
11169
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/ltr.js
11170
+ var require_ltr2 = __commonJS((exports, module) => {
11171
+ var outside = require_outside2();
11172
+ var ltr = (version, range, options) => outside(version, range, "<", options);
11173
+ module.exports = ltr;
11174
+ });
11175
+
11176
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/intersects.js
11177
+ var require_intersects2 = __commonJS((exports, module) => {
11178
+ var Range = require_range2();
11179
+ var intersects = (r1, r2, options) => {
11180
+ r1 = new Range(r1, options);
11181
+ r2 = new Range(r2, options);
11182
+ return r1.intersects(r2, options);
11183
+ };
11184
+ module.exports = intersects;
11185
+ });
11186
+
11187
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/simplify.js
11188
+ var require_simplify2 = __commonJS((exports, module) => {
11189
+ var satisfies = require_satisfies2();
11190
+ var compare = require_compare2();
11191
+ module.exports = (versions, range, options) => {
11192
+ const set2 = [];
11193
+ let first = null;
11194
+ let prev = null;
11195
+ const v = versions.sort((a, b) => compare(a, b, options));
11196
+ for (const version of v) {
11197
+ const included = satisfies(version, range, options);
11198
+ if (included) {
11199
+ prev = version;
11200
+ if (!first) {
11201
+ first = version;
11202
+ }
11203
+ } else {
11204
+ if (prev) {
11205
+ set2.push([first, prev]);
11206
+ }
11207
+ prev = null;
11208
+ first = null;
11209
+ }
11210
+ }
11211
+ if (first) {
11212
+ set2.push([first, null]);
11213
+ }
11214
+ const ranges = [];
11215
+ for (const [min, max] of set2) {
11216
+ if (min === max) {
11217
+ ranges.push(min);
11218
+ } else if (!max && min === v[0]) {
11219
+ ranges.push("*");
11220
+ } else if (!max) {
11221
+ ranges.push(`>=${min}`);
11222
+ } else if (min === v[0]) {
11223
+ ranges.push(`<=${max}`);
11224
+ } else {
11225
+ ranges.push(`${min} - ${max}`);
11226
+ }
11227
+ }
11228
+ const simplified = ranges.join(" || ");
11229
+ const original = typeof range.raw === "string" ? range.raw : String(range);
11230
+ return simplified.length < original.length ? simplified : range;
11231
+ };
11232
+ });
11233
+
11234
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/ranges/subset.js
11235
+ var require_subset2 = __commonJS((exports, module) => {
11236
+ var Range = require_range2();
11237
+ var Comparator = require_comparator2();
11238
+ var { ANY } = Comparator;
11239
+ var satisfies = require_satisfies2();
11240
+ var compare = require_compare2();
11241
+ var subset = (sub, dom, options = {}) => {
11242
+ if (sub === dom) {
11243
+ return true;
11244
+ }
11245
+ sub = new Range(sub, options);
11246
+ dom = new Range(dom, options);
11247
+ let sawNonNull = false;
11248
+ OUTER:
11249
+ for (const simpleSub of sub.set) {
11250
+ for (const simpleDom of dom.set) {
11251
+ const isSub = simpleSubset(simpleSub, simpleDom, options);
11252
+ sawNonNull = sawNonNull || isSub !== null;
11253
+ if (isSub) {
11254
+ continue OUTER;
11255
+ }
11256
+ }
11257
+ if (sawNonNull) {
11258
+ return false;
11259
+ }
11260
+ }
11261
+ return true;
11262
+ };
11263
+ var minimumVersionWithPreRelease = [new Comparator(">=0.0.0-0")];
11264
+ var minimumVersion = [new Comparator(">=0.0.0")];
11265
+ var simpleSubset = (sub, dom, options) => {
11266
+ if (sub === dom) {
11267
+ return true;
11268
+ }
11269
+ if (sub.length === 1 && sub[0].semver === ANY) {
11270
+ if (dom.length === 1 && dom[0].semver === ANY) {
11271
+ return true;
11272
+ } else if (options.includePrerelease) {
11273
+ sub = minimumVersionWithPreRelease;
11274
+ } else {
11275
+ sub = minimumVersion;
11276
+ }
11277
+ }
11278
+ if (dom.length === 1 && dom[0].semver === ANY) {
11279
+ if (options.includePrerelease) {
11280
+ return true;
11281
+ } else {
11282
+ dom = minimumVersion;
11283
+ }
11284
+ }
11285
+ const eqSet = new Set;
11286
+ let gt, lt;
11287
+ for (const c2 of sub) {
11288
+ if (c2.operator === ">" || c2.operator === ">=") {
11289
+ gt = higherGT(gt, c2, options);
11290
+ } else if (c2.operator === "<" || c2.operator === "<=") {
11291
+ lt = lowerLT(lt, c2, options);
11292
+ } else {
11293
+ eqSet.add(c2.semver);
11294
+ }
11295
+ }
11296
+ if (eqSet.size > 1) {
11297
+ return null;
11298
+ }
11299
+ let gtltComp;
11300
+ if (gt && lt) {
11301
+ gtltComp = compare(gt.semver, lt.semver, options);
11302
+ if (gtltComp > 0) {
11303
+ return null;
11304
+ } else if (gtltComp === 0 && (gt.operator !== ">=" || lt.operator !== "<=")) {
11305
+ return null;
11306
+ }
11307
+ }
11308
+ for (const eq of eqSet) {
11309
+ if (gt && !satisfies(eq, String(gt), options)) {
11310
+ return null;
11311
+ }
11312
+ if (lt && !satisfies(eq, String(lt), options)) {
11313
+ return null;
11314
+ }
11315
+ for (const c2 of dom) {
11316
+ if (!satisfies(eq, String(c2), options)) {
11317
+ return false;
11318
+ }
11319
+ }
11320
+ return true;
11321
+ }
11322
+ let higher, lower;
11323
+ let hasDomLT, hasDomGT;
11324
+ let needDomLTPre = lt && !options.includePrerelease && lt.semver.prerelease.length ? lt.semver : false;
11325
+ let needDomGTPre = gt && !options.includePrerelease && gt.semver.prerelease.length ? gt.semver : false;
11326
+ if (needDomLTPre && needDomLTPre.prerelease.length === 1 && lt.operator === "<" && needDomLTPre.prerelease[0] === 0) {
11327
+ needDomLTPre = false;
11328
+ }
11329
+ for (const c2 of dom) {
11330
+ hasDomGT = hasDomGT || c2.operator === ">" || c2.operator === ">=";
11331
+ hasDomLT = hasDomLT || c2.operator === "<" || c2.operator === "<=";
11332
+ if (gt) {
11333
+ if (needDomGTPre) {
11334
+ if (c2.semver.prerelease && c2.semver.prerelease.length && c2.semver.major === needDomGTPre.major && c2.semver.minor === needDomGTPre.minor && c2.semver.patch === needDomGTPre.patch) {
11335
+ needDomGTPre = false;
11336
+ }
11337
+ }
11338
+ if (c2.operator === ">" || c2.operator === ">=") {
11339
+ higher = higherGT(gt, c2, options);
11340
+ if (higher === c2 && higher !== gt) {
11341
+ return false;
11342
+ }
11343
+ } else if (gt.operator === ">=" && !satisfies(gt.semver, String(c2), options)) {
11344
+ return false;
11345
+ }
11346
+ }
11347
+ if (lt) {
11348
+ if (needDomLTPre) {
11349
+ if (c2.semver.prerelease && c2.semver.prerelease.length && c2.semver.major === needDomLTPre.major && c2.semver.minor === needDomLTPre.minor && c2.semver.patch === needDomLTPre.patch) {
11350
+ needDomLTPre = false;
11351
+ }
11352
+ }
11353
+ if (c2.operator === "<" || c2.operator === "<=") {
11354
+ lower = lowerLT(lt, c2, options);
11355
+ if (lower === c2 && lower !== lt) {
11356
+ return false;
11357
+ }
11358
+ } else if (lt.operator === "<=" && !satisfies(lt.semver, String(c2), options)) {
11359
+ return false;
11360
+ }
11361
+ }
11362
+ if (!c2.operator && (lt || gt) && gtltComp !== 0) {
11363
+ return false;
11364
+ }
11365
+ }
11366
+ if (gt && hasDomLT && !lt && gtltComp !== 0) {
11367
+ return false;
11368
+ }
11369
+ if (lt && hasDomGT && !gt && gtltComp !== 0) {
11370
+ return false;
11371
+ }
11372
+ if (needDomGTPre || needDomLTPre) {
11373
+ return false;
11374
+ }
11375
+ return true;
11376
+ };
11377
+ var higherGT = (a, b, options) => {
11378
+ if (!a) {
11379
+ return b;
11380
+ }
11381
+ const comp = compare(a.semver, b.semver, options);
11382
+ return comp > 0 ? a : comp < 0 ? b : b.operator === ">" && a.operator === ">=" ? b : a;
11383
+ };
11384
+ var lowerLT = (a, b, options) => {
11385
+ if (!a) {
11386
+ return b;
11387
+ }
11388
+ const comp = compare(a.semver, b.semver, options);
11389
+ return comp < 0 ? a : comp > 0 ? b : b.operator === "<" && a.operator === "<=" ? b : a;
11390
+ };
11391
+ module.exports = subset;
11392
+ });
11393
+
11394
+ // ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/index.js
11395
+ var require_semver4 = __commonJS((exports, module) => {
11396
+ var internalRe = require_re2();
11397
+ var constants2 = require_constants2();
11398
+ var SemVer = require_semver3();
11399
+ var identifiers = require_identifiers2();
11400
+ var parse3 = require_parse3();
11401
+ var valid2 = require_valid3();
11402
+ var clean2 = require_clean2();
11403
+ var inc = require_inc2();
11404
+ var diff2 = require_diff2();
11405
+ var major = require_major2();
11406
+ var minor = require_minor2();
11407
+ var patch = require_patch2();
11408
+ var prerelease = require_prerelease2();
11409
+ var compare = require_compare2();
11410
+ var rcompare = require_rcompare2();
11411
+ var compareLoose = require_compare_loose2();
11412
+ var compareBuild = require_compare_build2();
11413
+ var sort = require_sort2();
11414
+ var rsort = require_rsort2();
11415
+ var gt = require_gt2();
11416
+ var lt = require_lt2();
11417
+ var eq = require_eq2();
11418
+ var neq = require_neq2();
11419
+ var gte = require_gte2();
11420
+ var lte = require_lte2();
11421
+ var cmp = require_cmp2();
11422
+ var coerce = require_coerce2();
11423
+ var Comparator = require_comparator2();
11424
+ var Range = require_range2();
11425
+ var satisfies = require_satisfies2();
11426
+ var toComparators = require_to_comparators2();
11427
+ var maxSatisfying = require_max_satisfying2();
11428
+ var minSatisfying = require_min_satisfying2();
11429
+ var minVersion = require_min_version2();
11430
+ var validRange = require_valid4();
11431
+ var outside = require_outside2();
11432
+ var gtr = require_gtr2();
11433
+ var ltr = require_ltr2();
11434
+ var intersects = require_intersects2();
11435
+ var simplifyRange = require_simplify2();
11436
+ var subset = require_subset2();
11437
+ module.exports = {
11438
+ parse: parse3,
11439
+ valid: valid2,
11440
+ clean: clean2,
11441
+ inc,
11442
+ diff: diff2,
11443
+ major,
11444
+ minor,
11445
+ patch,
11446
+ prerelease,
11447
+ compare,
11448
+ rcompare,
11449
+ compareLoose,
11450
+ compareBuild,
11451
+ sort,
11452
+ rsort,
11453
+ gt,
11454
+ lt,
11455
+ eq,
11456
+ neq,
11457
+ gte,
11458
+ lte,
11459
+ cmp,
11460
+ coerce,
11461
+ Comparator,
11462
+ Range,
11463
+ satisfies,
11464
+ toComparators,
11465
+ maxSatisfying,
11466
+ minSatisfying,
11467
+ minVersion,
11468
+ validRange,
11469
+ outside,
11470
+ gtr,
11471
+ ltr,
11472
+ intersects,
11473
+ simplifyRange,
11474
+ subset,
11475
+ SemVer,
11476
+ re: internalRe.re,
11477
+ src: internalRe.src,
11478
+ tokens: internalRe.t,
11479
+ SEMVER_SPEC_VERSION: constants2.SEMVER_SPEC_VERSION,
11480
+ RELEASE_TYPES: constants2.RELEASE_TYPES,
11481
+ compareIdentifiers: identifiers.compareIdentifiers,
11482
+ rcompareIdentifiers: identifiers.rcompareIdentifiers
11483
+ };
11484
+ });
11485
+
9703
11486
  // ../../node_modules/.pnpm/validate-npm-package-name@7.0.2/node_modules/validate-npm-package-name/lib/builtin-modules.json
9704
11487
  var require_builtin_modules = __commonJS((exports, module) => {
9705
11488
  module.exports = ["_http_agent", "_http_client", "_http_common", "_http_incoming", "_http_outgoing", "_http_server", "_stream_duplex", "_stream_passthrough", "_stream_readable", "_stream_transform", "_stream_wrap", "_stream_writable", "_tls_common", "_tls_wrap", "assert", "assert/strict", "async_hooks", "buffer", "child_process", "cluster", "console", "constants", "crypto", "dgram", "diagnostics_channel", "dns", "dns/promises", "domain", "events", "fs", "fs/promises", "http", "http2", "https", "inspector", "inspector/promises", "module", "net", "os", "path", "path/posix", "path/win32", "perf_hooks", "process", "punycode", "querystring", "readline", "readline/promises", "repl", "stream", "stream/consumers", "stream/promises", "stream/web", "string_decoder", "sys", "timers", "timers/promises", "tls", "trace_events", "tty", "url", "util", "util/types", "v8", "vm", "wasi", "worker_threads", "zlib", "node:sea", "node:sqlite", "node:test", "node:test/reporters"];
@@ -9962,7 +11745,7 @@ var require_npa = __commonJS((exports, module) => {
9962
11745
  var path3 = isWindows ? __require("node:path/win32") : __require("node:path");
9963
11746
  var { homedir: homedir2 } = __require("node:os");
9964
11747
  var HostedGit = require_lib3();
9965
- var semver = require_semver2();
11748
+ var semver = require_semver4();
9966
11749
  var validatePackageName = require_lib4();
9967
11750
  var { log } = require_lib5();
9968
11751
  var hasSlashes = isWindows ? /\\|[/]/ : /[/]/;
@@ -14468,7 +16251,7 @@ var require_snippet = __commonJS((exports, module3) => {
14468
16251
  });
14469
16252
 
14470
16253
  // ../../node_modules/.pnpm/enquirer@2.4.1/node_modules/enquirer/lib/prompts/sort.js
14471
- var require_sort2 = __commonJS((exports, module3) => {
16254
+ var require_sort3 = __commonJS((exports, module3) => {
14472
16255
  var hint = "(Use <shift>+<up/down> to sort)";
14473
16256
  var Prompt = require_select();
14474
16257
 
@@ -14809,7 +16592,7 @@ var require_prompts = __commonJS((exports) => {
14809
16592
  define2("Scale", () => require_scale());
14810
16593
  define2("Select", () => require_select());
14811
16594
  define2("Snippet", () => require_snippet());
14812
- define2("Sort", () => require_sort2());
16595
+ define2("Sort", () => require_sort3());
14813
16596
  define2("Survey", () => require_survey());
14814
16597
  define2("Text", () => require_input());
14815
16598
  define2("Toggle", () => require_toggle());
@@ -185839,7 +187622,7 @@ Additional information: BADCLIENT: Bad error code, ${badCode} not found in range
185839
187622
  } });
185840
187623
  });
185841
187624
 
185842
- // ../../node_modules/.pnpm/balanced-match@4.0.2/node_modules/balanced-match/dist/commonjs/index.js
187625
+ // ../../node_modules/.pnpm/@isaacs+balanced-match@4.0.1/node_modules/@isaacs/balanced-match/dist/commonjs/index.js
185843
187626
  var require_commonjs2 = __commonJS((exports) => {
185844
187627
  Object.defineProperty(exports, "__esModule", { value: true });
185845
187628
  exports.range = exports.balanced = undefined;
@@ -185898,10 +187681,9 @@ var require_commonjs2 = __commonJS((exports) => {
185898
187681
  exports.range = range;
185899
187682
  });
185900
187683
 
185901
- // ../../node_modules/.pnpm/brace-expansion@5.0.2/node_modules/brace-expansion/dist/commonjs/index.js
187684
+ // ../../node_modules/.pnpm/@isaacs+brace-expansion@5.0.0/node_modules/@isaacs/brace-expansion/dist/commonjs/index.js
185902
187685
  var require_commonjs3 = __commonJS((exports) => {
185903
187686
  Object.defineProperty(exports, "__esModule", { value: true });
185904
- exports.EXPANSION_MAX = undefined;
185905
187687
  exports.expand = expand;
185906
187688
  var balanced_match_1 = require_commonjs2();
185907
187689
  var escSlash = "\x00SLASH" + Math.random() + "\x00";
@@ -185919,7 +187701,6 @@ var require_commonjs3 = __commonJS((exports) => {
185919
187701
  var closePattern = /\\}/g;
185920
187702
  var commaPattern = /\\,/g;
185921
187703
  var periodPattern = /\\./g;
185922
- exports.EXPANSION_MAX = 1e5;
185923
187704
  function numeric(str2) {
185924
187705
  return !isNaN(str2) ? parseInt(str2, 10) : str2.charCodeAt(0);
185925
187706
  }
@@ -185949,15 +187730,14 @@ var require_commonjs3 = __commonJS((exports) => {
185949
187730
  parts.push.apply(parts, p);
185950
187731
  return parts;
185951
187732
  }
185952
- function expand(str2, options = {}) {
187733
+ function expand(str2) {
185953
187734
  if (!str2) {
185954
187735
  return [];
185955
187736
  }
185956
- const { max = exports.EXPANSION_MAX } = options;
185957
187737
  if (str2.slice(0, 2) === "{}") {
185958
187738
  str2 = "\\{\\}" + str2.slice(2);
185959
187739
  }
185960
- return expand_(escapeBraces(str2), max, true).map(unescapeBraces);
187740
+ return expand_(escapeBraces(str2), true).map(unescapeBraces);
185961
187741
  }
185962
187742
  function embrace(str2) {
185963
187743
  return "{" + str2 + "}";
@@ -185971,15 +187751,15 @@ var require_commonjs3 = __commonJS((exports) => {
185971
187751
  function gte(i, y) {
185972
187752
  return i >= y;
185973
187753
  }
185974
- function expand_(str2, max, isTop) {
187754
+ function expand_(str2, isTop) {
185975
187755
  const expansions = [];
185976
187756
  const m = (0, balanced_match_1.balanced)("{", "}", str2);
185977
187757
  if (!m)
185978
187758
  return [str2];
185979
187759
  const pre = m.pre;
185980
- const post = m.post.length ? expand_(m.post, max, false) : [""];
187760
+ const post = m.post.length ? expand_(m.post, false) : [""];
185981
187761
  if (/\$$/.test(m.pre)) {
185982
- for (let k = 0;k < post.length && k < max; k++) {
187762
+ for (let k = 0;k < post.length; k++) {
185983
187763
  const expansion = pre + "{" + m.body + "}" + post[k];
185984
187764
  expansions.push(expansion);
185985
187765
  }
@@ -185991,7 +187771,7 @@ var require_commonjs3 = __commonJS((exports) => {
185991
187771
  if (!isSequence && !isOptions) {
185992
187772
  if (m.post.match(/,(?!,).*\}/)) {
185993
187773
  str2 = m.pre + "{" + m.body + escClose + m.post;
185994
- return expand_(str2, max, true);
187774
+ return expand_(str2);
185995
187775
  }
185996
187776
  return [str2];
185997
187777
  }
@@ -186001,7 +187781,7 @@ var require_commonjs3 = __commonJS((exports) => {
186001
187781
  } else {
186002
187782
  n = parseCommaParts(m.body);
186003
187783
  if (n.length === 1 && n[0] !== undefined) {
186004
- n = expand_(n[0], max, false).map(embrace);
187784
+ n = expand_(n[0], false).map(embrace);
186005
187785
  if (n.length === 1) {
186006
187786
  return post.map((p) => m.pre + n[0] + p);
186007
187787
  }
@@ -186047,11 +187827,11 @@ var require_commonjs3 = __commonJS((exports) => {
186047
187827
  } else {
186048
187828
  N = [];
186049
187829
  for (let j = 0;j < n.length; j++) {
186050
- N.push.apply(N, expand_(n[j], max, false));
187830
+ N.push.apply(N, expand_(n[j], false));
186051
187831
  }
186052
187832
  }
186053
187833
  for (let j = 0;j < N.length; j++) {
186054
- for (let k = 0;k < post.length && expansions.length < max; k++) {
187834
+ for (let k = 0;k < post.length; k++) {
186055
187835
  const expansion = pre + N[j] + post[k];
186056
187836
  if (!isTop || isSequence || expansion) {
186057
187837
  expansions.push(expansion);
@@ -186063,7 +187843,7 @@ var require_commonjs3 = __commonJS((exports) => {
186063
187843
  }
186064
187844
  });
186065
187845
 
186066
- // ../../node_modules/.pnpm/minimatch@10.2.1/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js
187846
+ // ../../node_modules/.pnpm/minimatch@10.1.1/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js
186067
187847
  var require_assert_valid_pattern = __commonJS((exports) => {
186068
187848
  Object.defineProperty(exports, "__esModule", { value: true });
186069
187849
  exports.assertValidPattern = undefined;
@@ -186079,7 +187859,7 @@ var require_assert_valid_pattern = __commonJS((exports) => {
186079
187859
  exports.assertValidPattern = assertValidPattern;
186080
187860
  });
186081
187861
 
186082
- // ../../node_modules/.pnpm/minimatch@10.2.1/node_modules/minimatch/dist/commonjs/brace-expressions.js
187862
+ // ../../node_modules/.pnpm/minimatch@10.1.1/node_modules/minimatch/dist/commonjs/brace-expressions.js
186083
187863
  var require_brace_expressions = __commonJS((exports) => {
186084
187864
  Object.defineProperty(exports, "__esModule", { value: true });
186085
187865
  exports.parseClass = undefined;
@@ -186194,7 +187974,7 @@ var require_brace_expressions = __commonJS((exports) => {
186194
187974
  exports.parseClass = parseClass;
186195
187975
  });
186196
187976
 
186197
- // ../../node_modules/.pnpm/minimatch@10.2.1/node_modules/minimatch/dist/commonjs/unescape.js
187977
+ // ../../node_modules/.pnpm/minimatch@10.1.1/node_modules/minimatch/dist/commonjs/unescape.js
186198
187978
  var require_unescape = __commonJS((exports) => {
186199
187979
  Object.defineProperty(exports, "__esModule", { value: true });
186200
187980
  exports.unescape = undefined;
@@ -186207,7 +187987,7 @@ var require_unescape = __commonJS((exports) => {
186207
187987
  exports.unescape = unescape;
186208
187988
  });
186209
187989
 
186210
- // ../../node_modules/.pnpm/minimatch@10.2.1/node_modules/minimatch/dist/commonjs/ast.js
187990
+ // ../../node_modules/.pnpm/minimatch@10.1.1/node_modules/minimatch/dist/commonjs/ast.js
186211
187991
  var require_ast = __commonJS((exports) => {
186212
187992
  Object.defineProperty(exports, "__esModule", { value: true });
186213
187993
  exports.AST = undefined;
@@ -186566,7 +188346,6 @@ var require_ast = __commonJS((exports) => {
186566
188346
  let escaping = false;
186567
188347
  let re = "";
186568
188348
  let uflag = false;
186569
- let inStar = false;
186570
188349
  for (let i = 0;i < glob.length; i++) {
186571
188350
  const c2 = glob.charAt(i);
186572
188351
  if (escaping) {
@@ -186574,16 +188353,6 @@ var require_ast = __commonJS((exports) => {
186574
188353
  re += (reSpecials.has(c2) ? "\\" : "") + c2;
186575
188354
  continue;
186576
188355
  }
186577
- if (c2 === "*") {
186578
- if (inStar)
186579
- continue;
186580
- inStar = true;
186581
- re += noEmpty && /^[*]+$/.test(glob) ? starNoEmpty : star;
186582
- hasMagic = true;
186583
- continue;
186584
- } else {
186585
- inStar = false;
186586
- }
186587
188356
  if (c2 === "\\") {
186588
188357
  if (i === glob.length - 1) {
186589
188358
  re += "\\\\";
@@ -186602,6 +188371,11 @@ var require_ast = __commonJS((exports) => {
186602
188371
  continue;
186603
188372
  }
186604
188373
  }
188374
+ if (c2 === "*") {
188375
+ re += noEmpty && glob === "*" ? starNoEmpty : star;
188376
+ hasMagic = true;
188377
+ continue;
188378
+ }
186605
188379
  if (c2 === "?") {
186606
188380
  re += qmark;
186607
188381
  hasMagic = true;
@@ -186615,7 +188389,7 @@ var require_ast = __commonJS((exports) => {
186615
188389
  exports.AST = AST;
186616
188390
  });
186617
188391
 
186618
- // ../../node_modules/.pnpm/minimatch@10.2.1/node_modules/minimatch/dist/commonjs/escape.js
188392
+ // ../../node_modules/.pnpm/minimatch@10.1.1/node_modules/minimatch/dist/commonjs/escape.js
186619
188393
  var require_escape = __commonJS((exports) => {
186620
188394
  Object.defineProperty(exports, "__esModule", { value: true });
186621
188395
  exports.escape = undefined;
@@ -186628,7 +188402,7 @@ var require_escape = __commonJS((exports) => {
186628
188402
  exports.escape = escape;
186629
188403
  });
186630
188404
 
186631
- // ../../node_modules/.pnpm/minimatch@10.2.1/node_modules/minimatch/dist/commonjs/index.js
188405
+ // ../../node_modules/.pnpm/minimatch@10.1.1/node_modules/minimatch/dist/commonjs/index.js
186632
188406
  var require_commonjs4 = __commonJS((exports) => {
186633
188407
  Object.defineProperty(exports, "__esModule", { value: true });
186634
188408
  exports.unescape = exports.escape = exports.AST = exports.Minimatch = exports.match = exports.makeRe = exports.braceExpand = exports.defaults = exports.filter = exports.GLOBSTAR = exports.sep = exports.minimatch = undefined;
@@ -186753,7 +188527,7 @@ var require_commonjs4 = __commonJS((exports) => {
186753
188527
  if (options.nobrace || !/\{(?:(?!\{).)*\}/.test(pattern)) {
186754
188528
  return [pattern];
186755
188529
  }
186756
- return (0, brace_expansion_1.expand)(pattern, { max: options.braceExpandMax });
188530
+ return (0, brace_expansion_1.expand)(pattern);
186757
188531
  };
186758
188532
  exports.braceExpand = braceExpand;
186759
188533
  exports.minimatch.braceExpand = exports.braceExpand;
@@ -186798,8 +188572,7 @@ var require_commonjs4 = __commonJS((exports) => {
186798
188572
  this.pattern = pattern;
186799
188573
  this.platform = options.platform || defaultPlatform;
186800
188574
  this.isWindows = this.platform === "win32";
186801
- const awe = "allowWindow" + "sEscape";
186802
- this.windowsPathsNoEscape = !!options.windowsPathsNoEscape || options[awe] === false;
188575
+ this.windowsPathsNoEscape = !!options.windowsPathsNoEscape || options.allowWindowsEscape === false;
186803
188576
  if (this.windowsPathsNoEscape) {
186804
188577
  this.pattern = this.pattern.replace(/\\/g, "/");
186805
188578
  }
@@ -186855,10 +188628,7 @@ var require_commonjs4 = __commonJS((exports) => {
186855
188628
  const isUNC = s[0] === "" && s[1] === "" && (s[2] === "?" || !globMagic.test(s[2])) && !globMagic.test(s[3]);
186856
188629
  const isDrive = /^[a-z]:/i.test(s[0]);
186857
188630
  if (isUNC) {
186858
- return [
186859
- ...s.slice(0, 4),
186860
- ...s.slice(4).map((ss) => this.parse(ss))
186861
- ];
188631
+ return [...s.slice(0, 4), ...s.slice(4).map((ss) => this.parse(ss))];
186862
188632
  } else if (isDrive) {
186863
188633
  return [s[0], ...s.slice(1).map((ss) => this.parse(ss))];
186864
188634
  }
@@ -187102,10 +188872,7 @@ var require_commonjs4 = __commonJS((exports) => {
187102
188872
  const fdi = fileUNC ? 3 : fileDrive ? 0 : undefined;
187103
188873
  const pdi = patternUNC ? 3 : patternDrive ? 0 : undefined;
187104
188874
  if (typeof fdi === "number" && typeof pdi === "number") {
187105
- const [fd, pd] = [
187106
- file[fdi],
187107
- pattern[pdi]
187108
- ];
188875
+ const [fd, pd] = [file[fdi], pattern[pdi]];
187109
188876
  if (fd.toLowerCase() === pd.toLowerCase()) {
187110
188877
  pattern[pdi] = fd;
187111
188878
  if (pdi > fdi) {
@@ -187775,7 +189542,7 @@ var require_path_browserify = __commonJS((exports, module3) => {
187775
189542
  });
187776
189543
 
187777
189544
  // ../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/constants.js
187778
- var require_constants2 = __commonJS((exports, module3) => {
189545
+ var require_constants3 = __commonJS((exports, module3) => {
187779
189546
  var WIN_SLASH = "\\\\/";
187780
189547
  var WIN_NO_SLASH = `[^${WIN_SLASH}]`;
187781
189548
  var DOT_LITERAL = "\\.";
@@ -187923,7 +189690,7 @@ var require_utils3 = __commonJS((exports) => {
187923
189690
  REGEX_REMOVE_BACKSLASH,
187924
189691
  REGEX_SPECIAL_CHARS,
187925
189692
  REGEX_SPECIAL_CHARS_GLOBAL
187926
- } = require_constants2();
189693
+ } = require_constants3();
187927
189694
  exports.isObject = (val) => val !== null && typeof val === "object" && !Array.isArray(val);
187928
189695
  exports.hasRegexChars = (str2) => REGEX_SPECIAL_CHARS.test(str2);
187929
189696
  exports.isRegexChar = (str2) => str2.length === 1 && exports.hasRegexChars(str2);
@@ -187998,7 +189765,7 @@ var require_scan2 = __commonJS((exports, module3) => {
187998
189765
  CHAR_RIGHT_CURLY_BRACE,
187999
189766
  CHAR_RIGHT_PARENTHESES,
188000
189767
  CHAR_RIGHT_SQUARE_BRACKET
188001
- } = require_constants2();
189768
+ } = require_constants3();
188002
189769
  var isPathSeparator = (code) => {
188003
189770
  return code === CHAR_FORWARD_SLASH || code === CHAR_BACKWARD_SLASH;
188004
189771
  };
@@ -188295,8 +190062,8 @@ var require_scan2 = __commonJS((exports, module3) => {
188295
190062
  });
188296
190063
 
188297
190064
  // ../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/parse.js
188298
- var require_parse3 = __commonJS((exports, module3) => {
188299
- var constants2 = require_constants2();
190065
+ var require_parse4 = __commonJS((exports, module3) => {
190066
+ var constants2 = require_constants3();
188300
190067
  var utils5 = require_utils3();
188301
190068
  var {
188302
190069
  MAX_LENGTH: MAX_LENGTH2,
@@ -189070,9 +190837,9 @@ var require_parse3 = __commonJS((exports, module3) => {
189070
190837
  // ../../node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/picomatch.js
189071
190838
  var require_picomatch = __commonJS((exports, module3) => {
189072
190839
  var scan = require_scan2();
189073
- var parse3 = require_parse3();
190840
+ var parse3 = require_parse4();
189074
190841
  var utils5 = require_utils3();
189075
- var constants2 = require_constants2();
190842
+ var constants2 = require_constants3();
189076
190843
  var isObject2 = (val) => val && typeof val === "object" && !Array.isArray(val);
189077
190844
  var picomatch = (glob, options, returnState = false) => {
189078
190845
  if (Array.isArray(glob)) {
@@ -258129,7 +259896,7 @@ var require_errors = __commonJS((exports) => {
258129
259896
  });
258130
259897
 
258131
259898
  // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/parse.cjs
258132
- var require_parse4 = __commonJS((exports) => {
259899
+ var require_parse5 = __commonJS((exports) => {
258133
259900
  var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
258134
259901
  if (k2 === undefined)
258135
259902
  k2 = k;
@@ -259093,7 +260860,7 @@ var require_schemas = __commonJS((exports) => {
259093
260860
  var checks = __importStar(require_checks());
259094
260861
  var core = __importStar(require_core());
259095
260862
  var doc_js_1 = require_doc();
259096
- var parse_js_1 = require_parse4();
260863
+ var parse_js_1 = require_parse5();
259097
260864
  var regexes = __importStar(require_regexes());
259098
260865
  var util = __importStar(require_util2());
259099
260866
  var versions_js_1 = require_versions();
@@ -264981,7 +266748,7 @@ var require_ko = __commonJS((exports, module3) => {
264981
266748
  });
264982
266749
 
264983
266750
  // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/lt.cjs
264984
- var require_lt2 = __commonJS((exports, module3) => {
266751
+ var require_lt3 = __commonJS((exports, module3) => {
264985
266752
  var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
264986
266753
  if (k2 === undefined)
264987
266754
  k2 = k;
@@ -268498,7 +270265,7 @@ var require_locales = __commonJS((exports) => {
268498
270265
  Object.defineProperty(exports, "ko", { enumerable: true, get: function() {
268499
270266
  return __importDefault(ko_js_1).default;
268500
270267
  } });
268501
- var lt_js_1 = require_lt2();
270268
+ var lt_js_1 = require_lt3();
268502
270269
  Object.defineProperty(exports, "lt", { enumerable: true, get: function() {
268503
270270
  return __importDefault(lt_js_1).default;
268504
270271
  } });
@@ -270794,7 +272561,7 @@ var require_core2 = __commonJS((exports) => {
270794
272561
  Object.defineProperty(exports, "__esModule", { value: true });
270795
272562
  exports.JSONSchema = exports.JSONSchemaGenerator = exports.toJSONSchema = exports.locales = exports.regexes = exports.util = undefined;
270796
272563
  __exportStar(require_core(), exports);
270797
- __exportStar(require_parse4(), exports);
272564
+ __exportStar(require_parse5(), exports);
270798
272565
  __exportStar(require_errors(), exports);
270799
272566
  __exportStar(require_schemas(), exports);
270800
272567
  __exportStar(require_checks(), exports);
@@ -277301,7 +279068,7 @@ var require_errors2 = __commonJS((exports) => {
277301
279068
  });
277302
279069
 
277303
279070
  // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/parse.cjs
277304
- var require_parse5 = __commonJS((exports) => {
279071
+ var require_parse6 = __commonJS((exports) => {
277305
279072
  var __createBinding = exports && exports.__createBinding || (Object.create ? function(o34, m73, k65, k210) {
277306
279073
  if (k210 === undefined)
277307
279074
  k210 = k65;
@@ -277489,7 +279256,7 @@ var require_schemas2 = __commonJS((exports) => {
277489
279256
  var to_json_schema_js_1 = require_to_json_schema();
277490
279257
  var checks = __importStar(require_checks2());
277491
279258
  var iso = __importStar(require_iso());
277492
- var parse3 = __importStar(require_parse5());
279259
+ var parse3 = __importStar(require_parse6());
277493
279260
  exports.ZodType = core.$constructor("ZodType", (inst, def) => {
277494
279261
  core.$ZodType.init(inst, def);
277495
279262
  Object.assign(inst["~standard"], {
@@ -279142,7 +280909,7 @@ var require_from_json_schema = __commonJS((exports) => {
279142
280909
  });
279143
280910
 
279144
280911
  // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/coerce.cjs
279145
- var require_coerce2 = __commonJS((exports) => {
280912
+ var require_coerce3 = __commonJS((exports) => {
279146
280913
  var __createBinding = exports && exports.__createBinding || (Object.create ? function(o34, m73, k65, k210) {
279147
280914
  if (k210 === undefined)
279148
280915
  k210 = k65;
@@ -279248,7 +281015,7 @@ var require_external = __commonJS((exports) => {
279248
281015
  __exportStar(require_schemas2(), exports);
279249
281016
  __exportStar(require_checks2(), exports);
279250
281017
  __exportStar(require_errors2(), exports);
279251
- __exportStar(require_parse5(), exports);
281018
+ __exportStar(require_parse6(), exports);
279252
281019
  __exportStar(require_compat(), exports);
279253
281020
  var index_js_1 = require_core2();
279254
281021
  var en_js_1 = __importDefault(require_en());
@@ -279322,7 +281089,7 @@ var require_external = __commonJS((exports) => {
279322
281089
  return iso_js_1.ZodISODuration;
279323
281090
  } });
279324
281091
  exports.iso = __importStar(require_iso());
279325
- exports.coerce = __importStar(require_coerce2());
281092
+ exports.coerce = __importStar(require_coerce3());
279326
281093
  });
279327
281094
 
279328
281095
  // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/index.cjs
@@ -501589,7 +503356,7 @@ var require_lib10 = __commonJS((exports) => {
501589
503356
  });
501590
503357
 
501591
503358
  // ../../node_modules/.pnpm/@babel+types@7.29.0/node_modules/@babel/types/lib/constants/index.js
501592
- var require_constants3 = __commonJS((exports) => {
503359
+ var require_constants4 = __commonJS((exports) => {
501593
503360
  Object.defineProperty(exports, "__esModule", {
501594
503361
  value: true
501595
503362
  });
@@ -501931,7 +503698,7 @@ var require_core3 = __commonJS((exports) => {
501931
503698
  var _isValidIdentifier = require_isValidIdentifier();
501932
503699
  var _helperValidatorIdentifier = require_lib();
501933
503700
  var _helperStringParser = require_lib10();
501934
- var _index = require_constants3();
503701
+ var _index = require_constants4();
501935
503702
  var _utils = require_utils4();
501936
503703
  var classMethodOrPropertyUnionShapeCommon = (allowPrivateName = false) => ({
501937
503704
  unionShape: {
@@ -510226,7 +511993,7 @@ var require_removeComments = __commonJS((exports) => {
510226
511993
  value: true
510227
511994
  });
510228
511995
  exports.default = removeComments;
510229
- var _index = require_constants3();
511996
+ var _index = require_constants4();
510230
511997
  function removeComments(node) {
510231
511998
  _index.COMMENT_KEYS.forEach((key) => {
510232
511999
  node[key] = null;
@@ -510472,7 +512239,7 @@ var require_removeProperties = __commonJS((exports) => {
510472
512239
  value: true
510473
512240
  });
510474
512241
  exports.default = removeProperties;
510475
- var _index = require_constants3();
512242
+ var _index = require_constants4();
510476
512243
  var CLEAR_KEYS = ["tokens", "start", "end", "loc", "raw", "rawValue"];
510477
512244
  var CLEAR_KEYS_PLUS_COMMENTS = [..._index.COMMENT_KEYS, "comments", ...CLEAR_KEYS];
510478
512245
  function removeProperties(node, opts = {}) {
@@ -510692,7 +512459,7 @@ var require_inherits = __commonJS((exports) => {
510692
512459
  value: true
510693
512460
  });
510694
512461
  exports.default = inherits;
510695
- var _index = require_constants3();
512462
+ var _index = require_constants4();
510696
512463
  var _inheritsComments = require_inheritsComments();
510697
512464
  function inherits(child, parent) {
510698
512465
  if (!child || !parent)
@@ -511892,7 +513659,7 @@ var require_lib11 = __commonJS((exports) => {
511892
513659
  }
511893
513660
  });
511894
513661
  });
511895
- var _index4 = require_constants3();
513662
+ var _index4 = require_constants4();
511896
513663
  Object.keys(_index4).forEach(function(key) {
511897
513664
  if (key === "default" || key === "__esModule")
511898
513665
  return;
@@ -512863,7 +514630,7 @@ var require_expand = __commonJS((exports, module3) => {
512863
514630
  });
512864
514631
 
512865
514632
  // ../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/constants.js
512866
- var require_constants4 = __commonJS((exports, module3) => {
514633
+ var require_constants5 = __commonJS((exports, module3) => {
512867
514634
  module3.exports = {
512868
514635
  MAX_LENGTH: 1e4,
512869
514636
  CHAR_0: "0",
@@ -512915,7 +514682,7 @@ var require_constants4 = __commonJS((exports, module3) => {
512915
514682
  });
512916
514683
 
512917
514684
  // ../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/parse.js
512918
- var require_parse6 = __commonJS((exports, module3) => {
514685
+ var require_parse7 = __commonJS((exports, module3) => {
512919
514686
  var stringify2 = require_stringify2();
512920
514687
  var {
512921
514688
  MAX_LENGTH: MAX_LENGTH2,
@@ -512933,7 +514700,7 @@ var require_parse6 = __commonJS((exports, module3) => {
512933
514700
  CHAR_SINGLE_QUOTE,
512934
514701
  CHAR_NO_BREAK_SPACE,
512935
514702
  CHAR_ZERO_WIDTH_NOBREAK_SPACE
512936
- } = require_constants4();
514703
+ } = require_constants5();
512937
514704
  var parse4 = (input, options = {}) => {
512938
514705
  if (typeof input !== "string") {
512939
514706
  throw new TypeError("Expected a string");
@@ -513146,7 +514913,7 @@ var require_braces = __commonJS((exports, module3) => {
513146
514913
  var stringify2 = require_stringify2();
513147
514914
  var compile = require_compile();
513148
514915
  var expand = require_expand();
513149
- var parse4 = require_parse6();
514916
+ var parse4 = require_parse7();
513150
514917
  var braces = (input, options = {}) => {
513151
514918
  let output = [];
513152
514919
  if (Array.isArray(input)) {
@@ -513202,7 +514969,7 @@ var require_braces = __commonJS((exports, module3) => {
513202
514969
  });
513203
514970
 
513204
514971
  // ../../node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/constants.js
513205
- var require_constants5 = __commonJS((exports, module3) => {
514972
+ var require_constants6 = __commonJS((exports, module3) => {
513206
514973
  var path7 = __require("path");
513207
514974
  var WIN_SLASH = "\\\\/";
513208
514975
  var WIN_NO_SLASH = `[^${WIN_SLASH}]`;
@@ -513350,7 +515117,7 @@ var require_utils6 = __commonJS((exports) => {
513350
515117
  REGEX_REMOVE_BACKSLASH,
513351
515118
  REGEX_SPECIAL_CHARS,
513352
515119
  REGEX_SPECIAL_CHARS_GLOBAL
513353
- } = require_constants5();
515120
+ } = require_constants6();
513354
515121
  exports.isObject = (val) => val !== null && typeof val === "object" && !Array.isArray(val);
513355
515122
  exports.hasRegexChars = (str2) => REGEX_SPECIAL_CHARS.test(str2);
513356
515123
  exports.isRegexChar = (str2) => str2.length === 1 && exports.hasRegexChars(str2);
@@ -513420,7 +515187,7 @@ var require_scan3 = __commonJS((exports, module3) => {
513420
515187
  CHAR_RIGHT_CURLY_BRACE,
513421
515188
  CHAR_RIGHT_PARENTHESES,
513422
515189
  CHAR_RIGHT_SQUARE_BRACKET
513423
- } = require_constants5();
515190
+ } = require_constants6();
513424
515191
  var isPathSeparator = (code) => {
513425
515192
  return code === CHAR_FORWARD_SLASH || code === CHAR_BACKWARD_SLASH;
513426
515193
  };
@@ -513717,8 +515484,8 @@ var require_scan3 = __commonJS((exports, module3) => {
513717
515484
  });
513718
515485
 
513719
515486
  // ../../node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/parse.js
513720
- var require_parse7 = __commonJS((exports, module3) => {
513721
- var constants3 = require_constants5();
515487
+ var require_parse8 = __commonJS((exports, module3) => {
515488
+ var constants3 = require_constants6();
513722
515489
  var utils6 = require_utils6();
513723
515490
  var {
513724
515491
  MAX_LENGTH: MAX_LENGTH2,
@@ -514498,9 +516265,9 @@ var require_parse7 = __commonJS((exports, module3) => {
514498
516265
  var require_picomatch3 = __commonJS((exports, module3) => {
514499
516266
  var path7 = __require("path");
514500
516267
  var scan = require_scan3();
514501
- var parse4 = require_parse7();
516268
+ var parse4 = require_parse8();
514502
516269
  var utils6 = require_utils6();
514503
- var constants3 = require_constants5();
516270
+ var constants3 = require_constants6();
514504
516271
  var isObject2 = (val) => val && typeof val === "object" && !Array.isArray(val);
514505
516272
  var picomatch = (glob, options, returnState = false) => {
514506
516273
  if (Array.isArray(glob)) {
@@ -518139,7 +519906,7 @@ var require_quote = __commonJS((exports, module3) => {
518139
519906
  });
518140
519907
 
518141
519908
  // ../../node_modules/.pnpm/shell-quote@1.8.3/node_modules/shell-quote/parse.js
518142
- var require_parse8 = __commonJS((exports, module3) => {
519909
+ var require_parse9 = __commonJS((exports, module3) => {
518143
519910
  var CONTROL = "(?:" + [
518144
519911
  "\\|\\|",
518145
519912
  "\\&\\&",
@@ -525478,7 +527245,7 @@ var require_options = __commonJS((exports) => {
525478
527245
  });
525479
527246
 
525480
527247
  // ../../node_modules/.pnpm/@babel+template@7.28.6/node_modules/@babel/template/lib/parse.js
525481
- var require_parse9 = __commonJS((exports) => {
527248
+ var require_parse10 = __commonJS((exports) => {
525482
527249
  Object.defineProperty(exports, "__esModule", {
525483
527250
  value: true
525484
527251
  });
@@ -525787,7 +527554,7 @@ var require_string3 = __commonJS((exports) => {
525787
527554
  });
525788
527555
  exports.default = stringTemplate;
525789
527556
  var _options = require_options();
525790
- var _parse = require_parse9();
527557
+ var _parse = require_parse10();
525791
527558
  var _populate = require_populate();
525792
527559
  function stringTemplate(formatter, code, opts) {
525793
527560
  code = formatter.code(code);
@@ -525808,7 +527575,7 @@ var require_literal = __commonJS((exports) => {
525808
527575
  });
525809
527576
  exports.default = literalTemplate;
525810
527577
  var _options = require_options();
525811
- var _parse = require_parse9();
527578
+ var _parse = require_parse10();
525812
527579
  var _populate = require_populate();
525813
527580
  function literalTemplate(formatter, tpl, opts) {
525814
527581
  const {
@@ -539587,7 +541354,7 @@ var require_array2 = __commonJS((exports) => {
539587
541354
  });
539588
541355
 
539589
541356
  // ../../node_modules/.pnpm/diff@4.0.2/node_modules/diff/lib/patch/parse.js
539590
- var require_parse10 = __commonJS((exports) => {
541357
+ var require_parse11 = __commonJS((exports) => {
539591
541358
  Object.defineProperty(exports, "__esModule", {
539592
541359
  value: true
539593
541360
  });
@@ -539735,7 +541502,7 @@ var require_apply = __commonJS((exports) => {
539735
541502
  });
539736
541503
  exports.applyPatch = applyPatch;
539737
541504
  exports.applyPatches = applyPatches;
539738
- var _parse2 = require_parse10();
541505
+ var _parse2 = require_parse11();
539739
541506
  var _distanceIterator = _interopRequireDefault(require_distance_iterator());
539740
541507
  function _interopRequireDefault(obj) {
539741
541508
  return obj && obj.__esModule ? obj : { default: obj };
@@ -540028,7 +541795,7 @@ var require_merge4 = __commonJS((exports) => {
540028
541795
  exports.calcLineCount = calcLineCount;
540029
541796
  exports.merge = merge3;
540030
541797
  var _create = require_create();
540031
- var _parse2 = require_parse10();
541798
+ var _parse2 = require_parse11();
540032
541799
  var _array2 = require_array3();
540033
541800
  function _toConsumableArray(arr) {
540034
541801
  return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread();
@@ -540540,7 +542307,7 @@ var require_lib15 = __commonJS((exports) => {
540540
542307
  var _json = require_json3();
540541
542308
  var _array2 = require_array2();
540542
542309
  var _apply = require_apply();
540543
- var _parse2 = require_parse10();
542310
+ var _parse2 = require_parse11();
540544
542311
  var _merge = require_merge4();
540545
542312
  var _create = require_create();
540546
542313
  var _dmp = require_dmp();
@@ -585500,7 +587267,7 @@ var __dirname = "/home/runner/work/powerhouse/powerhouse/node_modules/.pnpm/@gra
585500
587267
 
585501
587268
  // ../../node_modules/.pnpm/shell-quote@1.8.3/node_modules/shell-quote/index.js
585502
587269
  var $quote = require_quote();
585503
- var $parse = require_parse8();
587270
+ var $parse = require_parse9();
585504
587271
 
585505
587272
  // ../../node_modules/.pnpm/@graphql-codegen+cli@6.1.1_@parcel+watcher@2.5.1_@types+node@25.2.3_bufferutil@4.0.9_cr_0562a99e73eb786a38f99876c20965f9/node_modules/@graphql-codegen/cli/esm/utils/watcher.js
585506
587273
  var import_micromatch2 = __toESM(require_micromatch(), 1);
@@ -602104,7 +603871,7 @@ var use = import_cmd_ts16.command({
602104
603871
  });
602105
603872
 
602106
603873
  // src/commands/ph.ts
602107
- var phCmdVersionInfo = await getPhCmdVersionInfo("6.0.0-dev.55");
603874
+ var phCmdVersionInfo = await getPhCmdVersionInfo("6.0.0-dev.57");
602108
603875
  var ph = import_cmd_ts17.subcommands({
602109
603876
  name: "ph",
602110
603877
  version: phCmdVersionInfo,
@@ -602132,7 +603899,7 @@ var cliDescription = ph.description ?? "";
602132
603899
  async function main2() {
602133
603900
  await writeCliDocsMarkdownFile({
602134
603901
  filePath: "COMMANDS.md",
602135
- docsTitle: `PH-CMD CLI Commands (${"6.0.0-dev.55"})`,
603902
+ docsTitle: `PH-CMD CLI Commands (${"6.0.0-dev.57"})`,
602136
603903
  docsIntroduction: "This document provides detailed information about the available commands in the PH-CMD CLI. The CLI is published as `ph-cmd` and is invoked with the `ph` command.",
602137
603904
  cliDescription,
602138
603905
  entries: commands