@html-validate/commitlint-config 4.0.1 → 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 +445 -637
- 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
|
};
|
|
@@ -236083,48 +236098,55 @@ async function getEditCommit(cwd, edit) {
|
|
|
236083
236098
|
throw new TypeError(`Could not find git root from ${cwd}`);
|
|
236084
236099
|
}
|
|
236085
236100
|
const editFilePath = await getEditFilePath(top2, edit);
|
|
236086
|
-
|
|
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
|
+
}
|
|
236087
236111
|
return [`${editFile.toString("utf-8")}
|
|
236088
236112
|
`];
|
|
236089
236113
|
}
|
|
236090
236114
|
|
|
236091
236115
|
// node_modules/tinyexec/dist/main.mjs
|
|
236092
|
-
import {
|
|
236093
|
-
import {
|
|
236094
|
-
import {
|
|
236095
|
-
import {
|
|
236096
|
-
import {
|
|
236097
|
-
import
|
|
236098
|
-
import
|
|
236099
|
-
var
|
|
236100
|
-
var
|
|
236101
|
-
var f = /^path$/i;
|
|
236102
|
-
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 = {
|
|
236103
236125
|
key: "PATH",
|
|
236104
236126
|
value: ""
|
|
236105
236127
|
};
|
|
236106
|
-
function
|
|
236128
|
+
function _(e2) {
|
|
236107
236129
|
for (const t2 in e2) {
|
|
236108
|
-
if (!Object.prototype.hasOwnProperty.call(e2, t2) || !
|
|
236130
|
+
if (!Object.prototype.hasOwnProperty.call(e2, t2) || !h.test(t2)) continue;
|
|
236109
236131
|
const n2 = e2[t2];
|
|
236110
|
-
if (!n2) return
|
|
236132
|
+
if (!n2) return g;
|
|
236111
236133
|
return {
|
|
236112
236134
|
key: t2,
|
|
236113
236135
|
value: n2
|
|
236114
236136
|
};
|
|
236115
236137
|
}
|
|
236116
|
-
return
|
|
236138
|
+
return g;
|
|
236117
236139
|
}
|
|
236118
|
-
function
|
|
236140
|
+
function v(e2, t2) {
|
|
236119
236141
|
const n2 = t2.value.split(i);
|
|
236120
236142
|
const r2 = [];
|
|
236121
|
-
let
|
|
236143
|
+
let o2 = e2;
|
|
236122
236144
|
let c2;
|
|
236123
236145
|
do {
|
|
236124
|
-
r2.push(
|
|
236125
|
-
c2 =
|
|
236126
|
-
|
|
236127
|
-
} while (
|
|
236146
|
+
r2.push(s(o2, "node_modules", ".bin"));
|
|
236147
|
+
c2 = o2;
|
|
236148
|
+
o2 = a(o2);
|
|
236149
|
+
} while (o2 !== c2);
|
|
236128
236150
|
r2.push(a(process.execPath));
|
|
236129
236151
|
const l2 = r2.concat(n2).join(i);
|
|
236130
236152
|
return {
|
|
@@ -236132,400 +236154,122 @@ function h(e2, t2) {
|
|
|
236132
236154
|
value: l2
|
|
236133
236155
|
};
|
|
236134
236156
|
}
|
|
236135
|
-
function
|
|
236136
|
-
const
|
|
236157
|
+
function y(e2, t2, n2 = true) {
|
|
236158
|
+
const r2 = {
|
|
236137
236159
|
...process.env,
|
|
236138
236160
|
...t2
|
|
236139
236161
|
};
|
|
236140
|
-
|
|
236141
|
-
|
|
236142
|
-
|
|
236162
|
+
if (!n2) return r2;
|
|
236163
|
+
const i2 = v(e2, _(r2));
|
|
236164
|
+
r2[i2.key] = i2.value;
|
|
236165
|
+
return r2;
|
|
236143
236166
|
}
|
|
236144
|
-
var
|
|
236167
|
+
var b = (e2) => {
|
|
236145
236168
|
let t2 = e2.length;
|
|
236146
|
-
const n2 = new
|
|
236169
|
+
const n2 = new l();
|
|
236147
236170
|
const r2 = () => {
|
|
236148
236171
|
if (--t2 === 0) n2.end();
|
|
236149
236172
|
};
|
|
236150
|
-
for (const t3 of e2)
|
|
236173
|
+
for (const t3 of e2) c(t3, n2, { end: false }).then(r2).catch(r2);
|
|
236151
236174
|
return n2;
|
|
236152
236175
|
};
|
|
236153
|
-
var
|
|
236154
|
-
|
|
236155
|
-
|
|
236156
|
-
|
|
236157
|
-
|
|
236158
|
-
|
|
236159
|
-
|
|
236160
|
-
|
|
236161
|
-
|
|
236162
|
-
|
|
236163
|
-
|
|
236164
|
-
|
|
236165
|
-
|
|
236166
|
-
|
|
236167
|
-
|
|
236168
|
-
|
|
236169
|
-
if (!e3.isSymbolicLink() && !e3.isFile()) return false;
|
|
236170
|
-
return r2(t3, n3);
|
|
236171
|
-
}
|
|
236172
|
-
function a2(e3, t3, r3) {
|
|
236173
|
-
n2.stat(e3, function(n3, a3) {
|
|
236174
|
-
r3(n3, n3 ? false : i2(a3, e3, t3));
|
|
236175
|
-
});
|
|
236176
|
-
}
|
|
236177
|
-
function o2(e3, t3) {
|
|
236178
|
-
return i2(n2.statSync(e3), e3, t3);
|
|
236179
|
-
}
|
|
236180
|
-
}));
|
|
236181
|
-
var y = /* @__PURE__ */ u(((e2, t2) => {
|
|
236182
|
-
t2.exports = r2;
|
|
236183
|
-
r2.sync = i2;
|
|
236184
|
-
var n2 = d("fs");
|
|
236185
|
-
function r2(e3, t3, r3) {
|
|
236186
|
-
n2.stat(e3, function(e4, n3) {
|
|
236187
|
-
r3(e4, e4 ? false : a2(n3, t3));
|
|
236188
|
-
});
|
|
236189
|
-
}
|
|
236190
|
-
function i2(e3, t3) {
|
|
236191
|
-
return a2(n2.statSync(e3), t3);
|
|
236192
|
-
}
|
|
236193
|
-
function a2(e3, t3) {
|
|
236194
|
-
return e3.isFile() && o2(e3, t3);
|
|
236195
|
-
}
|
|
236196
|
-
function o2(e3, t3) {
|
|
236197
|
-
var n3 = e3.mode;
|
|
236198
|
-
var r3 = e3.uid;
|
|
236199
|
-
var i3 = e3.gid;
|
|
236200
|
-
var a3 = t3.uid !== void 0 ? t3.uid : process.getuid && process.getuid();
|
|
236201
|
-
var o3 = t3.gid !== void 0 ? t3.gid : process.getgid && process.getgid();
|
|
236202
|
-
var s2 = parseInt("100", 8);
|
|
236203
|
-
var c2 = parseInt("010", 8);
|
|
236204
|
-
var l2 = parseInt("001", 8);
|
|
236205
|
-
var u2 = s2 | c2;
|
|
236206
|
-
return n3 & l2 || n3 & c2 && i3 === o3 || n3 & s2 && r3 === a3 || n3 & u2 && a3 === 0;
|
|
236207
|
-
}
|
|
236208
|
-
}));
|
|
236209
|
-
var b = /* @__PURE__ */ u(((e2, t2) => {
|
|
236210
|
-
d("fs");
|
|
236211
|
-
var n2;
|
|
236212
|
-
if (process.platform === "win32" || global.TESTING_WINDOWS) n2 = v();
|
|
236213
|
-
else n2 = y();
|
|
236214
|
-
t2.exports = r2;
|
|
236215
|
-
r2.sync = i2;
|
|
236216
|
-
function r2(e3, t3, i3) {
|
|
236217
|
-
if (typeof t3 === "function") {
|
|
236218
|
-
i3 = t3;
|
|
236219
|
-
t3 = {};
|
|
236220
|
-
}
|
|
236221
|
-
if (!i3) {
|
|
236222
|
-
if (typeof Promise !== "function") throw new TypeError("callback not provided");
|
|
236223
|
-
return new Promise(function(n3, i4) {
|
|
236224
|
-
r2(e3, t3 || {}, function(e4, t4) {
|
|
236225
|
-
if (e4) i4(e4);
|
|
236226
|
-
else n3(t4);
|
|
236227
|
-
});
|
|
236228
|
-
});
|
|
236229
|
-
}
|
|
236230
|
-
n2(e3, t3 || {}, function(e4, n3) {
|
|
236231
|
-
if (e4) {
|
|
236232
|
-
if (e4.code === "EACCES" || t3 && t3.ignoreErrors) {
|
|
236233
|
-
e4 = null;
|
|
236234
|
-
n3 = false;
|
|
236235
|
-
}
|
|
236236
|
-
}
|
|
236237
|
-
i3(e4, n3);
|
|
236238
|
-
});
|
|
236239
|
-
}
|
|
236240
|
-
function i2(e3, t3) {
|
|
236241
|
-
try {
|
|
236242
|
-
return n2.sync(e3, t3 || {});
|
|
236243
|
-
} catch (e4) {
|
|
236244
|
-
if (t3 && t3.ignoreErrors || e4.code === "EACCES") return false;
|
|
236245
|
-
else throw e4;
|
|
236246
|
-
}
|
|
236247
|
-
}
|
|
236248
|
-
}));
|
|
236249
|
-
var x = /* @__PURE__ */ u(((e2, t2) => {
|
|
236250
|
-
const n2 = process.platform === "win32" || process.env.OSTYPE === "cygwin" || process.env.OSTYPE === "msys";
|
|
236251
|
-
const r2 = d("path");
|
|
236252
|
-
const i2 = n2 ? ";" : ":";
|
|
236253
|
-
const a2 = b();
|
|
236254
|
-
const o2 = (e3) => Object.assign(/* @__PURE__ */ new Error(`not found: ${e3}`), { code: "ENOENT" });
|
|
236255
|
-
const s2 = (e3, t3) => {
|
|
236256
|
-
const r3 = t3.colon || i2;
|
|
236257
|
-
const a3 = e3.match(/\//) || n2 && e3.match(/\\/) ? [""] : [...n2 ? [process.cwd()] : [], ...(t3.path || process.env.PATH || "").split(r3)];
|
|
236258
|
-
const o3 = n2 ? t3.pathExt || process.env.PATHEXT || ".EXE;.CMD;.BAT;.COM" : "";
|
|
236259
|
-
const s3 = n2 ? o3.split(r3) : [""];
|
|
236260
|
-
if (n2) {
|
|
236261
|
-
if (e3.indexOf(".") !== -1 && s3[0] !== "") s3.unshift("");
|
|
236262
|
-
}
|
|
236263
|
-
return {
|
|
236264
|
-
pathEnv: a3,
|
|
236265
|
-
pathExt: s3,
|
|
236266
|
-
pathExtExe: o3
|
|
236267
|
-
};
|
|
236268
|
-
};
|
|
236269
|
-
const c2 = (e3, t3, n3) => {
|
|
236270
|
-
if (typeof t3 === "function") {
|
|
236271
|
-
n3 = t3;
|
|
236272
|
-
t3 = {};
|
|
236273
|
-
}
|
|
236274
|
-
if (!t3) t3 = {};
|
|
236275
|
-
const { pathEnv: i3, pathExt: c3, pathExtExe: l3 } = s2(e3, t3);
|
|
236276
|
-
const u2 = [];
|
|
236277
|
-
const d2 = (n4) => new Promise((a3, s3) => {
|
|
236278
|
-
if (n4 === i3.length) return t3.all && u2.length ? a3(u2) : s3(o2(e3));
|
|
236279
|
-
const c4 = i3[n4];
|
|
236280
|
-
const l4 = /^".*"$/.test(c4) ? c4.slice(1, -1) : c4;
|
|
236281
|
-
const d3 = r2.join(l4, e3);
|
|
236282
|
-
a3(f2(!l4 && /^\.[\\\/]/.test(e3) ? e3.slice(0, 2) + d3 : d3, n4, 0));
|
|
236283
|
-
});
|
|
236284
|
-
const f2 = (e4, n4, r3) => new Promise((i4, o3) => {
|
|
236285
|
-
if (r3 === c3.length) return i4(d2(n4 + 1));
|
|
236286
|
-
const s3 = c3[r3];
|
|
236287
|
-
a2(e4 + s3, { pathExt: l3 }, (a3, o4) => {
|
|
236288
|
-
if (!a3 && o4) if (t3.all) u2.push(e4 + s3);
|
|
236289
|
-
else return i4(e4 + s3);
|
|
236290
|
-
return i4(f2(e4, n4, r3 + 1));
|
|
236291
|
-
});
|
|
236292
|
-
});
|
|
236293
|
-
return n3 ? d2(0).then((e4) => n3(null, e4), n3) : d2(0);
|
|
236294
|
-
};
|
|
236295
|
-
const l2 = (e3, t3) => {
|
|
236296
|
-
t3 = t3 || {};
|
|
236297
|
-
const { pathEnv: n3, pathExt: i3, pathExtExe: c3 } = s2(e3, t3);
|
|
236298
|
-
const l3 = [];
|
|
236299
|
-
for (let o3 = 0; o3 < n3.length; o3++) {
|
|
236300
|
-
const s3 = n3[o3];
|
|
236301
|
-
const u2 = /^".*"$/.test(s3) ? s3.slice(1, -1) : s3;
|
|
236302
|
-
const d2 = r2.join(u2, e3);
|
|
236303
|
-
const f2 = !u2 && /^\.[\\\/]/.test(e3) ? e3.slice(0, 2) + d2 : d2;
|
|
236304
|
-
for (let e4 = 0; e4 < i3.length; e4++) {
|
|
236305
|
-
const n4 = f2 + i3[e4];
|
|
236306
|
-
try {
|
|
236307
|
-
if (a2.sync(n4, { pathExt: c3 })) if (t3.all) l3.push(n4);
|
|
236308
|
-
else return n4;
|
|
236309
|
-
} catch (e5) {
|
|
236310
|
-
}
|
|
236311
|
-
}
|
|
236312
|
-
}
|
|
236313
|
-
if (t3.all && l3.length) return l3;
|
|
236314
|
-
if (t3.nothrow) return null;
|
|
236315
|
-
throw o2(e3);
|
|
236316
|
-
};
|
|
236317
|
-
t2.exports = c2;
|
|
236318
|
-
c2.sync = l2;
|
|
236319
|
-
}));
|
|
236320
|
-
var S = /* @__PURE__ */ u(((e2, t2) => {
|
|
236321
|
-
const n2 = (e3 = {}) => {
|
|
236322
|
-
const t3 = e3.env || process.env;
|
|
236323
|
-
if ((e3.platform || process.platform) !== "win32") return "PATH";
|
|
236324
|
-
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
|
|
236325
236192
|
};
|
|
236326
|
-
|
|
236327
|
-
|
|
236328
|
-
|
|
236329
|
-
|
|
236330
|
-
|
|
236331
|
-
|
|
236332
|
-
const i2 = S();
|
|
236333
|
-
function a2(e3, t3) {
|
|
236334
|
-
const a3 = e3.options.env || process.env;
|
|
236335
|
-
const o3 = process.cwd();
|
|
236336
|
-
const s2 = e3.options.cwd != null;
|
|
236337
|
-
const c2 = s2 && process.chdir !== void 0 && !process.chdir.disabled;
|
|
236338
|
-
if (c2) try {
|
|
236339
|
-
process.chdir(e3.options.cwd);
|
|
236340
|
-
} catch (e4) {
|
|
236341
|
-
}
|
|
236342
|
-
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;
|
|
236343
236199
|
try {
|
|
236344
|
-
|
|
236345
|
-
|
|
236346
|
-
|
|
236347
|
-
});
|
|
236348
|
-
} catch (e4) {
|
|
236200
|
+
n3 = f(i2, "r");
|
|
236201
|
+
p(n3, t3, 0, e3, 0);
|
|
236202
|
+
} catch {
|
|
236349
236203
|
} finally {
|
|
236350
|
-
if (
|
|
236351
|
-
}
|
|
236352
|
-
|
|
236353
|
-
|
|
236354
|
-
|
|
236355
|
-
|
|
236356
|
-
|
|
236357
|
-
|
|
236358
|
-
|
|
236359
|
-
|
|
236360
|
-
|
|
236361
|
-
|
|
236362
|
-
|
|
236363
|
-
|
|
236364
|
-
|
|
236365
|
-
|
|
236366
|
-
|
|
236367
|
-
|
|
236368
|
-
|
|
236369
|
-
|
|
236370
|
-
|
|
236371
|
-
|
|
236372
|
-
|
|
236373
|
-
|
|
236374
|
-
|
|
236375
|
-
|
|
236376
|
-
|
|
236377
|
-
|
|
236378
|
-
var T = /* @__PURE__ */ u(((e2, t2) => {
|
|
236379
|
-
t2.exports = /^#!(.*)/;
|
|
236380
|
-
}));
|
|
236381
|
-
var E = /* @__PURE__ */ u(((e2, t2) => {
|
|
236382
|
-
const n2 = T();
|
|
236383
|
-
t2.exports = (e3 = "") => {
|
|
236384
|
-
const t3 = e3.match(n2);
|
|
236385
|
-
if (!t3) return null;
|
|
236386
|
-
const [r2, i2] = t3[0].replace(/#! ?/, "").split(" ");
|
|
236387
|
-
const a2 = r2.split("/").pop();
|
|
236388
|
-
if (a2 === "env") return i2;
|
|
236389
|
-
return i2 ? `${a2} ${i2}` : a2;
|
|
236390
|
-
};
|
|
236391
|
-
}));
|
|
236392
|
-
var D = /* @__PURE__ */ u(((e2, t2) => {
|
|
236393
|
-
const n2 = d("fs");
|
|
236394
|
-
const r2 = E();
|
|
236395
|
-
function i2(e3) {
|
|
236396
|
-
const t3 = 150;
|
|
236397
|
-
const i3 = Buffer.alloc(t3);
|
|
236398
|
-
let a2;
|
|
236399
|
-
try {
|
|
236400
|
-
a2 = n2.openSync(e3, "r");
|
|
236401
|
-
n2.readSync(a2, i3, 0, t3, 0);
|
|
236402
|
-
n2.closeSync(a2);
|
|
236403
|
-
} catch (e4) {
|
|
236404
|
-
}
|
|
236405
|
-
return r2(i3.toString());
|
|
236406
|
-
}
|
|
236407
|
-
t2.exports = i2;
|
|
236408
|
-
}));
|
|
236409
|
-
var O = /* @__PURE__ */ u(((e2, t2) => {
|
|
236410
|
-
const n2 = d("path");
|
|
236411
|
-
const r2 = C();
|
|
236412
|
-
const i2 = w();
|
|
236413
|
-
const a2 = D();
|
|
236414
|
-
const o2 = process.platform === "win32";
|
|
236415
|
-
const s2 = /\.(?:com|exe)$/i;
|
|
236416
|
-
const c2 = /node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;
|
|
236417
|
-
function l2(e3) {
|
|
236418
|
-
e3.file = r2(e3);
|
|
236419
|
-
const t3 = e3.file && a2(e3.file);
|
|
236420
|
-
if (t3) {
|
|
236421
|
-
e3.args.unshift(e3.file);
|
|
236422
|
-
e3.command = t3;
|
|
236423
|
-
return r2(e3);
|
|
236424
|
-
}
|
|
236425
|
-
return e3.file;
|
|
236426
|
-
}
|
|
236427
|
-
function u2(e3) {
|
|
236428
|
-
if (!o2) return e3;
|
|
236429
|
-
const t3 = l2(e3);
|
|
236430
|
-
const r3 = !s2.test(t3);
|
|
236431
|
-
if (e3.options.forceShell || r3) {
|
|
236432
|
-
const r4 = c2.test(t3);
|
|
236433
|
-
e3.command = n2.normalize(e3.command);
|
|
236434
|
-
e3.command = i2.command(e3.command);
|
|
236435
|
-
e3.args = e3.args.map((e4) => i2.argument(e4, r4));
|
|
236436
|
-
e3.args = [
|
|
236437
|
-
"/d",
|
|
236438
|
-
"/s",
|
|
236439
|
-
"/c",
|
|
236440
|
-
`"${[e3.command].concat(e3.args).join(" ")}"`
|
|
236441
|
-
];
|
|
236442
|
-
e3.command = process.env.comspec || "cmd.exe";
|
|
236443
|
-
e3.options.windowsVerbatimArguments = true;
|
|
236444
|
-
}
|
|
236445
|
-
return e3;
|
|
236446
|
-
}
|
|
236447
|
-
function f2(e3, t3, n3) {
|
|
236448
|
-
if (t3 && !Array.isArray(t3)) {
|
|
236449
|
-
n3 = t3;
|
|
236450
|
-
t3 = null;
|
|
236451
|
-
}
|
|
236452
|
-
t3 = t3 ? t3.slice(0) : [];
|
|
236453
|
-
n3 = Object.assign({}, n3);
|
|
236454
|
-
const r3 = {
|
|
236455
|
-
command: e3,
|
|
236456
|
-
args: t3,
|
|
236457
|
-
options: n3,
|
|
236458
|
-
file: void 0,
|
|
236459
|
-
original: {
|
|
236460
|
-
command: e3,
|
|
236461
|
-
args: t3
|
|
236462
|
-
}
|
|
236463
|
-
};
|
|
236464
|
-
return n3.shell ? r3 : u2(r3);
|
|
236465
|
-
}
|
|
236466
|
-
t2.exports = f2;
|
|
236467
|
-
}));
|
|
236468
|
-
var k = /* @__PURE__ */ u(((e2, t2) => {
|
|
236469
|
-
const n2 = process.platform === "win32";
|
|
236470
|
-
function r2(e3, t3) {
|
|
236471
|
-
return Object.assign(/* @__PURE__ */ new Error(`${t3} ${e3.command} ENOENT`), {
|
|
236472
|
-
code: "ENOENT",
|
|
236473
|
-
errno: "ENOENT",
|
|
236474
|
-
syscall: `${t3} ${e3.command}`,
|
|
236475
|
-
path: e3.command,
|
|
236476
|
-
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;
|
|
236477
236232
|
});
|
|
236478
|
-
|
|
236479
|
-
|
|
236480
|
-
|
|
236481
|
-
|
|
236482
|
-
|
|
236483
|
-
|
|
236484
|
-
|
|
236485
|
-
|
|
236486
|
-
|
|
236487
|
-
|
|
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
|
|
236488
236243
|
};
|
|
236489
236244
|
}
|
|
236490
|
-
|
|
236491
|
-
|
|
236492
|
-
|
|
236493
|
-
|
|
236494
|
-
function o2(e3, t3) {
|
|
236495
|
-
if (n2 && e3 === 1 && !t3.file) return r2(t3.original, "spawnSync");
|
|
236496
|
-
return null;
|
|
236497
|
-
}
|
|
236498
|
-
t2.exports = {
|
|
236499
|
-
hookChildProcess: i2,
|
|
236500
|
-
verifyENOENT: a2,
|
|
236501
|
-
verifyENOENTSync: o2,
|
|
236502
|
-
notFoundError: r2
|
|
236245
|
+
return {
|
|
236246
|
+
command: e2,
|
|
236247
|
+
args: t2,
|
|
236248
|
+
options: n2
|
|
236503
236249
|
};
|
|
236504
|
-
}
|
|
236505
|
-
|
|
236506
|
-
const
|
|
236507
|
-
const
|
|
236508
|
-
const
|
|
236509
|
-
|
|
236510
|
-
|
|
236511
|
-
|
|
236512
|
-
|
|
236513
|
-
|
|
236514
|
-
|
|
236515
|
-
|
|
236516
|
-
|
|
236517
|
-
|
|
236518
|
-
|
|
236519
|
-
|
|
236520
|
-
|
|
236521
|
-
|
|
236522
|
-
|
|
236523
|
-
|
|
236524
|
-
|
|
236525
|
-
|
|
236526
|
-
|
|
236527
|
-
var j = A();
|
|
236528
|
-
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;
|
|
236529
236273
|
get exitCode() {
|
|
236530
236274
|
if (this.result.exitCode !== null) return this.result.exitCode;
|
|
236531
236275
|
}
|
|
@@ -236535,12 +236279,12 @@ var M = class extends Error {
|
|
|
236535
236279
|
this.output = t2;
|
|
236536
236280
|
}
|
|
236537
236281
|
};
|
|
236538
|
-
var
|
|
236282
|
+
var j = {
|
|
236539
236283
|
timeout: void 0,
|
|
236540
236284
|
persist: false
|
|
236541
236285
|
};
|
|
236542
|
-
var
|
|
236543
|
-
function
|
|
236286
|
+
var N = { windowsHide: true };
|
|
236287
|
+
function P(e2) {
|
|
236544
236288
|
const t2 = new AbortController();
|
|
236545
236289
|
for (const n2 of e2) {
|
|
236546
236290
|
if (n2.aborted) {
|
|
@@ -236554,7 +236298,7 @@ function L(e2) {
|
|
|
236554
236298
|
}
|
|
236555
236299
|
return t2.signal;
|
|
236556
236300
|
}
|
|
236557
|
-
async function
|
|
236301
|
+
async function F(e2) {
|
|
236558
236302
|
let t2 = "";
|
|
236559
236303
|
try {
|
|
236560
236304
|
for await (const n2 of e2) t2 += n2.toString();
|
|
@@ -236562,7 +236306,7 @@ async function R(e2) {
|
|
|
236562
236306
|
}
|
|
236563
236307
|
return t2;
|
|
236564
236308
|
}
|
|
236565
|
-
var
|
|
236309
|
+
var I = class {
|
|
236566
236310
|
_process;
|
|
236567
236311
|
_aborted = false;
|
|
236568
236312
|
_options;
|
|
@@ -236582,7 +236326,7 @@ var z = class {
|
|
|
236582
236326
|
}
|
|
236583
236327
|
constructor(e2, t2, n2) {
|
|
236584
236328
|
this._options = {
|
|
236585
|
-
...
|
|
236329
|
+
...j,
|
|
236586
236330
|
...n2
|
|
236587
236331
|
};
|
|
236588
236332
|
this._command = e2;
|
|
@@ -236601,7 +236345,7 @@ var z = class {
|
|
|
236601
236345
|
return this._process?.killed === true;
|
|
236602
236346
|
}
|
|
236603
236347
|
pipe(e2, t2, n2) {
|
|
236604
|
-
return
|
|
236348
|
+
return z(e2, t2, {
|
|
236605
236349
|
...n2,
|
|
236606
236350
|
stdin: this
|
|
236607
236351
|
});
|
|
@@ -236612,18 +236356,18 @@ var z = class {
|
|
|
236612
236356
|
const t2 = [];
|
|
236613
236357
|
if (this._streamErr) t2.push(this._streamErr);
|
|
236614
236358
|
if (this._streamOut) t2.push(this._streamOut);
|
|
236615
|
-
const n2 =
|
|
236616
|
-
const r2 =
|
|
236359
|
+
const n2 = b(t2);
|
|
236360
|
+
const r2 = u.createInterface({ input: n2 });
|
|
236617
236361
|
for await (const e3 of r2) yield e3.toString();
|
|
236618
236362
|
await this._processClosed;
|
|
236619
236363
|
e2.removeAllListeners();
|
|
236620
236364
|
if (this._thrownError) throw this._thrownError;
|
|
236621
|
-
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);
|
|
236622
236366
|
}
|
|
236623
236367
|
async _waitForOutput() {
|
|
236624
236368
|
const e2 = this._process;
|
|
236625
236369
|
if (!e2) throw new Error("No process was started");
|
|
236626
|
-
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) : ""]);
|
|
236627
236371
|
await this._processClosed;
|
|
236628
236372
|
const { stdin: r2 } = this._options;
|
|
236629
236373
|
if (r2 && typeof r2 !== "string") await r2;
|
|
@@ -236634,7 +236378,7 @@ var z = class {
|
|
|
236634
236378
|
stdout: t2,
|
|
236635
236379
|
exitCode: this.exitCode
|
|
236636
236380
|
};
|
|
236637
|
-
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);
|
|
236638
236382
|
return i2;
|
|
236639
236383
|
}
|
|
236640
236384
|
then(e2, t2) {
|
|
@@ -236643,30 +236387,30 @@ var z = class {
|
|
|
236643
236387
|
_streamOut;
|
|
236644
236388
|
_streamErr;
|
|
236645
236389
|
spawn() {
|
|
236646
|
-
const
|
|
236647
|
-
const
|
|
236390
|
+
const t2 = n();
|
|
236391
|
+
const r2 = this._options;
|
|
236648
236392
|
const i2 = {
|
|
236649
|
-
...
|
|
236650
|
-
...
|
|
236393
|
+
...N,
|
|
236394
|
+
...r2.nodeOptions
|
|
236651
236395
|
};
|
|
236652
236396
|
const a2 = [];
|
|
236653
236397
|
this._resetState();
|
|
236654
|
-
if (
|
|
236655
|
-
if (
|
|
236656
|
-
if (
|
|
236657
|
-
if (a2.length > 0) i2.signal =
|
|
236658
|
-
i2.env =
|
|
236659
|
-
const o2 = (
|
|
236660
|
-
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);
|
|
236661
236405
|
if (s2.stderr) this._streamErr = s2.stderr;
|
|
236662
236406
|
if (s2.stdout) this._streamOut = s2.stdout;
|
|
236663
236407
|
this._process = s2;
|
|
236664
236408
|
s2.once("error", this._onError);
|
|
236665
236409
|
s2.once("close", this._onClose);
|
|
236666
236410
|
if (s2.stdin) {
|
|
236667
|
-
const { stdin:
|
|
236668
|
-
if (typeof
|
|
236669
|
-
else
|
|
236411
|
+
const { stdin: e2 } = r2;
|
|
236412
|
+
if (typeof e2 === "string") s2.stdin.end(e2);
|
|
236413
|
+
else e2?.process?.stdout?.pipe(s2.stdin);
|
|
236670
236414
|
}
|
|
236671
236415
|
}
|
|
236672
236416
|
_resetState() {
|
|
@@ -236687,12 +236431,12 @@ var z = class {
|
|
|
236687
236431
|
if (this._resolveClose) this._resolveClose();
|
|
236688
236432
|
};
|
|
236689
236433
|
};
|
|
236690
|
-
var
|
|
236691
|
-
const r2 = new
|
|
236434
|
+
var R = (e2, t2, n2) => {
|
|
236435
|
+
const r2 = new I(e2, t2, n2);
|
|
236692
236436
|
r2.spawn();
|
|
236693
236437
|
return r2;
|
|
236694
236438
|
};
|
|
236695
|
-
var
|
|
236439
|
+
var z = R;
|
|
236696
236440
|
|
|
236697
236441
|
// node_modules/@commitlint/read/lib/read.js
|
|
236698
236442
|
async function getCommitMessages(settings) {
|
|
@@ -236702,7 +236446,7 @@ async function getCommitMessages(settings) {
|
|
|
236702
236446
|
return getEditCommit(cwd, edit);
|
|
236703
236447
|
}
|
|
236704
236448
|
if (last) {
|
|
236705
|
-
const gitCommandResult = await
|
|
236449
|
+
const gitCommandResult = await R("git", ["log", "-1", "--pretty=format:%B"], {
|
|
236706
236450
|
nodeOptions: { cwd }
|
|
236707
236451
|
});
|
|
236708
236452
|
let output2 = gitCommandResult.stdout.trim();
|
|
@@ -236711,7 +236455,7 @@ async function getCommitMessages(settings) {
|
|
|
236711
236455
|
return [output2];
|
|
236712
236456
|
}
|
|
236713
236457
|
if (!from && fromLastTag) {
|
|
236714
|
-
const output2 = await
|
|
236458
|
+
const output2 = await R("git", ["describe", "--abbrev=40", "--always", "--first-parent", "--long", "--tags"], { nodeOptions: { cwd } });
|
|
236715
236459
|
const stdout = output2.stdout.trim();
|
|
236716
236460
|
if (stdout.length === 40) {
|
|
236717
236461
|
from = stdout;
|
|
@@ -236720,6 +236464,15 @@ async function getCommitMessages(settings) {
|
|
|
236720
236464
|
from = stdout.slice(0, tagSlice);
|
|
236721
236465
|
}
|
|
236722
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
|
+
}
|
|
236723
236476
|
let gitOptions = { from, to };
|
|
236724
236477
|
if (gitLogArgs) {
|
|
236725
236478
|
const { values, positionals } = parseArgs({
|
|
@@ -236736,10 +236489,10 @@ async function getCommitMessages(settings) {
|
|
|
236736
236489
|
return getHistoryCommits(gitOptions, { cwd });
|
|
236737
236490
|
}
|
|
236738
236491
|
|
|
236739
|
-
// node_modules
|
|
236492
|
+
// node_modules/yargs/lib/platform-shims/esm.mjs
|
|
236740
236493
|
import { notStrictEqual, strictEqual } from "assert";
|
|
236741
236494
|
|
|
236742
|
-
// node_modules
|
|
236495
|
+
// node_modules/cliui/build/lib/index.js
|
|
236743
236496
|
var align = {
|
|
236744
236497
|
right: alignRight,
|
|
236745
236498
|
center: alignCenter
|
|
@@ -237100,7 +236853,7 @@ function eastAsianWidth(codePoint, { ambiguousAsWide = false } = {}) {
|
|
|
237100
236853
|
return 1;
|
|
237101
236854
|
}
|
|
237102
236855
|
|
|
237103
|
-
// node_modules
|
|
236856
|
+
// node_modules/cliui/node_modules/string-width/index.js
|
|
237104
236857
|
var import_emoji_regex = __toESM(require_emoji_regex(), 1);
|
|
237105
236858
|
var segmenter = new Intl.Segmenter();
|
|
237106
236859
|
var defaultIgnorableCodePointRegex = new RegExp("^\\p{Default_Ignorable_Code_Point}$", "u");
|
|
@@ -237149,7 +236902,7 @@ function stringWidth(string, options = {}) {
|
|
|
237149
236902
|
return width;
|
|
237150
236903
|
}
|
|
237151
236904
|
|
|
237152
|
-
// node_modules
|
|
236905
|
+
// node_modules/cliui/node_modules/ansi-styles/index.js
|
|
237153
236906
|
var ANSI_BACKGROUND_OFFSET = 10;
|
|
237154
236907
|
var wrapAnsi16 = (offset = 0) => (code) => `\x1B[${code + offset}m`;
|
|
237155
236908
|
var wrapAnsi256 = (offset = 0) => (code) => `\x1B[${38 + offset};5;${code}m`;
|
|
@@ -237335,7 +237088,7 @@ function assembleStyles() {
|
|
|
237335
237088
|
var ansiStyles = assembleStyles();
|
|
237336
237089
|
var ansi_styles_default = ansiStyles;
|
|
237337
237090
|
|
|
237338
|
-
// node_modules
|
|
237091
|
+
// node_modules/cliui/node_modules/wrap-ansi/index.js
|
|
237339
237092
|
var ESCAPES = /* @__PURE__ */ new Set([
|
|
237340
237093
|
"\x1B",
|
|
237341
237094
|
"\x9B"
|
|
@@ -237490,7 +237243,7 @@ function wrapAnsi(string, columns, options) {
|
|
|
237490
237243
|
return String(string).normalize().replaceAll("\r\n", "\n").split("\n").map((line) => exec(line, columns, options)).join("\n");
|
|
237491
237244
|
}
|
|
237492
237245
|
|
|
237493
|
-
// node_modules
|
|
237246
|
+
// node_modules/cliui/index.mjs
|
|
237494
237247
|
function ui(opts) {
|
|
237495
237248
|
return cliui(opts, {
|
|
237496
237249
|
stringWidth,
|
|
@@ -237516,15 +237269,15 @@ function sync_default(start, callback) {
|
|
|
237516
237269
|
}
|
|
237517
237270
|
}
|
|
237518
237271
|
|
|
237519
|
-
// node_modules
|
|
237272
|
+
// node_modules/yargs/lib/platform-shims/esm.mjs
|
|
237520
237273
|
import { inspect } from "util";
|
|
237521
237274
|
import { fileURLToPath as fileURLToPath3 } from "url";
|
|
237522
237275
|
|
|
237523
|
-
// node_modules
|
|
237276
|
+
// node_modules/yargs/node_modules/yargs-parser/build/lib/index.js
|
|
237524
237277
|
import { format } from "util";
|
|
237525
237278
|
import { normalize, resolve as resolve3 } from "path";
|
|
237526
237279
|
|
|
237527
|
-
// node_modules
|
|
237280
|
+
// node_modules/yargs/node_modules/yargs-parser/build/lib/string-utils.js
|
|
237528
237281
|
function camelCase3(str) {
|
|
237529
237282
|
const isCamelCase = str !== str.toLowerCase() && str !== str.toUpperCase();
|
|
237530
237283
|
if (!isCamelCase) {
|
|
@@ -237578,7 +237331,7 @@ function looksLikeNumber(x2) {
|
|
|
237578
237331
|
return /^[-]?(?:\d+(?:\.\d*)?|\.\d+)(e[-+]?\d+)?$/.test(x2);
|
|
237579
237332
|
}
|
|
237580
237333
|
|
|
237581
|
-
// node_modules
|
|
237334
|
+
// node_modules/yargs/node_modules/yargs-parser/build/lib/tokenize-arg-string.js
|
|
237582
237335
|
function tokenizeArgString(argString) {
|
|
237583
237336
|
if (Array.isArray(argString)) {
|
|
237584
237337
|
return argString.map((e2) => typeof e2 !== "string" ? e2 + "" : e2);
|
|
@@ -237610,7 +237363,7 @@ function tokenizeArgString(argString) {
|
|
|
237610
237363
|
return args;
|
|
237611
237364
|
}
|
|
237612
237365
|
|
|
237613
|
-
// node_modules
|
|
237366
|
+
// node_modules/yargs/node_modules/yargs-parser/build/lib/yargs-parser-types.js
|
|
237614
237367
|
var DefaultValuesForTypeKey;
|
|
237615
237368
|
(function(DefaultValuesForTypeKey2) {
|
|
237616
237369
|
DefaultValuesForTypeKey2["BOOLEAN"] = "boolean";
|
|
@@ -237619,7 +237372,7 @@ var DefaultValuesForTypeKey;
|
|
|
237619
237372
|
DefaultValuesForTypeKey2["ARRAY"] = "array";
|
|
237620
237373
|
})(DefaultValuesForTypeKey || (DefaultValuesForTypeKey = {}));
|
|
237621
237374
|
|
|
237622
|
-
// node_modules
|
|
237375
|
+
// node_modules/yargs/node_modules/yargs-parser/build/lib/yargs-parser.js
|
|
237623
237376
|
var mixin2;
|
|
237624
237377
|
var YargsParser = class {
|
|
237625
237378
|
constructor(_mixin) {
|
|
@@ -238459,7 +238212,7 @@ function stripQuotes(val) {
|
|
|
238459
238212
|
return typeof val === "string" && (val[0] === "'" || val[0] === '"') && val[val.length - 1] === val[0] ? val.substring(1, val.length - 1) : val;
|
|
238460
238213
|
}
|
|
238461
238214
|
|
|
238462
|
-
// node_modules
|
|
238215
|
+
// node_modules/yargs/node_modules/yargs-parser/build/lib/index.js
|
|
238463
238216
|
import { readFileSync as readFileSync2 } from "fs";
|
|
238464
238217
|
import { createRequire as createRequire5 } from "node:module";
|
|
238465
238218
|
var _a;
|
|
@@ -238505,10 +238258,10 @@ yargsParser.decamelize = decamelize;
|
|
|
238505
238258
|
yargsParser.looksLikeNumber = looksLikeNumber;
|
|
238506
238259
|
var lib_default5 = yargsParser;
|
|
238507
238260
|
|
|
238508
|
-
// node_modules
|
|
238261
|
+
// node_modules/yargs/lib/platform-shims/esm.mjs
|
|
238509
238262
|
import { basename, dirname as dirname3, extname, relative, resolve as resolve5, join } from "path";
|
|
238510
238263
|
|
|
238511
|
-
// node_modules
|
|
238264
|
+
// node_modules/yargs/build/lib/utils/process-argv.js
|
|
238512
238265
|
function getProcessArgvBinIndex() {
|
|
238513
238266
|
if (isBundledElectronApp())
|
|
238514
238267
|
return 0;
|
|
@@ -238524,6 +238277,55 @@ function getProcessArgvBin() {
|
|
|
238524
238277
|
return process.argv[getProcessArgvBinIndex()];
|
|
238525
238278
|
}
|
|
238526
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
|
+
|
|
238527
238329
|
// node_modules/y18n/build/lib/platform-shims/node.js
|
|
238528
238330
|
import { readFileSync as readFileSync3, statSync as statSync2, writeFile } from "fs";
|
|
238529
238331
|
import { format as format2 } from "util";
|
|
@@ -238711,7 +238513,7 @@ var y18n2 = (opts) => {
|
|
|
238711
238513
|
};
|
|
238712
238514
|
var y18n_default = y18n2;
|
|
238713
238515
|
|
|
238714
|
-
// node_modules
|
|
238516
|
+
// node_modules/yargs/lib/platform-shims/esm.mjs
|
|
238715
238517
|
var import_get_caller_file = __toESM(require_get_caller_file(), 1);
|
|
238716
238518
|
import { createRequire as createRequire6 } from "node:module";
|
|
238717
238519
|
import { readFileSync as readFileSync4, readdirSync as readdirSync2 } from "node:fs";
|
|
@@ -238758,14 +238560,14 @@ var esm_default = {
|
|
|
238758
238560
|
const callerFile = (0, import_get_caller_file.default)(3);
|
|
238759
238561
|
return callerFile.match(/^file:\/\//) ? fileURLToPath3(callerFile) : callerFile;
|
|
238760
238562
|
},
|
|
238761
|
-
stringWidth,
|
|
238563
|
+
stringWidth: stringWidth2,
|
|
238762
238564
|
y18n: y18n_default({
|
|
238763
238565
|
directory: resolve5(__dirname3, "../../../locales"),
|
|
238764
238566
|
updateFiles: false
|
|
238765
238567
|
})
|
|
238766
238568
|
};
|
|
238767
238569
|
|
|
238768
|
-
// node_modules
|
|
238570
|
+
// node_modules/yargs/build/lib/typings/common-types.js
|
|
238769
238571
|
function assertNotStrictEqual(actual, expected, shim3, message2) {
|
|
238770
238572
|
shim3.assert.notStrictEqual(actual, expected, message2);
|
|
238771
238573
|
}
|
|
@@ -238776,12 +238578,12 @@ function objectKeys(object) {
|
|
|
238776
238578
|
return Object.keys(object);
|
|
238777
238579
|
}
|
|
238778
238580
|
|
|
238779
|
-
// node_modules
|
|
238581
|
+
// node_modules/yargs/build/lib/utils/is-promise.js
|
|
238780
238582
|
function isPromise(maybePromise) {
|
|
238781
238583
|
return !!maybePromise && !!maybePromise.then && typeof maybePromise.then === "function";
|
|
238782
238584
|
}
|
|
238783
238585
|
|
|
238784
|
-
// node_modules
|
|
238586
|
+
// node_modules/yargs/build/lib/yerror.js
|
|
238785
238587
|
var YError = class _YError extends Error {
|
|
238786
238588
|
constructor(msg) {
|
|
238787
238589
|
super(msg || "yargs error");
|
|
@@ -238792,7 +238594,7 @@ var YError = class _YError extends Error {
|
|
|
238792
238594
|
}
|
|
238793
238595
|
};
|
|
238794
238596
|
|
|
238795
|
-
// node_modules
|
|
238597
|
+
// node_modules/yargs/build/lib/parse-command.js
|
|
238796
238598
|
function parseCommand(cmd) {
|
|
238797
238599
|
const extraSpacesStrippedCommand = cmd.replace(/\s{2,}/g, " ");
|
|
238798
238600
|
const splitCommand = extraSpacesStrippedCommand.split(/\s+(?![^[]*]|[^<]*>)/);
|
|
@@ -238825,7 +238627,7 @@ function parseCommand(cmd) {
|
|
|
238825
238627
|
return parsedCommand;
|
|
238826
238628
|
}
|
|
238827
238629
|
|
|
238828
|
-
// node_modules
|
|
238630
|
+
// node_modules/yargs/build/lib/argsert.js
|
|
238829
238631
|
var positionName = ["first", "second", "third", "fourth", "fifth", "sixth"];
|
|
238830
238632
|
function argsert(arg1, arg2, arg3) {
|
|
238831
238633
|
function parseArgs2() {
|
|
@@ -238883,7 +238685,7 @@ function argumentTypeError(observedType, allowedTypes, position) {
|
|
|
238883
238685
|
throw new YError(`Invalid ${positionName[position] || "manyith"} argument. Expected ${allowedTypes.join(" or ")} but received ${observedType}.`);
|
|
238884
238686
|
}
|
|
238885
238687
|
|
|
238886
|
-
// node_modules
|
|
238688
|
+
// node_modules/yargs/build/lib/middleware.js
|
|
238887
238689
|
var GlobalMiddleware = class {
|
|
238888
238690
|
constructor(yargs) {
|
|
238889
238691
|
this.globalMiddleware = [];
|
|
@@ -238965,7 +238767,7 @@ function applyMiddleware(argv, yargs, middlewares, beforeValidation) {
|
|
|
238965
238767
|
}, argv);
|
|
238966
238768
|
}
|
|
238967
238769
|
|
|
238968
|
-
// node_modules
|
|
238770
|
+
// node_modules/yargs/build/lib/utils/maybe-async-result.js
|
|
238969
238771
|
function maybeAsyncResult(getResult, resultHandler, errorHandler = (err) => {
|
|
238970
238772
|
throw err;
|
|
238971
238773
|
}) {
|
|
@@ -238980,7 +238782,7 @@ function isFunction(arg) {
|
|
|
238980
238782
|
return typeof arg === "function";
|
|
238981
238783
|
}
|
|
238982
238784
|
|
|
238983
|
-
// node_modules
|
|
238785
|
+
// node_modules/yargs/build/lib/command.js
|
|
238984
238786
|
var DEFAULT_MARKER = /(^\*)|(^\$0)/;
|
|
238985
238787
|
var CommandInstance = class {
|
|
238986
238788
|
constructor(usage2, validation2, globalMiddleware, shim3) {
|
|
@@ -239401,7 +239203,7 @@ function isCommandHandlerDefinition(cmd) {
|
|
|
239401
239203
|
return typeof cmd === "object" && !Array.isArray(cmd);
|
|
239402
239204
|
}
|
|
239403
239205
|
|
|
239404
|
-
// node_modules
|
|
239206
|
+
// node_modules/yargs/build/lib/utils/obj-filter.js
|
|
239405
239207
|
function objFilter(original = {}, filter = () => true) {
|
|
239406
239208
|
const obj = {};
|
|
239407
239209
|
objectKeys(original).forEach((key) => {
|
|
@@ -239412,7 +239214,7 @@ function objFilter(original = {}, filter = () => true) {
|
|
|
239412
239214
|
return obj;
|
|
239413
239215
|
}
|
|
239414
239216
|
|
|
239415
|
-
// node_modules
|
|
239217
|
+
// node_modules/yargs/build/lib/utils/set-blocking.js
|
|
239416
239218
|
function setBlocking(blocking) {
|
|
239417
239219
|
if (typeof process === "undefined")
|
|
239418
239220
|
return;
|
|
@@ -239424,7 +239226,7 @@ function setBlocking(blocking) {
|
|
|
239424
239226
|
});
|
|
239425
239227
|
}
|
|
239426
239228
|
|
|
239427
|
-
// node_modules
|
|
239229
|
+
// node_modules/yargs/build/lib/usage.js
|
|
239428
239230
|
function isBoolean(fail) {
|
|
239429
239231
|
return typeof fail === "boolean";
|
|
239430
239232
|
}
|
|
@@ -239950,7 +239752,7 @@ function getText(text) {
|
|
|
239950
239752
|
return isIndentedText(text) ? text.text : text;
|
|
239951
239753
|
}
|
|
239952
239754
|
|
|
239953
|
-
// node_modules
|
|
239755
|
+
// node_modules/yargs/build/lib/completion-templates.js
|
|
239954
239756
|
var completionShTemplate = `###-begin-{{app_name}}-completions-###
|
|
239955
239757
|
#
|
|
239956
239758
|
# yargs command completion script
|
|
@@ -240010,7 +239812,7 @@ fi
|
|
|
240010
239812
|
###-end-{{app_name}}-completions-###
|
|
240011
239813
|
`;
|
|
240012
239814
|
|
|
240013
|
-
// node_modules
|
|
239815
|
+
// node_modules/yargs/build/lib/completion.js
|
|
240014
239816
|
var Completion = class {
|
|
240015
239817
|
constructor(yargs, usage2, command2, shim3) {
|
|
240016
239818
|
var _a2, _b2, _c2;
|
|
@@ -240223,7 +240025,7 @@ function isFallbackCompletionFunction(completionFunction) {
|
|
|
240223
240025
|
return completionFunction.length > 3;
|
|
240224
240026
|
}
|
|
240225
240027
|
|
|
240226
|
-
// node_modules
|
|
240028
|
+
// node_modules/yargs/build/lib/utils/levenshtein.js
|
|
240227
240029
|
function levenshtein(a2, b2) {
|
|
240228
240030
|
if (a2.length === 0)
|
|
240229
240031
|
return b2.length;
|
|
@@ -240254,7 +240056,7 @@ function levenshtein(a2, b2) {
|
|
|
240254
240056
|
return matrix[b2.length][a2.length];
|
|
240255
240057
|
}
|
|
240256
240058
|
|
|
240257
|
-
// node_modules
|
|
240059
|
+
// node_modules/yargs/build/lib/validation.js
|
|
240258
240060
|
var specialKeys = ["$0", "--", "_"];
|
|
240259
240061
|
function validation(yargs, usage2, shim3) {
|
|
240260
240062
|
const __ = shim3.y18n.__;
|
|
@@ -240523,7 +240325,7 @@ ${customMsgs.join("\n")}` : "";
|
|
|
240523
240325
|
return self2;
|
|
240524
240326
|
}
|
|
240525
240327
|
|
|
240526
|
-
// node_modules
|
|
240328
|
+
// node_modules/yargs/build/lib/utils/apply-extends.js
|
|
240527
240329
|
var previouslyVisitedConfigs = [];
|
|
240528
240330
|
var shim2;
|
|
240529
240331
|
function applyExtends(config, cwd, mergeExtends, _shim) {
|
|
@@ -240576,7 +240378,7 @@ function mergeDeep(config1, config2) {
|
|
|
240576
240378
|
return target;
|
|
240577
240379
|
}
|
|
240578
240380
|
|
|
240579
|
-
// node_modules
|
|
240381
|
+
// node_modules/yargs/build/lib/yargs-factory.js
|
|
240580
240382
|
var __classPrivateFieldSet = function(receiver, state, value, kind, f2) {
|
|
240581
240383
|
if (kind === "m") throw new TypeError("Private method is not writable");
|
|
240582
240384
|
if (kind === "a" && !f2) throw new TypeError("Private accessor was defined without a setter");
|
|
@@ -242075,7 +241877,7 @@ function isYargsInstance(y2) {
|
|
|
242075
241877
|
return !!y2 && typeof y2.getInternalMethods === "function";
|
|
242076
241878
|
}
|
|
242077
241879
|
|
|
242078
|
-
// node_modules
|
|
241880
|
+
// node_modules/yargs/index.mjs
|
|
242079
241881
|
var Yargs = YargsFactory(esm_default);
|
|
242080
241882
|
var yargs_default = Yargs;
|
|
242081
241883
|
|
|
@@ -242276,6 +242078,12 @@ async function main(args) {
|
|
|
242276
242078
|
console.log(err.message);
|
|
242277
242079
|
throw err;
|
|
242278
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
|
+
}
|
|
242279
242087
|
const input = await (fromStdin ? stdin() : getCommitMessages({
|
|
242280
242088
|
to: flags.to,
|
|
242281
242089
|
from: flags.from,
|
|
@@ -242317,7 +242125,7 @@ async function main(args) {
|
|
|
242317
242125
|
}
|
|
242318
242126
|
const format3 = await loadFormatter(loaded, flags);
|
|
242319
242127
|
if (flags.edit) {
|
|
242320
|
-
const result =
|
|
242128
|
+
const result = R("git", ["config", "core.commentChar"]);
|
|
242321
242129
|
const output3 = await result;
|
|
242322
242130
|
if (result.exitCode && result.exitCode > 1) {
|
|
242323
242131
|
console.warn("Could not determine core.commentChar git configuration", output3.stderr);
|