@jixo/cli 0.25.0 → 0.26.0
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/assets/bundle/google-aistudio.browser.js +562 -2433
- package/assets/bundle/google-aistudio.jixo.js +63655 -0
- package/assets/prompt.json +1 -1
- package/assets/tools.json +1 -0
- package/bundle/{acorn-CU7YmuGp.js → acorn-BJF4qA9z.js} +17 -39
- package/bundle/acorn-BJF4qA9z.js.map +1 -0
- package/bundle/{angular-BZFEnvyh.js → angular-Cu7-vCtW.js} +44 -207
- package/bundle/angular-Cu7-vCtW.js.map +1 -0
- package/bundle/{babel-BC5Ty8sN.js → babel-ZTOL0_x6.js} +109 -125
- package/bundle/babel-ZTOL0_x6.js.map +1 -0
- package/bundle/{estree-DZTSfOv_.js → estree-5JRlNokb.js} +9 -10
- package/bundle/estree-5JRlNokb.js.map +1 -0
- package/bundle/file-replacer-CQZSjZXb.js +3 -0
- package/bundle/{file-replacer-cUUAxJ6b.js → file-replacer-CZhq6MJJ.js} +1543 -1127
- package/bundle/file-replacer-CZhq6MJJ.js.map +1 -0
- package/bundle/{flow-CNTeHoxv.js → flow-Cd3L1dMY.js} +482 -680
- package/bundle/flow-Cd3L1dMY.js.map +1 -0
- package/bundle/{gen-prompt-qt1W8jAy.js → gen-prompt-3bZp8K__.js} +5610 -526
- package/bundle/gen-prompt-3bZp8K__.js.map +1 -0
- package/bundle/gen-prompt-IINGP6mf.js +4 -0
- package/bundle/{glimmer-DYkbcawC.js → glimmer-N8tyHqy2.js} +29 -47
- package/bundle/glimmer-N8tyHqy2.js.map +1 -0
- package/bundle/{graphql-fCaNVuM0.js → graphql-BsfPfzVT.js} +8 -8
- package/bundle/graphql-BsfPfzVT.js.map +1 -0
- package/bundle/{html-Bb8ztcZq.js → html-CV8zEM7F.js} +8 -10
- package/bundle/html-CV8zEM7F.js.map +1 -0
- package/bundle/index.js +16415 -7240
- package/bundle/index.js.map +1 -0
- package/bundle/{markdown-ChusAllR.js → markdown-Cq8CRcxA.js} +5 -89
- package/bundle/markdown-Cq8CRcxA.js.map +1 -0
- package/bundle/{meriyah-9NeL3We4.js → meriyah-f8qRdfjZ.js} +10 -16
- package/bundle/meriyah-f8qRdfjZ.js.map +1 -0
- package/bundle/{postcss-DXCUuMfC.js → postcss-CtnQb9ad.js} +69 -159
- package/bundle/postcss-CtnQb9ad.js.map +1 -0
- package/bundle/{typescript-C2HFEnMP.js → typescript-BQw1QTVg.js} +55 -106
- package/bundle/typescript-BQw1QTVg.js.map +1 -0
- package/bundle/{yaml-ByEZ6gmG.js → yaml-B5kqwurc.js} +55 -127
- package/bundle/yaml-B5kqwurc.js.map +1 -0
- package/dist/commands/google-aistudio.d.ts.map +1 -1
- package/dist/commands/google-aistudio.js +6 -16
- package/dist/commands/google-aistudio.js.map +1 -1
- package/dist/commands/groq.js +1 -1
- package/dist/commands/groq.js.map +1 -1
- package/dist/prompts.json +2 -14
- package/dist/runCli.js +3 -3
- package/dist/runCli.js.map +1 -1
- package/package.json +9 -8
- package/assets/bundle/groq.browser.js +0 -3714
- package/bundle/external-CS43xY0F.js +0 -285
- package/bundle/file-replacer-nbB4NnrU.js +0 -3
- package/bundle/gen-prompt-BxI7DHUD.js +0 -4
- package/dist/cli.d.ts +0 -2
- package/dist/cli.d.ts.map +0 -1
- package/dist/cli.js +0 -83
- package/dist/cli.js.map +0 -1
- package/dist/commands/daemon.d.ts +0 -5
- package/dist/commands/daemon.d.ts.map +0 -1
- package/dist/commands/daemon.js +0 -20
- package/dist/commands/daemon.js.map +0 -1
- package/dist/commands/doctor/config.d.ts +0 -3
- package/dist/commands/doctor/config.d.ts.map +0 -1
- package/dist/commands/doctor/config.js +0 -17
- package/dist/commands/doctor/config.js.map +0 -1
- package/dist/commands/doctor/doctor.d.ts +0 -3
- package/dist/commands/doctor/doctor.d.ts.map +0 -1
- package/dist/commands/doctor/doctor.js +0 -158
- package/dist/commands/doctor/doctor.js.map +0 -1
- package/dist/commands/doctor/doctor.test.d.ts +0 -2
- package/dist/commands/doctor/doctor.test.d.ts.map +0 -1
- package/dist/commands/doctor/doctor.test.js +0 -14
- package/dist/commands/doctor/doctor.test.js.map +0 -1
- package/dist/commands/doctor/index.d.ts +0 -2
- package/dist/commands/doctor/index.d.ts.map +0 -1
- package/dist/commands/doctor/index.js +0 -8
- package/dist/commands/doctor/index.js.map +0 -1
- package/dist/commands/doctor/types.d.ts +0 -45
- package/dist/commands/doctor/types.d.ts.map +0 -1
- package/dist/commands/doctor/types.js +0 -3
- package/dist/commands/doctor/types.js.map +0 -1
- package/dist/commands/init.d.ts +0 -2
- package/dist/commands/init.d.ts.map +0 -1
- package/dist/commands/init.js +0 -40
- package/dist/commands/init.js.map +0 -1
- package/dist/commands/tasks/run.d.ts +0 -10
- package/dist/commands/tasks/run.d.ts.map +0 -1
- package/dist/commands/tasks/run.js +0 -44
- package/dist/commands/tasks/run.js.map +0 -1
- package/dist/config.d.ts +0 -15
- package/dist/config.d.ts.map +0 -1
- package/dist/config.js +0 -23
- package/dist/config.js.map +0 -1
- package/dist/env.d.ts +0 -6
- package/dist/env.d.ts.map +0 -1
- package/dist/env.js +0 -16
- package/dist/env.js.map +0 -1
|
@@ -21,7 +21,6 @@ var ls = (a, t, e) => (e = a != null ? Ti(Si(a)) : {}, wi(t || !a || !a.__esModu
|
|
|
21
21
|
enumerable: !0
|
|
22
22
|
}) : e, a));
|
|
23
23
|
var Tt = Ci((Pe) => {
|
|
24
|
-
"use strict";
|
|
25
24
|
Object.defineProperty(Pe, "__esModule", { value: !0 });
|
|
26
25
|
function Ii(a, t) {
|
|
27
26
|
if (a == null) return {};
|
|
@@ -437,8 +436,7 @@ var Tt = Ci((Pe) => {
|
|
|
437
436
|
}
|
|
438
437
|
parseBlockBody(e, s, i, r, n) {
|
|
439
438
|
super.parseBlockBody(e, s, i, r, n);
|
|
440
|
-
|
|
441
|
-
e.body = o.concat(e.body), delete e.directives;
|
|
439
|
+
e.body = e.directives.map((l) => this.directiveToStmt(l)).concat(e.body), delete e.directives;
|
|
442
440
|
}
|
|
443
441
|
parsePrivateName() {
|
|
444
442
|
let e = super.parsePrivateName();
|
|
@@ -466,8 +464,7 @@ var Tt = Ci((Pe) => {
|
|
|
466
464
|
h.kind = e.kind, h = super.parseMethod(h, s, i, r, n, o, l), delete h.kind;
|
|
467
465
|
let { typeParameters: c } = e;
|
|
468
466
|
c && (delete e.typeParameters, h.typeParameters = c, this.resetStartLocationFromNode(h, c));
|
|
469
|
-
|
|
470
|
-
return e.value = u, o === "ClassPrivateMethod" && (e.computed = !1), o === "ObjectMethod" ? (e.kind === "method" && (e.kind = "init"), e.shorthand = !1, this.finishNode(e, "Property")) : this.finishNode(e, "MethodDefinition");
|
|
467
|
+
return e.value = this.castNodeTo(h, "FunctionExpression"), o === "ClassPrivateMethod" && (e.computed = !1), o === "ObjectMethod" ? (e.kind === "method" && (e.kind = "init"), e.shorthand = !1, this.finishNode(e, "Property")) : this.finishNode(e, "MethodDefinition");
|
|
471
468
|
}
|
|
472
469
|
nameIsConstructor(e) {
|
|
473
470
|
return e.type === "Literal" ? e.value === "constructor" : super.nameIsConstructor(e);
|
|
@@ -3177,18 +3174,15 @@ var Tt = Ci((Pe) => {
|
|
|
3177
3174
|
memberName: c
|
|
3178
3175
|
};
|
|
3179
3176
|
switch (o.id = l, h.type) {
|
|
3180
|
-
case "boolean":
|
|
3177
|
+
case "boolean":
|
|
3181
3178
|
this.flowEnumCheckExplicitTypeMismatch(h.loc, u, "boolean"), o.init = h.value, r.booleanMembers.push(this.finishNode(o, "EnumBooleanMember"));
|
|
3182
3179
|
break;
|
|
3183
|
-
|
|
3184
|
-
case "number": {
|
|
3180
|
+
case "number":
|
|
3185
3181
|
this.flowEnumCheckExplicitTypeMismatch(h.loc, u, "number"), o.init = h.value, r.numberMembers.push(this.finishNode(o, "EnumNumberMember"));
|
|
3186
3182
|
break;
|
|
3187
|
-
|
|
3188
|
-
case "string": {
|
|
3183
|
+
case "string":
|
|
3189
3184
|
this.flowEnumCheckExplicitTypeMismatch(h.loc, u, "string"), o.init = h.value, r.stringMembers.push(this.finishNode(o, "EnumStringMember"));
|
|
3190
3185
|
break;
|
|
3191
|
-
}
|
|
3192
3186
|
case "invalid": throw this.flowEnumErrorInvalidMemberInitializer(h.loc, u);
|
|
3193
3187
|
case "none": switch (s) {
|
|
3194
3188
|
case "boolean":
|
|
@@ -3399,8 +3393,8 @@ var Tt = Ci((Pe) => {
|
|
|
3399
3393
|
let s = 0, i = !1;
|
|
3400
3394
|
for (; s++ < 10 && this.state.pos < this.length && !(i = this.codePointAtPos(this.state.pos) === 59);) ++this.state.pos;
|
|
3401
3395
|
if (i) {
|
|
3402
|
-
|
|
3403
|
-
if (++this.state.pos,
|
|
3396
|
+
this.input.slice(e, this.state.pos);
|
|
3397
|
+
if (++this.state.pos, void 0);
|
|
3404
3398
|
}
|
|
3405
3399
|
}
|
|
3406
3400
|
return this.state.pos = e, "&";
|
|
@@ -3449,10 +3443,7 @@ var Tt = Ci((Pe) => {
|
|
|
3449
3443
|
}
|
|
3450
3444
|
jsxParseExpressionContainer(e, s) {
|
|
3451
3445
|
if (this.match(8)) e.expression = this.jsxParseEmptyExpression();
|
|
3452
|
-
else
|
|
3453
|
-
let i = this.parseExpression();
|
|
3454
|
-
e.expression = i;
|
|
3455
|
-
}
|
|
3446
|
+
else e.expression = this.parseExpression();
|
|
3456
3447
|
return this.setContext(s), this.state.canStartJSXElement = !0, this.expect(8), this.finishNode(e, "JSXExpressionContainer");
|
|
3457
3448
|
}
|
|
3458
3449
|
jsxParseAttribute() {
|
|
@@ -4887,8 +4878,8 @@ var Tt = Ci((Pe) => {
|
|
|
4887
4878
|
this.exportedIdentifiers = /* @__PURE__ */ new Set();
|
|
4888
4879
|
let i = this.inModule;
|
|
4889
4880
|
this.inModule = t;
|
|
4890
|
-
let r = this.scope
|
|
4891
|
-
this.scope = new
|
|
4881
|
+
let r = this.scope;
|
|
4882
|
+
this.scope = new (this.getScopeHandler())(this, t);
|
|
4892
4883
|
let o = this.prodParam;
|
|
4893
4884
|
this.prodParam = new Ge();
|
|
4894
4885
|
let l = this.classScope;
|
|
@@ -5508,8 +5499,7 @@ var Tt = Ci((Pe) => {
|
|
|
5508
5499
|
"override"
|
|
5509
5500
|
]
|
|
5510
5501
|
}, e);
|
|
5511
|
-
|
|
5512
|
-
return s || (super.parsePropertyName(e), !e.computed && e.key.type === "Identifier" && (e.key.name === "get" || e.key.name === "set") && this.tsTokenCanFollowModifier() && (e.kind = e.key.name, super.parsePropertyName(e), !this.match(10) && !this.match(47) && this.unexpected(null, 10)), this.tsParsePropertyOrMethodSignature(e, !!e.readonly));
|
|
5502
|
+
return this.tsTryParseIndexSignature(e) || (super.parsePropertyName(e), !e.computed && e.key.type === "Identifier" && (e.key.name === "get" || e.key.name === "set") && this.tsTokenCanFollowModifier() && (e.kind = e.key.name, super.parsePropertyName(e), !this.match(10) && !this.match(47) && this.unexpected(null, 10)), this.tsParsePropertyOrMethodSignature(e, !!e.readonly));
|
|
5513
5503
|
}
|
|
5514
5504
|
tsParseTypeLiteral() {
|
|
5515
5505
|
let e = this.startNode();
|
|
@@ -6537,20 +6527,19 @@ var Tt = Ci((Pe) => {
|
|
|
6537
6527
|
e[f] = h ? "type" : "value", c && this.eatContextual(93) && (e[n] = s ? this.parseIdentifier() : this.parseModuleExportName()), e[n] || (e[n] = this.cloneIdentifier(e[r])), s && this.checkIdentifier(e[n], h ? 4098 : 4096);
|
|
6538
6528
|
}
|
|
6539
6529
|
fillOptionalPropertiesForTSESLint(e) {
|
|
6540
|
-
var s, i, r, n, o, l, h, c, u, f, d, x, A, N, S, I, W, $, Ot, Ft, Bt, Rt, _t, Ut, jt, $t, Vt, qt, zt, Ht, Kt, Wt, Jt, Xt, Gt, Yt, Qt, Zt, es, ts, ss, is, rs, as, ns, os;
|
|
6541
6530
|
switch (e.type) {
|
|
6542
6531
|
case "ExpressionStatement":
|
|
6543
|
-
|
|
6532
|
+
e.directive ??= void 0;
|
|
6544
6533
|
return;
|
|
6545
6534
|
case "RestElement": e.value = void 0;
|
|
6546
6535
|
case "Identifier":
|
|
6547
6536
|
case "ArrayPattern":
|
|
6548
6537
|
case "AssignmentPattern":
|
|
6549
6538
|
case "ObjectPattern":
|
|
6550
|
-
|
|
6539
|
+
e.decorators ??= [], e.optional ??= !1, e.typeAnnotation ??= void 0;
|
|
6551
6540
|
return;
|
|
6552
6541
|
case "TSParameterProperty":
|
|
6553
|
-
|
|
6542
|
+
e.accessibility ??= void 0, e.decorators ??= [], e.override ??= !1, e.readonly ??= !1, e.static ??= !1;
|
|
6554
6543
|
return;
|
|
6555
6544
|
case "TSEmptyBodyFunctionExpression": e.body = null;
|
|
6556
6545
|
case "TSDeclareFunction":
|
|
@@ -6558,52 +6547,52 @@ var Tt = Ci((Pe) => {
|
|
|
6558
6547
|
case "FunctionExpression":
|
|
6559
6548
|
case "ClassMethod":
|
|
6560
6549
|
case "ClassPrivateMethod":
|
|
6561
|
-
|
|
6550
|
+
e.declare ??= !1, e.returnType ??= void 0, e.typeParameters ??= void 0;
|
|
6562
6551
|
return;
|
|
6563
6552
|
case "Property":
|
|
6564
|
-
|
|
6553
|
+
e.optional ??= !1;
|
|
6565
6554
|
return;
|
|
6566
6555
|
case "TSMethodSignature":
|
|
6567
|
-
case "TSPropertySignature":
|
|
6556
|
+
case "TSPropertySignature": e.optional ??= !1;
|
|
6568
6557
|
case "TSIndexSignature":
|
|
6569
|
-
|
|
6558
|
+
e.accessibility ??= void 0, e.readonly ??= !1, e.static ??= !1;
|
|
6570
6559
|
return;
|
|
6571
6560
|
case "TSAbstractPropertyDefinition":
|
|
6572
6561
|
case "PropertyDefinition":
|
|
6573
6562
|
case "TSAbstractAccessorProperty":
|
|
6574
|
-
case "AccessorProperty":
|
|
6563
|
+
case "AccessorProperty": e.declare ??= !1, e.definite ??= !1, e.readonly ??= !1, e.typeAnnotation ??= void 0;
|
|
6575
6564
|
case "TSAbstractMethodDefinition":
|
|
6576
6565
|
case "MethodDefinition":
|
|
6577
|
-
|
|
6566
|
+
e.accessibility ??= void 0, e.decorators ??= [], e.override ??= !1, e.optional ??= !1;
|
|
6578
6567
|
return;
|
|
6579
|
-
case "ClassExpression":
|
|
6568
|
+
case "ClassExpression": e.id ??= null;
|
|
6580
6569
|
case "ClassDeclaration":
|
|
6581
|
-
|
|
6570
|
+
e.abstract ??= !1, e.declare ??= !1, e.decorators ??= [], e.implements ??= [], e.superTypeArguments ??= void 0, e.typeParameters ??= void 0;
|
|
6582
6571
|
return;
|
|
6583
6572
|
case "TSTypeAliasDeclaration":
|
|
6584
6573
|
case "VariableDeclaration":
|
|
6585
|
-
|
|
6574
|
+
e.declare ??= !1;
|
|
6586
6575
|
return;
|
|
6587
6576
|
case "VariableDeclarator":
|
|
6588
|
-
|
|
6577
|
+
e.definite ??= !1;
|
|
6589
6578
|
return;
|
|
6590
6579
|
case "TSEnumDeclaration":
|
|
6591
|
-
|
|
6580
|
+
e.const ??= !1, e.declare ??= !1;
|
|
6592
6581
|
return;
|
|
6593
6582
|
case "TSEnumMember":
|
|
6594
|
-
|
|
6583
|
+
e.computed ??= !1;
|
|
6595
6584
|
return;
|
|
6596
6585
|
case "TSImportType":
|
|
6597
|
-
|
|
6586
|
+
e.qualifier ??= null, e.options ??= null;
|
|
6598
6587
|
return;
|
|
6599
6588
|
case "TSInterfaceDeclaration":
|
|
6600
|
-
|
|
6589
|
+
e.declare ??= !1, e.extends ??= [];
|
|
6601
6590
|
return;
|
|
6602
6591
|
case "TSModuleDeclaration":
|
|
6603
|
-
|
|
6592
|
+
e.declare ??= !1, e.global ??= e.kind === "global";
|
|
6604
6593
|
return;
|
|
6605
6594
|
case "TSTypeParameter":
|
|
6606
|
-
|
|
6595
|
+
e.const ??= !1, e.in ??= !1, e.out ??= !1;
|
|
6607
6596
|
return;
|
|
6608
6597
|
}
|
|
6609
6598
|
}
|
|
@@ -6805,10 +6794,8 @@ var Tt = Ci((Pe) => {
|
|
|
6805
6794
|
let r = As.map((n) => `"${n}"`).join(", ");
|
|
6806
6795
|
throw new Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${r}.`);
|
|
6807
6796
|
}
|
|
6808
|
-
|
|
6809
|
-
|
|
6810
|
-
if (i === "#" && ((e = a.get("recordAndTuple")) == null ? void 0 : e.syntaxType) === "hash") throw new Error(`Plugin conflict between \`["pipelineOperator", { proposal: "hack", topicToken: "#" }]\` and \`${JSON.stringify(["recordAndTuple", a.get("recordAndTuple")])}\`.`);
|
|
6811
|
-
}
|
|
6797
|
+
var e;
|
|
6798
|
+
if (i === "#" && ((e = a.get("recordAndTuple")) == null ? void 0 : e.syntaxType) === "hash") throw new Error(`Plugin conflict between \`["pipelineOperator", { proposal: "hack", topicToken: "#" }]\` and \`${JSON.stringify(["recordAndTuple", a.get("recordAndTuple")])}\`.`);
|
|
6812
6799
|
} else if (s === "smart" && ((t = a.get("recordAndTuple")) == null ? void 0 : t.syntaxType) === "hash") throw new Error(`Plugin conflict between \`["pipelineOperator", { proposal: "smart" }]\` and \`${JSON.stringify(["recordAndTuple", a.get("recordAndTuple")])}\`.`);
|
|
6813
6800
|
}
|
|
6814
6801
|
if (a.has("moduleAttributes")) {
|
|
@@ -6885,8 +6872,8 @@ var Tt = Ci((Pe) => {
|
|
|
6885
6872
|
(n === 10 || w(n)) && (this.state.potentialArrowAt = this.state.start);
|
|
6886
6873
|
let o = this.parseMaybeConditional(t);
|
|
6887
6874
|
if (e && (o = e.call(this, o, s)), zi(this.state.type)) {
|
|
6888
|
-
let l = this.startNodeAt(s)
|
|
6889
|
-
if (l.operator =
|
|
6875
|
+
let l = this.startNodeAt(s);
|
|
6876
|
+
if (l.operator = this.state.value, this.match(29)) {
|
|
6890
6877
|
this.toAssignable(o, !0), l.left = o;
|
|
6891
6878
|
let c = s.index;
|
|
6892
6879
|
t.doubleProtoLoc != null && t.doubleProtoLoc.index >= c && (t.doubleProtoLoc = null), t.shorthandAssignLoc != null && t.shorthandAssignLoc.index >= c && (t.shorthandAssignLoc = null), t.privateKeyLoc != null && t.privateKeyLoc.index >= c && (this.checkDestructuringPrivate(t), t.privateKeyLoc = null);
|
|
@@ -7151,11 +7138,9 @@ var Tt = Ci((Pe) => {
|
|
|
7151
7138
|
break;
|
|
7152
7139
|
}
|
|
7153
7140
|
default:
|
|
7154
|
-
|
|
7155
|
-
|
|
7156
|
-
|
|
7157
|
-
if (i === 6 || i === 7) return this.parseObjectLike(this.state.type === 6 ? 9 : 8, !1, !0);
|
|
7158
|
-
}
|
|
7141
|
+
if (i === 137) return this.parseDecimalLiteral(this.state.value);
|
|
7142
|
+
if (i === 2 || i === 1) return this.parseArrayLike(this.state.type === 2 ? 4 : 3, !1, !0);
|
|
7143
|
+
if (i === 6 || i === 7) return this.parseObjectLike(this.state.type === 6 ? 9 : 8, !1, !0);
|
|
7159
7144
|
if (w(i)) {
|
|
7160
7145
|
if (this.isContextual(127) && this.lookaheadInLineCharCode() === 123) return this.parseModuleExpression();
|
|
7161
7146
|
let r = this.state.potentialArrowAt === this.state.start, n = this.state.containsEsc, o = this.parseIdentifier();
|
|
@@ -7730,68 +7715,66 @@ var Tt = Ci((Pe) => {
|
|
|
7730
7715
|
for (let s = 0; s < a.length; s++) {
|
|
7731
7716
|
let i = a[s], { type: r } = i;
|
|
7732
7717
|
if (typeof r == "number") {
|
|
7733
|
-
{
|
|
7734
|
-
|
|
7735
|
-
|
|
7736
|
-
|
|
7737
|
-
|
|
7738
|
-
|
|
7739
|
-
|
|
7740
|
-
|
|
7741
|
-
|
|
7742
|
-
|
|
7743
|
-
|
|
7744
|
-
|
|
7745
|
-
|
|
7746
|
-
|
|
7747
|
-
|
|
7748
|
-
|
|
7749
|
-
|
|
7750
|
-
|
|
7751
|
-
|
|
7752
|
-
|
|
7753
|
-
|
|
7754
|
-
|
|
7755
|
-
|
|
7756
|
-
|
|
7757
|
-
|
|
7758
|
-
|
|
7759
|
-
|
|
7760
|
-
|
|
7761
|
-
|
|
7762
|
-
|
|
7763
|
-
|
|
7764
|
-
|
|
7765
|
-
|
|
7766
|
-
|
|
7767
|
-
|
|
7768
|
-
|
|
7769
|
-
|
|
7770
|
-
|
|
7771
|
-
|
|
7772
|
-
|
|
7773
|
-
|
|
7774
|
-
|
|
7775
|
-
|
|
7776
|
-
|
|
7777
|
-
|
|
7778
|
-
|
|
7779
|
-
|
|
7780
|
-
|
|
7781
|
-
|
|
7782
|
-
|
|
7783
|
-
|
|
7784
|
-
|
|
7785
|
-
|
|
7786
|
-
|
|
7787
|
-
|
|
7788
|
-
|
|
7789
|
-
|
|
7790
|
-
|
|
7791
|
-
|
|
7792
|
-
|
|
7793
|
-
continue;
|
|
7794
|
-
}
|
|
7718
|
+
if (r === 139) {
|
|
7719
|
+
let { loc: n, start: o, value: l, end: h } = i, c = o + 1, u = D(n.start, 1);
|
|
7720
|
+
a.splice(s, 1, new O({
|
|
7721
|
+
type: R(27),
|
|
7722
|
+
value: "#",
|
|
7723
|
+
start: o,
|
|
7724
|
+
end: c,
|
|
7725
|
+
startLoc: n.start,
|
|
7726
|
+
endLoc: u
|
|
7727
|
+
}), new O({
|
|
7728
|
+
type: R(132),
|
|
7729
|
+
value: l,
|
|
7730
|
+
start: c,
|
|
7731
|
+
end: h,
|
|
7732
|
+
startLoc: u,
|
|
7733
|
+
endLoc: n.end
|
|
7734
|
+
})), s++;
|
|
7735
|
+
continue;
|
|
7736
|
+
}
|
|
7737
|
+
if (Ie(r)) {
|
|
7738
|
+
let { loc: n, start: o, value: l, end: h } = i, c = o + 1, u = D(n.start, 1), f;
|
|
7739
|
+
t.charCodeAt(o - e) === 96 ? f = new O({
|
|
7740
|
+
type: R(22),
|
|
7741
|
+
value: "`",
|
|
7742
|
+
start: o,
|
|
7743
|
+
end: c,
|
|
7744
|
+
startLoc: n.start,
|
|
7745
|
+
endLoc: u
|
|
7746
|
+
}) : f = new O({
|
|
7747
|
+
type: R(8),
|
|
7748
|
+
value: "}",
|
|
7749
|
+
start: o,
|
|
7750
|
+
end: c,
|
|
7751
|
+
startLoc: n.start,
|
|
7752
|
+
endLoc: u
|
|
7753
|
+
});
|
|
7754
|
+
let d, x, A, N;
|
|
7755
|
+
r === 24 ? (x = h - 1, A = D(n.end, -1), d = l === null ? null : l.slice(1, -1), N = new O({
|
|
7756
|
+
type: R(22),
|
|
7757
|
+
value: "`",
|
|
7758
|
+
start: x,
|
|
7759
|
+
end: h,
|
|
7760
|
+
startLoc: A,
|
|
7761
|
+
endLoc: n.end
|
|
7762
|
+
})) : (x = h - 2, A = D(n.end, -2), d = l === null ? null : l.slice(1, -2), N = new O({
|
|
7763
|
+
type: R(23),
|
|
7764
|
+
value: "${",
|
|
7765
|
+
start: x,
|
|
7766
|
+
end: h,
|
|
7767
|
+
startLoc: A,
|
|
7768
|
+
endLoc: n.end
|
|
7769
|
+
})), a.splice(s, 1, f, new O({
|
|
7770
|
+
type: R(20),
|
|
7771
|
+
value: d,
|
|
7772
|
+
start: c,
|
|
7773
|
+
end: x,
|
|
7774
|
+
startLoc: u,
|
|
7775
|
+
endLoc: A
|
|
7776
|
+
}), N), s += 2;
|
|
7777
|
+
continue;
|
|
7795
7778
|
}
|
|
7796
7779
|
i.type = R(r);
|
|
7797
7780
|
}
|
|
@@ -8366,8 +8349,8 @@ var Tt = Ci((Pe) => {
|
|
|
8366
8349
|
}
|
|
8367
8350
|
maybeParseExportNamespaceSpecifier(t) {
|
|
8368
8351
|
if (this.isContextual(93)) {
|
|
8369
|
-
var e
|
|
8370
|
-
(
|
|
8352
|
+
var e;
|
|
8353
|
+
(e = t).specifiers ?? (e.specifiers = []);
|
|
8371
8354
|
let i = this.startNodeAt(this.state.lastTokStartLoc);
|
|
8372
8355
|
return this.next(), i.exported = this.parseModuleExportName(), t.specifiers.push(this.finishNode(i, "ExportNamespaceSpecifier")), !0;
|
|
8373
8356
|
}
|
|
@@ -8538,8 +8521,7 @@ var Tt = Ci((Pe) => {
|
|
|
8538
8521
|
return i && !r && this.parseNamedImportSpecifiers(t), this.expectContextual(98), this.parseImportSourceAndAttributes(t);
|
|
8539
8522
|
}
|
|
8540
8523
|
parseImportSourceAndAttributes(t) {
|
|
8541
|
-
|
|
8542
|
-
return (e = t.specifiers) ?? (t.specifiers = []), t.source = this.parseImportSource(), this.maybeParseImportAttributes(t), this.checkImportReflection(t), this.checkJSONModuleImport(t), this.semicolon(), this.sawUnambiguousESM = !0, this.finishNode(t, "ImportDeclaration");
|
|
8524
|
+
return t.specifiers ??= [], t.source = this.parseImportSource(), this.maybeParseImportAttributes(t), this.checkImportReflection(t), this.checkJSONModuleImport(t), this.semicolon(), this.sawUnambiguousESM = !0, this.finishNode(t, "ImportDeclaration");
|
|
8543
8525
|
}
|
|
8544
8526
|
parseImportSource() {
|
|
8545
8527
|
return this.match(134) || this.unexpected(), this.parseExprAtom();
|
|
@@ -8723,7 +8705,10 @@ function ve(a) {
|
|
|
8723
8705
|
return n === -1 || n === r ? n : !1;
|
|
8724
8706
|
};
|
|
8725
8707
|
}
|
|
8726
|
-
|
|
8708
|
+
ve(/\s/u);
|
|
8709
|
+
var Us = ve(" ");
|
|
8710
|
+
ve(",; ");
|
|
8711
|
+
var js = ve(/[^\n\r]/u);
|
|
8727
8712
|
function zr(a, t) {
|
|
8728
8713
|
if (t === !1) return !1;
|
|
8729
8714
|
if (a.charAt(t) === "/" && a.charAt(t + 1) === "*") {
|
|
@@ -8880,8 +8865,7 @@ function la(a, t = "type") {
|
|
|
8880
8865
|
}
|
|
8881
8866
|
return e;
|
|
8882
8867
|
}
|
|
8883
|
-
var
|
|
8884
|
-
var Qs = {
|
|
8868
|
+
var ha = la({
|
|
8885
8869
|
ArrayExpression: ["elements"],
|
|
8886
8870
|
AssignmentExpression: ["left", "right"],
|
|
8887
8871
|
BinaryExpression: ["left", "right"],
|
|
@@ -9601,8 +9585,7 @@ var Qs = {
|
|
|
9601
9585
|
SatisfiesExpression: ["expression", "typeAnnotation"],
|
|
9602
9586
|
UndefinedTypeAnnotation: [],
|
|
9603
9587
|
UnknownTypeAnnotation: []
|
|
9604
|
-
};
|
|
9605
|
-
var ha = Ys(Qs), Zs = ha;
|
|
9588
|
+
}), Zs = ha;
|
|
9606
9589
|
function wt(a, t) {
|
|
9607
9590
|
if (!(a !== null && typeof a == "object")) return a;
|
|
9608
9591
|
if (Array.isArray(a)) {
|
|
@@ -9614,7 +9597,7 @@ function wt(a, t) {
|
|
|
9614
9597
|
return t(a) || a;
|
|
9615
9598
|
}
|
|
9616
9599
|
var ei = wt;
|
|
9617
|
-
|
|
9600
|
+
ae([
|
|
9618
9601
|
"RegExpLiteral",
|
|
9619
9602
|
"BigIntLiteral",
|
|
9620
9603
|
"NumericLiteral",
|
|
@@ -10056,4 +10039,5 @@ var ja = {
|
|
|
10056
10039
|
var Vo = Mt;
|
|
10057
10040
|
|
|
10058
10041
|
//#endregion
|
|
10059
|
-
export { Vo as default, ja as parsers };
|
|
10042
|
+
export { Vo as default, ja as parsers };
|
|
10043
|
+
//# sourceMappingURL=babel-ZTOL0_x6.js.map
|