@marko/compiler 5.39.63 → 5.39.65

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/babel-types.d.ts CHANGED
@@ -2,10 +2,3 @@ import { Scope } from "./dist/traverse";
2
2
  export * from "./dist/traverse";
3
3
  export * from "./dist/types";
4
4
  export { Scope };
5
- export const MARKO_TYPES: string[];
6
-
7
- declare module "./dist/types" {
8
- interface Program {
9
- params: Identifier[];
10
- }
11
- }
package/config.d.ts CHANGED
@@ -1,5 +1,12 @@
1
+ type EntryKind = "page" | "load";
1
2
  declare const Config: {
2
- output?: "html" | "dom" | "hydrate" | "migrate" | "source";
3
+ /** `"hydrate"` is deprecated, use `output: "dom", entry: "page"` instead. */
4
+ output?: "html" | "dom" | "migrate" | "source" | "hydrate";
5
+ entry?: EntryKind;
6
+ linkAssets?: {
7
+ runtime: string;
8
+ onAsset(kind: EntryKind, file: string, id: string): void;
9
+ };
3
10
  errorRecovery?: boolean;
4
11
  applyFixes?: Map<number, unknown>;
5
12
  stripTypes?: boolean;
@@ -629,6 +629,16 @@ function parseMarko(file) {
629
629
  }
630
630
 
631
631
  if (isControlFlow) {
632
+ if (!parentTag) {
633
+ onNext();
634
+ throw file.buildCodeFrameError(
635
+ attributeTags.find(
636
+ (child) => _babel.types.isMarkoTag(child) && isAttrTag(child)
637
+ )?.name || node.name,
638
+ "@tags must be nested within another element."
639
+ );
640
+ }
641
+
632
642
  currentTag.remove();
633
643
  parentTag.pushContainer("attributeTags", node);
634
644
  }
package/dist/babel.js CHANGED
@@ -7,7 +7,7 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
7
7
  var __getOwnPropNames = Object.getOwnPropertyNames;
8
8
  var __getProtoOf = Object.getPrototypeOf;
9
9
  var __hasOwnProp = Object.prototype.hasOwnProperty;
10
- var __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
10
+ var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
11
11
  var __copyProps = (to, from, except, desc) => {
12
12
  if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
13
13
  key = keys[i];
@@ -15239,11 +15239,10 @@ var require_lib$22 = /* @__PURE__ */ __commonJSMin(((exports) => {
15239
15239
  for (const reasonCode of Object.keys(argument)) {
15240
15240
  const template = argument[reasonCode];
15241
15241
  const _ref = typeof template === "string" ? { message: () => template } : typeof template === "function" ? { message: template } : template, { message } = _ref, rest = _objectWithoutPropertiesLoose(_ref, _excluded);
15242
- const toMessage = typeof message === "string" ? () => message : message;
15243
15242
  ParseErrorConstructors[reasonCode] = toParseErrorConstructor(Object.assign({
15244
15243
  code: "BABEL_PARSER_SYNTAX_ERROR",
15245
15244
  reasonCode,
15246
- toMessage
15245
+ toMessage: typeof message === "string" ? () => message : message
15247
15246
  }, syntaxPlugin ? { syntaxPlugin } : {}, rest));
15248
15247
  }
15249
15248
  return ParseErrorConstructors;
@@ -17463,7 +17462,7 @@ var require_lib$22 = /* @__PURE__ */ __commonJSMin(((exports) => {
17463
17462
  }
17464
17463
  flowParseDeclareVariable(node) {
17465
17464
  this.next();
17466
- node.id = this.flowParseTypeAnnotatableIdentifier(true);
17465
+ node.id = this.flowParseTypeAnnotatableIdentifier();
17467
17466
  this.scope.declareName(node.id.name, 5, node.id.loc.start);
17468
17467
  this.semicolon();
17469
17468
  return this.finishNode(node, "DeclareVariable");
@@ -17607,9 +17606,14 @@ var require_lib$22 = /* @__PURE__ */ __commonJSMin(((exports) => {
17607
17606
  if (!reservedTypes.has(word)) return;
17608
17607
  this.raise(declaration ? FlowErrors.AssignReservedType : FlowErrors.UnexpectedReservedType, startLoc, { reservedType: word });
17609
17608
  }
17610
- flowParseRestrictedIdentifier(liberal, declaration) {
17609
+ flowParseRestrictedIdentifierName(liberal, declaration) {
17611
17610
  this.checkReservedType(this.state.value, this.state.startLoc, declaration);
17612
- return this.parseIdentifier(liberal);
17611
+ return this.parseIdentifierName(liberal);
17612
+ }
17613
+ flowParseRestrictedIdentifier(liberal, declaration) {
17614
+ const node = this.startNode();
17615
+ const name = this.flowParseRestrictedIdentifierName(liberal, declaration);
17616
+ return this.createIdentifier(node, name);
17613
17617
  }
17614
17618
  flowParseTypeAlias(node) {
17615
17619
  node.id = this.flowParseRestrictedIdentifier(false, true);
@@ -17633,14 +17637,21 @@ var require_lib$22 = /* @__PURE__ */ __commonJSMin(((exports) => {
17633
17637
  this.semicolon();
17634
17638
  return this.finishNode(node, "OpaqueType");
17635
17639
  }
17640
+ flowParseTypeParameterBound() {
17641
+ if (this.match(14) || this.isContextual(81)) {
17642
+ const node = this.startNode();
17643
+ this.next();
17644
+ node.typeAnnotation = this.flowParseType();
17645
+ return this.finishNode(node, "TypeAnnotation");
17646
+ }
17647
+ }
17636
17648
  flowParseTypeParameter(requireDefault = false) {
17637
17649
  const nodeStartLoc = this.state.startLoc;
17638
17650
  const node = this.startNode();
17639
17651
  const variance = this.flowParseVariance();
17640
- const ident = this.flowParseTypeAnnotatableIdentifier();
17641
- node.name = ident.name;
17652
+ node.name = this.flowParseRestrictedIdentifierName();
17642
17653
  node.variance = variance;
17643
- node.bound = ident.typeAnnotation;
17654
+ node.bound = this.flowParseTypeParameterBound();
17644
17655
  if (this.match(29)) {
17645
17656
  this.eat(29);
17646
17657
  node.default = this.flowParseType();
@@ -18198,13 +18209,11 @@ var require_lib$22 = /* @__PURE__ */ __commonJSMin(((exports) => {
18198
18209
  node.typeAnnotation = this.flowParseTypeInitialiser();
18199
18210
  return this.finishNode(node, "TypeAnnotation");
18200
18211
  }
18201
- flowParseTypeAnnotatableIdentifier(allowPrimitiveOverride) {
18202
- const ident = allowPrimitiveOverride ? this.parseIdentifier() : this.flowParseRestrictedIdentifier();
18203
- if (this.match(14)) {
18204
- ident.typeAnnotation = this.flowParseTypeAnnotation();
18205
- this.resetEndLocation(ident);
18206
- }
18207
- return ident;
18212
+ flowParseTypeAnnotatableIdentifier() {
18213
+ const node = this.startNode();
18214
+ const name = this.parseIdentifierName();
18215
+ if (this.match(14)) node.typeAnnotation = this.flowParseTypeAnnotation();
18216
+ return this.createIdentifier(node, name);
18208
18217
  }
18209
18218
  typeCastToParameter(node) {
18210
18219
  node.expression.typeAnnotation = node.typeAnnotation;
@@ -20000,6 +20009,7 @@ var require_lib$22 = /* @__PURE__ */ __commonJSMin(((exports) => {
20000
20009
  adjustInnerComments(node, node.properties, commentWS);
20001
20010
  break;
20002
20011
  case "CallExpression":
20012
+ case "NewExpression":
20003
20013
  case "OptionalCallExpression":
20004
20014
  adjustInnerComments(node, node.arguments, commentWS);
20005
20015
  break;
@@ -20012,6 +20022,7 @@ var require_lib$22 = /* @__PURE__ */ __commonJSMin(((exports) => {
20012
20022
  case "ObjectMethod":
20013
20023
  case "ClassMethod":
20014
20024
  case "ClassPrivateMethod":
20025
+ case "TSTypeParameterDeclaration":
20015
20026
  adjustInnerComments(node, node.params, commentWS);
20016
20027
  break;
20017
20028
  case "ArrayExpression":
@@ -20028,6 +20039,9 @@ var require_lib$22 = /* @__PURE__ */ __commonJSMin(((exports) => {
20028
20039
  case "TSEnumBody":
20029
20040
  adjustInnerComments(node, node.members, commentWS);
20030
20041
  break;
20042
+ case "TSInterfaceBody":
20043
+ adjustInnerComments(node, node.body, commentWS);
20044
+ break;
20031
20045
  default:
20032
20046
  if (node.type === "RecordExpression") {
20033
20047
  adjustInnerComments(node, node.properties, commentWS);
@@ -21584,7 +21598,8 @@ var require_lib$22 = /* @__PURE__ */ __commonJSMin(((exports) => {
21584
21598
  const oldInModule = this.inModule;
21585
21599
  this.inModule = inModule;
21586
21600
  const oldScope = this.scope;
21587
- this.scope = new (this.getScopeHandler())(this, inModule);
21601
+ const ScopeHandler = this.getScopeHandler();
21602
+ this.scope = new ScopeHandler(this, inModule);
21588
21603
  const oldProdParam = this.prodParam;
21589
21604
  this.prodParam = new ProductionParameterHandler();
21590
21605
  const oldClassScope = this.classScope;
@@ -25031,7 +25046,7 @@ var require_lib$22 = /* @__PURE__ */ __commonJSMin(((exports) => {
25031
25046
  this.resetPreviousNodeTrailingComments(id);
25032
25047
  this.next();
25033
25048
  return this.parseAsyncFunctionExpression(this.startNodeAtNode(id));
25034
- } else if (tokenIsIdentifier(type)) if (this.lookaheadCharCode() === 61) return this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(id));
25049
+ } else if (tokenIsIdentifier(type)) if (canBeArrow && this.lookaheadCharCode() === 61) return this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(id));
25035
25050
  else return id;
25036
25051
  else if (type === 90) {
25037
25052
  this.resetPreviousNodeTrailingComments(id);
@@ -28804,7 +28819,7 @@ var require_helpers_generated = /* @__PURE__ */ __commonJSMin(((exports) => {
28804
28819
  dependencies: {},
28805
28820
  internal: false
28806
28821
  }),
28807
- wrapAsyncGenerator: helper("7.0.0-beta.0", "function _wrapAsyncGenerator(e){return function(){return new AsyncGenerator(e.apply(this,arguments))}}function AsyncGenerator(e){var r,t;function resume(r,t){try{var n=e[r](t),o=n.value,u=o instanceof OverloadYield;Promise.resolve(u?o.v:o).then(function(t){if(u){var i=\"return\"===r?\"return\":\"next\";if(!o.k||t.done)return resume(i,t);t=e[i](t).value}settle(n.done?\"return\":\"normal\",t)},function(e){resume(\"throw\",e)})}catch(e){settle(\"throw\",e)}}function settle(e,n){switch(e){case\"return\":r.resolve({value:n,done:!0});break;case\"throw\":r.reject(n);break;default:r.resolve({value:n,done:!1})}(r=r.next)?resume(r.key,r.arg):t=null}this._invoke=function(e,n){return new Promise(function(o,u){var i={key:e,arg:n,resolve:o,reject:u,next:null};t?t=t.next=i:(r=t=i,resume(e,n))})},\"function\"!=typeof e.return&&(this.return=void 0)}AsyncGenerator.prototype[\"function\"==typeof Symbol&&Symbol.asyncIterator||\"@@asyncIterator\"]=function(){return this},AsyncGenerator.prototype.next=function(e){return this._invoke(\"next\",e)},AsyncGenerator.prototype.throw=function(e){return this._invoke(\"throw\",e)},AsyncGenerator.prototype.return=function(e){return this._invoke(\"return\",e)};", {
28822
+ wrapAsyncGenerator: helper("7.0.0-beta.0", "function _wrapAsyncGenerator(e){return function(){return new AsyncGenerator(e.apply(this,arguments))}}function AsyncGenerator(e){var t,n;function resume(t,n){try{var r=e[t](n),o=r.value,u=o instanceof OverloadYield;Promise.resolve(u?o.v:o).then(function(n){if(u){var i=\"return\"===t&&o.k?t:\"next\";if(!o.k||n.done)return resume(i,n);n=e[i](n).value}settle(!!r.done,n)},function(e){resume(\"throw\",e)})}catch(e){settle(2,e)}}function settle(e,r){2===e?t.reject(r):t.resolve({value:r,done:e}),(t=t.next)?resume(t.key,t.arg):n=null}this._invoke=function(e,r){return new Promise(function(o,u){var i={key:e,arg:r,resolve:o,reject:u,next:null};n?n=n.next=i:(t=n=i,resume(e,r))})},\"function\"!=typeof e.return&&(this.return=void 0)}AsyncGenerator.prototype[\"function\"==typeof Symbol&&Symbol.asyncIterator||\"@@asyncIterator\"]=function(){return this},AsyncGenerator.prototype.next=function(e){return this._invoke(\"next\",e)},AsyncGenerator.prototype.throw=function(e){return this._invoke(\"throw\",e)},AsyncGenerator.prototype.return=function(e){return this._invoke(\"return\",e)};", {
28808
28823
  globals: ["Promise", "Symbol"],
28809
28824
  locals: {
28810
28825
  _wrapAsyncGenerator: ["body.0.id"],
@@ -32941,8 +32956,6 @@ var require_gen_mapping_umd = /* @__PURE__ */ __commonJSMin(((exports, module) =
32941
32956
  if (skipable && skipSourceless(line, index)) return;
32942
32957
  return insert(line, index, [genColumn]);
32943
32958
  }
32944
- assert(sourceLine);
32945
- assert(sourceColumn);
32946
32959
  const sourcesIndex = put(sources, source);
32947
32960
  const namesIndex = name ? put(names, name) : NO_NAME;
32948
32961
  if (sourcesIndex === sourcesContent.length) sourcesContent[sourcesIndex] = content != null ? content : null;
@@ -32960,7 +32973,6 @@ var require_gen_mapping_umd = /* @__PURE__ */ __commonJSMin(((exports, module) =
32960
32973
  sourceColumn
32961
32974
  ]);
32962
32975
  }
32963
- function assert(_val) {}
32964
32976
  function getIndex(arr, index) {
32965
32977
  for (let i = arr.length; i <= index; i++) arr[i] = [];
32966
32978
  return arr[index];
@@ -32996,7 +33008,6 @@ var require_gen_mapping_umd = /* @__PURE__ */ __commonJSMin(((exports, module) =
32996
33008
  function addMappingInternal(skipable, map, mapping) {
32997
33009
  const { generated, source, original, name, content } = mapping;
32998
33010
  if (!source) return addSegmentInternal(skipable, map, generated.line - 1, generated.column, null, null, null, null, null);
32999
- assert(original);
33000
33011
  return addSegmentInternal(skipable, map, generated.line - 1, generated.column, source, original.line - 1, original.column, name, content);
33001
33012
  }
33002
33013
  }));
@@ -38762,10 +38773,7 @@ var require_modification = /* @__PURE__ */ __commonJSMin(((exports) => {
38762
38773
  else if (typeof node !== "object") msg = "contains a non-object node";
38763
38774
  else if (!node.type) msg = "without a type";
38764
38775
  else if (node instanceof _index.default) msg = "has a NodePath when it expected a raw object";
38765
- if (msg) {
38766
- const type = Array.isArray(node) ? "array" : typeof node;
38767
- throw new Error(`Node list ${msg} with the index of ${i} and type of ${type}`);
38768
- }
38776
+ if (msg) throw new Error(`Node list ${msg} with the index of ${i} and type of ${Array.isArray(node) ? "array" : typeof node}`);
38769
38777
  }
38770
38778
  return nodes;
38771
38779
  }
@@ -41783,6 +41791,7 @@ var require_semver = /* @__PURE__ */ __commonJSMin(((exports, module) => {
41783
41791
  break;
41784
41792
  case "<":
41785
41793
  case "<=": break;
41794
+ /* istanbul ignore next */
41786
41795
  default: throw new Error("Unexpected operation: " + comparator.operator);
41787
41796
  }
41788
41797
  });
@@ -44114,8 +44123,7 @@ var require_rewrite_stack_trace = /* @__PURE__ */ __commonJSMin(((exports) => {
44114
44123
  function setupPrepareStackTrace() {
44115
44124
  setupPrepareStackTrace = () => {};
44116
44125
  const { prepareStackTrace = defaultPrepareStackTrace } = Error;
44117
- const MIN_STACK_TRACE_LIMIT = 50;
44118
- Error.stackTraceLimit && (Error.stackTraceLimit = Math.max(Error.stackTraceLimit, MIN_STACK_TRACE_LIMIT));
44126
+ Error.stackTraceLimit && (Error.stackTraceLimit = Math.max(Error.stackTraceLimit, 50));
44119
44127
  Error.prepareStackTrace = function stackTraceRewriter(err, trace) {
44120
44128
  let newTrace = [];
44121
44129
  let status = expectedErrors.has(err) ? "hiding" : "unknown";
@@ -46046,11 +46054,11 @@ var require_debug = /* @__PURE__ */ __commonJSMin(((exports) => {
46046
46054
  var require_plugins$3 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
46047
46055
  module.exports = {
46048
46056
  "transform-explicit-resource-management": {
46049
- "chrome": "134",
46050
- "edge": "134",
46057
+ "chrome": "141",
46058
+ "edge": "141",
46051
46059
  "firefox": "141",
46052
- "node": "24",
46053
- "electron": "35.0"
46060
+ "node": "25",
46061
+ "electron": "39.0"
46054
46062
  },
46055
46063
  "transform-duplicate-named-capturing-groups-regex": {
46056
46064
  "chrome": "126",
@@ -46060,6 +46068,7 @@ var require_plugins$3 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
46060
46068
  "safari": "17.4",
46061
46069
  "node": "23",
46062
46070
  "ios": "17.4",
46071
+ "rhino": "1.9",
46063
46072
  "electron": "31.0"
46064
46073
  },
46065
46074
  "transform-regexp-modifiers": {
@@ -46478,6 +46487,7 @@ var require_plugins$3 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
46478
46487
  "deno": "1",
46479
46488
  "ios": "11.3",
46480
46489
  "samsung": "9",
46490
+ "rhino": "1.9",
46481
46491
  "opera_mobile": "47",
46482
46492
  "electron": "3.0"
46483
46493
  },
@@ -46491,6 +46501,7 @@ var require_plugins$3 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
46491
46501
  "deno": "1",
46492
46502
  "ios": "11.3",
46493
46503
  "samsung": "9",
46504
+ "rhino": "1.9",
46494
46505
  "opera_mobile": "47",
46495
46506
  "electron": "3.0"
46496
46507
  },
@@ -46504,6 +46515,7 @@ var require_plugins$3 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
46504
46515
  "deno": "1",
46505
46516
  "ios": "11.3",
46506
46517
  "samsung": "9",
46518
+ "rhino": "1.9",
46507
46519
  "opera_mobile": "47",
46508
46520
  "electron": "3.0"
46509
46521
  },
@@ -46544,6 +46556,7 @@ var require_plugins$3 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
46544
46556
  "deno": "1",
46545
46557
  "ios": "13",
46546
46558
  "samsung": "3.4",
46559
+ "rhino": "1.9",
46547
46560
  "opera_mobile": "28",
46548
46561
  "electron": "0.21"
46549
46562
  },
@@ -46741,10 +46754,10 @@ var require_plugins$3 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
46741
46754
  "opera": "38",
46742
46755
  "edge": "15",
46743
46756
  "firefox": "53",
46744
- "safari": "10",
46757
+ "safari": "14.1",
46745
46758
  "node": "6.5",
46746
46759
  "deno": "1",
46747
- "ios": "10",
46760
+ "ios": "14.5",
46748
46761
  "samsung": "5",
46749
46762
  "opera_mobile": "41",
46750
46763
  "electron": "1.2"
@@ -52277,6 +52290,14 @@ var require_decorators = /* @__PURE__ */ __commonJSMin(((exports) => {
52277
52290
  classLocals.push(classIdLocal, classInitLocal);
52278
52291
  const statics = [];
52279
52292
  path.get("body.body").forEach((element) => {
52293
+ if (element.isStaticBlock() || !element.isClassMethod() && element.node.static) new _helperReplaceSupers.default({
52294
+ constantSuper,
52295
+ methodPath: element,
52296
+ objectRef: classIdLocal,
52297
+ superRef: path.node.superClass,
52298
+ file: state.file,
52299
+ refToPreserve: classIdLocal
52300
+ }).replace();
52280
52301
  if (element.isStaticBlock()) {
52281
52302
  if (hasInstancePrivateAccess(element, instancePrivateNames)) {
52282
52303
  const staticBlockClosureId = memoiseExpression(staticBlockToFunctionClosure(element.node), "staticBlock", staticClosures);
@@ -52300,14 +52321,6 @@ var require_decorators = /* @__PURE__ */ __commonJSMin(((exports) => {
52300
52321
  element.remove();
52301
52322
  } else if (element.isClassPrivateMethod({ static: true })) {
52302
52323
  if (hasInstancePrivateAccess(element, instancePrivateNames)) {
52303
- new _helperReplaceSupers.default({
52304
- constantSuper,
52305
- methodPath: element,
52306
- objectRef: classIdLocal,
52307
- superRef: path.node.superClass,
52308
- file: state.file,
52309
- refToPreserve: classIdLocal
52310
- }).replace();
52311
52324
  const privateMethodDelegateId = memoiseExpression(createFunctionExpressionFromPrivateMethod(element.node), element.get("key.id").node.name, staticClosures);
52312
52325
  if (ignoreFunctionLength) {
52313
52326
  element.node.params = [_core.types.restElement(_core.types.identifier("arg"))];
@@ -52876,14 +52889,14 @@ var require_lib$5 = /* @__PURE__ */ __commonJSMin(((exports) => {
52876
52889
  pre(file) {
52877
52890
  (0, _features.enableFeature)(file, feature, loose);
52878
52891
  if (typeof file.get(versionKey) === "number") {
52879
- file.set(versionKey, "7.28.6");
52892
+ file.set(versionKey, "7.29.3");
52880
52893
  return;
52881
52894
  }
52882
- if (!file.get(versionKey) || _semver.lt(file.get(versionKey), "7.28.6")) file.set(versionKey, "7.28.6");
52895
+ if (!file.get(versionKey) || _semver.lt(file.get(versionKey), "7.29.3")) file.set(versionKey, "7.29.3");
52883
52896
  },
52884
52897
  visitor: {
52885
52898
  Class(path, { file }) {
52886
- if (file.get(versionKey) !== "7.28.6") return;
52899
+ if (file.get(versionKey) !== "7.29.3") return;
52887
52900
  if (!(0, _features.shouldTransform)(path, file)) return;
52888
52901
  const pathIsClassDeclaration = path.isClassDeclaration();
52889
52902
  if (pathIsClassDeclaration) (0, _typescript.assertFieldTransformed)(path);
@@ -52959,7 +52972,7 @@ var require_lib$5 = /* @__PURE__ */ __commonJSMin(((exports) => {
52959
52972
  if (classBindingNode != null && pathIsClassDeclaration) wrappedPath.insertAfter(classBindingNode);
52960
52973
  },
52961
52974
  ExportDefaultDeclaration(path, { file }) {
52962
- if (file.get(versionKey) !== "7.28.6") return;
52975
+ if (file.get(versionKey) !== "7.29.3") return;
52963
52976
  const decl = path.get("declaration");
52964
52977
  if (decl.isClassDeclaration() && (0, _decorators.hasDecorators)(decl.node)) if (decl.node.id) {
52965
52978
  path.splitExportDeclaration ??= require_lib$18().NodePath.prototype.splitExportDeclaration;