@marko/compiler 5.39.46 → 5.39.47

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.
@@ -149,7 +149,7 @@ const MarkoDefinitions = {
149
149
  },
150
150
 
151
151
  MarkoTagBody: {
152
- aliases: ["Marko", "BlockParent", "Scope"],
152
+ aliases: ["Marko", "BlockParent", "FunctionParent", "Scope"],
153
153
  builder: ["body", "params"],
154
154
  visitor: ["typeParameters", "params", "body"],
155
155
  fields: {
package/dist/types.d.ts CHANGED
@@ -1811,7 +1811,7 @@ export type ExpressionWrapper = ExpressionStatement | ParenthesizedExpression |
1811
1811
  export type For = ForInStatement | ForStatement | ForOfStatement;
1812
1812
  export type ForXStatement = ForInStatement | ForOfStatement;
1813
1813
  export type Function = FunctionDeclaration | FunctionExpression | ObjectMethod | ArrowFunctionExpression | ClassMethod | ClassPrivateMethod;
1814
- export type FunctionParent = FunctionDeclaration | FunctionExpression | ObjectMethod | ArrowFunctionExpression | ClassMethod | ClassPrivateMethod | StaticBlock | TSModuleBlock;
1814
+ export type FunctionParent = FunctionDeclaration | FunctionExpression | ObjectMethod | ArrowFunctionExpression | ClassMethod | ClassPrivateMethod | StaticBlock | TSModuleBlock | MarkoTagBody;
1815
1815
  export type Pureish = FunctionDeclaration | FunctionExpression | StringLiteral | NumericLiteral | NullLiteral | BooleanLiteral | RegExpLiteral | ArrowFunctionExpression | BigIntLiteral | DecimalLiteral;
1816
1816
  export type Declaration = FunctionDeclaration | VariableDeclaration | ClassDeclaration | ExportAllDeclaration | ExportDefaultDeclaration | ExportNamedDeclaration | ImportDeclaration | DeclareClass | DeclareFunction | DeclareInterface | DeclareModule | DeclareModuleExports | DeclareTypeAlias | DeclareOpaqueType | DeclareVariable | DeclareExportDeclaration | DeclareExportAllDeclaration | InterfaceDeclaration | OpaqueType | TypeAlias | EnumDeclaration | TSDeclareFunction | TSInterfaceDeclaration | TSTypeAliasDeclaration | TSEnumDeclaration | TSModuleDeclaration | TSImportEqualsDeclaration;
1817
1817
  export type FunctionParameter = Identifier | RestElement | AssignmentPattern | ArrayPattern | ObjectPattern | VoidPattern;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marko/compiler",
3
- "version": "5.39.46",
3
+ "version": "5.39.47",
4
4
  "description": "Marko template to JS compiler.",
5
5
  "keywords": [
6
6
  "babel",
@@ -87,7 +87,7 @@
87
87
  "source-map-support": "^0.5.21"
88
88
  },
89
89
  "devDependencies": {
90
- "marko": "^5.38.1"
90
+ "marko": "^5.38.9"
91
91
  },
92
92
  "engines": {
93
93
  "node": "18 || 20 || >=22"