@lwc/template-compiler
Advanced tools
Comparing version 7.2.0 to 7.3.0-alpha.0
@@ -39,2 +39,7 @@ import { APIVersion } from '@lwc/shared'; | ||
readonly state: State; | ||
/** | ||
* True if this is a synthetic shadow template - otherwise, we may apply certain optimizations | ||
* that only exist for native shadow and light DOM. | ||
*/ | ||
readonly isSyntheticShadow: boolean; | ||
currentId: number; | ||
@@ -70,4 +75,4 @@ currentKey: number; | ||
genFlatten(children: t.Expression[]): import("estree").CallExpression; | ||
genScopedId(id: string | t.Expression): t.CallExpression; | ||
genScopedFragId(id: string | t.Expression): t.CallExpression; | ||
genScopedId(id: string | t.Expression): t.Expression | t.Literal; | ||
genScopedFragId(id: string | t.Expression): t.Expression | t.Literal; | ||
genClassExpression(value: Expression): import("estree").Expression; | ||
@@ -74,0 +79,0 @@ genNormalizeClassName(className: t.Expression): t.CallExpression; |
@@ -67,2 +67,4 @@ import { InstrumentationObject } from '@lwc/errors'; | ||
apiVersion?: number; | ||
/** Set to true if synthetic shadow DOM support is not needed, which can result in smaller/faster output. */ | ||
disableSyntheticShadowSupport?: boolean; | ||
} | ||
@@ -69,0 +71,0 @@ type OptionalConfigNames = 'customRendererConfig' | 'instrumentation' | 'namespace' | 'name'; |
@@ -7,3 +7,3 @@ { | ||
"name": "@lwc/template-compiler", | ||
"version": "7.2.0", | ||
"version": "7.3.0-alpha.0", | ||
"description": "Template compiler package", | ||
@@ -46,4 +46,4 @@ "keywords": [ | ||
"dependencies": { | ||
"@lwc/errors": "7.2.0", | ||
"@lwc/shared": "7.2.0", | ||
"@lwc/errors": "7.3.0-alpha.0", | ||
"@lwc/shared": "7.3.0-alpha.0", | ||
"acorn": "~8.12.1", | ||
@@ -60,2 +60,2 @@ "astring": "~1.8.6", | ||
} | ||
} | ||
} |
@@ -65,2 +65,3 @@ # @lwc/template-compiler | ||
- `instrumentation` (InstrumentationObject, optional) - instrumentation object to gather metrics and non-error logs for internal use. See the `@lwc/errors` package for details on the interface. | ||
- `disableSyntheticShadowSupport` (type: `boolean`, default: `false`) - Set to true if synthetic shadow DOM support is not needed, which can result in smaller/faster output. | ||
@@ -67,0 +68,0 @@ - Example 1: Config to match `<use>` elements under the `svg` namespace and have `href` attribute set. |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
2958351
30731
109
1
+ Added@lwc/errors@7.3.0-alpha.0(transitive)
+ Added@lwc/shared@7.3.0-alpha.0(transitive)
- Removed@lwc/errors@7.2.0(transitive)
- Removed@lwc/shared@7.2.0(transitive)
Updated@lwc/errors@7.3.0-alpha.0
Updated@lwc/shared@7.3.0-alpha.0