@html-validate/commitlint-config 4.0.0 → 4.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commitlint.js +468 -726
- package/dist/config.js +1 -5
- package/dist/formatter.js +5 -1
- package/package.json +1 -1
package/dist/commitlint.js
CHANGED
|
@@ -1022,6 +1022,7 @@ var require_range = __commonJS({
|
|
|
1022
1022
|
return this.range;
|
|
1023
1023
|
}
|
|
1024
1024
|
parseRange(range) {
|
|
1025
|
+
range = range.replace(BUILDSTRIPRE, "");
|
|
1025
1026
|
const memoOpts = (this.options.includePrerelease && FLAG_INCLUDE_PRERELEASE) | (this.options.loose && FLAG_LOOSE);
|
|
1026
1027
|
const memoKey = memoOpts + ":" + range;
|
|
1027
1028
|
const cached = cache.get(memoKey);
|
|
@@ -1104,12 +1105,14 @@ var require_range = __commonJS({
|
|
|
1104
1105
|
var SemVer = require_semver();
|
|
1105
1106
|
var {
|
|
1106
1107
|
safeRe: re,
|
|
1108
|
+
src,
|
|
1107
1109
|
t: t2,
|
|
1108
1110
|
comparatorTrimReplace,
|
|
1109
1111
|
tildeTrimReplace,
|
|
1110
1112
|
caretTrimReplace
|
|
1111
1113
|
} = require_re();
|
|
1112
1114
|
var { FLAG_INCLUDE_PRERELEASE, FLAG_LOOSE } = require_constants();
|
|
1115
|
+
var BUILDSTRIPRE = new RegExp(src[t2.BUILD], "g");
|
|
1113
1116
|
var isNullSet = (c2) => c2.value === "<0.0.0-0";
|
|
1114
1117
|
var isAny = (c2) => c2.value === "";
|
|
1115
1118
|
var isSatisfiable = (comparators, options) => {
|
|
@@ -1143,20 +1146,20 @@ var require_range = __commonJS({
|
|
|
1143
1146
|
};
|
|
1144
1147
|
var replaceTilde = (comp, options) => {
|
|
1145
1148
|
const r2 = options.loose ? re[t2.TILDELOOSE] : re[t2.TILDE];
|
|
1146
|
-
return comp.replace(r2, (_2,
|
|
1147
|
-
debug("tilde", comp, _2,
|
|
1149
|
+
return comp.replace(r2, (_2, M, m2, p2, pr) => {
|
|
1150
|
+
debug("tilde", comp, _2, M, m2, p2, pr);
|
|
1148
1151
|
let ret;
|
|
1149
|
-
if (isX(
|
|
1152
|
+
if (isX(M)) {
|
|
1150
1153
|
ret = "";
|
|
1151
1154
|
} else if (isX(m2)) {
|
|
1152
|
-
ret = `>=${
|
|
1155
|
+
ret = `>=${M}.0.0 <${+M + 1}.0.0-0`;
|
|
1153
1156
|
} else if (isX(p2)) {
|
|
1154
|
-
ret = `>=${
|
|
1157
|
+
ret = `>=${M}.${m2}.0 <${M}.${+m2 + 1}.0-0`;
|
|
1155
1158
|
} else if (pr) {
|
|
1156
1159
|
debug("replaceTilde pr", pr);
|
|
1157
|
-
ret = `>=${
|
|
1160
|
+
ret = `>=${M}.${m2}.${p2}-${pr} <${M}.${+m2 + 1}.0-0`;
|
|
1158
1161
|
} else {
|
|
1159
|
-
ret = `>=${
|
|
1162
|
+
ret = `>=${M}.${m2}.${p2} <${M}.${+m2 + 1}.0-0`;
|
|
1160
1163
|
}
|
|
1161
1164
|
debug("tilde return", ret);
|
|
1162
1165
|
return ret;
|
|
@@ -1169,40 +1172,40 @@ var require_range = __commonJS({
|
|
|
1169
1172
|
debug("caret", comp, options);
|
|
1170
1173
|
const r2 = options.loose ? re[t2.CARETLOOSE] : re[t2.CARET];
|
|
1171
1174
|
const z2 = options.includePrerelease ? "-0" : "";
|
|
1172
|
-
return comp.replace(r2, (_2,
|
|
1173
|
-
debug("caret", comp, _2,
|
|
1175
|
+
return comp.replace(r2, (_2, M, m2, p2, pr) => {
|
|
1176
|
+
debug("caret", comp, _2, M, m2, p2, pr);
|
|
1174
1177
|
let ret;
|
|
1175
|
-
if (isX(
|
|
1178
|
+
if (isX(M)) {
|
|
1176
1179
|
ret = "";
|
|
1177
1180
|
} else if (isX(m2)) {
|
|
1178
|
-
ret = `>=${
|
|
1181
|
+
ret = `>=${M}.0.0${z2} <${+M + 1}.0.0-0`;
|
|
1179
1182
|
} else if (isX(p2)) {
|
|
1180
|
-
if (
|
|
1181
|
-
ret = `>=${
|
|
1183
|
+
if (M === "0") {
|
|
1184
|
+
ret = `>=${M}.${m2}.0${z2} <${M}.${+m2 + 1}.0-0`;
|
|
1182
1185
|
} else {
|
|
1183
|
-
ret = `>=${
|
|
1186
|
+
ret = `>=${M}.${m2}.0${z2} <${+M + 1}.0.0-0`;
|
|
1184
1187
|
}
|
|
1185
1188
|
} else if (pr) {
|
|
1186
1189
|
debug("replaceCaret pr", pr);
|
|
1187
|
-
if (
|
|
1190
|
+
if (M === "0") {
|
|
1188
1191
|
if (m2 === "0") {
|
|
1189
|
-
ret = `>=${
|
|
1192
|
+
ret = `>=${M}.${m2}.${p2}-${pr} <${M}.${m2}.${+p2 + 1}-0`;
|
|
1190
1193
|
} else {
|
|
1191
|
-
ret = `>=${
|
|
1194
|
+
ret = `>=${M}.${m2}.${p2}-${pr} <${M}.${+m2 + 1}.0-0`;
|
|
1192
1195
|
}
|
|
1193
1196
|
} else {
|
|
1194
|
-
ret = `>=${
|
|
1197
|
+
ret = `>=${M}.${m2}.${p2}-${pr} <${+M + 1}.0.0-0`;
|
|
1195
1198
|
}
|
|
1196
1199
|
} else {
|
|
1197
1200
|
debug("no pr");
|
|
1198
|
-
if (
|
|
1201
|
+
if (M === "0") {
|
|
1199
1202
|
if (m2 === "0") {
|
|
1200
|
-
ret = `>=${
|
|
1203
|
+
ret = `>=${M}.${m2}.${p2}${z2} <${M}.${m2}.${+p2 + 1}-0`;
|
|
1201
1204
|
} else {
|
|
1202
|
-
ret = `>=${
|
|
1205
|
+
ret = `>=${M}.${m2}.${p2}${z2} <${M}.${+m2 + 1}.0-0`;
|
|
1203
1206
|
}
|
|
1204
1207
|
} else {
|
|
1205
|
-
ret = `>=${
|
|
1208
|
+
ret = `>=${M}.${m2}.${p2} <${+M + 1}.0.0-0`;
|
|
1206
1209
|
}
|
|
1207
1210
|
}
|
|
1208
1211
|
debug("caret return", ret);
|
|
@@ -1216,9 +1219,9 @@ var require_range = __commonJS({
|
|
|
1216
1219
|
var replaceXRange = (comp, options) => {
|
|
1217
1220
|
comp = comp.trim();
|
|
1218
1221
|
const r2 = options.loose ? re[t2.XRANGELOOSE] : re[t2.XRANGE];
|
|
1219
|
-
return comp.replace(r2, (ret, gtlt,
|
|
1220
|
-
debug("xRange", comp, ret, gtlt,
|
|
1221
|
-
const xM = isX(
|
|
1222
|
+
return comp.replace(r2, (ret, gtlt, M, m2, p2, pr) => {
|
|
1223
|
+
debug("xRange", comp, ret, gtlt, M, m2, p2, pr);
|
|
1224
|
+
const xM = isX(M);
|
|
1222
1225
|
const xm = xM || isX(m2);
|
|
1223
1226
|
const xp = xm || isX(p2);
|
|
1224
1227
|
const anyX = xp;
|
|
@@ -1240,7 +1243,7 @@ var require_range = __commonJS({
|
|
|
1240
1243
|
if (gtlt === ">") {
|
|
1241
1244
|
gtlt = ">=";
|
|
1242
1245
|
if (xm) {
|
|
1243
|
-
|
|
1246
|
+
M = +M + 1;
|
|
1244
1247
|
m2 = 0;
|
|
1245
1248
|
p2 = 0;
|
|
1246
1249
|
} else {
|
|
@@ -1250,7 +1253,7 @@ var require_range = __commonJS({
|
|
|
1250
1253
|
} else if (gtlt === "<=") {
|
|
1251
1254
|
gtlt = "<";
|
|
1252
1255
|
if (xm) {
|
|
1253
|
-
|
|
1256
|
+
M = +M + 1;
|
|
1254
1257
|
} else {
|
|
1255
1258
|
m2 = +m2 + 1;
|
|
1256
1259
|
}
|
|
@@ -1258,11 +1261,11 @@ var require_range = __commonJS({
|
|
|
1258
1261
|
if (gtlt === "<") {
|
|
1259
1262
|
pr = "-0";
|
|
1260
1263
|
}
|
|
1261
|
-
ret = `${gtlt +
|
|
1264
|
+
ret = `${gtlt + M}.${m2}.${p2}${pr}`;
|
|
1262
1265
|
} else if (xm) {
|
|
1263
|
-
ret = `>=${
|
|
1266
|
+
ret = `>=${M}.0.0${pr} <${+M + 1}.0.0-0`;
|
|
1264
1267
|
} else if (xp) {
|
|
1265
|
-
ret = `>=${
|
|
1268
|
+
ret = `>=${M}.${m2}.0${pr} <${M}.${+m2 + 1}.0-0`;
|
|
1266
1269
|
}
|
|
1267
1270
|
debug("xRange return", ret);
|
|
1268
1271
|
return ret;
|
|
@@ -1865,7 +1868,7 @@ var require_subset = __commonJS({
|
|
|
1865
1868
|
if (higher === c2 && higher !== gt) {
|
|
1866
1869
|
return false;
|
|
1867
1870
|
}
|
|
1868
|
-
} else if (gt.operator === ">=" && !
|
|
1871
|
+
} else if (gt.operator === ">=" && !c2.test(gt.semver)) {
|
|
1869
1872
|
return false;
|
|
1870
1873
|
}
|
|
1871
1874
|
}
|
|
@@ -1880,7 +1883,7 @@ var require_subset = __commonJS({
|
|
|
1880
1883
|
if (lower === c2 && lower !== lt) {
|
|
1881
1884
|
return false;
|
|
1882
1885
|
}
|
|
1883
|
-
} else if (lt.operator === "<=" && !
|
|
1886
|
+
} else if (lt.operator === "<=" && !c2.test(lt.semver)) {
|
|
1884
1887
|
return false;
|
|
1885
1888
|
}
|
|
1886
1889
|
}
|
|
@@ -228144,12 +228147,12 @@ var require_jiti = __commonJS({
|
|
|
228144
228147
|
}, acorn_Parser.tokenizer = function(e4, t4) {
|
|
228145
228148
|
return new this(t4, e4);
|
|
228146
228149
|
}, Object.defineProperties(acorn_Parser.prototype, T2);
|
|
228147
|
-
var
|
|
228148
|
-
|
|
228150
|
+
var A = acorn_Parser.prototype, N2 = /^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;
|
|
228151
|
+
A.strictDirective = function(e4) {
|
|
228149
228152
|
if (this.options.ecmaVersion < 5) return false;
|
|
228150
228153
|
for (; ; ) {
|
|
228151
228154
|
v2.lastIndex = e4, e4 += v2.exec(this.input)[0].length;
|
|
228152
|
-
var t4 =
|
|
228155
|
+
var t4 = N2.exec(this.input.slice(e4));
|
|
228153
228156
|
if (!t4) return false;
|
|
228154
228157
|
if ("use strict" === (t4[1] || t4[2])) {
|
|
228155
228158
|
v2.lastIndex = e4 + t4[0].length;
|
|
@@ -228158,48 +228161,48 @@ var require_jiti = __commonJS({
|
|
|
228158
228161
|
}
|
|
228159
228162
|
e4 += t4[0].length, v2.lastIndex = e4, e4 += v2.exec(this.input)[0].length, ";" === this.input[e4] && e4++;
|
|
228160
228163
|
}
|
|
228161
|
-
},
|
|
228164
|
+
}, A.eat = function(e4) {
|
|
228162
228165
|
return this.type === e4 && (this.next(), true);
|
|
228163
|
-
},
|
|
228166
|
+
}, A.isContextual = function(e4) {
|
|
228164
228167
|
return this.type === f2.name && this.value === e4 && !this.containsEsc;
|
|
228165
|
-
},
|
|
228168
|
+
}, A.eatContextual = function(e4) {
|
|
228166
228169
|
return !!this.isContextual(e4) && (this.next(), true);
|
|
228167
|
-
},
|
|
228170
|
+
}, A.expectContextual = function(e4) {
|
|
228168
228171
|
this.eatContextual(e4) || this.unexpected();
|
|
228169
|
-
},
|
|
228172
|
+
}, A.canInsertSemicolon = function() {
|
|
228170
228173
|
return this.type === f2.eof || this.type === f2.braceR || m2.test(this.input.slice(this.lastTokEnd, this.start));
|
|
228171
|
-
},
|
|
228174
|
+
}, A.insertSemicolon = function() {
|
|
228172
228175
|
if (this.canInsertSemicolon()) return this.options.onInsertedSemicolon && this.options.onInsertedSemicolon(this.lastTokEnd, this.lastTokEndLoc), true;
|
|
228173
|
-
},
|
|
228176
|
+
}, A.semicolon = function() {
|
|
228174
228177
|
this.eat(f2.semi) || this.insertSemicolon() || this.unexpected();
|
|
228175
|
-
},
|
|
228178
|
+
}, A.afterTrailingComma = function(e4, t4) {
|
|
228176
228179
|
if (this.type === e4) return this.options.onTrailingComma && this.options.onTrailingComma(this.lastTokStart, this.lastTokStartLoc), t4 || this.next(), true;
|
|
228177
|
-
},
|
|
228180
|
+
}, A.expect = function(e4) {
|
|
228178
228181
|
this.eat(e4) || this.unexpected();
|
|
228179
|
-
},
|
|
228182
|
+
}, A.unexpected = function(e4) {
|
|
228180
228183
|
this.raise(null != e4 ? e4 : this.start, "Unexpected token");
|
|
228181
228184
|
};
|
|
228182
228185
|
var acorn_DestructuringErrors = function() {
|
|
228183
228186
|
this.shorthandAssign = this.trailingComma = this.parenthesizedAssign = this.parenthesizedBind = this.doubleProto = -1;
|
|
228184
228187
|
};
|
|
228185
|
-
|
|
228188
|
+
A.checkPatternErrors = function(e4, t4) {
|
|
228186
228189
|
if (e4) {
|
|
228187
228190
|
e4.trailingComma > -1 && this.raiseRecoverable(e4.trailingComma, "Comma is not permitted after the rest element");
|
|
228188
228191
|
var i3 = t4 ? e4.parenthesizedAssign : e4.parenthesizedBind;
|
|
228189
228192
|
i3 > -1 && this.raiseRecoverable(i3, t4 ? "Assigning to rvalue" : "Parenthesized pattern");
|
|
228190
228193
|
}
|
|
228191
|
-
},
|
|
228194
|
+
}, A.checkExpressionErrors = function(e4, t4) {
|
|
228192
228195
|
if (!e4) return false;
|
|
228193
228196
|
var i3 = e4.shorthandAssign, s3 = e4.doubleProto;
|
|
228194
228197
|
if (!t4) return i3 >= 0 || s3 >= 0;
|
|
228195
228198
|
i3 >= 0 && this.raise(i3, "Shorthand property assignments are valid only in destructuring patterns"), s3 >= 0 && this.raiseRecoverable(s3, "Redefinition of __proto__ property");
|
|
228196
|
-
},
|
|
228199
|
+
}, A.checkYieldAwaitInDefaultParams = function() {
|
|
228197
228200
|
this.yieldPos && (!this.awaitPos || this.yieldPos < this.awaitPos) && this.raise(this.yieldPos, "Yield expression cannot be a default value"), this.awaitPos && this.raise(this.awaitPos, "Await expression cannot be a default value");
|
|
228198
|
-
},
|
|
228201
|
+
}, A.isSimpleAssignTarget = function(e4) {
|
|
228199
228202
|
return "ParenthesizedExpression" === e4.type ? this.isSimpleAssignTarget(e4.expression) : "Identifier" === e4.type || "MemberExpression" === e4.type;
|
|
228200
228203
|
};
|
|
228201
|
-
var
|
|
228202
|
-
|
|
228204
|
+
var L = acorn_Parser.prototype;
|
|
228205
|
+
L.parseTopLevel = function(e4) {
|
|
228203
228206
|
var t4 = /* @__PURE__ */ Object.create(null);
|
|
228204
228207
|
for (e4.body || (e4.body = []); this.type !== f2.eof; ) {
|
|
228205
228208
|
var i3 = this.parseStatement(null, true, t4);
|
|
@@ -228212,7 +228215,7 @@ var require_jiti = __commonJS({
|
|
|
228212
228215
|
return this.adaptDirectivePrologue(e4.body), this.next(), e4.sourceType = this.options.sourceType, this.finishNode(e4, "Program");
|
|
228213
228216
|
};
|
|
228214
228217
|
var O2 = { kind: "loop" }, D2 = { kind: "switch" };
|
|
228215
|
-
|
|
228218
|
+
L.isLet = function(e4) {
|
|
228216
228219
|
if (this.options.ecmaVersion < 6 || !this.isContextual("let")) return false;
|
|
228217
228220
|
v2.lastIndex = this.pos;
|
|
228218
228221
|
var t4 = v2.exec(this.input), i3 = this.pos + t4[0].length, s3 = this.input.charCodeAt(i3);
|
|
@@ -228226,12 +228229,12 @@ var require_jiti = __commonJS({
|
|
|
228226
228229
|
if (!h2.test(n3)) return true;
|
|
228227
228230
|
}
|
|
228228
228231
|
return false;
|
|
228229
|
-
},
|
|
228232
|
+
}, L.isAsyncFunction = function() {
|
|
228230
228233
|
if (this.options.ecmaVersion < 8 || !this.isContextual("async")) return false;
|
|
228231
228234
|
v2.lastIndex = this.pos;
|
|
228232
228235
|
var e4, t4 = v2.exec(this.input), i3 = this.pos + t4[0].length;
|
|
228233
228236
|
return !(m2.test(this.input.slice(this.pos, i3)) || "function" !== this.input.slice(i3, i3 + 8) || i3 + 8 !== this.input.length && (isIdentifierChar(e4 = this.input.charCodeAt(i3 + 8)) || e4 > 55295 && e4 < 56320));
|
|
228234
|
-
},
|
|
228237
|
+
}, L.isUsingKeyword = function(e4, t4) {
|
|
228235
228238
|
if (this.options.ecmaVersion < 17 || !this.isContextual(e4 ? "await" : "using")) return false;
|
|
228236
228239
|
v2.lastIndex = this.pos;
|
|
228237
228240
|
var i3 = v2.exec(this.input), s3 = this.pos + i3[0].length;
|
|
@@ -228249,11 +228252,11 @@ var require_jiti = __commonJS({
|
|
|
228249
228252
|
}
|
|
228250
228253
|
var c3 = this.input.charCodeAt(s3);
|
|
228251
228254
|
return isIdentifierStart(c3, true) || 92 === c3;
|
|
228252
|
-
},
|
|
228255
|
+
}, L.isAwaitUsing = function(e4) {
|
|
228253
228256
|
return this.isUsingKeyword(true, e4);
|
|
228254
|
-
},
|
|
228257
|
+
}, L.isUsing = function(e4) {
|
|
228255
228258
|
return this.isUsingKeyword(false, e4);
|
|
228256
|
-
},
|
|
228259
|
+
}, L.parseStatement = function(e4, t4, i3) {
|
|
228257
228260
|
var s3, r3 = this.type, n3 = this.startNode();
|
|
228258
228261
|
switch (this.isLet(e4) && (r3 = f2._var, s3 = "let"), r3) {
|
|
228259
228262
|
case f2._break:
|
|
@@ -228305,7 +228308,7 @@ var require_jiti = __commonJS({
|
|
|
228305
228308
|
var p3 = this.value, l3 = this.parseExpression();
|
|
228306
228309
|
return r3 === f2.name && "Identifier" === l3.type && this.eat(f2.colon) ? this.parseLabeledStatement(n3, p3, l3, e4) : this.parseExpressionStatement(n3, l3);
|
|
228307
228310
|
}
|
|
228308
|
-
},
|
|
228311
|
+
}, L.parseBreakContinueStatement = function(e4, t4) {
|
|
228309
228312
|
var i3 = "break" === t4;
|
|
228310
228313
|
this.next(), this.eat(f2.semi) || this.insertSemicolon() ? e4.label = null : this.type !== f2.name ? this.unexpected() : (e4.label = this.parseIdent(), this.semicolon());
|
|
228311
228314
|
for (var s3 = 0; s3 < this.labels.length; ++s3) {
|
|
@@ -228316,11 +228319,11 @@ var require_jiti = __commonJS({
|
|
|
228316
228319
|
}
|
|
228317
228320
|
}
|
|
228318
228321
|
return s3 === this.labels.length && this.raise(e4.start, "Unsyntactic " + t4), this.finishNode(e4, i3 ? "BreakStatement" : "ContinueStatement");
|
|
228319
|
-
},
|
|
228322
|
+
}, L.parseDebuggerStatement = function(e4) {
|
|
228320
228323
|
return this.next(), this.semicolon(), this.finishNode(e4, "DebuggerStatement");
|
|
228321
|
-
},
|
|
228324
|
+
}, L.parseDoStatement = function(e4) {
|
|
228322
228325
|
return this.next(), this.labels.push(O2), e4.body = this.parseStatement("do"), this.labels.pop(), this.expect(f2._while), e4.test = this.parseParenExpression(), this.options.ecmaVersion >= 6 ? this.eat(f2.semi) : this.semicolon(), this.finishNode(e4, "DoWhileStatement");
|
|
228323
|
-
},
|
|
228326
|
+
}, L.parseForStatement = function(e4) {
|
|
228324
228327
|
this.next();
|
|
228325
228328
|
var t4 = this.options.ecmaVersion >= 9 && this.canAwait && this.eatContextual("await") ? this.lastTokStart : -1;
|
|
228326
228329
|
if (this.labels.push(O2), this.enterScope(0), this.expect(f2.parenL), this.type === f2.semi) return t4 > -1 && this.unexpected(t4), this.parseFor(e4, null);
|
|
@@ -228336,15 +228339,15 @@ var require_jiti = __commonJS({
|
|
|
228336
228339
|
}
|
|
228337
228340
|
var c3 = this.containsEsc, p3 = new acorn_DestructuringErrors(), l3 = this.start, u3 = t4 > -1 ? this.parseExprSubscripts(p3, "await") : this.parseExpression(true, p3);
|
|
228338
228341
|
return this.type === f2._in || (a3 = this.options.ecmaVersion >= 6 && this.isContextual("of")) ? (t4 > -1 ? (this.type === f2._in && this.unexpected(t4), e4.await = true) : a3 && this.options.ecmaVersion >= 8 && (u3.start !== l3 || c3 || "Identifier" !== u3.type || "async" !== u3.name ? this.options.ecmaVersion >= 9 && (e4.await = false) : this.unexpected()), n3 && a3 && this.raise(u3.start, "The left-hand side of a for-of loop may not start with 'let'."), this.toAssignable(u3, false, p3), this.checkLValPattern(u3), this.parseForIn(e4, u3)) : (this.checkExpressionErrors(p3, true), t4 > -1 && this.unexpected(t4), this.parseFor(e4, u3));
|
|
228339
|
-
},
|
|
228342
|
+
}, L.parseForAfterInit = function(e4, t4, i3) {
|
|
228340
228343
|
return (this.type === f2._in || this.options.ecmaVersion >= 6 && this.isContextual("of")) && 1 === t4.declarations.length ? (this.options.ecmaVersion >= 9 && (this.type === f2._in ? i3 > -1 && this.unexpected(i3) : e4.await = i3 > -1), this.parseForIn(e4, t4)) : (i3 > -1 && this.unexpected(i3), this.parseFor(e4, t4));
|
|
228341
|
-
},
|
|
228342
|
-
return this.next(), this.parseFunction(e4, U | (i3 ? 0 :
|
|
228343
|
-
},
|
|
228344
|
+
}, L.parseFunctionStatement = function(e4, t4, i3) {
|
|
228345
|
+
return this.next(), this.parseFunction(e4, U | (i3 ? 0 : M), false, t4);
|
|
228346
|
+
}, L.parseIfStatement = function(e4) {
|
|
228344
228347
|
return this.next(), e4.test = this.parseParenExpression(), e4.consequent = this.parseStatement("if"), e4.alternate = this.eat(f2._else) ? this.parseStatement("if") : null, this.finishNode(e4, "IfStatement");
|
|
228345
|
-
},
|
|
228348
|
+
}, L.parseReturnStatement = function(e4) {
|
|
228346
228349
|
return this.inFunction || this.options.allowReturnOutsideFunction || this.raise(this.start, "'return' outside of function"), this.next(), this.eat(f2.semi) || this.insertSemicolon() ? e4.argument = null : (e4.argument = this.parseExpression(), this.semicolon()), this.finishNode(e4, "ReturnStatement");
|
|
228347
|
-
},
|
|
228350
|
+
}, L.parseSwitchStatement = function(e4) {
|
|
228348
228351
|
var t4;
|
|
228349
228352
|
this.next(), e4.discriminant = this.parseParenExpression(), e4.cases = [], this.expect(f2.braceL), this.labels.push(D2), this.enterScope(0);
|
|
228350
228353
|
for (var i3 = false; this.type !== f2.braceR; ) if (this.type === f2._case || this.type === f2._default) {
|
|
@@ -228352,28 +228355,28 @@ var require_jiti = __commonJS({
|
|
|
228352
228355
|
t4 && this.finishNode(t4, "SwitchCase"), e4.cases.push(t4 = this.startNode()), t4.consequent = [], this.next(), s3 ? t4.test = this.parseExpression() : (i3 && this.raiseRecoverable(this.lastTokStart, "Multiple default clauses"), i3 = true, t4.test = null), this.expect(f2.colon);
|
|
228353
228356
|
} else t4 || this.unexpected(), t4.consequent.push(this.parseStatement(null));
|
|
228354
228357
|
return this.exitScope(), t4 && this.finishNode(t4, "SwitchCase"), this.next(), this.labels.pop(), this.finishNode(e4, "SwitchStatement");
|
|
228355
|
-
},
|
|
228358
|
+
}, L.parseThrowStatement = function(e4) {
|
|
228356
228359
|
return this.next(), m2.test(this.input.slice(this.lastTokEnd, this.start)) && this.raise(this.lastTokEnd, "Illegal newline after throw"), e4.argument = this.parseExpression(), this.semicolon(), this.finishNode(e4, "ThrowStatement");
|
|
228357
228360
|
};
|
|
228358
|
-
var
|
|
228359
|
-
|
|
228361
|
+
var V = [];
|
|
228362
|
+
L.parseCatchClauseParam = function() {
|
|
228360
228363
|
var e4 = this.parseBindingAtom(), t4 = "Identifier" === e4.type;
|
|
228361
228364
|
return this.enterScope(t4 ? 32 : 0), this.checkLValPattern(e4, t4 ? 4 : 2), this.expect(f2.parenR), e4;
|
|
228362
|
-
},
|
|
228365
|
+
}, L.parseTryStatement = function(e4) {
|
|
228363
228366
|
if (this.next(), e4.block = this.parseBlock(), e4.handler = null, this.type === f2._catch) {
|
|
228364
228367
|
var t4 = this.startNode();
|
|
228365
228368
|
this.next(), this.eat(f2.parenL) ? t4.param = this.parseCatchClauseParam() : (this.options.ecmaVersion < 10 && this.unexpected(), t4.param = null, this.enterScope(0)), t4.body = this.parseBlock(false), this.exitScope(), e4.handler = this.finishNode(t4, "CatchClause");
|
|
228366
228369
|
}
|
|
228367
228370
|
return e4.finalizer = this.eat(f2._finally) ? this.parseBlock() : null, e4.handler || e4.finalizer || this.raise(e4.start, "Missing catch or finally clause"), this.finishNode(e4, "TryStatement");
|
|
228368
|
-
},
|
|
228371
|
+
}, L.parseVarStatement = function(e4, t4, i3) {
|
|
228369
228372
|
return this.next(), this.parseVar(e4, false, t4, i3), this.semicolon(), this.finishNode(e4, "VariableDeclaration");
|
|
228370
|
-
},
|
|
228373
|
+
}, L.parseWhileStatement = function(e4) {
|
|
228371
228374
|
return this.next(), e4.test = this.parseParenExpression(), this.labels.push(O2), e4.body = this.parseStatement("while"), this.labels.pop(), this.finishNode(e4, "WhileStatement");
|
|
228372
|
-
},
|
|
228375
|
+
}, L.parseWithStatement = function(e4) {
|
|
228373
228376
|
return this.strict && this.raise(this.start, "'with' in strict mode"), this.next(), e4.object = this.parseParenExpression(), e4.body = this.parseStatement("with"), this.finishNode(e4, "WithStatement");
|
|
228374
|
-
},
|
|
228377
|
+
}, L.parseEmptyStatement = function(e4) {
|
|
228375
228378
|
return this.next(), this.finishNode(e4, "EmptyStatement");
|
|
228376
|
-
},
|
|
228379
|
+
}, L.parseLabeledStatement = function(e4, t4, i3, s3) {
|
|
228377
228380
|
for (var r3 = 0, n3 = this.labels; r3 < n3.length; r3 += 1) {
|
|
228378
228381
|
n3[r3].name === t4 && this.raise(i3.start, "Label '" + t4 + "' is already declared");
|
|
228379
228382
|
}
|
|
@@ -228383,29 +228386,29 @@ var require_jiti = __commonJS({
|
|
|
228383
228386
|
h3.statementStart = this.start, h3.kind = a3;
|
|
228384
228387
|
}
|
|
228385
228388
|
return this.labels.push({ name: t4, kind: a3, statementStart: this.start }), e4.body = this.parseStatement(s3 ? -1 === s3.indexOf("label") ? s3 + "label" : s3 : "label"), this.labels.pop(), e4.label = i3, this.finishNode(e4, "LabeledStatement");
|
|
228386
|
-
},
|
|
228389
|
+
}, L.parseExpressionStatement = function(e4, t4) {
|
|
228387
228390
|
return e4.expression = t4, this.semicolon(), this.finishNode(e4, "ExpressionStatement");
|
|
228388
|
-
},
|
|
228391
|
+
}, L.parseBlock = function(e4, t4, i3) {
|
|
228389
228392
|
for (void 0 === e4 && (e4 = true), void 0 === t4 && (t4 = this.startNode()), t4.body = [], this.expect(f2.braceL), e4 && this.enterScope(0); this.type !== f2.braceR; ) {
|
|
228390
228393
|
var s3 = this.parseStatement(null);
|
|
228391
228394
|
t4.body.push(s3);
|
|
228392
228395
|
}
|
|
228393
228396
|
return i3 && (this.strict = false), this.next(), e4 && this.exitScope(), this.finishNode(t4, "BlockStatement");
|
|
228394
|
-
},
|
|
228397
|
+
}, L.parseFor = function(e4, t4) {
|
|
228395
228398
|
return e4.init = t4, this.expect(f2.semi), e4.test = this.type === f2.semi ? null : this.parseExpression(), this.expect(f2.semi), e4.update = this.type === f2.parenR ? null : this.parseExpression(), this.expect(f2.parenR), e4.body = this.parseStatement("for"), this.exitScope(), this.labels.pop(), this.finishNode(e4, "ForStatement");
|
|
228396
|
-
},
|
|
228399
|
+
}, L.parseForIn = function(e4, t4) {
|
|
228397
228400
|
var i3 = this.type === f2._in;
|
|
228398
228401
|
return this.next(), "VariableDeclaration" === t4.type && null != t4.declarations[0].init && (!i3 || this.options.ecmaVersion < 8 || this.strict || "var" !== t4.kind || "Identifier" !== t4.declarations[0].id.type) && this.raise(t4.start, (i3 ? "for-in" : "for-of") + " loop variable declaration may not have an initializer"), e4.left = t4, e4.right = i3 ? this.parseExpression() : this.parseMaybeAssign(), this.expect(f2.parenR), e4.body = this.parseStatement("for"), this.exitScope(), this.labels.pop(), this.finishNode(e4, i3 ? "ForInStatement" : "ForOfStatement");
|
|
228399
|
-
},
|
|
228402
|
+
}, L.parseVar = function(e4, t4, i3, s3) {
|
|
228400
228403
|
for (e4.declarations = [], e4.kind = i3; ; ) {
|
|
228401
228404
|
var r3 = this.startNode();
|
|
228402
228405
|
if (this.parseVarId(r3, i3), this.eat(f2.eq) ? r3.init = this.parseMaybeAssign(t4) : s3 || "const" !== i3 || this.type === f2._in || this.options.ecmaVersion >= 6 && this.isContextual("of") ? s3 || "using" !== i3 && "await using" !== i3 || !(this.options.ecmaVersion >= 17) || this.type === f2._in || this.isContextual("of") ? s3 || "Identifier" === r3.id.type || t4 && (this.type === f2._in || this.isContextual("of")) ? r3.init = null : this.raise(this.lastTokEnd, "Complex binding patterns require an initialization value") : this.raise(this.lastTokEnd, "Missing initializer in " + i3 + " declaration") : this.unexpected(), e4.declarations.push(this.finishNode(r3, "VariableDeclarator")), !this.eat(f2.comma)) break;
|
|
228403
228406
|
}
|
|
228404
228407
|
return e4;
|
|
228405
|
-
},
|
|
228408
|
+
}, L.parseVarId = function(e4, t4) {
|
|
228406
228409
|
e4.id = "using" === t4 || "await using" === t4 ? this.parseIdent() : this.parseBindingAtom(), this.checkLValPattern(e4.id, "var" === t4 ? 1 : 2, false);
|
|
228407
228410
|
};
|
|
228408
|
-
var U = 1,
|
|
228411
|
+
var U = 1, M = 2;
|
|
228409
228412
|
function isPrivateNameConflicted(e4, t4) {
|
|
228410
228413
|
var i3 = t4.key.name, s3 = e4[i3], r3 = "true";
|
|
228411
228414
|
return "MethodDefinition" !== t4.type || "get" !== t4.kind && "set" !== t4.kind || (r3 = (t4.static ? "s" : "i") + t4.kind), "iget" === s3 && "iset" === r3 || "iset" === s3 && "iget" === r3 || "sget" === s3 && "sset" === r3 || "sset" === s3 && "sget" === r3 ? (e4[i3] = "true", false) : !!s3 || (e4[i3] = r3, false);
|
|
@@ -228414,13 +228417,13 @@ var require_jiti = __commonJS({
|
|
|
228414
228417
|
var i3 = e4.computed, s3 = e4.key;
|
|
228415
228418
|
return !i3 && ("Identifier" === s3.type && s3.name === t4 || "Literal" === s3.type && s3.value === t4);
|
|
228416
228419
|
}
|
|
228417
|
-
|
|
228418
|
-
this.initFunction(e4), (this.options.ecmaVersion >= 9 || this.options.ecmaVersion >= 6 && !s3) && (this.type === f2.star && t4 &
|
|
228420
|
+
L.parseFunction = function(e4, t4, i3, s3, r3) {
|
|
228421
|
+
this.initFunction(e4), (this.options.ecmaVersion >= 9 || this.options.ecmaVersion >= 6 && !s3) && (this.type === f2.star && t4 & M && this.unexpected(), e4.generator = this.eat(f2.star)), this.options.ecmaVersion >= 8 && (e4.async = !!s3), t4 & U && (e4.id = 4 & t4 && this.type !== f2.name ? null : this.parseIdent(), !e4.id || t4 & M || this.checkLValSimple(e4.id, this.strict || e4.generator || e4.async ? this.treatFunctionsAsVar ? 1 : 2 : 3));
|
|
228419
228422
|
var n3 = this.yieldPos, a3 = this.awaitPos, o3 = this.awaitIdentPos;
|
|
228420
228423
|
return this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(functionFlags(e4.async, e4.generator)), t4 & U || (e4.id = this.type === f2.name ? this.parseIdent() : null), this.parseFunctionParams(e4), this.parseFunctionBody(e4, i3, false, r3), this.yieldPos = n3, this.awaitPos = a3, this.awaitIdentPos = o3, this.finishNode(e4, t4 & U ? "FunctionDeclaration" : "FunctionExpression");
|
|
228421
|
-
},
|
|
228424
|
+
}, L.parseFunctionParams = function(e4) {
|
|
228422
228425
|
this.expect(f2.parenL), e4.params = this.parseBindingList(f2.parenR, false, this.options.ecmaVersion >= 8), this.checkYieldAwaitInDefaultParams();
|
|
228423
|
-
},
|
|
228426
|
+
}, L.parseClass = function(e4, t4) {
|
|
228424
228427
|
this.next();
|
|
228425
228428
|
var i3 = this.strict;
|
|
228426
228429
|
this.strict = true, this.parseClassId(e4, t4), this.parseClassSuper(e4);
|
|
@@ -228430,7 +228433,7 @@ var require_jiti = __commonJS({
|
|
|
228430
228433
|
a3 && (r3.body.push(a3), "MethodDefinition" === a3.type && "constructor" === a3.kind ? (n3 && this.raiseRecoverable(a3.start, "Duplicate constructor in the same class"), n3 = true) : a3.key && "PrivateIdentifier" === a3.key.type && isPrivateNameConflicted(s3, a3) && this.raiseRecoverable(a3.key.start, "Identifier '#" + a3.key.name + "' has already been declared"));
|
|
228431
228434
|
}
|
|
228432
228435
|
return this.strict = i3, this.next(), e4.body = this.finishNode(r3, "ClassBody"), this.exitClassBody(), this.finishNode(e4, t4 ? "ClassDeclaration" : "ClassExpression");
|
|
228433
|
-
},
|
|
228436
|
+
}, L.parseClassElement = function(e4) {
|
|
228434
228437
|
if (this.eat(f2.semi)) return null;
|
|
228435
228438
|
var t4 = this.options.ecmaVersion, i3 = this.startNode(), s3 = "", r3 = false, n3 = false, a3 = "method", o3 = false;
|
|
228436
228439
|
if (this.eatContextual("static")) {
|
|
@@ -228446,18 +228449,18 @@ var require_jiti = __commonJS({
|
|
|
228446
228449
|
c3 && "method" !== a3 && this.raise(i3.key.start, "Constructor can't have get/set modifier"), i3.kind = c3 ? "constructor" : a3, this.parseClassMethod(i3, r3, n3, p3);
|
|
228447
228450
|
} else this.parseClassField(i3);
|
|
228448
228451
|
return i3;
|
|
228449
|
-
},
|
|
228452
|
+
}, L.isClassElementNameStart = function() {
|
|
228450
228453
|
return this.type === f2.name || this.type === f2.privateId || this.type === f2.num || this.type === f2.string || this.type === f2.bracketL || this.type.keyword;
|
|
228451
|
-
},
|
|
228454
|
+
}, L.parseClassElementName = function(e4) {
|
|
228452
228455
|
this.type === f2.privateId ? ("constructor" === this.value && this.raise(this.start, "Classes can't have an element named '#constructor'"), e4.computed = false, e4.key = this.parsePrivateIdent()) : this.parsePropertyName(e4);
|
|
228453
|
-
},
|
|
228456
|
+
}, L.parseClassMethod = function(e4, t4, i3, s3) {
|
|
228454
228457
|
var r3 = e4.key;
|
|
228455
228458
|
"constructor" === e4.kind ? (t4 && this.raise(r3.start, "Constructor can't be a generator"), i3 && this.raise(r3.start, "Constructor can't be an async method")) : e4.static && checkKeyName(e4, "prototype") && this.raise(r3.start, "Classes may not have a static property named prototype");
|
|
228456
228459
|
var n3 = e4.value = this.parseMethod(t4, i3, s3);
|
|
228457
228460
|
return "get" === e4.kind && 0 !== n3.params.length && this.raiseRecoverable(n3.start, "getter should have no params"), "set" === e4.kind && 1 !== n3.params.length && this.raiseRecoverable(n3.start, "setter should have exactly one param"), "set" === e4.kind && "RestElement" === n3.params[0].type && this.raiseRecoverable(n3.params[0].start, "Setter cannot use rest params"), this.finishNode(e4, "MethodDefinition");
|
|
228458
|
-
},
|
|
228461
|
+
}, L.parseClassField = function(e4) {
|
|
228459
228462
|
return checkKeyName(e4, "constructor") ? this.raise(e4.key.start, "Classes can't have a field named 'constructor'") : e4.static && checkKeyName(e4, "prototype") && this.raise(e4.key.start, "Classes can't have a static field named 'prototype'"), this.eat(f2.eq) ? (this.enterScope(576), e4.value = this.parseMaybeAssign(), this.exitScope()) : e4.value = null, this.semicolon(), this.finishNode(e4, "PropertyDefinition");
|
|
228460
|
-
},
|
|
228463
|
+
}, L.parseClassStaticBlock = function(e4) {
|
|
228461
228464
|
e4.body = [];
|
|
228462
228465
|
var t4 = this.labels;
|
|
228463
228466
|
for (this.labels = [], this.enterScope(320); this.type !== f2.braceR; ) {
|
|
@@ -228465,22 +228468,22 @@ var require_jiti = __commonJS({
|
|
|
228465
228468
|
e4.body.push(i3);
|
|
228466
228469
|
}
|
|
228467
228470
|
return this.next(), this.exitScope(), this.labels = t4, this.finishNode(e4, "StaticBlock");
|
|
228468
|
-
},
|
|
228471
|
+
}, L.parseClassId = function(e4, t4) {
|
|
228469
228472
|
this.type === f2.name ? (e4.id = this.parseIdent(), t4 && this.checkLValSimple(e4.id, 2, false)) : (true === t4 && this.unexpected(), e4.id = null);
|
|
228470
|
-
},
|
|
228473
|
+
}, L.parseClassSuper = function(e4) {
|
|
228471
228474
|
e4.superClass = this.eat(f2._extends) ? this.parseExprSubscripts(null, false) : null;
|
|
228472
|
-
},
|
|
228475
|
+
}, L.enterClassBody = function() {
|
|
228473
228476
|
var e4 = { declared: /* @__PURE__ */ Object.create(null), used: [] };
|
|
228474
228477
|
return this.privateNameStack.push(e4), e4.declared;
|
|
228475
|
-
},
|
|
228478
|
+
}, L.exitClassBody = function() {
|
|
228476
228479
|
var e4 = this.privateNameStack.pop(), t4 = e4.declared, i3 = e4.used;
|
|
228477
228480
|
if (this.options.checkPrivateFields) for (var s3 = this.privateNameStack.length, r3 = 0 === s3 ? null : this.privateNameStack[s3 - 1], n3 = 0; n3 < i3.length; ++n3) {
|
|
228478
228481
|
var a3 = i3[n3];
|
|
228479
228482
|
b2(t4, a3.name) || (r3 ? r3.used.push(a3) : this.raiseRecoverable(a3.start, "Private field '#" + a3.name + "' must be declared in an enclosing class"));
|
|
228480
228483
|
}
|
|
228481
|
-
},
|
|
228484
|
+
}, L.parseExportAllDeclaration = function(e4, t4) {
|
|
228482
228485
|
return this.options.ecmaVersion >= 11 && (this.eatContextual("as") ? (e4.exported = this.parseModuleExportName(), this.checkExport(t4, e4.exported, this.lastTokStart)) : e4.exported = null), this.expectContextual("from"), this.type !== f2.string && this.unexpected(), e4.source = this.parseExprAtom(), this.options.ecmaVersion >= 16 && (e4.attributes = this.parseWithClause()), this.semicolon(), this.finishNode(e4, "ExportAllDeclaration");
|
|
228483
|
-
},
|
|
228486
|
+
}, L.parseExport = function(e4, t4) {
|
|
228484
228487
|
if (this.next(), this.eat(f2.star)) return this.parseExportAllDeclaration(e4, t4);
|
|
228485
228488
|
if (this.eat(f2._default)) return this.checkExport(t4, "default", this.lastTokStart), e4.declaration = this.parseExportDefaultDeclaration(), this.finishNode(e4, "ExportDefaultDeclaration");
|
|
228486
228489
|
if (this.shouldParseExportStatement()) e4.declaration = this.parseExportDeclaration(e4), "VariableDeclaration" === e4.declaration.type ? this.checkVariableExport(t4, e4.declaration.declarations) : this.checkExport(t4, e4.declaration.id, e4.declaration.id.start), e4.specifiers = [], e4.source = null, this.options.ecmaVersion >= 16 && (e4.attributes = []);
|
|
@@ -228496,9 +228499,9 @@ var require_jiti = __commonJS({
|
|
|
228496
228499
|
this.semicolon();
|
|
228497
228500
|
}
|
|
228498
228501
|
return this.finishNode(e4, "ExportNamedDeclaration");
|
|
228499
|
-
},
|
|
228502
|
+
}, L.parseExportDeclaration = function(e4) {
|
|
228500
228503
|
return this.parseStatement(null);
|
|
228501
|
-
},
|
|
228504
|
+
}, L.parseExportDefaultDeclaration = function() {
|
|
228502
228505
|
var e4;
|
|
228503
228506
|
if (this.type === f2._function || (e4 = this.isAsyncFunction())) {
|
|
228504
228507
|
var t4 = this.startNode();
|
|
@@ -228510,9 +228513,9 @@ var require_jiti = __commonJS({
|
|
|
228510
228513
|
}
|
|
228511
228514
|
var s3 = this.parseMaybeAssign();
|
|
228512
228515
|
return this.semicolon(), s3;
|
|
228513
|
-
},
|
|
228516
|
+
}, L.checkExport = function(e4, t4, i3) {
|
|
228514
228517
|
e4 && ("string" != typeof t4 && (t4 = "Identifier" === t4.type ? t4.name : t4.value), b2(e4, t4) && this.raiseRecoverable(i3, "Duplicate export '" + t4 + "'"), e4[t4] = true);
|
|
228515
|
-
},
|
|
228518
|
+
}, L.checkPatternExport = function(e4, t4) {
|
|
228516
228519
|
var i3 = t4.type;
|
|
228517
228520
|
if ("Identifier" === i3) this.checkExport(e4, t4, t4.start);
|
|
228518
228521
|
else if ("ObjectPattern" === i3) for (var s3 = 0, r3 = t4.properties; s3 < r3.length; s3 += 1) {
|
|
@@ -228524,17 +228527,17 @@ var require_jiti = __commonJS({
|
|
|
228524
228527
|
h3 && this.checkPatternExport(e4, h3);
|
|
228525
228528
|
}
|
|
228526
228529
|
else "Property" === i3 ? this.checkPatternExport(e4, t4.value) : "AssignmentPattern" === i3 ? this.checkPatternExport(e4, t4.left) : "RestElement" === i3 && this.checkPatternExport(e4, t4.argument);
|
|
228527
|
-
},
|
|
228530
|
+
}, L.checkVariableExport = function(e4, t4) {
|
|
228528
228531
|
if (e4) for (var i3 = 0, s3 = t4; i3 < s3.length; i3 += 1) {
|
|
228529
228532
|
var r3 = s3[i3];
|
|
228530
228533
|
this.checkPatternExport(e4, r3.id);
|
|
228531
228534
|
}
|
|
228532
|
-
},
|
|
228535
|
+
}, L.shouldParseExportStatement = function() {
|
|
228533
228536
|
return "var" === this.type.keyword || "const" === this.type.keyword || "class" === this.type.keyword || "function" === this.type.keyword || this.isLet() || this.isAsyncFunction();
|
|
228534
|
-
},
|
|
228537
|
+
}, L.parseExportSpecifier = function(e4) {
|
|
228535
228538
|
var t4 = this.startNode();
|
|
228536
228539
|
return t4.local = this.parseModuleExportName(), t4.exported = this.eatContextual("as") ? this.parseModuleExportName() : t4.local, this.checkExport(e4, t4.exported, t4.exported.start), this.finishNode(t4, "ExportSpecifier");
|
|
228537
|
-
},
|
|
228540
|
+
}, L.parseExportSpecifiers = function(e4) {
|
|
228538
228541
|
var t4 = [], i3 = true;
|
|
228539
228542
|
for (this.expect(f2.braceL); !this.eat(f2.braceR); ) {
|
|
228540
228543
|
if (i3) i3 = false;
|
|
@@ -228542,18 +228545,18 @@ var require_jiti = __commonJS({
|
|
|
228542
228545
|
t4.push(this.parseExportSpecifier(e4));
|
|
228543
228546
|
}
|
|
228544
228547
|
return t4;
|
|
228545
|
-
},
|
|
228546
|
-
return this.next(), this.type === f2.string ? (e4.specifiers =
|
|
228547
|
-
},
|
|
228548
|
+
}, L.parseImport = function(e4) {
|
|
228549
|
+
return this.next(), this.type === f2.string ? (e4.specifiers = V, e4.source = this.parseExprAtom()) : (e4.specifiers = this.parseImportSpecifiers(), this.expectContextual("from"), e4.source = this.type === f2.string ? this.parseExprAtom() : this.unexpected()), this.options.ecmaVersion >= 16 && (e4.attributes = this.parseWithClause()), this.semicolon(), this.finishNode(e4, "ImportDeclaration");
|
|
228550
|
+
}, L.parseImportSpecifier = function() {
|
|
228548
228551
|
var e4 = this.startNode();
|
|
228549
228552
|
return e4.imported = this.parseModuleExportName(), this.eatContextual("as") ? e4.local = this.parseIdent() : (this.checkUnreserved(e4.imported), e4.local = e4.imported), this.checkLValSimple(e4.local, 2), this.finishNode(e4, "ImportSpecifier");
|
|
228550
|
-
},
|
|
228553
|
+
}, L.parseImportDefaultSpecifier = function() {
|
|
228551
228554
|
var e4 = this.startNode();
|
|
228552
228555
|
return e4.local = this.parseIdent(), this.checkLValSimple(e4.local, 2), this.finishNode(e4, "ImportDefaultSpecifier");
|
|
228553
|
-
},
|
|
228556
|
+
}, L.parseImportNamespaceSpecifier = function() {
|
|
228554
228557
|
var e4 = this.startNode();
|
|
228555
228558
|
return this.next(), this.expectContextual("as"), e4.local = this.parseIdent(), this.checkLValSimple(e4.local, 2), this.finishNode(e4, "ImportNamespaceSpecifier");
|
|
228556
|
-
},
|
|
228559
|
+
}, L.parseImportSpecifiers = function() {
|
|
228557
228560
|
var e4 = [], t4 = true;
|
|
228558
228561
|
if (this.type === f2.name && (e4.push(this.parseImportDefaultSpecifier()), !this.eat(f2.comma))) return e4;
|
|
228559
228562
|
if (this.type === f2.star) return e4.push(this.parseImportNamespaceSpecifier()), e4;
|
|
@@ -228563,7 +228566,7 @@ var require_jiti = __commonJS({
|
|
|
228563
228566
|
e4.push(this.parseImportSpecifier());
|
|
228564
228567
|
}
|
|
228565
228568
|
return e4;
|
|
228566
|
-
},
|
|
228569
|
+
}, L.parseWithClause = function() {
|
|
228567
228570
|
var e4 = [];
|
|
228568
228571
|
if (!this.eat(f2._with)) return e4;
|
|
228569
228572
|
this.expect(f2.braceL);
|
|
@@ -228574,18 +228577,18 @@ var require_jiti = __commonJS({
|
|
|
228574
228577
|
b2(t4, r3) && this.raiseRecoverable(s3.key.start, "Duplicate attribute key '" + r3 + "'"), t4[r3] = true, e4.push(s3);
|
|
228575
228578
|
}
|
|
228576
228579
|
return e4;
|
|
228577
|
-
},
|
|
228580
|
+
}, L.parseImportAttribute = function() {
|
|
228578
228581
|
var e4 = this.startNode();
|
|
228579
228582
|
return e4.key = this.type === f2.string ? this.parseExprAtom() : this.parseIdent("never" !== this.options.allowReserved), this.expect(f2.colon), this.type !== f2.string && this.unexpected(), e4.value = this.parseExprAtom(), this.finishNode(e4, "ImportAttribute");
|
|
228580
|
-
},
|
|
228583
|
+
}, L.parseModuleExportName = function() {
|
|
228581
228584
|
if (this.options.ecmaVersion >= 13 && this.type === f2.string) {
|
|
228582
228585
|
var e4 = this.parseLiteral(this.value);
|
|
228583
228586
|
return w2.test(e4.value) && this.raise(e4.start, "An export name cannot include a lone surrogate."), e4;
|
|
228584
228587
|
}
|
|
228585
228588
|
return this.parseIdent(true);
|
|
228586
|
-
},
|
|
228589
|
+
}, L.adaptDirectivePrologue = function(e4) {
|
|
228587
228590
|
for (var t4 = 0; t4 < e4.length && this.isDirectiveCandidate(e4[t4]); ++t4) e4[t4].directive = e4[t4].expression.raw.slice(1, -1);
|
|
228588
|
-
},
|
|
228591
|
+
}, L.isDirectiveCandidate = function(e4) {
|
|
228589
228592
|
return this.options.ecmaVersion >= 5 && "ExpressionStatement" === e4.type && "Literal" === e4.expression.type && "string" == typeof e4.expression.value && ('"' === this.input[e4.start] || "'" === this.input[e4.start]);
|
|
228590
228593
|
};
|
|
228591
228594
|
var j2 = acorn_Parser.prototype;
|
|
@@ -228729,16 +228732,16 @@ var require_jiti = __commonJS({
|
|
|
228729
228732
|
};
|
|
228730
228733
|
var acorn_TokContext = function(e4, t4, i3, s3, r3) {
|
|
228731
228734
|
this.token = e4, this.isExpr = !!t4, this.preserveSpace = !!i3, this.override = s3, this.generator = !!r3;
|
|
228732
|
-
},
|
|
228735
|
+
}, F2 = { b_stat: new acorn_TokContext("{", false), b_expr: new acorn_TokContext("{", true), b_tmpl: new acorn_TokContext("${", false), p_stat: new acorn_TokContext("(", false), p_expr: new acorn_TokContext("(", true), q_tmpl: new acorn_TokContext("`", true, true, function(e4) {
|
|
228733
228736
|
return e4.tryReadTemplateToken();
|
|
228734
228737
|
}), f_stat: new acorn_TokContext("function", false), f_expr: new acorn_TokContext("function", true), f_expr_gen: new acorn_TokContext("function", true, false, null, true), f_gen: new acorn_TokContext("function", false, false, null, true) }, B = acorn_Parser.prototype;
|
|
228735
228738
|
B.initialContext = function() {
|
|
228736
|
-
return [
|
|
228739
|
+
return [F2.b_stat];
|
|
228737
228740
|
}, B.curContext = function() {
|
|
228738
228741
|
return this.context[this.context.length - 1];
|
|
228739
228742
|
}, B.braceIsBlock = function(e4) {
|
|
228740
228743
|
var t4 = this.curContext();
|
|
228741
|
-
return t4 ===
|
|
228744
|
+
return t4 === F2.f_expr || t4 === F2.f_stat || (e4 !== f2.colon || t4 !== F2.b_stat && t4 !== F2.b_expr ? e4 === f2._return || e4 === f2.name && this.exprAllowed ? m2.test(this.input.slice(this.lastTokEnd, this.start)) : e4 === f2._else || e4 === f2.semi || e4 === f2.eof || e4 === f2.parenR || e4 === f2.arrow || (e4 === f2.braceL ? t4 === F2.b_stat : e4 !== f2._var && e4 !== f2._const && e4 !== f2.name && !this.exprAllowed) : !t4.isExpr);
|
|
228742
228745
|
}, B.inGeneratorContext = function() {
|
|
228743
228746
|
for (var e4 = this.context.length - 1; e4 >= 1; e4--) {
|
|
228744
228747
|
var t4 = this.context[e4];
|
|
@@ -228753,26 +228756,26 @@ var require_jiti = __commonJS({
|
|
|
228753
228756
|
}, f2.parenR.updateContext = f2.braceR.updateContext = function() {
|
|
228754
228757
|
if (1 !== this.context.length) {
|
|
228755
228758
|
var e4 = this.context.pop();
|
|
228756
|
-
e4 ===
|
|
228759
|
+
e4 === F2.b_stat && "function" === this.curContext().token && (e4 = this.context.pop()), this.exprAllowed = !e4.isExpr;
|
|
228757
228760
|
} else this.exprAllowed = true;
|
|
228758
228761
|
}, f2.braceL.updateContext = function(e4) {
|
|
228759
|
-
this.context.push(this.braceIsBlock(e4) ?
|
|
228762
|
+
this.context.push(this.braceIsBlock(e4) ? F2.b_stat : F2.b_expr), this.exprAllowed = true;
|
|
228760
228763
|
}, f2.dollarBraceL.updateContext = function() {
|
|
228761
|
-
this.context.push(
|
|
228764
|
+
this.context.push(F2.b_tmpl), this.exprAllowed = true;
|
|
228762
228765
|
}, f2.parenL.updateContext = function(e4) {
|
|
228763
228766
|
var t4 = e4 === f2._if || e4 === f2._for || e4 === f2._with || e4 === f2._while;
|
|
228764
|
-
this.context.push(t4 ?
|
|
228767
|
+
this.context.push(t4 ? F2.p_stat : F2.p_expr), this.exprAllowed = true;
|
|
228765
228768
|
}, f2.incDec.updateContext = function() {
|
|
228766
228769
|
}, f2._function.updateContext = f2._class.updateContext = function(e4) {
|
|
228767
|
-
!e4.beforeExpr || e4 === f2._else || e4 === f2.semi && this.curContext() !==
|
|
228770
|
+
!e4.beforeExpr || e4 === f2._else || e4 === f2.semi && this.curContext() !== F2.p_stat || e4 === f2._return && m2.test(this.input.slice(this.lastTokEnd, this.start)) || (e4 === f2.colon || e4 === f2.braceL) && this.curContext() === F2.b_stat ? this.context.push(F2.f_stat) : this.context.push(F2.f_expr), this.exprAllowed = false;
|
|
228768
228771
|
}, f2.colon.updateContext = function() {
|
|
228769
228772
|
"function" === this.curContext().token && this.context.pop(), this.exprAllowed = true;
|
|
228770
228773
|
}, f2.backQuote.updateContext = function() {
|
|
228771
|
-
this.curContext() ===
|
|
228774
|
+
this.curContext() === F2.q_tmpl ? this.context.pop() : this.context.push(F2.q_tmpl), this.exprAllowed = false;
|
|
228772
228775
|
}, f2.star.updateContext = function(e4) {
|
|
228773
228776
|
if (e4 === f2._function) {
|
|
228774
228777
|
var t4 = this.context.length - 1;
|
|
228775
|
-
this.context[t4] ===
|
|
228778
|
+
this.context[t4] === F2.f_expr ? this.context[t4] = F2.f_expr_gen : this.context[t4] = F2.f_gen;
|
|
228776
228779
|
}
|
|
228777
228780
|
this.exprAllowed = true;
|
|
228778
228781
|
}, f2.name.updateContext = function(e4) {
|
|
@@ -228923,7 +228926,7 @@ var require_jiti = __commonJS({
|
|
|
228923
228926
|
return s3 = this.startNode(), this.next(), this.finishNode(s3, "ThisExpression");
|
|
228924
228927
|
case f2.name:
|
|
228925
228928
|
var n3 = this.start, a3 = this.startLoc, o3 = this.containsEsc, h3 = this.parseIdent(false);
|
|
228926
|
-
if (this.options.ecmaVersion >= 8 && !o3 && "async" === h3.name && !this.canInsertSemicolon() && this.eat(f2._function)) return this.overrideContext(
|
|
228929
|
+
if (this.options.ecmaVersion >= 8 && !o3 && "async" === h3.name && !this.canInsertSemicolon() && this.eat(f2._function)) return this.overrideContext(F2.f_expr), this.parseFunction(this.startNodeAt(n3, a3), 0, false, true, t4);
|
|
228927
228930
|
if (r3 && !this.canInsertSemicolon()) {
|
|
228928
228931
|
if (this.eat(f2.arrow)) return this.parseArrowExpression(this.startNodeAt(n3, a3), [h3], false, t4);
|
|
228929
228932
|
if (this.options.ecmaVersion >= 8 && "async" === h3.name && this.type === f2.name && !o3 && (!this.potentialArrowInForAwait || "of" !== this.value || this.containsEsc)) return h3 = this.parseIdent(false), !this.canInsertSemicolon() && this.eat(f2.arrow) || this.unexpected(), this.parseArrowExpression(this.startNodeAt(n3, a3), [h3], true, t4);
|
|
@@ -228945,7 +228948,7 @@ var require_jiti = __commonJS({
|
|
|
228945
228948
|
case f2.bracketL:
|
|
228946
228949
|
return s3 = this.startNode(), this.next(), s3.elements = this.parseExprList(f2.bracketR, true, true, e4), this.finishNode(s3, "ArrayExpression");
|
|
228947
228950
|
case f2.braceL:
|
|
228948
|
-
return this.overrideContext(
|
|
228951
|
+
return this.overrideContext(F2.b_expr), this.parseObj(false, e4);
|
|
228949
228952
|
case f2._function:
|
|
228950
228953
|
return s3 = this.startNode(), this.next(), this.parseFunction(s3, 0);
|
|
228951
228954
|
case f2._class:
|
|
@@ -229187,19 +229190,19 @@ var require_jiti = __commonJS({
|
|
|
229187
229190
|
};
|
|
229188
229191
|
var acorn_Node = function(e4, t4, i3) {
|
|
229189
229192
|
this.type = "", this.start = t4, this.end = 0, e4.options.locations && (this.loc = new acorn_SourceLocation(e4, i3)), e4.options.directSourceFile && (this.sourceFile = e4.options.directSourceFile), e4.options.ranges && (this.range = [t4, 0]);
|
|
229190
|
-
},
|
|
229193
|
+
}, H = acorn_Parser.prototype;
|
|
229191
229194
|
function finishNodeAt(e4, t4, i3, s3) {
|
|
229192
229195
|
return e4.type = t4, e4.end = i3, this.options.locations && (e4.loc.end = s3), this.options.ranges && (e4.range[1] = i3), e4;
|
|
229193
229196
|
}
|
|
229194
|
-
|
|
229197
|
+
H.startNode = function() {
|
|
229195
229198
|
return new acorn_Node(this, this.start, this.startLoc);
|
|
229196
|
-
},
|
|
229199
|
+
}, H.startNodeAt = function(e4, t4) {
|
|
229197
229200
|
return new acorn_Node(this, e4, t4);
|
|
229198
|
-
},
|
|
229201
|
+
}, H.finishNode = function(e4, t4) {
|
|
229199
229202
|
return finishNodeAt.call(this, e4, t4, this.lastTokEnd, this.lastTokEndLoc);
|
|
229200
|
-
},
|
|
229203
|
+
}, H.finishNodeAt = function(e4, t4, i3, s3) {
|
|
229201
229204
|
return finishNodeAt.call(this, e4, t4, i3, s3);
|
|
229202
|
-
},
|
|
229205
|
+
}, H.copyNode = function(e4) {
|
|
229203
229206
|
var t4 = new acorn_Node(this, e4.start, this.startLoc);
|
|
229204
229207
|
for (var i3 in e4) t4[i3] = e4[i3];
|
|
229205
229208
|
return t4;
|
|
@@ -230057,7 +230060,7 @@ var require_jiti = __commonJS({
|
|
|
230057
230060
|
var e4 = this.readWord1(), t4 = f2.name;
|
|
230058
230061
|
return this.keywords.test(e4) && (t4 = d2[e4]), this.finishToken(t4, e4);
|
|
230059
230062
|
};
|
|
230060
|
-
acorn_Parser.acorn = { Parser: acorn_Parser, version: "8.15.0", defaultOptions: I2, Position: acorn_Position, SourceLocation: acorn_SourceLocation, getLineInfo, Node: acorn_Node, TokenType: acorn_TokenType, tokTypes: f2, keywordTypes: d2, TokContext: acorn_TokContext, tokContexts:
|
|
230063
|
+
acorn_Parser.acorn = { Parser: acorn_Parser, version: "8.15.0", defaultOptions: I2, Position: acorn_Position, SourceLocation: acorn_SourceLocation, getLineInfo, Node: acorn_Node, TokenType: acorn_TokenType, tokTypes: f2, keywordTypes: d2, TokContext: acorn_TokContext, tokContexts: F2, isIdentifierChar, isIdentifierStart, Token: acorn_Token, isNewLine, lineBreak: m2, lineBreakG: g2, nonASCIIwhitespace: x2 };
|
|
230061
230064
|
const le = __require("node:module"), ue = __require("node:fs");
|
|
230062
230065
|
String.fromCharCode;
|
|
230063
230066
|
const de = /\/$|\/\?|\/#/, fe = /^\.?\//;
|
|
@@ -231975,6 +231978,7 @@ var require_range2 = __commonJS({
|
|
|
231975
231978
|
return this.range;
|
|
231976
231979
|
}
|
|
231977
231980
|
parseRange(range) {
|
|
231981
|
+
range = range.replace(BUILDSTRIPRE, "");
|
|
231978
231982
|
const memoOpts = (this.options.includePrerelease && FLAG_INCLUDE_PRERELEASE) | (this.options.loose && FLAG_LOOSE);
|
|
231979
231983
|
const memoKey = memoOpts + ":" + range;
|
|
231980
231984
|
const cached = cache.get(memoKey);
|
|
@@ -232057,12 +232061,14 @@ var require_range2 = __commonJS({
|
|
|
232057
232061
|
var SemVer = require_semver3();
|
|
232058
232062
|
var {
|
|
232059
232063
|
safeRe: re,
|
|
232064
|
+
src,
|
|
232060
232065
|
t: t2,
|
|
232061
232066
|
comparatorTrimReplace,
|
|
232062
232067
|
tildeTrimReplace,
|
|
232063
232068
|
caretTrimReplace
|
|
232064
232069
|
} = require_re2();
|
|
232065
232070
|
var { FLAG_INCLUDE_PRERELEASE, FLAG_LOOSE } = require_constants2();
|
|
232071
|
+
var BUILDSTRIPRE = new RegExp(src[t2.BUILD], "g");
|
|
232066
232072
|
var isNullSet = (c2) => c2.value === "<0.0.0-0";
|
|
232067
232073
|
var isAny = (c2) => c2.value === "";
|
|
232068
232074
|
var isSatisfiable = (comparators, options) => {
|
|
@@ -232096,20 +232102,20 @@ var require_range2 = __commonJS({
|
|
|
232096
232102
|
};
|
|
232097
232103
|
var replaceTilde = (comp, options) => {
|
|
232098
232104
|
const r2 = options.loose ? re[t2.TILDELOOSE] : re[t2.TILDE];
|
|
232099
|
-
return comp.replace(r2, (_2,
|
|
232100
|
-
debug("tilde", comp, _2,
|
|
232105
|
+
return comp.replace(r2, (_2, M, m2, p2, pr) => {
|
|
232106
|
+
debug("tilde", comp, _2, M, m2, p2, pr);
|
|
232101
232107
|
let ret;
|
|
232102
|
-
if (isX(
|
|
232108
|
+
if (isX(M)) {
|
|
232103
232109
|
ret = "";
|
|
232104
232110
|
} else if (isX(m2)) {
|
|
232105
|
-
ret = `>=${
|
|
232111
|
+
ret = `>=${M}.0.0 <${+M + 1}.0.0-0`;
|
|
232106
232112
|
} else if (isX(p2)) {
|
|
232107
|
-
ret = `>=${
|
|
232113
|
+
ret = `>=${M}.${m2}.0 <${M}.${+m2 + 1}.0-0`;
|
|
232108
232114
|
} else if (pr) {
|
|
232109
232115
|
debug("replaceTilde pr", pr);
|
|
232110
|
-
ret = `>=${
|
|
232116
|
+
ret = `>=${M}.${m2}.${p2}-${pr} <${M}.${+m2 + 1}.0-0`;
|
|
232111
232117
|
} else {
|
|
232112
|
-
ret = `>=${
|
|
232118
|
+
ret = `>=${M}.${m2}.${p2} <${M}.${+m2 + 1}.0-0`;
|
|
232113
232119
|
}
|
|
232114
232120
|
debug("tilde return", ret);
|
|
232115
232121
|
return ret;
|
|
@@ -232122,40 +232128,40 @@ var require_range2 = __commonJS({
|
|
|
232122
232128
|
debug("caret", comp, options);
|
|
232123
232129
|
const r2 = options.loose ? re[t2.CARETLOOSE] : re[t2.CARET];
|
|
232124
232130
|
const z2 = options.includePrerelease ? "-0" : "";
|
|
232125
|
-
return comp.replace(r2, (_2,
|
|
232126
|
-
debug("caret", comp, _2,
|
|
232131
|
+
return comp.replace(r2, (_2, M, m2, p2, pr) => {
|
|
232132
|
+
debug("caret", comp, _2, M, m2, p2, pr);
|
|
232127
232133
|
let ret;
|
|
232128
|
-
if (isX(
|
|
232134
|
+
if (isX(M)) {
|
|
232129
232135
|
ret = "";
|
|
232130
232136
|
} else if (isX(m2)) {
|
|
232131
|
-
ret = `>=${
|
|
232137
|
+
ret = `>=${M}.0.0${z2} <${+M + 1}.0.0-0`;
|
|
232132
232138
|
} else if (isX(p2)) {
|
|
232133
|
-
if (
|
|
232134
|
-
ret = `>=${
|
|
232139
|
+
if (M === "0") {
|
|
232140
|
+
ret = `>=${M}.${m2}.0${z2} <${M}.${+m2 + 1}.0-0`;
|
|
232135
232141
|
} else {
|
|
232136
|
-
ret = `>=${
|
|
232142
|
+
ret = `>=${M}.${m2}.0${z2} <${+M + 1}.0.0-0`;
|
|
232137
232143
|
}
|
|
232138
232144
|
} else if (pr) {
|
|
232139
232145
|
debug("replaceCaret pr", pr);
|
|
232140
|
-
if (
|
|
232146
|
+
if (M === "0") {
|
|
232141
232147
|
if (m2 === "0") {
|
|
232142
|
-
ret = `>=${
|
|
232148
|
+
ret = `>=${M}.${m2}.${p2}-${pr} <${M}.${m2}.${+p2 + 1}-0`;
|
|
232143
232149
|
} else {
|
|
232144
|
-
ret = `>=${
|
|
232150
|
+
ret = `>=${M}.${m2}.${p2}-${pr} <${M}.${+m2 + 1}.0-0`;
|
|
232145
232151
|
}
|
|
232146
232152
|
} else {
|
|
232147
|
-
ret = `>=${
|
|
232153
|
+
ret = `>=${M}.${m2}.${p2}-${pr} <${+M + 1}.0.0-0`;
|
|
232148
232154
|
}
|
|
232149
232155
|
} else {
|
|
232150
232156
|
debug("no pr");
|
|
232151
|
-
if (
|
|
232157
|
+
if (M === "0") {
|
|
232152
232158
|
if (m2 === "0") {
|
|
232153
|
-
ret = `>=${
|
|
232159
|
+
ret = `>=${M}.${m2}.${p2}${z2} <${M}.${m2}.${+p2 + 1}-0`;
|
|
232154
232160
|
} else {
|
|
232155
|
-
ret = `>=${
|
|
232161
|
+
ret = `>=${M}.${m2}.${p2}${z2} <${M}.${+m2 + 1}.0-0`;
|
|
232156
232162
|
}
|
|
232157
232163
|
} else {
|
|
232158
|
-
ret = `>=${
|
|
232164
|
+
ret = `>=${M}.${m2}.${p2} <${+M + 1}.0.0-0`;
|
|
232159
232165
|
}
|
|
232160
232166
|
}
|
|
232161
232167
|
debug("caret return", ret);
|
|
@@ -232169,9 +232175,9 @@ var require_range2 = __commonJS({
|
|
|
232169
232175
|
var replaceXRange = (comp, options) => {
|
|
232170
232176
|
comp = comp.trim();
|
|
232171
232177
|
const r2 = options.loose ? re[t2.XRANGELOOSE] : re[t2.XRANGE];
|
|
232172
|
-
return comp.replace(r2, (ret, gtlt,
|
|
232173
|
-
debug("xRange", comp, ret, gtlt,
|
|
232174
|
-
const xM = isX(
|
|
232178
|
+
return comp.replace(r2, (ret, gtlt, M, m2, p2, pr) => {
|
|
232179
|
+
debug("xRange", comp, ret, gtlt, M, m2, p2, pr);
|
|
232180
|
+
const xM = isX(M);
|
|
232175
232181
|
const xm = xM || isX(m2);
|
|
232176
232182
|
const xp = xm || isX(p2);
|
|
232177
232183
|
const anyX = xp;
|
|
@@ -232193,7 +232199,7 @@ var require_range2 = __commonJS({
|
|
|
232193
232199
|
if (gtlt === ">") {
|
|
232194
232200
|
gtlt = ">=";
|
|
232195
232201
|
if (xm) {
|
|
232196
|
-
|
|
232202
|
+
M = +M + 1;
|
|
232197
232203
|
m2 = 0;
|
|
232198
232204
|
p2 = 0;
|
|
232199
232205
|
} else {
|
|
@@ -232203,7 +232209,7 @@ var require_range2 = __commonJS({
|
|
|
232203
232209
|
} else if (gtlt === "<=") {
|
|
232204
232210
|
gtlt = "<";
|
|
232205
232211
|
if (xm) {
|
|
232206
|
-
|
|
232212
|
+
M = +M + 1;
|
|
232207
232213
|
} else {
|
|
232208
232214
|
m2 = +m2 + 1;
|
|
232209
232215
|
}
|
|
@@ -232211,11 +232217,11 @@ var require_range2 = __commonJS({
|
|
|
232211
232217
|
if (gtlt === "<") {
|
|
232212
232218
|
pr = "-0";
|
|
232213
232219
|
}
|
|
232214
|
-
ret = `${gtlt +
|
|
232220
|
+
ret = `${gtlt + M}.${m2}.${p2}${pr}`;
|
|
232215
232221
|
} else if (xm) {
|
|
232216
|
-
ret = `>=${
|
|
232222
|
+
ret = `>=${M}.0.0${pr} <${+M + 1}.0.0-0`;
|
|
232217
232223
|
} else if (xp) {
|
|
232218
|
-
ret = `>=${
|
|
232224
|
+
ret = `>=${M}.${m2}.0${pr} <${M}.${+m2 + 1}.0-0`;
|
|
232219
232225
|
}
|
|
232220
232226
|
debug("xRange return", ret);
|
|
232221
232227
|
return ret;
|
|
@@ -232818,7 +232824,7 @@ var require_subset2 = __commonJS({
|
|
|
232818
232824
|
if (higher === c2 && higher !== gt) {
|
|
232819
232825
|
return false;
|
|
232820
232826
|
}
|
|
232821
|
-
} else if (gt.operator === ">=" && !
|
|
232827
|
+
} else if (gt.operator === ">=" && !c2.test(gt.semver)) {
|
|
232822
232828
|
return false;
|
|
232823
232829
|
}
|
|
232824
232830
|
}
|
|
@@ -232833,7 +232839,7 @@ var require_subset2 = __commonJS({
|
|
|
232833
232839
|
if (lower === c2 && lower !== lt) {
|
|
232834
232840
|
return false;
|
|
232835
232841
|
}
|
|
232836
|
-
} else if (lt.operator === "<=" && !
|
|
232842
|
+
} else if (lt.operator === "<=" && !c2.test(lt.semver)) {
|
|
232837
232843
|
return false;
|
|
232838
232844
|
}
|
|
232839
232845
|
}
|
|
@@ -232967,9 +232973,18 @@ var require_semver4 = __commonJS({
|
|
|
232967
232973
|
}
|
|
232968
232974
|
});
|
|
232969
232975
|
|
|
232970
|
-
// node_modules
|
|
232976
|
+
// node_modules/cliui/node_modules/emoji-regex/index.js
|
|
232971
232977
|
var require_emoji_regex = __commonJS({
|
|
232972
|
-
"node_modules
|
|
232978
|
+
"node_modules/cliui/node_modules/emoji-regex/index.js"(exports, module) {
|
|
232979
|
+
module.exports = () => {
|
|
232980
|
+
return /[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E-\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED8\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])))?))?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3C-\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC2\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF]|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;
|
|
232981
|
+
};
|
|
232982
|
+
}
|
|
232983
|
+
});
|
|
232984
|
+
|
|
232985
|
+
// node_modules/yargs/node_modules/emoji-regex/index.js
|
|
232986
|
+
var require_emoji_regex2 = __commonJS({
|
|
232987
|
+
"node_modules/yargs/node_modules/emoji-regex/index.js"(exports, module) {
|
|
232973
232988
|
module.exports = () => {
|
|
232974
232989
|
return /[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E-\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED8\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])))?))?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3C-\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC2\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF]|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;
|
|
232975
232990
|
};
|
|
@@ -234121,10 +234136,7 @@ var bodyMaxLength = (parsed, _when = void 0, value = 0) => {
|
|
|
234121
234136
|
if (!input) {
|
|
234122
234137
|
return [true];
|
|
234123
234138
|
}
|
|
234124
|
-
return [
|
|
234125
|
-
max_length_default(input, value),
|
|
234126
|
-
`body must not be longer than ${value} characters`
|
|
234127
|
-
];
|
|
234139
|
+
return [max_length_default(input, value), `body must not be longer than ${value} characters`];
|
|
234128
234140
|
};
|
|
234129
234141
|
|
|
234130
234142
|
// node_modules/@commitlint/rules/lib/body-max-line-length.js
|
|
@@ -234133,10 +234145,7 @@ var bodyMaxLineLength = (parsed, _when = void 0, value = 0) => {
|
|
|
234133
234145
|
if (!input) {
|
|
234134
234146
|
return [true];
|
|
234135
234147
|
}
|
|
234136
|
-
return [
|
|
234137
|
-
max_line_length_default(input, value),
|
|
234138
|
-
`body's lines must not be longer than ${value} characters`
|
|
234139
|
-
];
|
|
234148
|
+
return [max_line_length_default(input, value), `body's lines must not be longer than ${value} characters`];
|
|
234140
234149
|
};
|
|
234141
234150
|
|
|
234142
234151
|
// node_modules/@commitlint/rules/lib/body-min-length.js
|
|
@@ -234144,10 +234153,7 @@ var bodyMinLength = (parsed, _when = void 0, value = 0) => {
|
|
|
234144
234153
|
if (!parsed.body) {
|
|
234145
234154
|
return [true];
|
|
234146
234155
|
}
|
|
234147
|
-
return [
|
|
234148
|
-
min_length_default(parsed.body, value),
|
|
234149
|
-
`body must not be shorter than ${value} characters`
|
|
234150
|
-
];
|
|
234156
|
+
return [min_length_default(parsed.body, value), `body must not be shorter than ${value} characters`];
|
|
234151
234157
|
};
|
|
234152
234158
|
|
|
234153
234159
|
// node_modules/@commitlint/rules/lib/footer-empty.js
|
|
@@ -234173,11 +234179,7 @@ var footerLeadingBlank = (parsed, when = "always") => {
|
|
|
234173
234179
|
const succeeds = leading === "";
|
|
234174
234180
|
return [
|
|
234175
234181
|
negated6 ? !succeeds : succeeds,
|
|
234176
|
-
message([
|
|
234177
|
-
"footer",
|
|
234178
|
-
negated6 ? "may not" : "must",
|
|
234179
|
-
"have leading blank line"
|
|
234180
|
-
])
|
|
234182
|
+
message(["footer", negated6 ? "may not" : "must", "have leading blank line"])
|
|
234181
234183
|
];
|
|
234182
234184
|
};
|
|
234183
234185
|
|
|
@@ -234187,10 +234189,7 @@ var footerMaxLength = (parsed, _when = void 0, value = 0) => {
|
|
|
234187
234189
|
if (!input) {
|
|
234188
234190
|
return [true];
|
|
234189
234191
|
}
|
|
234190
|
-
return [
|
|
234191
|
-
max_length_default(input, value),
|
|
234192
|
-
`footer must not be longer than ${value} characters`
|
|
234193
|
-
];
|
|
234192
|
+
return [max_length_default(input, value), `footer must not be longer than ${value} characters`];
|
|
234194
234193
|
};
|
|
234195
234194
|
|
|
234196
234195
|
// node_modules/@commitlint/rules/lib/footer-max-line-length.js
|
|
@@ -234210,10 +234209,7 @@ var footerMinLength = (parsed, _when = void 0, value = 0) => {
|
|
|
234210
234209
|
if (!parsed.footer) {
|
|
234211
234210
|
return [true];
|
|
234212
234211
|
}
|
|
234213
|
-
return [
|
|
234214
|
-
min_length_default(parsed.footer, value),
|
|
234215
|
-
`footer must not be shorter than ${value} characters`
|
|
234216
|
-
];
|
|
234212
|
+
return [min_length_default(parsed.footer, value), `footer must not be shorter than ${value} characters`];
|
|
234217
234213
|
};
|
|
234218
234214
|
|
|
234219
234215
|
// node_modules/@commitlint/rules/lib/header-case.js
|
|
@@ -234348,9 +234344,7 @@ var scopeDelimiterStyle = ({ scope }, when = "always", value = []) => {
|
|
|
234348
234344
|
const isNever = when === "never";
|
|
234349
234345
|
return [
|
|
234350
234346
|
isNever ? !isAllDelimitersAllowed : isAllDelimitersAllowed,
|
|
234351
|
-
message([
|
|
234352
|
-
`scope delimiters must ${isNever ? "not " : ""}be one of [${delimiters.join(", ")}]`
|
|
234353
|
-
])
|
|
234347
|
+
message([`scope delimiters must ${isNever ? "not " : ""}be one of [${delimiters.join(", ")}]`])
|
|
234354
234348
|
];
|
|
234355
234349
|
};
|
|
234356
234350
|
|
|
@@ -234393,10 +234387,7 @@ var scopeMaxLength = (parsed, _when = void 0, value = 0) => {
|
|
|
234393
234387
|
if (!input) {
|
|
234394
234388
|
return [true];
|
|
234395
234389
|
}
|
|
234396
|
-
return [
|
|
234397
|
-
max_length_default(input, value),
|
|
234398
|
-
`scope must not be longer than ${value} characters`
|
|
234399
|
-
];
|
|
234390
|
+
return [max_length_default(input, value), `scope must not be longer than ${value} characters`];
|
|
234400
234391
|
};
|
|
234401
234392
|
|
|
234402
234393
|
// node_modules/@commitlint/rules/lib/scope-min-length.js
|
|
@@ -234405,10 +234396,7 @@ var scopeMinLength = (parsed, _when = void 0, value = 0) => {
|
|
|
234405
234396
|
if (!input) {
|
|
234406
234397
|
return [true];
|
|
234407
234398
|
}
|
|
234408
|
-
return [
|
|
234409
|
-
min_length_default(input, value),
|
|
234410
|
-
`scope must not be shorter than ${value} characters`
|
|
234411
|
-
];
|
|
234399
|
+
return [min_length_default(input, value), `scope must not be shorter than ${value} characters`];
|
|
234412
234400
|
};
|
|
234413
234401
|
|
|
234414
234402
|
// node_modules/@commitlint/rules/lib/signed-off-by.js
|
|
@@ -234494,10 +234482,7 @@ var subjectMaxLength = (parsed, _when = void 0, value = 0) => {
|
|
|
234494
234482
|
if (!input) {
|
|
234495
234483
|
return [true];
|
|
234496
234484
|
}
|
|
234497
|
-
return [
|
|
234498
|
-
max_length_default(input, value),
|
|
234499
|
-
`subject must not be longer than ${value} characters`
|
|
234500
|
-
];
|
|
234485
|
+
return [max_length_default(input, value), `subject must not be longer than ${value} characters`];
|
|
234501
234486
|
};
|
|
234502
234487
|
|
|
234503
234488
|
// node_modules/@commitlint/rules/lib/subject-min-length.js
|
|
@@ -234506,10 +234491,7 @@ var subjectMinLength = (parsed, _when = void 0, value = 0) => {
|
|
|
234506
234491
|
if (!input) {
|
|
234507
234492
|
return [true];
|
|
234508
234493
|
}
|
|
234509
|
-
return [
|
|
234510
|
-
min_length_default(input, value),
|
|
234511
|
-
`subject must not be shorter than ${value} characters`
|
|
234512
|
-
];
|
|
234494
|
+
return [min_length_default(input, value), `subject must not be shorter than ${value} characters`];
|
|
234513
234495
|
};
|
|
234514
234496
|
|
|
234515
234497
|
// node_modules/@commitlint/rules/lib/subject-exclamation-mark.js
|
|
@@ -234541,11 +234523,7 @@ var trailerExists = (parsed, when = "always", value = "") => {
|
|
|
234541
234523
|
const hasTrailer = matches > 0;
|
|
234542
234524
|
return [
|
|
234543
234525
|
negated6 ? !hasTrailer : hasTrailer,
|
|
234544
|
-
message([
|
|
234545
|
-
"message",
|
|
234546
|
-
negated6 ? "must not" : "must",
|
|
234547
|
-
"have `" + value + "` trailer"
|
|
234548
|
-
])
|
|
234526
|
+
message(["message", negated6 ? "must not" : "must", "have `" + value + "` trailer"])
|
|
234549
234527
|
];
|
|
234550
234528
|
};
|
|
234551
234529
|
|
|
@@ -234596,11 +234574,7 @@ var typeEnum = (parsed, when = "always", value = []) => {
|
|
|
234596
234574
|
const result = enum_default(input, value);
|
|
234597
234575
|
return [
|
|
234598
234576
|
negated6 ? !result : result,
|
|
234599
|
-
message([
|
|
234600
|
-
`type must`,
|
|
234601
|
-
negated6 ? `not` : null,
|
|
234602
|
-
`be one of [${value.join(", ")}]`
|
|
234603
|
-
])
|
|
234577
|
+
message([`type must`, negated6 ? `not` : null, `be one of [${value.join(", ")}]`])
|
|
234604
234578
|
];
|
|
234605
234579
|
};
|
|
234606
234580
|
|
|
@@ -234610,10 +234584,7 @@ var typeMaxLength = (parsed, _when = void 0, value = 0) => {
|
|
|
234610
234584
|
if (!input) {
|
|
234611
234585
|
return [true];
|
|
234612
234586
|
}
|
|
234613
|
-
return [
|
|
234614
|
-
max_length_default(input, value),
|
|
234615
|
-
`type must not be longer than ${value} characters`
|
|
234616
|
-
];
|
|
234587
|
+
return [max_length_default(input, value), `type must not be longer than ${value} characters`];
|
|
234617
234588
|
};
|
|
234618
234589
|
|
|
234619
234590
|
// node_modules/@commitlint/rules/lib/type-min-length.js
|
|
@@ -234622,10 +234593,7 @@ var typeMinLength = (parsed, _when = void 0, value = 0) => {
|
|
|
234622
234593
|
if (!input) {
|
|
234623
234594
|
return [true];
|
|
234624
234595
|
}
|
|
234625
|
-
return [
|
|
234626
|
-
min_length_default(input, value),
|
|
234627
|
-
`type must not be shorter than ${value} characters`
|
|
234628
|
-
];
|
|
234596
|
+
return [min_length_default(input, value), `type must not be shorter than ${value} characters`];
|
|
234629
234597
|
};
|
|
234630
234598
|
|
|
234631
234599
|
// node_modules/@commitlint/rules/lib/index.js
|
|
@@ -234822,15 +234790,7 @@ function formatErrors(errors) {
|
|
|
234822
234790
|
// node_modules/@commitlint/config-validator/lib/validate.js
|
|
234823
234791
|
var require2 = createRequire(import.meta.url);
|
|
234824
234792
|
var schema = require2("./commitlint.schema.json");
|
|
234825
|
-
var TYPE_OF = [
|
|
234826
|
-
"undefined",
|
|
234827
|
-
"string",
|
|
234828
|
-
"number",
|
|
234829
|
-
"object",
|
|
234830
|
-
"function",
|
|
234831
|
-
"boolean",
|
|
234832
|
-
"symbol"
|
|
234833
|
-
];
|
|
234793
|
+
var TYPE_OF = ["undefined", "string", "number", "object", "function", "boolean", "symbol"];
|
|
234834
234794
|
var Ajv = import_ajv.default;
|
|
234835
234795
|
function validateConfig(source, config) {
|
|
234836
234796
|
const ajv = new Ajv({
|
|
@@ -235045,13 +235005,7 @@ var dynamicImport = async (id) => {
|
|
|
235045
235005
|
const imported = await (path2.isAbsolute(id) ? import(pathToFileURL(id).toString()) : import(id));
|
|
235046
235006
|
return "default" in imported && imported.default || imported;
|
|
235047
235007
|
};
|
|
235048
|
-
var pathSuffixes = [
|
|
235049
|
-
"",
|
|
235050
|
-
".js",
|
|
235051
|
-
".json",
|
|
235052
|
-
`${path2.sep}index.js`,
|
|
235053
|
-
`${path2.sep}index.json`
|
|
235054
|
-
];
|
|
235008
|
+
var pathSuffixes = ["", ".js", ".json", `${path2.sep}index.js`, `${path2.sep}index.json`];
|
|
235055
235009
|
var specifierSuffixes = ["", ".js", ".json", "/index.js", "/index.json"];
|
|
235056
235010
|
var resolveFrom = (lookup, parent) => {
|
|
235057
235011
|
if (path2.isAbsolute(lookup)) {
|
|
@@ -235225,10 +235179,7 @@ function resolveFromNpxCache(specifier) {
|
|
|
235225
235179
|
return void 0;
|
|
235226
235180
|
}
|
|
235227
235181
|
function resolveGlobalSilent(specifier) {
|
|
235228
|
-
for (const globalPackages of [
|
|
235229
|
-
global_directory_default.npm.packages,
|
|
235230
|
-
global_directory_default.yarn.packages
|
|
235231
|
-
]) {
|
|
235182
|
+
for (const globalPackages of [global_directory_default.npm.packages, global_directory_default.yarn.packages]) {
|
|
235232
235183
|
try {
|
|
235233
235184
|
return resolveFrom(specifier, globalPackages);
|
|
235234
235185
|
} catch (err) {
|
|
@@ -235628,6 +235579,9 @@ async function loadPlugin(plugins, pluginName, options = {}) {
|
|
|
235628
235579
|
|
|
235629
235580
|
// node_modules/@commitlint/load/lib/load.js
|
|
235630
235581
|
var resolveFormatter = (formatter, parent) => {
|
|
235582
|
+
if (!formatter.startsWith(".")) {
|
|
235583
|
+
return formatter;
|
|
235584
|
+
}
|
|
235631
235585
|
try {
|
|
235632
235586
|
return resolveFrom(formatter, parent);
|
|
235633
235587
|
} catch (error) {
|
|
@@ -236144,48 +236098,55 @@ async function getEditCommit(cwd, edit) {
|
|
|
236144
236098
|
throw new TypeError(`Could not find git root from ${cwd}`);
|
|
236145
236099
|
}
|
|
236146
236100
|
const editFilePath = await getEditFilePath(top2, edit);
|
|
236147
|
-
|
|
236101
|
+
let editFile;
|
|
236102
|
+
try {
|
|
236103
|
+
editFile = await fs5.readFile(editFilePath);
|
|
236104
|
+
} catch (err) {
|
|
236105
|
+
if (err.code === "ENOENT") {
|
|
236106
|
+
const hint = typeof edit === "string" ? `Check that the path passed to --edit exists and is readable.` : `--edit reads the message prepared by 'git commit' and is intended to run from a commit-msg hook. If you want to lint existing history, use --from / --to instead; to lint a specific file, pass its path as --edit <file>.`;
|
|
236107
|
+
throw new Error(`No commit message file found at ${editFilePath}. ${hint}`, { cause: err });
|
|
236108
|
+
}
|
|
236109
|
+
throw err;
|
|
236110
|
+
}
|
|
236148
236111
|
return [`${editFile.toString("utf-8")}
|
|
236149
236112
|
`];
|
|
236150
236113
|
}
|
|
236151
236114
|
|
|
236152
236115
|
// node_modules/tinyexec/dist/main.mjs
|
|
236153
|
-
import {
|
|
236154
|
-
import {
|
|
236155
|
-
import {
|
|
236156
|
-
import {
|
|
236157
|
-
import {
|
|
236158
|
-
import
|
|
236159
|
-
import
|
|
236160
|
-
var
|
|
236161
|
-
var
|
|
236162
|
-
var f = /^path$/i;
|
|
236163
|
-
var p = {
|
|
236116
|
+
import { spawn as e, spawnSync as t } from "node:child_process";
|
|
236117
|
+
import { cwd as n } from "node:process";
|
|
236118
|
+
import { basename as r, delimiter as i, dirname as a, normalize as o, resolve as s } from "node:path";
|
|
236119
|
+
import { pipeline as c } from "node:stream/promises";
|
|
236120
|
+
import { PassThrough as l } from "node:stream";
|
|
236121
|
+
import u from "node:readline";
|
|
236122
|
+
import { closeSync as d, openSync as f, readSync as p, statSync as m } from "node:fs";
|
|
236123
|
+
var h = /^path$/i;
|
|
236124
|
+
var g = {
|
|
236164
236125
|
key: "PATH",
|
|
236165
236126
|
value: ""
|
|
236166
236127
|
};
|
|
236167
|
-
function
|
|
236128
|
+
function _(e2) {
|
|
236168
236129
|
for (const t2 in e2) {
|
|
236169
|
-
if (!Object.prototype.hasOwnProperty.call(e2, t2) || !
|
|
236130
|
+
if (!Object.prototype.hasOwnProperty.call(e2, t2) || !h.test(t2)) continue;
|
|
236170
236131
|
const n2 = e2[t2];
|
|
236171
|
-
if (!n2) return
|
|
236132
|
+
if (!n2) return g;
|
|
236172
236133
|
return {
|
|
236173
236134
|
key: t2,
|
|
236174
236135
|
value: n2
|
|
236175
236136
|
};
|
|
236176
236137
|
}
|
|
236177
|
-
return
|
|
236138
|
+
return g;
|
|
236178
236139
|
}
|
|
236179
|
-
function
|
|
236140
|
+
function v(e2, t2) {
|
|
236180
236141
|
const n2 = t2.value.split(i);
|
|
236181
236142
|
const r2 = [];
|
|
236182
|
-
let
|
|
236143
|
+
let o2 = e2;
|
|
236183
236144
|
let c2;
|
|
236184
236145
|
do {
|
|
236185
|
-
r2.push(
|
|
236186
|
-
c2 =
|
|
236187
|
-
|
|
236188
|
-
} while (
|
|
236146
|
+
r2.push(s(o2, "node_modules", ".bin"));
|
|
236147
|
+
c2 = o2;
|
|
236148
|
+
o2 = a(o2);
|
|
236149
|
+
} while (o2 !== c2);
|
|
236189
236150
|
r2.push(a(process.execPath));
|
|
236190
236151
|
const l2 = r2.concat(n2).join(i);
|
|
236191
236152
|
return {
|
|
@@ -236193,400 +236154,122 @@ function h(e2, t2) {
|
|
|
236193
236154
|
value: l2
|
|
236194
236155
|
};
|
|
236195
236156
|
}
|
|
236196
|
-
function
|
|
236197
|
-
const
|
|
236157
|
+
function y(e2, t2, n2 = true) {
|
|
236158
|
+
const r2 = {
|
|
236198
236159
|
...process.env,
|
|
236199
236160
|
...t2
|
|
236200
236161
|
};
|
|
236201
|
-
|
|
236202
|
-
|
|
236203
|
-
|
|
236162
|
+
if (!n2) return r2;
|
|
236163
|
+
const i2 = v(e2, _(r2));
|
|
236164
|
+
r2[i2.key] = i2.value;
|
|
236165
|
+
return r2;
|
|
236204
236166
|
}
|
|
236205
|
-
var
|
|
236167
|
+
var b = (e2) => {
|
|
236206
236168
|
let t2 = e2.length;
|
|
236207
|
-
const n2 = new
|
|
236169
|
+
const n2 = new l();
|
|
236208
236170
|
const r2 = () => {
|
|
236209
236171
|
if (--t2 === 0) n2.end();
|
|
236210
236172
|
};
|
|
236211
|
-
for (const t3 of e2)
|
|
236173
|
+
for (const t3 of e2) c(t3, n2, { end: false }).then(r2).catch(r2);
|
|
236212
236174
|
return n2;
|
|
236213
236175
|
};
|
|
236214
|
-
var
|
|
236215
|
-
|
|
236216
|
-
|
|
236217
|
-
|
|
236218
|
-
|
|
236219
|
-
|
|
236220
|
-
|
|
236221
|
-
|
|
236222
|
-
|
|
236223
|
-
|
|
236224
|
-
|
|
236225
|
-
|
|
236226
|
-
|
|
236227
|
-
|
|
236228
|
-
|
|
236229
|
-
|
|
236230
|
-
if (!e3.isSymbolicLink() && !e3.isFile()) return false;
|
|
236231
|
-
return r2(t3, n3);
|
|
236232
|
-
}
|
|
236233
|
-
function a2(e3, t3, r3) {
|
|
236234
|
-
n2.stat(e3, function(n3, a3) {
|
|
236235
|
-
r3(n3, n3 ? false : i2(a3, e3, t3));
|
|
236236
|
-
});
|
|
236237
|
-
}
|
|
236238
|
-
function o2(e3, t3) {
|
|
236239
|
-
return i2(n2.statSync(e3), e3, t3);
|
|
236240
|
-
}
|
|
236241
|
-
}));
|
|
236242
|
-
var y = /* @__PURE__ */ u(((e2, t2) => {
|
|
236243
|
-
t2.exports = r2;
|
|
236244
|
-
r2.sync = i2;
|
|
236245
|
-
var n2 = d("fs");
|
|
236246
|
-
function r2(e3, t3, r3) {
|
|
236247
|
-
n2.stat(e3, function(e4, n3) {
|
|
236248
|
-
r3(e4, e4 ? false : a2(n3, t3));
|
|
236249
|
-
});
|
|
236250
|
-
}
|
|
236251
|
-
function i2(e3, t3) {
|
|
236252
|
-
return a2(n2.statSync(e3), t3);
|
|
236253
|
-
}
|
|
236254
|
-
function a2(e3, t3) {
|
|
236255
|
-
return e3.isFile() && o2(e3, t3);
|
|
236256
|
-
}
|
|
236257
|
-
function o2(e3, t3) {
|
|
236258
|
-
var n3 = e3.mode;
|
|
236259
|
-
var r3 = e3.uid;
|
|
236260
|
-
var i3 = e3.gid;
|
|
236261
|
-
var a3 = t3.uid !== void 0 ? t3.uid : process.getuid && process.getuid();
|
|
236262
|
-
var o3 = t3.gid !== void 0 ? t3.gid : process.getgid && process.getgid();
|
|
236263
|
-
var s2 = parseInt("100", 8);
|
|
236264
|
-
var c2 = parseInt("010", 8);
|
|
236265
|
-
var l2 = parseInt("001", 8);
|
|
236266
|
-
var u2 = s2 | c2;
|
|
236267
|
-
return n3 & l2 || n3 & c2 && i3 === o3 || n3 & s2 && r3 === a3 || n3 & u2 && a3 === 0;
|
|
236268
|
-
}
|
|
236269
|
-
}));
|
|
236270
|
-
var b = /* @__PURE__ */ u(((e2, t2) => {
|
|
236271
|
-
d("fs");
|
|
236272
|
-
var n2;
|
|
236273
|
-
if (process.platform === "win32" || global.TESTING_WINDOWS) n2 = v();
|
|
236274
|
-
else n2 = y();
|
|
236275
|
-
t2.exports = r2;
|
|
236276
|
-
r2.sync = i2;
|
|
236277
|
-
function r2(e3, t3, i3) {
|
|
236278
|
-
if (typeof t3 === "function") {
|
|
236279
|
-
i3 = t3;
|
|
236280
|
-
t3 = {};
|
|
236281
|
-
}
|
|
236282
|
-
if (!i3) {
|
|
236283
|
-
if (typeof Promise !== "function") throw new TypeError("callback not provided");
|
|
236284
|
-
return new Promise(function(n3, i4) {
|
|
236285
|
-
r2(e3, t3 || {}, function(e4, t4) {
|
|
236286
|
-
if (e4) i4(e4);
|
|
236287
|
-
else n3(t4);
|
|
236288
|
-
});
|
|
236289
|
-
});
|
|
236290
|
-
}
|
|
236291
|
-
n2(e3, t3 || {}, function(e4, n3) {
|
|
236292
|
-
if (e4) {
|
|
236293
|
-
if (e4.code === "EACCES" || t3 && t3.ignoreErrors) {
|
|
236294
|
-
e4 = null;
|
|
236295
|
-
n3 = false;
|
|
236296
|
-
}
|
|
236297
|
-
}
|
|
236298
|
-
i3(e4, n3);
|
|
236299
|
-
});
|
|
236300
|
-
}
|
|
236301
|
-
function i2(e3, t3) {
|
|
236302
|
-
try {
|
|
236303
|
-
return n2.sync(e3, t3 || {});
|
|
236304
|
-
} catch (e4) {
|
|
236305
|
-
if (t3 && t3.ignoreErrors || e4.code === "EACCES") return false;
|
|
236306
|
-
else throw e4;
|
|
236307
|
-
}
|
|
236308
|
-
}
|
|
236309
|
-
}));
|
|
236310
|
-
var x = /* @__PURE__ */ u(((e2, t2) => {
|
|
236311
|
-
const n2 = process.platform === "win32" || process.env.OSTYPE === "cygwin" || process.env.OSTYPE === "msys";
|
|
236312
|
-
const r2 = d("path");
|
|
236313
|
-
const i2 = n2 ? ";" : ":";
|
|
236314
|
-
const a2 = b();
|
|
236315
|
-
const o2 = (e3) => Object.assign(/* @__PURE__ */ new Error(`not found: ${e3}`), { code: "ENOENT" });
|
|
236316
|
-
const s2 = (e3, t3) => {
|
|
236317
|
-
const r3 = t3.colon || i2;
|
|
236318
|
-
const a3 = e3.match(/\//) || n2 && e3.match(/\\/) ? [""] : [...n2 ? [process.cwd()] : [], ...(t3.path || process.env.PATH || "").split(r3)];
|
|
236319
|
-
const o3 = n2 ? t3.pathExt || process.env.PATHEXT || ".EXE;.CMD;.BAT;.COM" : "";
|
|
236320
|
-
const s3 = n2 ? o3.split(r3) : [""];
|
|
236321
|
-
if (n2) {
|
|
236322
|
-
if (e3.indexOf(".") !== -1 && s3[0] !== "") s3.unshift("");
|
|
236323
|
-
}
|
|
236324
|
-
return {
|
|
236325
|
-
pathEnv: a3,
|
|
236326
|
-
pathExt: s3,
|
|
236327
|
-
pathExtExe: o3
|
|
236328
|
-
};
|
|
236329
|
-
};
|
|
236330
|
-
const c2 = (e3, t3, n3) => {
|
|
236331
|
-
if (typeof t3 === "function") {
|
|
236332
|
-
n3 = t3;
|
|
236333
|
-
t3 = {};
|
|
236334
|
-
}
|
|
236335
|
-
if (!t3) t3 = {};
|
|
236336
|
-
const { pathEnv: i3, pathExt: c3, pathExtExe: l3 } = s2(e3, t3);
|
|
236337
|
-
const u2 = [];
|
|
236338
|
-
const d2 = (n4) => new Promise((a3, s3) => {
|
|
236339
|
-
if (n4 === i3.length) return t3.all && u2.length ? a3(u2) : s3(o2(e3));
|
|
236340
|
-
const c4 = i3[n4];
|
|
236341
|
-
const l4 = /^".*"$/.test(c4) ? c4.slice(1, -1) : c4;
|
|
236342
|
-
const d3 = r2.join(l4, e3);
|
|
236343
|
-
a3(f2(!l4 && /^\.[\\\/]/.test(e3) ? e3.slice(0, 2) + d3 : d3, n4, 0));
|
|
236344
|
-
});
|
|
236345
|
-
const f2 = (e4, n4, r3) => new Promise((i4, o3) => {
|
|
236346
|
-
if (r3 === c3.length) return i4(d2(n4 + 1));
|
|
236347
|
-
const s3 = c3[r3];
|
|
236348
|
-
a2(e4 + s3, { pathExt: l3 }, (a3, o4) => {
|
|
236349
|
-
if (!a3 && o4) if (t3.all) u2.push(e4 + s3);
|
|
236350
|
-
else return i4(e4 + s3);
|
|
236351
|
-
return i4(f2(e4, n4, r3 + 1));
|
|
236352
|
-
});
|
|
236353
|
-
});
|
|
236354
|
-
return n3 ? d2(0).then((e4) => n3(null, e4), n3) : d2(0);
|
|
236355
|
-
};
|
|
236356
|
-
const l2 = (e3, t3) => {
|
|
236357
|
-
t3 = t3 || {};
|
|
236358
|
-
const { pathEnv: n3, pathExt: i3, pathExtExe: c3 } = s2(e3, t3);
|
|
236359
|
-
const l3 = [];
|
|
236360
|
-
for (let o3 = 0; o3 < n3.length; o3++) {
|
|
236361
|
-
const s3 = n3[o3];
|
|
236362
|
-
const u2 = /^".*"$/.test(s3) ? s3.slice(1, -1) : s3;
|
|
236363
|
-
const d2 = r2.join(u2, e3);
|
|
236364
|
-
const f2 = !u2 && /^\.[\\\/]/.test(e3) ? e3.slice(0, 2) + d2 : d2;
|
|
236365
|
-
for (let e4 = 0; e4 < i3.length; e4++) {
|
|
236366
|
-
const n4 = f2 + i3[e4];
|
|
236367
|
-
try {
|
|
236368
|
-
if (a2.sync(n4, { pathExt: c3 })) if (t3.all) l3.push(n4);
|
|
236369
|
-
else return n4;
|
|
236370
|
-
} catch (e5) {
|
|
236371
|
-
}
|
|
236372
|
-
}
|
|
236373
|
-
}
|
|
236374
|
-
if (t3.all && l3.length) return l3;
|
|
236375
|
-
if (t3.nothrow) return null;
|
|
236376
|
-
throw o2(e3);
|
|
236377
|
-
};
|
|
236378
|
-
t2.exports = c2;
|
|
236379
|
-
c2.sync = l2;
|
|
236380
|
-
}));
|
|
236381
|
-
var S = /* @__PURE__ */ u(((e2, t2) => {
|
|
236382
|
-
const n2 = (e3 = {}) => {
|
|
236383
|
-
const t3 = e3.env || process.env;
|
|
236384
|
-
if ((e3.platform || process.platform) !== "win32") return "PATH";
|
|
236385
|
-
return Object.keys(t3).reverse().find((e4) => e4.toUpperCase() === "PATH") || "Path";
|
|
236176
|
+
var x = /([()\][%!^"`<>&|;, *?])/g;
|
|
236177
|
+
var S = /^#!\s*(.+)/;
|
|
236178
|
+
var C = /\.(?:com|exe)$/i;
|
|
236179
|
+
var w = /node_modules[\\/]\.bin[\\/][^\\/]+\.cmd$/i;
|
|
236180
|
+
var T = process.platform === "win32";
|
|
236181
|
+
var E = [
|
|
236182
|
+
".EXE",
|
|
236183
|
+
".CMD",
|
|
236184
|
+
".BAT",
|
|
236185
|
+
".COM"
|
|
236186
|
+
];
|
|
236187
|
+
function D(e2, t2 = [], n2 = {}) {
|
|
236188
|
+
if (n2.shell === true || !T) return {
|
|
236189
|
+
command: e2,
|
|
236190
|
+
args: t2,
|
|
236191
|
+
options: n2
|
|
236386
236192
|
};
|
|
236387
|
-
|
|
236388
|
-
|
|
236389
|
-
|
|
236390
|
-
|
|
236391
|
-
|
|
236392
|
-
|
|
236393
|
-
const i2 = S();
|
|
236394
|
-
function a2(e3, t3) {
|
|
236395
|
-
const a3 = e3.options.env || process.env;
|
|
236396
|
-
const o3 = process.cwd();
|
|
236397
|
-
const s2 = e3.options.cwd != null;
|
|
236398
|
-
const c2 = s2 && process.chdir !== void 0 && !process.chdir.disabled;
|
|
236399
|
-
if (c2) try {
|
|
236400
|
-
process.chdir(e3.options.cwd);
|
|
236401
|
-
} catch (e4) {
|
|
236402
|
-
}
|
|
236403
|
-
let l2;
|
|
236193
|
+
let i2 = O(e2, n2);
|
|
236194
|
+
let a2 = null;
|
|
236195
|
+
if (i2 !== null) {
|
|
236196
|
+
const e3 = 150;
|
|
236197
|
+
const t3 = Buffer.alloc(e3);
|
|
236198
|
+
let n3 = null;
|
|
236404
236199
|
try {
|
|
236405
|
-
|
|
236406
|
-
|
|
236407
|
-
|
|
236408
|
-
});
|
|
236409
|
-
} catch (e4) {
|
|
236200
|
+
n3 = f(i2, "r");
|
|
236201
|
+
p(n3, t3, 0, e3, 0);
|
|
236202
|
+
} catch {
|
|
236410
236203
|
} finally {
|
|
236411
|
-
if (
|
|
236412
|
-
}
|
|
236413
|
-
|
|
236414
|
-
|
|
236415
|
-
|
|
236416
|
-
|
|
236417
|
-
|
|
236418
|
-
|
|
236419
|
-
|
|
236420
|
-
|
|
236421
|
-
|
|
236422
|
-
|
|
236423
|
-
|
|
236424
|
-
|
|
236425
|
-
|
|
236426
|
-
|
|
236427
|
-
|
|
236428
|
-
|
|
236429
|
-
|
|
236430
|
-
|
|
236431
|
-
|
|
236432
|
-
|
|
236433
|
-
|
|
236434
|
-
|
|
236435
|
-
|
|
236436
|
-
|
|
236437
|
-
|
|
236438
|
-
|
|
236439
|
-
var T = /* @__PURE__ */ u(((e2, t2) => {
|
|
236440
|
-
t2.exports = /^#!(.*)/;
|
|
236441
|
-
}));
|
|
236442
|
-
var E = /* @__PURE__ */ u(((e2, t2) => {
|
|
236443
|
-
const n2 = T();
|
|
236444
|
-
t2.exports = (e3 = "") => {
|
|
236445
|
-
const t3 = e3.match(n2);
|
|
236446
|
-
if (!t3) return null;
|
|
236447
|
-
const [r2, i2] = t3[0].replace(/#! ?/, "").split(" ");
|
|
236448
|
-
const a2 = r2.split("/").pop();
|
|
236449
|
-
if (a2 === "env") return i2;
|
|
236450
|
-
return i2 ? `${a2} ${i2}` : a2;
|
|
236451
|
-
};
|
|
236452
|
-
}));
|
|
236453
|
-
var D = /* @__PURE__ */ u(((e2, t2) => {
|
|
236454
|
-
const n2 = d("fs");
|
|
236455
|
-
const r2 = E();
|
|
236456
|
-
function i2(e3) {
|
|
236457
|
-
const t3 = 150;
|
|
236458
|
-
const i3 = Buffer.alloc(t3);
|
|
236459
|
-
let a2;
|
|
236460
|
-
try {
|
|
236461
|
-
a2 = n2.openSync(e3, "r");
|
|
236462
|
-
n2.readSync(a2, i3, 0, t3, 0);
|
|
236463
|
-
n2.closeSync(a2);
|
|
236464
|
-
} catch (e4) {
|
|
236465
|
-
}
|
|
236466
|
-
return r2(i3.toString());
|
|
236467
|
-
}
|
|
236468
|
-
t2.exports = i2;
|
|
236469
|
-
}));
|
|
236470
|
-
var O = /* @__PURE__ */ u(((e2, t2) => {
|
|
236471
|
-
const n2 = d("path");
|
|
236472
|
-
const r2 = C();
|
|
236473
|
-
const i2 = w();
|
|
236474
|
-
const a2 = D();
|
|
236475
|
-
const o2 = process.platform === "win32";
|
|
236476
|
-
const s2 = /\.(?:com|exe)$/i;
|
|
236477
|
-
const c2 = /node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;
|
|
236478
|
-
function l2(e3) {
|
|
236479
|
-
e3.file = r2(e3);
|
|
236480
|
-
const t3 = e3.file && a2(e3.file);
|
|
236481
|
-
if (t3) {
|
|
236482
|
-
e3.args.unshift(e3.file);
|
|
236483
|
-
e3.command = t3;
|
|
236484
|
-
return r2(e3);
|
|
236485
|
-
}
|
|
236486
|
-
return e3.file;
|
|
236487
|
-
}
|
|
236488
|
-
function u2(e3) {
|
|
236489
|
-
if (!o2) return e3;
|
|
236490
|
-
const t3 = l2(e3);
|
|
236491
|
-
const r3 = !s2.test(t3);
|
|
236492
|
-
if (e3.options.forceShell || r3) {
|
|
236493
|
-
const r4 = c2.test(t3);
|
|
236494
|
-
e3.command = n2.normalize(e3.command);
|
|
236495
|
-
e3.command = i2.command(e3.command);
|
|
236496
|
-
e3.args = e3.args.map((e4) => i2.argument(e4, r4));
|
|
236497
|
-
e3.args = [
|
|
236498
|
-
"/d",
|
|
236499
|
-
"/s",
|
|
236500
|
-
"/c",
|
|
236501
|
-
`"${[e3.command].concat(e3.args).join(" ")}"`
|
|
236502
|
-
];
|
|
236503
|
-
e3.command = process.env.comspec || "cmd.exe";
|
|
236504
|
-
e3.options.windowsVerbatimArguments = true;
|
|
236505
|
-
}
|
|
236506
|
-
return e3;
|
|
236507
|
-
}
|
|
236508
|
-
function f2(e3, t3, n3) {
|
|
236509
|
-
if (t3 && !Array.isArray(t3)) {
|
|
236510
|
-
n3 = t3;
|
|
236511
|
-
t3 = null;
|
|
236512
|
-
}
|
|
236513
|
-
t3 = t3 ? t3.slice(0) : [];
|
|
236514
|
-
n3 = Object.assign({}, n3);
|
|
236515
|
-
const r3 = {
|
|
236516
|
-
command: e3,
|
|
236517
|
-
args: t3,
|
|
236518
|
-
options: n3,
|
|
236519
|
-
file: void 0,
|
|
236520
|
-
original: {
|
|
236521
|
-
command: e3,
|
|
236522
|
-
args: t3
|
|
236523
|
-
}
|
|
236524
|
-
};
|
|
236525
|
-
return n3.shell ? r3 : u2(r3);
|
|
236526
|
-
}
|
|
236527
|
-
t2.exports = f2;
|
|
236528
|
-
}));
|
|
236529
|
-
var k = /* @__PURE__ */ u(((e2, t2) => {
|
|
236530
|
-
const n2 = process.platform === "win32";
|
|
236531
|
-
function r2(e3, t3) {
|
|
236532
|
-
return Object.assign(/* @__PURE__ */ new Error(`${t3} ${e3.command} ENOENT`), {
|
|
236533
|
-
code: "ENOENT",
|
|
236534
|
-
errno: "ENOENT",
|
|
236535
|
-
syscall: `${t3} ${e3.command}`,
|
|
236536
|
-
path: e3.command,
|
|
236537
|
-
spawnargs: e3.args
|
|
236204
|
+
if (n3 !== null) d(n3);
|
|
236205
|
+
}
|
|
236206
|
+
const o2 = t3.toString().match(S);
|
|
236207
|
+
if (o2 !== null) {
|
|
236208
|
+
const e4 = o2[1].trim();
|
|
236209
|
+
const t4 = e4.indexOf(" ");
|
|
236210
|
+
const n4 = t4 !== -1 ? e4.slice(0, t4) : e4;
|
|
236211
|
+
const i3 = t4 !== -1 ? e4.slice(t4 + 1) : "";
|
|
236212
|
+
const s2 = r(n4);
|
|
236213
|
+
a2 = s2 === "env" ? i3 || null : s2;
|
|
236214
|
+
}
|
|
236215
|
+
}
|
|
236216
|
+
if (a2 !== null && i2 !== null) {
|
|
236217
|
+
t2 = [i2, ...t2];
|
|
236218
|
+
e2 = a2;
|
|
236219
|
+
i2 = O(e2, n2);
|
|
236220
|
+
}
|
|
236221
|
+
if (i2 === null || !C.test(i2)) {
|
|
236222
|
+
const r2 = i2 !== null && w.test(i2);
|
|
236223
|
+
e2 = o(e2);
|
|
236224
|
+
e2 = e2.replace(x, "^$1");
|
|
236225
|
+
t2 = t2.map((e3) => {
|
|
236226
|
+
e3 = e3.replace(/(?=(\\+?)?)\1"/g, '$1$1\\"');
|
|
236227
|
+
e3 = e3.replace(/(?=(\\+?)?)\1$/, "$1$1");
|
|
236228
|
+
e3 = `"${e3}"`;
|
|
236229
|
+
e3 = e3.replace(x, "^$1");
|
|
236230
|
+
if (r2) e3 = e3.replace(x, "^$1");
|
|
236231
|
+
return e3;
|
|
236538
236232
|
});
|
|
236539
|
-
|
|
236540
|
-
|
|
236541
|
-
|
|
236542
|
-
|
|
236543
|
-
|
|
236544
|
-
|
|
236545
|
-
|
|
236546
|
-
|
|
236547
|
-
|
|
236548
|
-
|
|
236233
|
+
t2 = [
|
|
236234
|
+
"/d",
|
|
236235
|
+
"/s",
|
|
236236
|
+
"/c",
|
|
236237
|
+
`"${[e2, ...t2].join(" ")}"`
|
|
236238
|
+
];
|
|
236239
|
+
e2 = n2.env?.comspec ?? "cmd.exe";
|
|
236240
|
+
n2 = {
|
|
236241
|
+
...n2,
|
|
236242
|
+
windowsVerbatimArguments: true
|
|
236549
236243
|
};
|
|
236550
236244
|
}
|
|
236551
|
-
|
|
236552
|
-
|
|
236553
|
-
|
|
236554
|
-
|
|
236555
|
-
function o2(e3, t3) {
|
|
236556
|
-
if (n2 && e3 === 1 && !t3.file) return r2(t3.original, "spawnSync");
|
|
236557
|
-
return null;
|
|
236558
|
-
}
|
|
236559
|
-
t2.exports = {
|
|
236560
|
-
hookChildProcess: i2,
|
|
236561
|
-
verifyENOENT: a2,
|
|
236562
|
-
verifyENOENTSync: o2,
|
|
236563
|
-
notFoundError: r2
|
|
236245
|
+
return {
|
|
236246
|
+
command: e2,
|
|
236247
|
+
args: t2,
|
|
236248
|
+
options: n2
|
|
236564
236249
|
};
|
|
236565
|
-
}
|
|
236566
|
-
|
|
236567
|
-
const
|
|
236568
|
-
const
|
|
236569
|
-
const
|
|
236570
|
-
|
|
236571
|
-
|
|
236572
|
-
|
|
236573
|
-
|
|
236574
|
-
|
|
236575
|
-
|
|
236576
|
-
|
|
236577
|
-
|
|
236578
|
-
|
|
236579
|
-
|
|
236580
|
-
|
|
236581
|
-
|
|
236582
|
-
|
|
236583
|
-
|
|
236584
|
-
|
|
236585
|
-
|
|
236586
|
-
|
|
236587
|
-
|
|
236588
|
-
var j = A();
|
|
236589
|
-
var M = class extends Error {
|
|
236250
|
+
}
|
|
236251
|
+
function O(e2, t2) {
|
|
236252
|
+
const r2 = (t2.cwd ?? n()).toString();
|
|
236253
|
+
const a2 = t2.env ?? process.env;
|
|
236254
|
+
const o2 = _(a2).value;
|
|
236255
|
+
const c2 = e2.includes("/") || e2.includes("\\") ? [""] : [r2, ...o2.split(i)];
|
|
236256
|
+
const l2 = a2.PATHEXT ? a2.PATHEXT.split(i) : E;
|
|
236257
|
+
if (e2.includes(".") && l2[0] !== "") l2.unshift("");
|
|
236258
|
+
for (const t3 of c2) {
|
|
236259
|
+
const n2 = s(r2, t3.startsWith('"') && t3.endsWith('"') && t3.length > 1 ? t3.slice(1, -1) : t3, e2);
|
|
236260
|
+
for (const e3 of l2) {
|
|
236261
|
+
const t4 = n2 + e3;
|
|
236262
|
+
try {
|
|
236263
|
+
if (m(t4).isFile()) return t4;
|
|
236264
|
+
} catch {
|
|
236265
|
+
}
|
|
236266
|
+
}
|
|
236267
|
+
}
|
|
236268
|
+
return null;
|
|
236269
|
+
}
|
|
236270
|
+
var k = class extends Error {
|
|
236271
|
+
result;
|
|
236272
|
+
output;
|
|
236590
236273
|
get exitCode() {
|
|
236591
236274
|
if (this.result.exitCode !== null) return this.result.exitCode;
|
|
236592
236275
|
}
|
|
@@ -236596,12 +236279,12 @@ var M = class extends Error {
|
|
|
236596
236279
|
this.output = t2;
|
|
236597
236280
|
}
|
|
236598
236281
|
};
|
|
236599
|
-
var
|
|
236282
|
+
var j = {
|
|
236600
236283
|
timeout: void 0,
|
|
236601
236284
|
persist: false
|
|
236602
236285
|
};
|
|
236603
|
-
var
|
|
236604
|
-
function
|
|
236286
|
+
var N = { windowsHide: true };
|
|
236287
|
+
function P(e2) {
|
|
236605
236288
|
const t2 = new AbortController();
|
|
236606
236289
|
for (const n2 of e2) {
|
|
236607
236290
|
if (n2.aborted) {
|
|
@@ -236615,7 +236298,7 @@ function L(e2) {
|
|
|
236615
236298
|
}
|
|
236616
236299
|
return t2.signal;
|
|
236617
236300
|
}
|
|
236618
|
-
async function
|
|
236301
|
+
async function F(e2) {
|
|
236619
236302
|
let t2 = "";
|
|
236620
236303
|
try {
|
|
236621
236304
|
for await (const n2 of e2) t2 += n2.toString();
|
|
@@ -236623,7 +236306,7 @@ async function R(e2) {
|
|
|
236623
236306
|
}
|
|
236624
236307
|
return t2;
|
|
236625
236308
|
}
|
|
236626
|
-
var
|
|
236309
|
+
var I = class {
|
|
236627
236310
|
_process;
|
|
236628
236311
|
_aborted = false;
|
|
236629
236312
|
_options;
|
|
@@ -236643,7 +236326,7 @@ var z = class {
|
|
|
236643
236326
|
}
|
|
236644
236327
|
constructor(e2, t2, n2) {
|
|
236645
236328
|
this._options = {
|
|
236646
|
-
...
|
|
236329
|
+
...j,
|
|
236647
236330
|
...n2
|
|
236648
236331
|
};
|
|
236649
236332
|
this._command = e2;
|
|
@@ -236662,7 +236345,7 @@ var z = class {
|
|
|
236662
236345
|
return this._process?.killed === true;
|
|
236663
236346
|
}
|
|
236664
236347
|
pipe(e2, t2, n2) {
|
|
236665
|
-
return
|
|
236348
|
+
return z(e2, t2, {
|
|
236666
236349
|
...n2,
|
|
236667
236350
|
stdin: this
|
|
236668
236351
|
});
|
|
@@ -236673,18 +236356,18 @@ var z = class {
|
|
|
236673
236356
|
const t2 = [];
|
|
236674
236357
|
if (this._streamErr) t2.push(this._streamErr);
|
|
236675
236358
|
if (this._streamOut) t2.push(this._streamOut);
|
|
236676
|
-
const n2 =
|
|
236677
|
-
const r2 =
|
|
236359
|
+
const n2 = b(t2);
|
|
236360
|
+
const r2 = u.createInterface({ input: n2 });
|
|
236678
236361
|
for await (const e3 of r2) yield e3.toString();
|
|
236679
236362
|
await this._processClosed;
|
|
236680
236363
|
e2.removeAllListeners();
|
|
236681
236364
|
if (this._thrownError) throw this._thrownError;
|
|
236682
|
-
if (this._options?.throwOnError && this.exitCode !== 0 && this.exitCode !== void 0) throw new
|
|
236365
|
+
if (this._options?.throwOnError && this.exitCode !== 0 && this.exitCode !== void 0) throw new k(this);
|
|
236683
236366
|
}
|
|
236684
236367
|
async _waitForOutput() {
|
|
236685
236368
|
const e2 = this._process;
|
|
236686
236369
|
if (!e2) throw new Error("No process was started");
|
|
236687
|
-
const [t2, n2] = await Promise.all([this._streamOut ?
|
|
236370
|
+
const [t2, n2] = await Promise.all([this._streamOut ? F(this._streamOut) : "", this._streamErr ? F(this._streamErr) : ""]);
|
|
236688
236371
|
await this._processClosed;
|
|
236689
236372
|
const { stdin: r2 } = this._options;
|
|
236690
236373
|
if (r2 && typeof r2 !== "string") await r2;
|
|
@@ -236695,7 +236378,7 @@ var z = class {
|
|
|
236695
236378
|
stdout: t2,
|
|
236696
236379
|
exitCode: this.exitCode
|
|
236697
236380
|
};
|
|
236698
|
-
if (this._options.throwOnError && this.exitCode !== 0 && this.exitCode !== void 0) throw new
|
|
236381
|
+
if (this._options.throwOnError && this.exitCode !== 0 && this.exitCode !== void 0) throw new k(this, i2);
|
|
236699
236382
|
return i2;
|
|
236700
236383
|
}
|
|
236701
236384
|
then(e2, t2) {
|
|
@@ -236704,30 +236387,30 @@ var z = class {
|
|
|
236704
236387
|
_streamOut;
|
|
236705
236388
|
_streamErr;
|
|
236706
236389
|
spawn() {
|
|
236707
|
-
const
|
|
236708
|
-
const
|
|
236390
|
+
const t2 = n();
|
|
236391
|
+
const r2 = this._options;
|
|
236709
236392
|
const i2 = {
|
|
236710
|
-
...
|
|
236711
|
-
...
|
|
236393
|
+
...N,
|
|
236394
|
+
...r2.nodeOptions
|
|
236712
236395
|
};
|
|
236713
236396
|
const a2 = [];
|
|
236714
236397
|
this._resetState();
|
|
236715
|
-
if (
|
|
236716
|
-
if (
|
|
236717
|
-
if (
|
|
236718
|
-
if (a2.length > 0) i2.signal =
|
|
236719
|
-
i2.env =
|
|
236720
|
-
const o2 = (
|
|
236721
|
-
const s2 =
|
|
236398
|
+
if (r2.timeout !== void 0) a2.push(AbortSignal.timeout(r2.timeout));
|
|
236399
|
+
if (r2.signal !== void 0) a2.push(r2.signal);
|
|
236400
|
+
if (r2.persist === true) i2.detached = true;
|
|
236401
|
+
if (a2.length > 0) i2.signal = P(a2);
|
|
236402
|
+
i2.env = y(t2, i2.env, r2.nodePath);
|
|
236403
|
+
const o2 = D(this._command, this._args, i2);
|
|
236404
|
+
const s2 = e(o2.command, o2.args, o2.options);
|
|
236722
236405
|
if (s2.stderr) this._streamErr = s2.stderr;
|
|
236723
236406
|
if (s2.stdout) this._streamOut = s2.stdout;
|
|
236724
236407
|
this._process = s2;
|
|
236725
236408
|
s2.once("error", this._onError);
|
|
236726
236409
|
s2.once("close", this._onClose);
|
|
236727
236410
|
if (s2.stdin) {
|
|
236728
|
-
const { stdin:
|
|
236729
|
-
if (typeof
|
|
236730
|
-
else
|
|
236411
|
+
const { stdin: e2 } = r2;
|
|
236412
|
+
if (typeof e2 === "string") s2.stdin.end(e2);
|
|
236413
|
+
else e2?.process?.stdout?.pipe(s2.stdin);
|
|
236731
236414
|
}
|
|
236732
236415
|
}
|
|
236733
236416
|
_resetState() {
|
|
@@ -236748,12 +236431,12 @@ var z = class {
|
|
|
236748
236431
|
if (this._resolveClose) this._resolveClose();
|
|
236749
236432
|
};
|
|
236750
236433
|
};
|
|
236751
|
-
var
|
|
236752
|
-
const r2 = new
|
|
236434
|
+
var R = (e2, t2, n2) => {
|
|
236435
|
+
const r2 = new I(e2, t2, n2);
|
|
236753
236436
|
r2.spawn();
|
|
236754
236437
|
return r2;
|
|
236755
236438
|
};
|
|
236756
|
-
var
|
|
236439
|
+
var z = R;
|
|
236757
236440
|
|
|
236758
236441
|
// node_modules/@commitlint/read/lib/read.js
|
|
236759
236442
|
async function getCommitMessages(settings) {
|
|
@@ -236763,21 +236446,16 @@ async function getCommitMessages(settings) {
|
|
|
236763
236446
|
return getEditCommit(cwd, edit);
|
|
236764
236447
|
}
|
|
236765
236448
|
if (last) {
|
|
236766
|
-
const gitCommandResult = await
|
|
236449
|
+
const gitCommandResult = await R("git", ["log", "-1", "--pretty=format:%B"], {
|
|
236450
|
+
nodeOptions: { cwd }
|
|
236451
|
+
});
|
|
236767
236452
|
let output2 = gitCommandResult.stdout.trim();
|
|
236768
236453
|
if (output2[0] == '"' && output2[output2.length - 1] == '"')
|
|
236769
236454
|
output2 = output2.slice(1, -1);
|
|
236770
236455
|
return [output2];
|
|
236771
236456
|
}
|
|
236772
236457
|
if (!from && fromLastTag) {
|
|
236773
|
-
const output2 = await
|
|
236774
|
-
"describe",
|
|
236775
|
-
"--abbrev=40",
|
|
236776
|
-
"--always",
|
|
236777
|
-
"--first-parent",
|
|
236778
|
-
"--long",
|
|
236779
|
-
"--tags"
|
|
236780
|
-
], { nodeOptions: { cwd } });
|
|
236458
|
+
const output2 = await R("git", ["describe", "--abbrev=40", "--always", "--first-parent", "--long", "--tags"], { nodeOptions: { cwd } });
|
|
236781
236459
|
const stdout = output2.stdout.trim();
|
|
236782
236460
|
if (stdout.length === 40) {
|
|
236783
236461
|
from = stdout;
|
|
@@ -236786,6 +236464,15 @@ async function getCommitMessages(settings) {
|
|
|
236786
236464
|
from = stdout.slice(0, tagSlice);
|
|
236787
236465
|
}
|
|
236788
236466
|
}
|
|
236467
|
+
if (from) {
|
|
236468
|
+
const effectiveTo = to ?? "HEAD";
|
|
236469
|
+
const mergeBase = await R("git", ["merge-base", from, effectiveTo], {
|
|
236470
|
+
nodeOptions: { cwd }
|
|
236471
|
+
});
|
|
236472
|
+
if (mergeBase.exitCode === 1) {
|
|
236473
|
+
throw new Error(`Cannot find merge-base between '${from}' and '${effectiveTo}'. This typically indicates incomplete git history (e.g., a shallow clone). Consider fetching more history.`);
|
|
236474
|
+
}
|
|
236475
|
+
}
|
|
236789
236476
|
let gitOptions = { from, to };
|
|
236790
236477
|
if (gitLogArgs) {
|
|
236791
236478
|
const { values, positionals } = parseArgs({
|
|
@@ -236802,10 +236489,10 @@ async function getCommitMessages(settings) {
|
|
|
236802
236489
|
return getHistoryCommits(gitOptions, { cwd });
|
|
236803
236490
|
}
|
|
236804
236491
|
|
|
236805
|
-
// node_modules
|
|
236492
|
+
// node_modules/yargs/lib/platform-shims/esm.mjs
|
|
236806
236493
|
import { notStrictEqual, strictEqual } from "assert";
|
|
236807
236494
|
|
|
236808
|
-
// node_modules
|
|
236495
|
+
// node_modules/cliui/build/lib/index.js
|
|
236809
236496
|
var align = {
|
|
236810
236497
|
right: alignRight,
|
|
236811
236498
|
center: alignCenter
|
|
@@ -237166,7 +236853,7 @@ function eastAsianWidth(codePoint, { ambiguousAsWide = false } = {}) {
|
|
|
237166
236853
|
return 1;
|
|
237167
236854
|
}
|
|
237168
236855
|
|
|
237169
|
-
// node_modules
|
|
236856
|
+
// node_modules/cliui/node_modules/string-width/index.js
|
|
237170
236857
|
var import_emoji_regex = __toESM(require_emoji_regex(), 1);
|
|
237171
236858
|
var segmenter = new Intl.Segmenter();
|
|
237172
236859
|
var defaultIgnorableCodePointRegex = new RegExp("^\\p{Default_Ignorable_Code_Point}$", "u");
|
|
@@ -237215,7 +236902,7 @@ function stringWidth(string, options = {}) {
|
|
|
237215
236902
|
return width;
|
|
237216
236903
|
}
|
|
237217
236904
|
|
|
237218
|
-
// node_modules
|
|
236905
|
+
// node_modules/cliui/node_modules/ansi-styles/index.js
|
|
237219
236906
|
var ANSI_BACKGROUND_OFFSET = 10;
|
|
237220
236907
|
var wrapAnsi16 = (offset = 0) => (code) => `\x1B[${code + offset}m`;
|
|
237221
236908
|
var wrapAnsi256 = (offset = 0) => (code) => `\x1B[${38 + offset};5;${code}m`;
|
|
@@ -237401,7 +237088,7 @@ function assembleStyles() {
|
|
|
237401
237088
|
var ansiStyles = assembleStyles();
|
|
237402
237089
|
var ansi_styles_default = ansiStyles;
|
|
237403
237090
|
|
|
237404
|
-
// node_modules
|
|
237091
|
+
// node_modules/cliui/node_modules/wrap-ansi/index.js
|
|
237405
237092
|
var ESCAPES = /* @__PURE__ */ new Set([
|
|
237406
237093
|
"\x1B",
|
|
237407
237094
|
"\x9B"
|
|
@@ -237556,7 +237243,7 @@ function wrapAnsi(string, columns, options) {
|
|
|
237556
237243
|
return String(string).normalize().replaceAll("\r\n", "\n").split("\n").map((line) => exec(line, columns, options)).join("\n");
|
|
237557
237244
|
}
|
|
237558
237245
|
|
|
237559
|
-
// node_modules
|
|
237246
|
+
// node_modules/cliui/index.mjs
|
|
237560
237247
|
function ui(opts) {
|
|
237561
237248
|
return cliui(opts, {
|
|
237562
237249
|
stringWidth,
|
|
@@ -237582,15 +237269,15 @@ function sync_default(start, callback) {
|
|
|
237582
237269
|
}
|
|
237583
237270
|
}
|
|
237584
237271
|
|
|
237585
|
-
// node_modules
|
|
237272
|
+
// node_modules/yargs/lib/platform-shims/esm.mjs
|
|
237586
237273
|
import { inspect } from "util";
|
|
237587
237274
|
import { fileURLToPath as fileURLToPath3 } from "url";
|
|
237588
237275
|
|
|
237589
|
-
// node_modules
|
|
237276
|
+
// node_modules/yargs/node_modules/yargs-parser/build/lib/index.js
|
|
237590
237277
|
import { format } from "util";
|
|
237591
237278
|
import { normalize, resolve as resolve3 } from "path";
|
|
237592
237279
|
|
|
237593
|
-
// node_modules
|
|
237280
|
+
// node_modules/yargs/node_modules/yargs-parser/build/lib/string-utils.js
|
|
237594
237281
|
function camelCase3(str) {
|
|
237595
237282
|
const isCamelCase = str !== str.toLowerCase() && str !== str.toUpperCase();
|
|
237596
237283
|
if (!isCamelCase) {
|
|
@@ -237644,7 +237331,7 @@ function looksLikeNumber(x2) {
|
|
|
237644
237331
|
return /^[-]?(?:\d+(?:\.\d*)?|\.\d+)(e[-+]?\d+)?$/.test(x2);
|
|
237645
237332
|
}
|
|
237646
237333
|
|
|
237647
|
-
// node_modules
|
|
237334
|
+
// node_modules/yargs/node_modules/yargs-parser/build/lib/tokenize-arg-string.js
|
|
237648
237335
|
function tokenizeArgString(argString) {
|
|
237649
237336
|
if (Array.isArray(argString)) {
|
|
237650
237337
|
return argString.map((e2) => typeof e2 !== "string" ? e2 + "" : e2);
|
|
@@ -237676,7 +237363,7 @@ function tokenizeArgString(argString) {
|
|
|
237676
237363
|
return args;
|
|
237677
237364
|
}
|
|
237678
237365
|
|
|
237679
|
-
// node_modules
|
|
237366
|
+
// node_modules/yargs/node_modules/yargs-parser/build/lib/yargs-parser-types.js
|
|
237680
237367
|
var DefaultValuesForTypeKey;
|
|
237681
237368
|
(function(DefaultValuesForTypeKey2) {
|
|
237682
237369
|
DefaultValuesForTypeKey2["BOOLEAN"] = "boolean";
|
|
@@ -237685,7 +237372,7 @@ var DefaultValuesForTypeKey;
|
|
|
237685
237372
|
DefaultValuesForTypeKey2["ARRAY"] = "array";
|
|
237686
237373
|
})(DefaultValuesForTypeKey || (DefaultValuesForTypeKey = {}));
|
|
237687
237374
|
|
|
237688
|
-
// node_modules
|
|
237375
|
+
// node_modules/yargs/node_modules/yargs-parser/build/lib/yargs-parser.js
|
|
237689
237376
|
var mixin2;
|
|
237690
237377
|
var YargsParser = class {
|
|
237691
237378
|
constructor(_mixin) {
|
|
@@ -238525,7 +238212,7 @@ function stripQuotes(val) {
|
|
|
238525
238212
|
return typeof val === "string" && (val[0] === "'" || val[0] === '"') && val[val.length - 1] === val[0] ? val.substring(1, val.length - 1) : val;
|
|
238526
238213
|
}
|
|
238527
238214
|
|
|
238528
|
-
// node_modules
|
|
238215
|
+
// node_modules/yargs/node_modules/yargs-parser/build/lib/index.js
|
|
238529
238216
|
import { readFileSync as readFileSync2 } from "fs";
|
|
238530
238217
|
import { createRequire as createRequire5 } from "node:module";
|
|
238531
238218
|
var _a;
|
|
@@ -238571,10 +238258,10 @@ yargsParser.decamelize = decamelize;
|
|
|
238571
238258
|
yargsParser.looksLikeNumber = looksLikeNumber;
|
|
238572
238259
|
var lib_default5 = yargsParser;
|
|
238573
238260
|
|
|
238574
|
-
// node_modules
|
|
238261
|
+
// node_modules/yargs/lib/platform-shims/esm.mjs
|
|
238575
238262
|
import { basename, dirname as dirname3, extname, relative, resolve as resolve5, join } from "path";
|
|
238576
238263
|
|
|
238577
|
-
// node_modules
|
|
238264
|
+
// node_modules/yargs/build/lib/utils/process-argv.js
|
|
238578
238265
|
function getProcessArgvBinIndex() {
|
|
238579
238266
|
if (isBundledElectronApp())
|
|
238580
238267
|
return 0;
|
|
@@ -238590,6 +238277,55 @@ function getProcessArgvBin() {
|
|
|
238590
238277
|
return process.argv[getProcessArgvBinIndex()];
|
|
238591
238278
|
}
|
|
238592
238279
|
|
|
238280
|
+
// node_modules/yargs/node_modules/string-width/index.js
|
|
238281
|
+
var import_emoji_regex2 = __toESM(require_emoji_regex2(), 1);
|
|
238282
|
+
var segmenter2 = new Intl.Segmenter();
|
|
238283
|
+
var defaultIgnorableCodePointRegex2 = new RegExp("^\\p{Default_Ignorable_Code_Point}$", "u");
|
|
238284
|
+
function stringWidth2(string, options = {}) {
|
|
238285
|
+
if (typeof string !== "string" || string.length === 0) {
|
|
238286
|
+
return 0;
|
|
238287
|
+
}
|
|
238288
|
+
const {
|
|
238289
|
+
ambiguousIsNarrow = true,
|
|
238290
|
+
countAnsiEscapeCodes = false
|
|
238291
|
+
} = options;
|
|
238292
|
+
if (!countAnsiEscapeCodes) {
|
|
238293
|
+
string = stripAnsi(string);
|
|
238294
|
+
}
|
|
238295
|
+
if (string.length === 0) {
|
|
238296
|
+
return 0;
|
|
238297
|
+
}
|
|
238298
|
+
let width = 0;
|
|
238299
|
+
const eastAsianWidthOptions = { ambiguousAsWide: !ambiguousIsNarrow };
|
|
238300
|
+
for (const { segment: character } of segmenter2.segment(string)) {
|
|
238301
|
+
const codePoint = character.codePointAt(0);
|
|
238302
|
+
if (codePoint <= 31 || codePoint >= 127 && codePoint <= 159) {
|
|
238303
|
+
continue;
|
|
238304
|
+
}
|
|
238305
|
+
if (codePoint >= 8203 && codePoint <= 8207 || codePoint === 65279) {
|
|
238306
|
+
continue;
|
|
238307
|
+
}
|
|
238308
|
+
if (codePoint >= 768 && codePoint <= 879 || codePoint >= 6832 && codePoint <= 6911 || codePoint >= 7616 && codePoint <= 7679 || codePoint >= 8400 && codePoint <= 8447 || codePoint >= 65056 && codePoint <= 65071) {
|
|
238309
|
+
continue;
|
|
238310
|
+
}
|
|
238311
|
+
if (codePoint >= 55296 && codePoint <= 57343) {
|
|
238312
|
+
continue;
|
|
238313
|
+
}
|
|
238314
|
+
if (codePoint >= 65024 && codePoint <= 65039) {
|
|
238315
|
+
continue;
|
|
238316
|
+
}
|
|
238317
|
+
if (defaultIgnorableCodePointRegex2.test(character)) {
|
|
238318
|
+
continue;
|
|
238319
|
+
}
|
|
238320
|
+
if ((0, import_emoji_regex2.default)().test(character)) {
|
|
238321
|
+
width += 2;
|
|
238322
|
+
continue;
|
|
238323
|
+
}
|
|
238324
|
+
width += eastAsianWidth(codePoint, eastAsianWidthOptions);
|
|
238325
|
+
}
|
|
238326
|
+
return width;
|
|
238327
|
+
}
|
|
238328
|
+
|
|
238593
238329
|
// node_modules/y18n/build/lib/platform-shims/node.js
|
|
238594
238330
|
import { readFileSync as readFileSync3, statSync as statSync2, writeFile } from "fs";
|
|
238595
238331
|
import { format as format2 } from "util";
|
|
@@ -238777,7 +238513,7 @@ var y18n2 = (opts) => {
|
|
|
238777
238513
|
};
|
|
238778
238514
|
var y18n_default = y18n2;
|
|
238779
238515
|
|
|
238780
|
-
// node_modules
|
|
238516
|
+
// node_modules/yargs/lib/platform-shims/esm.mjs
|
|
238781
238517
|
var import_get_caller_file = __toESM(require_get_caller_file(), 1);
|
|
238782
238518
|
import { createRequire as createRequire6 } from "node:module";
|
|
238783
238519
|
import { readFileSync as readFileSync4, readdirSync as readdirSync2 } from "node:fs";
|
|
@@ -238824,14 +238560,14 @@ var esm_default = {
|
|
|
238824
238560
|
const callerFile = (0, import_get_caller_file.default)(3);
|
|
238825
238561
|
return callerFile.match(/^file:\/\//) ? fileURLToPath3(callerFile) : callerFile;
|
|
238826
238562
|
},
|
|
238827
|
-
stringWidth,
|
|
238563
|
+
stringWidth: stringWidth2,
|
|
238828
238564
|
y18n: y18n_default({
|
|
238829
238565
|
directory: resolve5(__dirname3, "../../../locales"),
|
|
238830
238566
|
updateFiles: false
|
|
238831
238567
|
})
|
|
238832
238568
|
};
|
|
238833
238569
|
|
|
238834
|
-
// node_modules
|
|
238570
|
+
// node_modules/yargs/build/lib/typings/common-types.js
|
|
238835
238571
|
function assertNotStrictEqual(actual, expected, shim3, message2) {
|
|
238836
238572
|
shim3.assert.notStrictEqual(actual, expected, message2);
|
|
238837
238573
|
}
|
|
@@ -238842,12 +238578,12 @@ function objectKeys(object) {
|
|
|
238842
238578
|
return Object.keys(object);
|
|
238843
238579
|
}
|
|
238844
238580
|
|
|
238845
|
-
// node_modules
|
|
238581
|
+
// node_modules/yargs/build/lib/utils/is-promise.js
|
|
238846
238582
|
function isPromise(maybePromise) {
|
|
238847
238583
|
return !!maybePromise && !!maybePromise.then && typeof maybePromise.then === "function";
|
|
238848
238584
|
}
|
|
238849
238585
|
|
|
238850
|
-
// node_modules
|
|
238586
|
+
// node_modules/yargs/build/lib/yerror.js
|
|
238851
238587
|
var YError = class _YError extends Error {
|
|
238852
238588
|
constructor(msg) {
|
|
238853
238589
|
super(msg || "yargs error");
|
|
@@ -238858,7 +238594,7 @@ var YError = class _YError extends Error {
|
|
|
238858
238594
|
}
|
|
238859
238595
|
};
|
|
238860
238596
|
|
|
238861
|
-
// node_modules
|
|
238597
|
+
// node_modules/yargs/build/lib/parse-command.js
|
|
238862
238598
|
function parseCommand(cmd) {
|
|
238863
238599
|
const extraSpacesStrippedCommand = cmd.replace(/\s{2,}/g, " ");
|
|
238864
238600
|
const splitCommand = extraSpacesStrippedCommand.split(/\s+(?![^[]*]|[^<]*>)/);
|
|
@@ -238891,7 +238627,7 @@ function parseCommand(cmd) {
|
|
|
238891
238627
|
return parsedCommand;
|
|
238892
238628
|
}
|
|
238893
238629
|
|
|
238894
|
-
// node_modules
|
|
238630
|
+
// node_modules/yargs/build/lib/argsert.js
|
|
238895
238631
|
var positionName = ["first", "second", "third", "fourth", "fifth", "sixth"];
|
|
238896
238632
|
function argsert(arg1, arg2, arg3) {
|
|
238897
238633
|
function parseArgs2() {
|
|
@@ -238949,7 +238685,7 @@ function argumentTypeError(observedType, allowedTypes, position) {
|
|
|
238949
238685
|
throw new YError(`Invalid ${positionName[position] || "manyith"} argument. Expected ${allowedTypes.join(" or ")} but received ${observedType}.`);
|
|
238950
238686
|
}
|
|
238951
238687
|
|
|
238952
|
-
// node_modules
|
|
238688
|
+
// node_modules/yargs/build/lib/middleware.js
|
|
238953
238689
|
var GlobalMiddleware = class {
|
|
238954
238690
|
constructor(yargs) {
|
|
238955
238691
|
this.globalMiddleware = [];
|
|
@@ -239031,7 +238767,7 @@ function applyMiddleware(argv, yargs, middlewares, beforeValidation) {
|
|
|
239031
238767
|
}, argv);
|
|
239032
238768
|
}
|
|
239033
238769
|
|
|
239034
|
-
// node_modules
|
|
238770
|
+
// node_modules/yargs/build/lib/utils/maybe-async-result.js
|
|
239035
238771
|
function maybeAsyncResult(getResult, resultHandler, errorHandler = (err) => {
|
|
239036
238772
|
throw err;
|
|
239037
238773
|
}) {
|
|
@@ -239046,7 +238782,7 @@ function isFunction(arg) {
|
|
|
239046
238782
|
return typeof arg === "function";
|
|
239047
238783
|
}
|
|
239048
238784
|
|
|
239049
|
-
// node_modules
|
|
238785
|
+
// node_modules/yargs/build/lib/command.js
|
|
239050
238786
|
var DEFAULT_MARKER = /(^\*)|(^\$0)/;
|
|
239051
238787
|
var CommandInstance = class {
|
|
239052
238788
|
constructor(usage2, validation2, globalMiddleware, shim3) {
|
|
@@ -239467,7 +239203,7 @@ function isCommandHandlerDefinition(cmd) {
|
|
|
239467
239203
|
return typeof cmd === "object" && !Array.isArray(cmd);
|
|
239468
239204
|
}
|
|
239469
239205
|
|
|
239470
|
-
// node_modules
|
|
239206
|
+
// node_modules/yargs/build/lib/utils/obj-filter.js
|
|
239471
239207
|
function objFilter(original = {}, filter = () => true) {
|
|
239472
239208
|
const obj = {};
|
|
239473
239209
|
objectKeys(original).forEach((key) => {
|
|
@@ -239478,7 +239214,7 @@ function objFilter(original = {}, filter = () => true) {
|
|
|
239478
239214
|
return obj;
|
|
239479
239215
|
}
|
|
239480
239216
|
|
|
239481
|
-
// node_modules
|
|
239217
|
+
// node_modules/yargs/build/lib/utils/set-blocking.js
|
|
239482
239218
|
function setBlocking(blocking) {
|
|
239483
239219
|
if (typeof process === "undefined")
|
|
239484
239220
|
return;
|
|
@@ -239490,7 +239226,7 @@ function setBlocking(blocking) {
|
|
|
239490
239226
|
});
|
|
239491
239227
|
}
|
|
239492
239228
|
|
|
239493
|
-
// node_modules
|
|
239229
|
+
// node_modules/yargs/build/lib/usage.js
|
|
239494
239230
|
function isBoolean(fail) {
|
|
239495
239231
|
return typeof fail === "boolean";
|
|
239496
239232
|
}
|
|
@@ -240016,7 +239752,7 @@ function getText(text) {
|
|
|
240016
239752
|
return isIndentedText(text) ? text.text : text;
|
|
240017
239753
|
}
|
|
240018
239754
|
|
|
240019
|
-
// node_modules
|
|
239755
|
+
// node_modules/yargs/build/lib/completion-templates.js
|
|
240020
239756
|
var completionShTemplate = `###-begin-{{app_name}}-completions-###
|
|
240021
239757
|
#
|
|
240022
239758
|
# yargs command completion script
|
|
@@ -240076,7 +239812,7 @@ fi
|
|
|
240076
239812
|
###-end-{{app_name}}-completions-###
|
|
240077
239813
|
`;
|
|
240078
239814
|
|
|
240079
|
-
// node_modules
|
|
239815
|
+
// node_modules/yargs/build/lib/completion.js
|
|
240080
239816
|
var Completion = class {
|
|
240081
239817
|
constructor(yargs, usage2, command2, shim3) {
|
|
240082
239818
|
var _a2, _b2, _c2;
|
|
@@ -240289,7 +240025,7 @@ function isFallbackCompletionFunction(completionFunction) {
|
|
|
240289
240025
|
return completionFunction.length > 3;
|
|
240290
240026
|
}
|
|
240291
240027
|
|
|
240292
|
-
// node_modules
|
|
240028
|
+
// node_modules/yargs/build/lib/utils/levenshtein.js
|
|
240293
240029
|
function levenshtein(a2, b2) {
|
|
240294
240030
|
if (a2.length === 0)
|
|
240295
240031
|
return b2.length;
|
|
@@ -240320,7 +240056,7 @@ function levenshtein(a2, b2) {
|
|
|
240320
240056
|
return matrix[b2.length][a2.length];
|
|
240321
240057
|
}
|
|
240322
240058
|
|
|
240323
|
-
// node_modules
|
|
240059
|
+
// node_modules/yargs/build/lib/validation.js
|
|
240324
240060
|
var specialKeys = ["$0", "--", "_"];
|
|
240325
240061
|
function validation(yargs, usage2, shim3) {
|
|
240326
240062
|
const __ = shim3.y18n.__;
|
|
@@ -240589,7 +240325,7 @@ ${customMsgs.join("\n")}` : "";
|
|
|
240589
240325
|
return self2;
|
|
240590
240326
|
}
|
|
240591
240327
|
|
|
240592
|
-
// node_modules
|
|
240328
|
+
// node_modules/yargs/build/lib/utils/apply-extends.js
|
|
240593
240329
|
var previouslyVisitedConfigs = [];
|
|
240594
240330
|
var shim2;
|
|
240595
240331
|
function applyExtends(config, cwd, mergeExtends, _shim) {
|
|
@@ -240642,7 +240378,7 @@ function mergeDeep(config1, config2) {
|
|
|
240642
240378
|
return target;
|
|
240643
240379
|
}
|
|
240644
240380
|
|
|
240645
|
-
// node_modules
|
|
240381
|
+
// node_modules/yargs/build/lib/yargs-factory.js
|
|
240646
240382
|
var __classPrivateFieldSet = function(receiver, state, value, kind, f2) {
|
|
240647
240383
|
if (kind === "m") throw new TypeError("Private method is not writable");
|
|
240648
240384
|
if (kind === "a" && !f2) throw new TypeError("Private accessor was defined without a setter");
|
|
@@ -242141,7 +241877,7 @@ function isYargsInstance(y2) {
|
|
|
242141
241877
|
return !!y2 && typeof y2.getInternalMethods === "function";
|
|
242142
241878
|
}
|
|
242143
241879
|
|
|
242144
|
-
// node_modules
|
|
241880
|
+
// node_modules/yargs/index.mjs
|
|
242145
241881
|
var Yargs = YargsFactory(esm_default);
|
|
242146
241882
|
var yargs_default = Yargs;
|
|
242147
241883
|
|
|
@@ -242342,6 +242078,12 @@ async function main(args) {
|
|
|
242342
242078
|
console.log(err.message);
|
|
242343
242079
|
throw err;
|
|
242344
242080
|
}
|
|
242081
|
+
if (Object.hasOwn(flags, "from") && Object.hasOwn(flags, "to") && flags.from === flags.to) {
|
|
242082
|
+
const err = new CliError(`Invalid input flags: --from and --to point to the same commit. To lint that single commit, use --last (if HEAD) or --from ${flags.from}^ --to ${flags.from}.`, pkg.name, ExitCode.CommitlintInvalidArgument);
|
|
242083
|
+
cli.showHelp("log");
|
|
242084
|
+
console.error(err.message);
|
|
242085
|
+
throw err;
|
|
242086
|
+
}
|
|
242345
242087
|
const input = await (fromStdin ? stdin() : getCommitMessages({
|
|
242346
242088
|
to: flags.to,
|
|
242347
242089
|
from: flags.from,
|
|
@@ -242383,7 +242125,7 @@ async function main(args) {
|
|
|
242383
242125
|
}
|
|
242384
242126
|
const format3 = await loadFormatter(loaded, flags);
|
|
242385
242127
|
if (flags.edit) {
|
|
242386
|
-
const result =
|
|
242128
|
+
const result = R("git", ["config", "core.commentChar"]);
|
|
242387
242129
|
const output3 = await result;
|
|
242388
242130
|
if (result.exitCode && result.exitCode > 1) {
|
|
242389
242131
|
console.warn("Could not determine core.commentChar git configuration", output3.stderr);
|