@lwc/template-compiler
Advanced tools
Comparing version 6.4.1 to 6.4.2
import { ChildNode, Root, StaticElement, StaticChildNode, Text } from '../shared/types'; | ||
import State from '../state'; | ||
export declare function getStaticNodes(root: Root, state: State): Set<ChildNode>; | ||
export declare function transformStaticChildren(elm: StaticElement): (StaticChildNode | Text[])[]; | ||
export declare const isDynamicText: (nodes: StaticChildNode | StaticChildNode[]) => nodes is Text[]; | ||
export declare function transformStaticChildren(elm: StaticElement, preserveComments: boolean): (StaticChildNode | Text[])[]; | ||
export declare const isContiguousText: (staticChild: StaticChildNode | Text[]) => staticChild is Text[]; | ||
export declare const isTextExpression: (node: ChildNode) => boolean; | ||
export declare const hasDynamicText: (nodes: Text[]) => boolean; |
@@ -134,3 +134,3 @@ import { CompilerDiagnostic } from '@lwc/errors'; | ||
} | ||
export type StaticChildNode = StaticElement | Text; | ||
export type StaticChildNode = StaticElement | Text | Comment; | ||
export interface ExternalComponent extends AbstractBaseElement { | ||
@@ -137,0 +137,0 @@ type: 'ExternalComponent'; |
@@ -7,3 +7,3 @@ { | ||
"name": "@lwc/template-compiler", | ||
"version": "6.4.1", | ||
"version": "6.4.2", | ||
"description": "Template compiler package", | ||
@@ -46,4 +46,4 @@ "keywords": [ | ||
"dependencies": { | ||
"@lwc/errors": "6.4.1", | ||
"@lwc/shared": "6.4.1", | ||
"@lwc/errors": "6.4.2", | ||
"@lwc/shared": "6.4.2", | ||
"acorn": "8.10.0", | ||
@@ -50,0 +50,0 @@ "astring": "~1.8.6", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2873988
29833
+ Added@lwc/errors@6.4.2(transitive)
+ Added@lwc/shared@6.4.2(transitive)
- Removed@lwc/errors@6.4.1(transitive)
- Removed@lwc/shared@6.4.1(transitive)
Updated@lwc/errors@6.4.2
Updated@lwc/shared@6.4.2