@lwc/template-compiler 5.0.1 → 5.0.3

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.
@@ -31,7 +31,7 @@ export declare function taggedTemplateExpression(tag: Expression, quasi: t.Templ
31
31
  export declare function templateLiteral(quasis: t.TemplateElement[], expressions: t.Expression[]): t.TemplateLiteral;
32
32
  export declare function assignmentPattern(left: t.Pattern, right: t.Expression): t.AssignmentPattern;
33
33
  export declare function functionExpression(id: null | t.Identifier, params: t.FunctionExpression['params'], body: t.FunctionExpression['body'], config?: Partial<t.FunctionExpression>): t.FunctionExpression;
34
- export declare function functionDeclaration(id: null | t.Identifier, params: t.FunctionDeclaration['params'], body: t.FunctionDeclaration['body'], config?: Partial<t.FunctionDeclaration>): t.FunctionDeclaration;
34
+ export declare function functionDeclaration(id: t.Identifier, params: t.FunctionDeclaration['params'], body: t.FunctionDeclaration['body'], config?: Partial<t.FunctionDeclaration>): t.FunctionDeclaration;
35
35
  export declare function blockStatement(body: t.BlockStatement['body'], config?: Partial<t.BlockStatement>): t.BlockStatement;
36
36
  export declare function returnStatement(argument: t.ReturnStatement['argument'], config?: Partial<t.ReturnStatement>): t.ReturnStatement;
37
37
  export declare function variableDeclarator(id: t.VariableDeclarator['id'], init: t.VariableDeclarator['init'], config?: Partial<t.VariableDeclarator>): t.VariableDeclarator;
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "You can safely modify dependencies, devDependencies, keywords, etc., but other props will be overwritten."
5
5
  ],
6
6
  "name": "@lwc/template-compiler",
7
- "version": "5.0.1",
7
+ "version": "5.0.3",
8
8
  "description": "Template compiler package",
9
9
  "keywords": [
10
10
  "lwc"
@@ -42,8 +42,8 @@
42
42
  }
43
43
  },
44
44
  "dependencies": {
45
- "@lwc/errors": "5.0.1",
46
- "@lwc/shared": "5.0.1",
45
+ "@lwc/errors": "5.0.3",
46
+ "@lwc/shared": "5.0.3",
47
47
  "acorn": "~8.10.0",
48
48
  "astring": "~1.8.6",
49
49
  "estree-walker": "~2.0.2",
@@ -51,8 +51,8 @@
51
51
  },
52
52
  "devDependencies": {
53
53
  "@parse5/tools": "^0.3.0",
54
- "@types/estree": "1.0.3",
55
- "@types/he": "^1.2.2",
54
+ "@types/estree": "1.0.5",
55
+ "@types/he": "^1.2.3",
56
56
  "@types/source-map": "0.5.7",
57
57
  "parse5": "~7.1.2"
58
58
  }