@danielx/civet 0.5.42 → 0.5.44

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/main.mjs CHANGED
@@ -527,6 +527,20 @@ ${input.slice(result.pos)}
527
527
  BindingElement,
528
528
  BindingRestElement,
529
529
  EmptyBindingPattern,
530
+ MatchingPattern,
531
+ ObjectMatchingPattern,
532
+ ObjectMatchingPatternContent,
533
+ NestedMatchingProperties,
534
+ NestedMatchingProperty,
535
+ MatchingProperty,
536
+ NestedMatchingRestProperty,
537
+ MatchingRestProperty,
538
+ ArrayMatchingPattern,
539
+ ArrayMatchingPatternContent,
540
+ NestedMatchingElements,
541
+ NestedMatchingElement,
542
+ MatchingElement,
543
+ MatchingRestElement,
530
544
  FunctionDeclaration,
531
545
  FunctionSignature,
532
546
  FunctionExpression,
@@ -4331,6 +4345,492 @@ ${input.slice(result.pos)}
4331
4345
  return result;
4332
4346
  }
4333
4347
  }
4348
+ var MatchingPattern$0 = ObjectMatchingPattern;
4349
+ var MatchingPattern$1 = ArrayMatchingPattern;
4350
+ var MatchingPattern$2 = Literal;
4351
+ var MatchingPattern$3 = RegularExpressionLiteral;
4352
+ function MatchingPattern(state) {
4353
+ let eventData;
4354
+ if (state.events) {
4355
+ const result = state.events.enter?.("MatchingPattern", state);
4356
+ if (result) {
4357
+ if (result.cache)
4358
+ return result.cache;
4359
+ eventData = result.data;
4360
+ }
4361
+ }
4362
+ if (state.tokenize) {
4363
+ const result = $TOKEN("MatchingPattern", state, MatchingPattern$0(state) || MatchingPattern$1(state) || MatchingPattern$2(state) || MatchingPattern$3(state));
4364
+ if (state.events)
4365
+ state.events.exit?.("MatchingPattern", state, result, eventData);
4366
+ return result;
4367
+ } else {
4368
+ const result = MatchingPattern$0(state) || MatchingPattern$1(state) || MatchingPattern$2(state) || MatchingPattern$3(state);
4369
+ if (state.events)
4370
+ state.events.exit?.("MatchingPattern", state, result, eventData);
4371
+ return result;
4372
+ }
4373
+ }
4374
+ var ObjectMatchingPattern$0 = $TS($S(OpenBrace, ObjectMatchingPatternContent, __, CloseBrace), function($skip, $loc, $0, $1, $2, $3, $4) {
4375
+ var open = $1;
4376
+ var content = $2;
4377
+ var ws = $3;
4378
+ var close = $4;
4379
+ return {
4380
+ type: "ObjectMatchingPattern",
4381
+ children: [open, ...content.children, ...ws, close]
4382
+ };
4383
+ });
4384
+ function ObjectMatchingPattern(state) {
4385
+ let eventData;
4386
+ if (state.events) {
4387
+ const result = state.events.enter?.("ObjectMatchingPattern", state);
4388
+ if (result) {
4389
+ if (result.cache)
4390
+ return result.cache;
4391
+ eventData = result.data;
4392
+ }
4393
+ }
4394
+ if (state.tokenize) {
4395
+ const result = $TOKEN("ObjectMatchingPattern", state, ObjectMatchingPattern$0(state));
4396
+ if (state.events)
4397
+ state.events.exit?.("ObjectMatchingPattern", state, result, eventData);
4398
+ return result;
4399
+ } else {
4400
+ const result = ObjectMatchingPattern$0(state);
4401
+ if (state.events)
4402
+ state.events.exit?.("ObjectMatchingPattern", state, result, eventData);
4403
+ return result;
4404
+ }
4405
+ }
4406
+ var ObjectMatchingPatternContent$0 = NestedMatchingProperties;
4407
+ var ObjectMatchingPatternContent$1 = $TS($S($Q(MatchingProperty), $E(MatchingRestProperty), $Q(MatchingProperty)), function($skip, $loc, $0, $1, $2, $3) {
4408
+ var props = $1;
4409
+ var rest = $2;
4410
+ var after = $3;
4411
+ const names = props.flatMap((p) => p.names);
4412
+ const children = [...props];
4413
+ if (rest) {
4414
+ [rest, after] = module.reorderBindingRestProperty(rest, after);
4415
+ children.push(...after, rest);
4416
+ names.push(...after.flatMap((p) => p.names), ...rest.names);
4417
+ }
4418
+ return {
4419
+ names,
4420
+ children
4421
+ };
4422
+ });
4423
+ function ObjectMatchingPatternContent(state) {
4424
+ let eventData;
4425
+ if (state.events) {
4426
+ const result = state.events.enter?.("ObjectMatchingPatternContent", state);
4427
+ if (result) {
4428
+ if (result.cache)
4429
+ return result.cache;
4430
+ eventData = result.data;
4431
+ }
4432
+ }
4433
+ if (state.tokenize) {
4434
+ const result = $TOKEN("ObjectMatchingPatternContent", state, ObjectMatchingPatternContent$0(state) || ObjectMatchingPatternContent$1(state));
4435
+ if (state.events)
4436
+ state.events.exit?.("ObjectMatchingPatternContent", state, result, eventData);
4437
+ return result;
4438
+ } else {
4439
+ const result = ObjectMatchingPatternContent$0(state) || ObjectMatchingPatternContent$1(state);
4440
+ if (state.events)
4441
+ state.events.exit?.("ObjectMatchingPatternContent", state, result, eventData);
4442
+ return result;
4443
+ }
4444
+ }
4445
+ var NestedMatchingProperties$0 = $TS($S(PushIndent, $Q(NestedMatchingProperty), $E(NestedMatchingRestProperty), $Q(NestedMatchingProperty), PopIndent), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
4446
+ var props = $2;
4447
+ var rest = $3;
4448
+ var after = $4;
4449
+ if (!(props.length || rest))
4450
+ return $skip;
4451
+ const names = props.flatMap((p) => p.names);
4452
+ const children = [...props];
4453
+ if (rest) {
4454
+ [rest, after] = module.reorderBindingRestProperty(rest, after);
4455
+ children.push(...after, rest);
4456
+ names.push(...after.flatMap((p) => p.names), ...rest.names);
4457
+ }
4458
+ return {
4459
+ children,
4460
+ names
4461
+ };
4462
+ });
4463
+ function NestedMatchingProperties(state) {
4464
+ let eventData;
4465
+ if (state.events) {
4466
+ const result = state.events.enter?.("NestedMatchingProperties", state);
4467
+ if (result) {
4468
+ if (result.cache)
4469
+ return result.cache;
4470
+ eventData = result.data;
4471
+ }
4472
+ }
4473
+ if (state.tokenize) {
4474
+ const result = $TOKEN("NestedMatchingProperties", state, NestedMatchingProperties$0(state));
4475
+ if (state.events)
4476
+ state.events.exit?.("NestedMatchingProperties", state, result, eventData);
4477
+ return result;
4478
+ } else {
4479
+ const result = NestedMatchingProperties$0(state);
4480
+ if (state.events)
4481
+ state.events.exit?.("NestedMatchingProperties", state, result, eventData);
4482
+ return result;
4483
+ }
4484
+ }
4485
+ var NestedMatchingProperty$0 = $TS($S(Nested, MatchingProperty), function($skip, $loc, $0, $1, $2) {
4486
+ var indent = $1;
4487
+ var prop = $2;
4488
+ return {
4489
+ ...prop,
4490
+ children: [...indent, ...prop.children]
4491
+ };
4492
+ });
4493
+ function NestedMatchingProperty(state) {
4494
+ let eventData;
4495
+ if (state.events) {
4496
+ const result = state.events.enter?.("NestedMatchingProperty", state);
4497
+ if (result) {
4498
+ if (result.cache)
4499
+ return result.cache;
4500
+ eventData = result.data;
4501
+ }
4502
+ }
4503
+ if (state.tokenize) {
4504
+ const result = $TOKEN("NestedMatchingProperty", state, NestedMatchingProperty$0(state));
4505
+ if (state.events)
4506
+ state.events.exit?.("NestedMatchingProperty", state, result, eventData);
4507
+ return result;
4508
+ } else {
4509
+ const result = NestedMatchingProperty$0(state);
4510
+ if (state.events)
4511
+ state.events.exit?.("NestedMatchingProperty", state, result, eventData);
4512
+ return result;
4513
+ }
4514
+ }
4515
+ var MatchingProperty$0 = $TS($S(__, PropertyName, __, Colon, $C(BindingIdentifier, MatchingPattern), ObjectPropertyDelimiter), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
4516
+ var m = $5;
4517
+ return {
4518
+ names: m.names,
4519
+ children: $0
4520
+ };
4521
+ });
4522
+ var MatchingProperty$1 = $TS($S(BindingIdentifier, ObjectPropertyDelimiter), function($skip, $loc, $0, $1, $2) {
4523
+ var b = $1;
4524
+ if (b.type === "AtBinding") {
4525
+ return {
4526
+ type: "AtBindingProperty",
4527
+ ref: b.ref,
4528
+ names: [],
4529
+ children: $0
4530
+ };
4531
+ }
4532
+ return {
4533
+ names: b.names,
4534
+ children: $0
4535
+ };
4536
+ });
4537
+ function MatchingProperty(state) {
4538
+ let eventData;
4539
+ if (state.events) {
4540
+ const result = state.events.enter?.("MatchingProperty", state);
4541
+ if (result) {
4542
+ if (result.cache)
4543
+ return result.cache;
4544
+ eventData = result.data;
4545
+ }
4546
+ }
4547
+ if (state.tokenize) {
4548
+ const result = $TOKEN("MatchingProperty", state, MatchingProperty$0(state) || MatchingProperty$1(state));
4549
+ if (state.events)
4550
+ state.events.exit?.("MatchingProperty", state, result, eventData);
4551
+ return result;
4552
+ } else {
4553
+ const result = MatchingProperty$0(state) || MatchingProperty$1(state);
4554
+ if (state.events)
4555
+ state.events.exit?.("MatchingProperty", state, result, eventData);
4556
+ return result;
4557
+ }
4558
+ }
4559
+ var NestedMatchingRestProperty$0 = $TS($S(Nested, MatchingRestProperty), function($skip, $loc, $0, $1, $2) {
4560
+ var indent = $1;
4561
+ var prop = $2;
4562
+ return {
4563
+ ...prop,
4564
+ children: [indent, ...prop.children]
4565
+ };
4566
+ });
4567
+ function NestedMatchingRestProperty(state) {
4568
+ let eventData;
4569
+ if (state.events) {
4570
+ const result = state.events.enter?.("NestedMatchingRestProperty", state);
4571
+ if (result) {
4572
+ if (result.cache)
4573
+ return result.cache;
4574
+ eventData = result.data;
4575
+ }
4576
+ }
4577
+ if (state.tokenize) {
4578
+ const result = $TOKEN("NestedMatchingRestProperty", state, NestedMatchingRestProperty$0(state));
4579
+ if (state.events)
4580
+ state.events.exit?.("NestedMatchingRestProperty", state, result, eventData);
4581
+ return result;
4582
+ } else {
4583
+ const result = NestedMatchingRestProperty$0(state);
4584
+ if (state.events)
4585
+ state.events.exit?.("NestedMatchingRestProperty", state, result, eventData);
4586
+ return result;
4587
+ }
4588
+ }
4589
+ var MatchingRestProperty$0 = BindingRestProperty;
4590
+ function MatchingRestProperty(state) {
4591
+ let eventData;
4592
+ if (state.events) {
4593
+ const result = state.events.enter?.("MatchingRestProperty", state);
4594
+ if (result) {
4595
+ if (result.cache)
4596
+ return result.cache;
4597
+ eventData = result.data;
4598
+ }
4599
+ }
4600
+ if (state.tokenize) {
4601
+ const result = $TOKEN("MatchingRestProperty", state, MatchingRestProperty$0(state));
4602
+ if (state.events)
4603
+ state.events.exit?.("MatchingRestProperty", state, result, eventData);
4604
+ return result;
4605
+ } else {
4606
+ const result = MatchingRestProperty$0(state);
4607
+ if (state.events)
4608
+ state.events.exit?.("MatchingRestProperty", state, result, eventData);
4609
+ return result;
4610
+ }
4611
+ }
4612
+ var ArrayMatchingPattern$0 = $TS($S(OpenBracket, ArrayMatchingPatternContent, __, CloseBracket), function($skip, $loc, $0, $1, $2, $3, $4) {
4613
+ var open = $1;
4614
+ var content = $2;
4615
+ var ws = $3;
4616
+ var close = $4;
4617
+ return {
4618
+ type: "ArrayMatchingPattern",
4619
+ children: $0
4620
+ };
4621
+ });
4622
+ function ArrayMatchingPattern(state) {
4623
+ let eventData;
4624
+ if (state.events) {
4625
+ const result = state.events.enter?.("ArrayMatchingPattern", state);
4626
+ if (result) {
4627
+ if (result.cache)
4628
+ return result.cache;
4629
+ eventData = result.data;
4630
+ }
4631
+ }
4632
+ if (state.tokenize) {
4633
+ const result = $TOKEN("ArrayMatchingPattern", state, ArrayMatchingPattern$0(state));
4634
+ if (state.events)
4635
+ state.events.exit?.("ArrayMatchingPattern", state, result, eventData);
4636
+ return result;
4637
+ } else {
4638
+ const result = ArrayMatchingPattern$0(state);
4639
+ if (state.events)
4640
+ state.events.exit?.("ArrayMatchingPattern", state, result, eventData);
4641
+ return result;
4642
+ }
4643
+ }
4644
+ var ArrayMatchingPatternContent$0 = NestedMatchingElements;
4645
+ var ArrayMatchingPatternContent$1 = $TS($S($Q($C(MatchingElement, Elision)), $E($S(MatchingRestElement, ArrayElementDelimiter)), $Q($C(MatchingElement, Elision))), function($skip, $loc, $0, $1, $2, $3) {
4646
+ var props = $1;
4647
+ var rest = $2;
4648
+ var after = $3;
4649
+ const names = props.flatMap((p) => p.names || []);
4650
+ const children = [...props];
4651
+ let blockPrefix;
4652
+ if (rest) {
4653
+ const [restBinding] = rest;
4654
+ children.push(restBinding);
4655
+ let restIdentifier;
4656
+ if (restBinding.ref) {
4657
+ restIdentifier = restBinding.ref;
4658
+ } else {
4659
+ restIdentifier = restBinding.names[0];
4660
+ names.push(...restBinding.names);
4661
+ }
4662
+ if (after.length) {
4663
+ const spliceRef = module.getRef("splice");
4664
+ blockPrefix = {
4665
+ children: ["[", module.insertTrimmingSpace(after, ""), "] = ", spliceRef, ".call(", restIdentifier, ", -", after.length.toString(), ")"],
4666
+ names: after.flatMap((p) => p.names)
4667
+ };
4668
+ }
4669
+ }
4670
+ return {
4671
+ names,
4672
+ children,
4673
+ blockPrefix
4674
+ };
4675
+ });
4676
+ function ArrayMatchingPatternContent(state) {
4677
+ let eventData;
4678
+ if (state.events) {
4679
+ const result = state.events.enter?.("ArrayMatchingPatternContent", state);
4680
+ if (result) {
4681
+ if (result.cache)
4682
+ return result.cache;
4683
+ eventData = result.data;
4684
+ }
4685
+ }
4686
+ if (state.tokenize) {
4687
+ const result = $TOKEN("ArrayMatchingPatternContent", state, ArrayMatchingPatternContent$0(state) || ArrayMatchingPatternContent$1(state));
4688
+ if (state.events)
4689
+ state.events.exit?.("ArrayMatchingPatternContent", state, result, eventData);
4690
+ return result;
4691
+ } else {
4692
+ const result = ArrayMatchingPatternContent$0(state) || ArrayMatchingPatternContent$1(state);
4693
+ if (state.events)
4694
+ state.events.exit?.("ArrayMatchingPatternContent", state, result, eventData);
4695
+ return result;
4696
+ }
4697
+ }
4698
+ var NestedMatchingElements$0 = $TS($S(PushIndent, $Q(NestedMatchingElement), $E($S(Nested, MatchingRestElement, ArrayElementDelimiter)), $Q(NestedMatchingElement), PopIndent), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
4699
+ var props = $2;
4700
+ var rest = $3;
4701
+ var after = $4;
4702
+ if (!(props.length || rest))
4703
+ return $skip;
4704
+ const names = props.flatMap((p) => p.names), children = [...props];
4705
+ let blockPrefix;
4706
+ if (rest) {
4707
+ const [, restBinding] = rest;
4708
+ let restIdentifier;
4709
+ if (restBinding.ref) {
4710
+ restIdentifier = restBinding.binding.ref;
4711
+ } else {
4712
+ restIdentifier = restBinding.names[0];
4713
+ }
4714
+ if (after.length) {
4715
+ const spliceRef = module.getRef("splice");
4716
+ blockPrefix = {
4717
+ children: ["[", module.insertTrimmingSpace(after, ""), "] = ", spliceRef, ".call(", restIdentifier, ", -", after.length.toString(), ")"],
4718
+ names: after.flatMap((p) => p.names)
4719
+ };
4720
+ }
4721
+ children.push(...rest);
4722
+ names.push(...restBinding.names);
4723
+ }
4724
+ return {
4725
+ children,
4726
+ names,
4727
+ blockPrefix
4728
+ };
4729
+ });
4730
+ function NestedMatchingElements(state) {
4731
+ let eventData;
4732
+ if (state.events) {
4733
+ const result = state.events.enter?.("NestedMatchingElements", state);
4734
+ if (result) {
4735
+ if (result.cache)
4736
+ return result.cache;
4737
+ eventData = result.data;
4738
+ }
4739
+ }
4740
+ if (state.tokenize) {
4741
+ const result = $TOKEN("NestedMatchingElements", state, NestedMatchingElements$0(state));
4742
+ if (state.events)
4743
+ state.events.exit?.("NestedMatchingElements", state, result, eventData);
4744
+ return result;
4745
+ } else {
4746
+ const result = NestedMatchingElements$0(state);
4747
+ if (state.events)
4748
+ state.events.exit?.("NestedMatchingElements", state, result, eventData);
4749
+ return result;
4750
+ }
4751
+ }
4752
+ var NestedMatchingElement$0 = $TS($S(Nested, MatchingElement), function($skip, $loc, $0, $1, $2) {
4753
+ var indent = $1;
4754
+ var element = $2;
4755
+ return {
4756
+ ...element,
4757
+ children: [indent, ...element.children]
4758
+ };
4759
+ });
4760
+ function NestedMatchingElement(state) {
4761
+ let eventData;
4762
+ if (state.events) {
4763
+ const result = state.events.enter?.("NestedMatchingElement", state);
4764
+ if (result) {
4765
+ if (result.cache)
4766
+ return result.cache;
4767
+ eventData = result.data;
4768
+ }
4769
+ }
4770
+ if (state.tokenize) {
4771
+ const result = $TOKEN("NestedMatchingElement", state, NestedMatchingElement$0(state));
4772
+ if (state.events)
4773
+ state.events.exit?.("NestedMatchingElement", state, result, eventData);
4774
+ return result;
4775
+ } else {
4776
+ const result = NestedMatchingElement$0(state);
4777
+ if (state.events)
4778
+ state.events.exit?.("NestedMatchingElement", state, result, eventData);
4779
+ return result;
4780
+ }
4781
+ }
4782
+ var MatchingElement$0 = $TS($S($C(BindingIdentifier, MatchingPattern), ArrayElementDelimiter), function($skip, $loc, $0, $1, $2) {
4783
+ var binding = $1;
4784
+ return {
4785
+ names: binding.names,
4786
+ children: $0
4787
+ };
4788
+ });
4789
+ function MatchingElement(state) {
4790
+ let eventData;
4791
+ if (state.events) {
4792
+ const result = state.events.enter?.("MatchingElement", state);
4793
+ if (result) {
4794
+ if (result.cache)
4795
+ return result.cache;
4796
+ eventData = result.data;
4797
+ }
4798
+ }
4799
+ if (state.tokenize) {
4800
+ const result = $TOKEN("MatchingElement", state, MatchingElement$0(state));
4801
+ if (state.events)
4802
+ state.events.exit?.("MatchingElement", state, result, eventData);
4803
+ return result;
4804
+ } else {
4805
+ const result = MatchingElement$0(state);
4806
+ if (state.events)
4807
+ state.events.exit?.("MatchingElement", state, result, eventData);
4808
+ return result;
4809
+ }
4810
+ }
4811
+ var MatchingRestElement$0 = BindingRestElement;
4812
+ function MatchingRestElement(state) {
4813
+ let eventData;
4814
+ if (state.events) {
4815
+ const result = state.events.enter?.("MatchingRestElement", state);
4816
+ if (result) {
4817
+ if (result.cache)
4818
+ return result.cache;
4819
+ eventData = result.data;
4820
+ }
4821
+ }
4822
+ if (state.tokenize) {
4823
+ const result = $TOKEN("MatchingRestElement", state, MatchingRestElement$0(state));
4824
+ if (state.events)
4825
+ state.events.exit?.("MatchingRestElement", state, result, eventData);
4826
+ return result;
4827
+ } else {
4828
+ const result = MatchingRestElement$0(state);
4829
+ if (state.events)
4830
+ state.events.exit?.("MatchingRestElement", state, result, eventData);
4831
+ return result;
4832
+ }
4833
+ }
4334
4834
  var FunctionDeclaration$0 = FunctionExpression;
