@danielx/civet 0.6.64 → 0.6.66

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/browser.js CHANGED
@@ -2800,6 +2800,10 @@ ${input.slice(result.pos)}
2800
2800
  case "Literal": {
2801
2801
  return following.raw?.startsWith("-") || following.raw?.startsWith("+");
2802
2802
  }
2803
+ case "PipelineExpression":
2804
+ case "UnwrappedExpression": {
2805
+ return needsPrecedingSemicolon(following.children[1]);
2806
+ }
2803
2807
  default: {
2804
2808
  if (following.children) {
2805
2809
  return needsPrecedingSemicolon(following.children[0]);
@@ -6348,11 +6352,15 @@ ${input.slice(result.pos)}
6348
6352
  var PropertyAccess$0 = $TS($S(AccessStart, $C(TemplateLiteral, StringLiteral, IntegerLiteral)), function($skip, $loc, $0, $1, $2) {
6349
6353
  var dot = $1;
6350
6354
  var literal = $2;
6351
- dot = replaceNodes(
6352
- deepCopy(dot),
6353
- (node) => node.token === ".",
6354
- (node) => ({ token: "[", $loc: node.$loc })
6355
- );
6355
+ if (gatherRecursive(dot, (node) => node.token === "?").length) {
6356
+ dot = [...dot, "["];
6357
+ } else {
6358
+ dot = replaceNodes(
6359
+ deepCopy(dot),
6360
+ (node) => node.token === ".",
6361
+ (node) => ({ ...node, token: "[" })
6362
+ );
6363
+ }
6356
6364
  return {
6357
6365
  type: "Index",
6358
6366
  children: [
@@ -12801,7 +12809,9 @@ ${input.slice(result.pos)}
12801
12809
  function TypeSuffix(ctx, state) {
12802
12810
  return $EVENT_C(ctx, state, "TypeSuffix", TypeSuffix$$);
12803
12811
  }
12804
- var MaybeIndentedType$0 = InterfaceBlock;
12812
+ var MaybeIndentedType$0 = $T($S($N($S(__, OpenBrace)), InterfaceBlock), function(value) {
12813
+ return value[1];
12814
+ });
12805
12815
  var MaybeIndentedType$1 = $TS($S(PushIndent, $E($S(Nested, Type)), PopIndent), function($skip, $loc, $0, $1, $2, $3) {
12806
12816
  if (!$2)
12807
12817
  return $skip;
@@ -12904,10 +12914,9 @@ ${input.slice(result.pos)}
12904
12914
  return $EVENT_C(ctx, state, "TypeUnarySuffix", TypeUnarySuffix$$);
12905
12915
  }
12906
12916
  var TypeUnaryOp$0 = $S($EXPECT($L209, 'TypeUnaryOp "keyof"'), NonIdContinue);
12907
- var TypeUnaryOp$1 = $S($EXPECT($L187, 'TypeUnaryOp "typeof"'), NonIdContinue);
12908
- var TypeUnaryOp$2 = $S($EXPECT($L210, 'TypeUnaryOp "infer"'), NonIdContinue);
12909
- var TypeUnaryOp$3 = $S($EXPECT($L170, 'TypeUnaryOp "readonly"'), NonIdContinue);
12910
- var TypeUnaryOp$$ = [TypeUnaryOp$0, TypeUnaryOp$1, TypeUnaryOp$2, TypeUnaryOp$3];
12917
+ var TypeUnaryOp$1 = $S($EXPECT($L210, 'TypeUnaryOp "infer"'), NonIdContinue);
12918
+ var TypeUnaryOp$2 = $S($EXPECT($L170, 'TypeUnaryOp "readonly"'), NonIdContinue);
12919
+ var TypeUnaryOp$$ = [TypeUnaryOp$0, TypeUnaryOp$1, TypeUnaryOp$2];
12911
12920
  function TypeUnaryOp(ctx, state) {
12912
12921
  return $EVENT_C(ctx, state, "TypeUnaryOp", TypeUnaryOp$$);
12913
12922
  }
@@ -12921,13 +12930,19 @@ ${input.slice(result.pos)}
12921
12930
  function UnknownAlias(ctx, state) {
12922
12931
  return $EVENT(ctx, state, "UnknownAlias", UnknownAlias$0);
12923
12932
  }
12924
- var TypePrimary$0 = $TS($S($E(_), TypeTuple), function($skip, $loc, $0, $1, $2) {
12933
+ var TypePrimary$0 = $TS($S($E(_), Typeof, $E(_), ConditionalExpression), function($skip, $loc, $0, $1, $2, $3, $4) {
12934
+ return {
12935
+ type: "TypeofType",
12936
+ children: $0
12937
+ };
12938
+ });
12939
+ var TypePrimary$1 = $TS($S($E(_), TypeTuple), function($skip, $loc, $0, $1, $2) {
12925
12940
  return { ...$2, children: [$1, ...$2.children] };
12926
12941
  });
12927
- var TypePrimary$1 = InterfaceBlock;
12928
- var TypePrimary$2 = $S($E(_), FunctionType);
12929
- var TypePrimary$3 = $S($E(_), InlineInterfaceLiteral);
12930
- var TypePrimary$4 = $TS($S($E(_), ImportType), function($skip, $loc, $0, $1, $2) {
12942
+ var TypePrimary$2 = InterfaceBlock;
12943
+ var TypePrimary$3 = $S($E(_), FunctionType);
12944
+ var TypePrimary$4 = $S($E(_), InlineInterfaceLiteral);
12945
+ var TypePrimary$5 = $TS($S($E(_), ImportType), function($skip, $loc, $0, $1, $2) {
12931
12946
  var t = $2;
12932
12947
  return {
12933
12948
  type: "ImportType",
@@ -12935,7 +12950,7 @@ ${input.slice(result.pos)}
12935
12950
  children: $0
12936
12951
  };
12937
12952
  });
12938
- var TypePrimary$5 = $TS($S($E(_), TypeLiteral), function($skip, $loc, $0, $1, $2) {
12953
+ var TypePrimary$6 = $TS($S($E(_), TypeLiteral), function($skip, $loc, $0, $1, $2) {
12939
12954
  var t = $2;
12940
12955
  return {
12941
12956
  type: "LiteralType",
@@ -12943,7 +12958,7 @@ ${input.slice(result.pos)}
12943
12958
  children: $0
12944
12959
  };
12945
12960
  });
12946
- var TypePrimary$6 = $TS($S($E(_), UnknownAlias), function($skip, $loc, $0, $1, $2) {
12961
+ var TypePrimary$7 = $TS($S($E(_), UnknownAlias), function($skip, $loc, $0, $1, $2) {
12947
12962
  return {
12948
12963
  type: "IdentifierType",
12949
12964
  children: $0,
@@ -12951,7 +12966,7 @@ ${input.slice(result.pos)}
12951
12966
  args: void 0
12952
12967
  };
12953
12968
  });
12954
- var TypePrimary$7 = $TS($S($E(_), IdentifierName, $Q($S(Dot, IdentifierName)), $E(TypeArguments)), function($skip, $loc, $0, $1, $2, $3, $4) {
12969
+ var TypePrimary$8 = $TS($S($E(_), IdentifierName, $Q($S(Dot, IdentifierName)), $E(TypeArguments)), function($skip, $loc, $0, $1, $2, $3, $4) {
12955
12970
  var args = $4;
12956
12971
  return {
12957
12972
  type: "IdentifierType",
@@ -12960,13 +12975,13 @@ ${input.slice(result.pos)}
12960
12975
  args
12961
12976
  };
12962
12977
  });
12963
- var TypePrimary$8 = $TS($S($E(_), OpenParen, $C(Type, $S(EOS, Type)), __, CloseParen), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
12978
+ var TypePrimary$9 = $TS($S($E(_), OpenParen, $C(Type, $S(EOS, Type)), __, CloseParen), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
12964
12979
  return {
12965
12980
  type: "ParenthesizedType",
12966
12981
  children: $0
12967
12982
  };
12968
12983
  });
12969
- var TypePrimary$$ = [TypePrimary$0, TypePrimary$1, TypePrimary$2, TypePrimary$3, TypePrimary$4, TypePrimary$5, TypePrimary$6, TypePrimary$7, TypePrimary$8];
12984
+ var TypePrimary$$ = [TypePrimary$0, TypePrimary$1, TypePrimary$2, TypePrimary$3, TypePrimary$4, TypePrimary$5, TypePrimary$6, TypePrimary$7, TypePrimary$8, TypePrimary$9];
12970
12985
  function TypePrimary(ctx, state) {
12971
12986
  return $EVENT_C(ctx, state, "TypePrimary", TypePrimary$$);
12972
12987
  }
@@ -14682,6 +14697,7 @@ ${input.slice(result.pos)}
14682
14697
  expressionizeTypeIf,
14683
14698
  forRange,
14684
14699
  gatherBindingCode,
14700
+ gatherRecursive,
14685
14701
  getIndentLevel,
14686
14702
  getTrimmingSpace,
14687
14703
  hasAwait,
package/dist/main.js CHANGED
@@ -2792,6 +2792,10 @@ var require_lib = __commonJS({
2792
2792
  case "Literal": {
2793
2793
  return following.raw?.startsWith("-") || following.raw?.startsWith("+");
2794
2794
  }
2795
+ case "PipelineExpression":
2796
+ case "UnwrappedExpression": {
2797
+ return needsPrecedingSemicolon(following.children[1]);
2798
+ }
2795
2799
  default: {
2796
2800
  if (following.children) {
2797
2801
  return needsPrecedingSemicolon(following.children[0]);
@@ -6340,11 +6344,15 @@ var require_parser = __commonJS({
6340
6344
  var PropertyAccess$0 = $TS($S(AccessStart, $C(TemplateLiteral, StringLiteral, IntegerLiteral)), function($skip, $loc, $0, $1, $2) {
6341
6345
  var dot = $1;
6342
6346
  var literal = $2;
6343
- dot = replaceNodes(
6344
- deepCopy(dot),
6345
- (node) => node.token === ".",
6346
- (node) => ({ token: "[", $loc: node.$loc })
6347
- );
6347
+ if (gatherRecursive(dot, (node) => node.token === "?").length) {
6348
+ dot = [...dot, "["];
6349
+ } else {
6350
+ dot = replaceNodes(
6351
+ deepCopy(dot),
6352
+ (node) => node.token === ".",
6353
+ (node) => ({ ...node, token: "[" })
6354
+ );
6355
+ }
6348
6356
  return {
6349
6357
  type: "Index",
6350
6358
  children: [
@@ -12793,7 +12801,9 @@ var require_parser = __commonJS({
12793
12801
  function TypeSuffix(ctx, state) {
12794
12802
  return $EVENT_C(ctx, state, "TypeSuffix", TypeSuffix$$);
12795
12803
  }
12796
- var MaybeIndentedType$0 = InterfaceBlock;
12804
+ var MaybeIndentedType$0 = $T($S($N($S(__, OpenBrace)), InterfaceBlock), function(value) {
12805
+ return value[1];
12806
+ });
12797
12807
  var MaybeIndentedType$1 = $TS($S(PushIndent, $E($S(Nested, Type)), PopIndent), function($skip, $loc, $0, $1, $2, $3) {
12798
12808
  if (!$2)
12799
12809
  return $skip;
@@ -12896,10 +12906,9 @@ var require_parser = __commonJS({
12896
12906
  return $EVENT_C(ctx, state, "TypeUnarySuffix", TypeUnarySuffix$$);
12897
12907
  }
12898
12908
  var TypeUnaryOp$0 = $S($EXPECT($L209, 'TypeUnaryOp "keyof"'), NonIdContinue);
12899
- var TypeUnaryOp$1 = $S($EXPECT($L187, 'TypeUnaryOp "typeof"'), NonIdContinue);
12900
- var TypeUnaryOp$2 = $S($EXPECT($L210, 'TypeUnaryOp "infer"'), NonIdContinue);
12901
- var TypeUnaryOp$3 = $S($EXPECT($L170, 'TypeUnaryOp "readonly"'), NonIdContinue);
12902
- var TypeUnaryOp$$ = [TypeUnaryOp$0, TypeUnaryOp$1, TypeUnaryOp$2, TypeUnaryOp$3];
12909
+ var TypeUnaryOp$1 = $S($EXPECT($L210, 'TypeUnaryOp "infer"'), NonIdContinue);
12910
+ var TypeUnaryOp$2 = $S($EXPECT($L170, 'TypeUnaryOp "readonly"'), NonIdContinue);
12911
+ var TypeUnaryOp$$ = [TypeUnaryOp$0, TypeUnaryOp$1, TypeUnaryOp$2];
12903
12912
  function TypeUnaryOp(ctx, state) {
12904
12913
  return $EVENT_C(ctx, state, "TypeUnaryOp", TypeUnaryOp$$);
12905
12914
  }
@@ -12913,13 +12922,19 @@ var require_parser = __commonJS({
12913
12922
  function UnknownAlias(ctx, state) {
12914
12923
  return $EVENT(ctx, state, "UnknownAlias", UnknownAlias$0);
12915
12924
  }
12916
- var TypePrimary$0 = $TS($S($E(_), TypeTuple), function($skip, $loc, $0, $1, $2) {
12925
+ var TypePrimary$0 = $TS($S($E(_), Typeof, $E(_), ConditionalExpression), function($skip, $loc, $0, $1, $2, $3, $4) {
12926
+ return {
12927
+ type: "TypeofType",
12928
+ children: $0
12929
+ };
12930
+ });
12931
+ var TypePrimary$1 = $TS($S($E(_), TypeTuple), function($skip, $loc, $0, $1, $2) {
12917
12932
  return { ...$2, children: [$1, ...$2.children] };
12918
12933
  });
12919
- var TypePrimary$1 = InterfaceBlock;
12920
- var TypePrimary$2 = $S($E(_), FunctionType);
12921
- var TypePrimary$3 = $S($E(_), InlineInterfaceLiteral);
12922
- var TypePrimary$4 = $TS($S($E(_), ImportType), function($skip, $loc, $0, $1, $2) {
12934
+ var TypePrimary$2 = InterfaceBlock;
12935
+ var TypePrimary$3 = $S($E(_), FunctionType);
12936
+ var TypePrimary$4 = $S($E(_), InlineInterfaceLiteral);
12937
+ var TypePrimary$5 = $TS($S($E(_), ImportType), function($skip, $loc, $0, $1, $2) {
12923
12938
  var t = $2;
12924
12939
  return {
12925
12940
  type: "ImportType",
@@ -12927,7 +12942,7 @@ var require_parser = __commonJS({
12927
12942
  children: $0
12928
12943
  };
12929
12944
  });
12930
- var TypePrimary$5 = $TS($S($E(_), TypeLiteral), function($skip, $loc, $0, $1, $2) {
12945
+ var TypePrimary$6 = $TS($S($E(_), TypeLiteral), function($skip, $loc, $0, $1, $2) {
12931
12946
  var t = $2;
12932
12947
  return {
12933
12948
  type: "LiteralType",
@@ -12935,7 +12950,7 @@ var require_parser = __commonJS({
12935
12950
  children: $0
12936
12951
  };
12937
12952
  });
12938
- var TypePrimary$6 = $TS($S($E(_), UnknownAlias), function($skip, $loc, $0, $1, $2) {
12953
+ var TypePrimary$7 = $TS($S($E(_), UnknownAlias), function($skip, $loc, $0, $1, $2) {
12939
12954
  return {
12940
12955
  type: "IdentifierType",
12941
12956
  children: $0,
@@ -12943,7 +12958,7 @@ var require_parser = __commonJS({
12943
12958
  args: void 0
12944
12959
  };
12945
12960
  });
12946
- var TypePrimary$7 = $TS($S($E(_), IdentifierName, $Q($S(Dot, IdentifierName)), $E(TypeArguments)), function($skip, $loc, $0, $1, $2, $3, $4) {
12961
+ var TypePrimary$8 = $TS($S($E(_), IdentifierName, $Q($S(Dot, IdentifierName)), $E(TypeArguments)), function($skip, $loc, $0, $1, $2, $3, $4) {
12947
12962
  var args = $4;
12948
12963
  return {
12949
12964
  type: "IdentifierType",
@@ -12952,13 +12967,13 @@ var require_parser = __commonJS({
12952
12967
  args
12953
12968
  };
12954
12969
  });
12955
- var TypePrimary$8 = $TS($S($E(_), OpenParen, $C(Type, $S(EOS, Type)), __, CloseParen), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
12970
+ var TypePrimary$9 = $TS($S($E(_), OpenParen, $C(Type, $S(EOS, Type)), __, CloseParen), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
12956
12971
  return {
12957
12972
  type: "ParenthesizedType",
12958
12973
  children: $0
12959
12974
  };
12960
12975
  });
12961
- var TypePrimary$$ = [TypePrimary$0, TypePrimary$1, TypePrimary$2, TypePrimary$3, TypePrimary$4, TypePrimary$5, TypePrimary$6, TypePrimary$7, TypePrimary$8];
12976
+ var TypePrimary$$ = [TypePrimary$0, TypePrimary$1, TypePrimary$2, TypePrimary$3, TypePrimary$4, TypePrimary$5, TypePrimary$6, TypePrimary$7, TypePrimary$8, TypePrimary$9];
12962
12977
  function TypePrimary(ctx, state) {
12963
12978
  return $EVENT_C(ctx, state, "TypePrimary", TypePrimary$$);
12964
12979
  }
@@ -14674,6 +14689,7 @@ var require_parser = __commonJS({
14674
14689
  expressionizeTypeIf,
14675
14690
  forRange,
14676
14691
  gatherBindingCode,
14692
+ gatherRecursive,
14677
14693
  getIndentLevel,
14678
14694
  getTrimmingSpace,
14679
14695
  hasAwait,
package/dist/main.mjs CHANGED
@@ -2790,6 +2790,10 @@ var require_lib = __commonJS({
2790
2790
  case "Literal": {
2791
2791
  return following.raw?.startsWith("-") || following.raw?.startsWith("+");
2792
2792
  }
2793
+ case "PipelineExpression":
2794
+ case "UnwrappedExpression": {
2795
+ return needsPrecedingSemicolon(following.children[1]);
2796
+ }
2793
2797
  default: {
2794
2798
  if (following.children) {
2795
2799
  return needsPrecedingSemicolon(following.children[0]);
@@ -6338,11 +6342,15 @@ var require_parser = __commonJS({
6338
6342
  var PropertyAccess$0 = $TS($S(AccessStart, $C(TemplateLiteral, StringLiteral, IntegerLiteral)), function($skip, $loc, $0, $1, $2) {
6339
6343
  var dot = $1;
6340
6344
  var literal = $2;
6341
- dot = replaceNodes(
6342
- deepCopy(dot),
6343
- (node) => node.token === ".",
6344
- (node) => ({ token: "[", $loc: node.$loc })
6345
- );
6345
+ if (gatherRecursive(dot, (node) => node.token === "?").length) {
6346
+ dot = [...dot, "["];
6347
+ } else {
6348
+ dot = replaceNodes(
6349
+ deepCopy(dot),
6350
+ (node) => node.token === ".",
6351
+ (node) => ({ ...node, token: "[" })
6352
+ );
6353
+ }
6346
6354
  return {
6347
6355
  type: "Index",
6348
6356
  children: [
@@ -12791,7 +12799,9 @@ var require_parser = __commonJS({
12791
12799
  function TypeSuffix(ctx, state) {
12792
12800
  return $EVENT_C(ctx, state, "TypeSuffix", TypeSuffix$$);
12793
12801
  }
12794
- var MaybeIndentedType$0 = InterfaceBlock;
12802
+ var MaybeIndentedType$0 = $T($S($N($S(__, OpenBrace)), InterfaceBlock), function(value) {
12803
+ return value[1];
12804
+ });
12795
12805
  var MaybeIndentedType$1 = $TS($S(PushIndent, $E($S(Nested, Type)), PopIndent), function($skip, $loc, $0, $1, $2, $3) {
12796
12806
  if (!$2)
12797
12807
  return $skip;
@@ -12894,10 +12904,9 @@ var require_parser = __commonJS({
12894
12904
  return $EVENT_C(ctx, state, "TypeUnarySuffix", TypeUnarySuffix$$);
12895
12905
  }
12896
12906
  var TypeUnaryOp$0 = $S($EXPECT($L209, 'TypeUnaryOp "keyof"'), NonIdContinue);
12897
- var TypeUnaryOp$1 = $S($EXPECT($L187, 'TypeUnaryOp "typeof"'), NonIdContinue);
12898
- var TypeUnaryOp$2 = $S($EXPECT($L210, 'TypeUnaryOp "infer"'), NonIdContinue);
12899
- var TypeUnaryOp$3 = $S($EXPECT($L170, 'TypeUnaryOp "readonly"'), NonIdContinue);
12900
- var TypeUnaryOp$$ = [TypeUnaryOp$0, TypeUnaryOp$1, TypeUnaryOp$2, TypeUnaryOp$3];
12907
+ var TypeUnaryOp$1 = $S($EXPECT($L210, 'TypeUnaryOp "infer"'), NonIdContinue);
12908
+ var TypeUnaryOp$2 = $S($EXPECT($L170, 'TypeUnaryOp "readonly"'), NonIdContinue);
12909
+ var TypeUnaryOp$$ = [TypeUnaryOp$0, TypeUnaryOp$1, TypeUnaryOp$2];
12901
12910
  function TypeUnaryOp(ctx, state) {
12902
12911
  return $EVENT_C(ctx, state, "TypeUnaryOp", TypeUnaryOp$$);
12903
12912
  }
@@ -12911,13 +12920,19 @@ var require_parser = __commonJS({
12911
12920
  function UnknownAlias(ctx, state) {
12912
12921
  return $EVENT(ctx, state, "UnknownAlias", UnknownAlias$0);
12913
12922
  }
12914
- var TypePrimary$0 = $TS($S($E(_), TypeTuple), function($skip, $loc, $0, $1, $2) {
12923
+ var TypePrimary$0 = $TS($S($E(_), Typeof, $E(_), ConditionalExpression), function($skip, $loc, $0, $1, $2, $3, $4) {
12924
+ return {
12925
+ type: "TypeofType",
12926
+ children: $0
12927
+ };
12928
+ });
12929
+ var TypePrimary$1 = $TS($S($E(_), TypeTuple), function($skip, $loc, $0, $1, $2) {
12915
12930
  return { ...$2, children: [$1, ...$2.children] };
12916
12931
  });
12917
- var TypePrimary$1 = InterfaceBlock;
12918
- var TypePrimary$2 = $S($E(_), FunctionType);
12919
- var TypePrimary$3 = $S($E(_), InlineInterfaceLiteral);
12920
- var TypePrimary$4 = $TS($S($E(_), ImportType), function($skip, $loc, $0, $1, $2) {
12932
+ var TypePrimary$2 = InterfaceBlock;
12933
+ var TypePrimary$3 = $S($E(_), FunctionType);
12934
+ var TypePrimary$4 = $S($E(_), InlineInterfaceLiteral);
12935
+ var TypePrimary$5 = $TS($S($E(_), ImportType), function($skip, $loc, $0, $1, $2) {
12921
12936
  var t = $2;
12922
12937
  return {
12923
12938
  type: "ImportType",
@@ -12925,7 +12940,7 @@ var require_parser = __commonJS({
12925
12940
  children: $0
12926
12941
  };
12927
12942
  });
12928
- var TypePrimary$5 = $TS($S($E(_), TypeLiteral), function($skip, $loc, $0, $1, $2) {
12943
+ var TypePrimary$6 = $TS($S($E(_), TypeLiteral), function($skip, $loc, $0, $1, $2) {
12929
12944
  var t = $2;
12930
12945
  return {
12931
12946
  type: "LiteralType",
@@ -12933,7 +12948,7 @@ var require_parser = __commonJS({
12933
12948
  children: $0
12934
12949
  };
12935
12950
  });
12936
- var TypePrimary$6 = $TS($S($E(_), UnknownAlias), function($skip, $loc, $0, $1, $2) {
12951
+ var TypePrimary$7 = $TS($S($E(_), UnknownAlias), function($skip, $loc, $0, $1, $2) {
12937
12952
  return {
12938
12953
  type: "IdentifierType",
12939
12954
  children: $0,
@@ -12941,7 +12956,7 @@ var require_parser = __commonJS({
12941
12956
  args: void 0
12942
12957
  };
12943
12958
  });
12944
- var TypePrimary$7 = $TS($S($E(_), IdentifierName, $Q($S(Dot, IdentifierName)), $E(TypeArguments)), function($skip, $loc, $0, $1, $2, $3, $4) {
12959
+ var TypePrimary$8 = $TS($S($E(_), IdentifierName, $Q($S(Dot, IdentifierName)), $E(TypeArguments)), function($skip, $loc, $0, $1, $2, $3, $4) {
12945
12960
  var args = $4;
12946
12961
  return {
12947
12962
  type: "IdentifierType",
@@ -12950,13 +12965,13 @@ var require_parser = __commonJS({
12950
12965
  args
12951
12966
  };
12952
12967
  });
12953
- var TypePrimary$8 = $TS($S($E(_), OpenParen, $C(Type, $S(EOS, Type)), __, CloseParen), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
12968
+ var TypePrimary$9 = $TS($S($E(_), OpenParen, $C(Type, $S(EOS, Type)), __, CloseParen), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
12954
12969
  return {
12955
12970
  type: "ParenthesizedType",
12956
12971
  children: $0
12957
12972
  };
12958
12973
  });
12959
- var TypePrimary$$ = [TypePrimary$0, TypePrimary$1, TypePrimary$2, TypePrimary$3, TypePrimary$4, TypePrimary$5, TypePrimary$6, TypePrimary$7, TypePrimary$8];
12974
+ var TypePrimary$$ = [TypePrimary$0, TypePrimary$1, TypePrimary$2, TypePrimary$3, TypePrimary$4, TypePrimary$5, TypePrimary$6, TypePrimary$7, TypePrimary$8, TypePrimary$9];
12960
12975
  function TypePrimary(ctx, state) {
12961
12976
  return $EVENT_C(ctx, state, "TypePrimary", TypePrimary$$);
12962
12977
  }
@@ -14672,6 +14687,7 @@ var require_parser = __commonJS({
14672
14687
  expressionizeTypeIf,
14673
14688
  forRange,
14674
14689
  gatherBindingCode,
14690
+ gatherRecursive,
14675
14691
  getIndentLevel,
14676
14692
  getTrimmingSpace,
14677
14693
  hasAwait,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@danielx/civet",
3
3
  "type": "commonjs",
4
- "version": "0.6.64",
4
+ "version": "0.6.66",
5
5
  "description": "CoffeeScript style syntax for TypeScript",
6
6
  "main": "dist/main.js",
7
7
  "module": "dist/main.mjs",
@@ -76,7 +76,6 @@
76
76
  "@types/assert": "^1.5.6",
77
77
  "@types/mocha": "^9.1.1",
78
78
  "@types/node": "^20.5.1",
79
- "axios": "^1.2.2",
80
79
  "c8": "^7.12.0",
81
80
  "esbuild": "0.16.17",
82
81
  "marked": "^4.2.4",