@lwc/template-compiler 7.0.1 → 7.0.3-alpha.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.
- package/dist/index.cjs.js +2 -2
- package/dist/index.js +2 -2
- package/package.json +4 -4
package/dist/index.cjs.js
CHANGED
|
@@ -13611,7 +13611,7 @@ class CodeGen {
|
|
|
13611
13611
|
}
|
|
13612
13612
|
genClassExpression(value) {
|
|
13613
13613
|
let classExpression = this.bindExpression(value);
|
|
13614
|
-
const isClassNameObjectBindingEnabled = shared.isAPIFeatureEnabled(
|
|
13614
|
+
const isClassNameObjectBindingEnabled = shared.isAPIFeatureEnabled(11 /* APIFeature.TEMPLATE_CLASS_NAME_OBJECT_BINDING */, this.state.config.apiVersion);
|
|
13615
13615
|
if (isClassNameObjectBindingEnabled) {
|
|
13616
13616
|
classExpression = this.genNormalizeClassName(classExpression);
|
|
13617
13617
|
}
|
|
@@ -14680,5 +14680,5 @@ exports.default = compile;
|
|
|
14680
14680
|
exports.kebabcaseToCamelcase = kebabcaseToCamelcase;
|
|
14681
14681
|
exports.parse = parse;
|
|
14682
14682
|
exports.toPropertyName = toPropertyName;
|
|
14683
|
-
/** version: 7.0.
|
|
14683
|
+
/** version: 7.0.0 */
|
|
14684
14684
|
//# sourceMappingURL=index.cjs.js.map
|
package/dist/index.js
CHANGED
|
@@ -13587,7 +13587,7 @@ class CodeGen {
|
|
|
13587
13587
|
}
|
|
13588
13588
|
genClassExpression(value) {
|
|
13589
13589
|
let classExpression = this.bindExpression(value);
|
|
13590
|
-
const isClassNameObjectBindingEnabled = isAPIFeatureEnabled(
|
|
13590
|
+
const isClassNameObjectBindingEnabled = isAPIFeatureEnabled(11 /* APIFeature.TEMPLATE_CLASS_NAME_OBJECT_BINDING */, this.state.config.apiVersion);
|
|
13591
13591
|
if (isClassNameObjectBindingEnabled) {
|
|
13592
13592
|
classExpression = this.genNormalizeClassName(classExpression);
|
|
13593
13593
|
}
|
|
@@ -14652,5 +14652,5 @@ function compile(source, filename, config) {
|
|
|
14652
14652
|
}
|
|
14653
14653
|
|
|
14654
14654
|
export { ElementDirectiveName, LWCDirectiveDomMode, LWCDirectiveRenderMode, LwcTagName, RootDirectiveName, TemplateDirectiveName, compile, compile as default, kebabcaseToCamelcase, parse, toPropertyName };
|
|
14655
|
-
/** version: 7.0.
|
|
14655
|
+
/** version: 7.0.0 */
|
|
14656
14656
|
//# sourceMappingURL=index.js.map
|
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": "7.0.
|
|
7
|
+
"version": "7.0.3-alpha.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": "7.0.
|
|
46
|
-
"@lwc/shared": "7.0.
|
|
45
|
+
"@lwc/errors": "7.0.3-alpha.0",
|
|
46
|
+
"@lwc/shared": "7.0.3-alpha.0",
|
|
47
47
|
"acorn": "~8.12.0",
|
|
48
48
|
"astring": "~1.8.6",
|
|
49
49
|
"he": "~1.2.0"
|
|
@@ -55,4 +55,4 @@
|
|
|
55
55
|
"estree-walker": "~3.0.3",
|
|
56
56
|
"parse5": "~7.1.2"
|
|
57
57
|
}
|
|
58
|
-
}
|
|
58
|
+
}
|