4335
4835
  function FunctionDeclaration(state) {
4336
4836
  let eventData;
@@ -18406,7 +18906,7 @@ var uncacheable;
18406
18906
  ({ parse } = import_parser.default);
18407
18907
  ({ SourceMap: SourceMap2, base64Encode: base64Encode2 } = util_exports);
18408
18908
  defaultOptions = {};
18409
- uncacheable = /* @__PURE__ */ new Set(["ActualAssignment", "ApplicationStart", "Arguments", "ArgumentsWithTrailingMemberExpressions", "ArrowFunction", "ArrowFunctionTail", "AssignmentExpression", "AssignmentExpressionTail", "BinaryOpExpression", "BinaryOpRHS", "BracedBlock", "BracedObjectLiteralContent", "BracedOrEmptyBlock", "CallExpression", "CallExpressionRest", "CoffeeCommentEnabled", "CommaDelimiter", "ConditionalExpression", "Debugger", "ElseClause", "Expression", "ExpressionStatement", "ExpressionWithIndentedApplicationSuppressed", "ExtendedExpression", "FatArrowBody", "ImplicitArguments", "ImplicitInlineObjectPropertyDelimiter", "ImplicitNestedBlock", "IndentedApplicationAllowed", "IndentedFurther", "IndentedJSXChildExpression", "InlineObjectLiteral", "InsertIndent", "JSXChild", "JSXChildren", "JSXElement", "JSXFragment", "JSXImplicitFragment", "JSXMixedChildren", "JSXNested", "JSXNestedChildren", "JSXOptionalClosingElement", "JSXOptionalClosingFragment", "JSXTag", "LeftHandSideExpression", "MemberExpression", "MemberExpressionRest", "Nested", "NestedBindingElement", "NestedBindingElements", "NestedBlockExpression", "NestedBlockExpression", "NestedBlockStatement", "NestedBlockStatements", "NestedElement", "NestedElementList", "NestedImplicitObjectLiteral", "NestedImplicitPropertyDefinition", "NestedImplicitPropertyDefinitions", "NestedInterfaceProperty", "NestedJSXChildExpression", "NestedObject", "NestedPropertyDefinitions", "NonSuppressedTrailingMemberExpressions", "ObjectLiteral", "PopIndent", "PrimaryExpression", "PushIndent", "PushJSXOpeningElement", "PushJSXOpeningFragment", "Samedent", "ShortCircuitExpression", "SingleLineComment", "SingleLineStatements", "SnugNamedProperty", "Statement", "StatementListItem", "SuppressIndentedApplication", "SuppressTrailingMemberProperty", "ThinArrowFunction", "TrackIndented", "TrailingMemberExpressions", "TrailingMemberPropertyAllowed", "TypedJSXElement", "TypedJSXFragment", "UnaryExpression", "UpdateExpression"]);
18909
+ uncacheable = /* @__PURE__ */ new Set(["ActualAssignment", "ApplicationStart", "Arguments", "ArgumentsWithTrailingMemberExpressions", "ArrowFunction", "ArrowFunctionTail", "AssignmentExpression", "AssignmentExpressionTail", "BinaryOpExpression", "BinaryOpRHS", "BracedBlock", "BracedObjectLiteralContent", "BracedOrEmptyBlock", "CallExpression", "CallExpressionRest", "CoffeeCommentEnabled", "CommaDelimiter", "ConditionalExpression", "Declaration", "Debugger", "ElseClause", "Expression", "ExpressionStatement", "ExpressionWithIndentedApplicationSuppressed", "ExtendedExpression", "FatArrowBody", "FunctionDeclaration", "FunctionExpression", "HoistableDeclaration", "ImplicitArguments", "ImplicitInlineObjectPropertyDelimiter", "ImplicitNestedBlock", "IndentedApplicationAllowed", "IndentedFurther", "IndentedJSXChildExpression", "InlineObjectLiteral", "InsertIndent", "JSXChild", "JSXChildren", "JSXElement", "JSXFragment", "JSXImplicitFragment", "JSXMixedChildren", "JSXNested", "JSXNestedChildren", "JSXOptionalClosingElement", "JSXOptionalClosingFragment", "JSXTag", "LeftHandSideExpression", "MemberExpression", "MemberExpressionRest", "Nested", "NestedBindingElement", "NestedBindingElements", "NestedBlockExpression", "NestedBlockExpression", "NestedBlockStatement", "NestedBlockStatements", "NestedElement", "NestedElementList", "NestedImplicitObjectLiteral", "NestedImplicitPropertyDefinition", "NestedImplicitPropertyDefinitions", "NestedInterfaceProperty", "NestedJSXChildExpression", "NestedObject", "NestedPropertyDefinitions", "NonSuppressedTrailingMemberExpressions", "ObjectLiteral", "PopIndent", "PrimaryExpression", "PushIndent", "PushJSXOpeningElement", "PushJSXOpeningFragment", "Samedent", "ShortCircuitExpression", "SingleLineComment", "SingleLineStatements", "SnugNamedProperty", "Statement", "StatementListItem", "SuppressIndentedApplication", "SuppressTrailingMemberProperty", "ThinArrowFunction", "TrackIndented", "TrailingMemberExpressions", "TrailingMemberPropertyAllowed", "TypedJSXElement", "TypedJSXFragment", "UnaryExpression", "UpdateExpression"]);
18410
18910
  var compile = function(src, options = defaultOptions) {
18411
18911
  var ast, code, events, filename, sm, srcMapJSON;
18412
18912
  filename = options.filename || "unknown";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@danielx/civet",
3
- "version": "0.5.42",
3
+ "version": "0.5.44",
4
4
  "description": "CoffeeScript style syntax for TypeScript",
5
5
  "main": "dist/main.js",
6
6
  "module": "dist/main.mjs",