@lwc/template-compiler 6.3.3 → 6.4.0

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.
@@ -69,3 +69,4 @@ export declare function isRenderModeDirective(directive: RootDirective): directi
69
69
  export declare function isPreserveCommentsDirective(directive: RootDirective): directive is PreserveCommentsDirective;
70
70
  export declare function isProperty(node: BaseNode): node is Property;
71
71
  export declare function isScopedSlotFragment(node: BaseNode): node is ScopedSlotFragment;
72
+ export declare function isAttribute(node: BaseNode): node is Attribute;
@@ -129,8 +129,9 @@ export interface Element extends AbstractBaseElement {
129
129
  type: 'Element';
130
130
  }
131
131
  export interface StaticElement extends Element {
132
- children: (StaticElement | Text)[];
132
+ children: StaticChildNode[];
133
133
  }
134
+ export type StaticChildNode = StaticElement | Text;
134
135
  export interface ExternalComponent extends AbstractBaseElement {
135
136
  type: 'ExternalComponent';
136
137
  }
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": "6.3.3",
7
+ "version": "6.4.0",
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": "6.3.3",
46
- "@lwc/shared": "6.3.3",
45
+ "@lwc/errors": "6.4.0",
46
+ "@lwc/shared": "6.4.0",
47
47
  "acorn": "8.10.0",
48
48
  "astring": "~1.8.6",
49
49
  "estree-walker": "~2.0.2",