@lwc/template-compiler 5.1.1-alpha.0 → 5.2.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 +1 -11
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +1 -11
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/dist/index.cjs.js
CHANGED
|
@@ -13671,16 +13671,6 @@ function transform(codeGen) {
|
|
|
13671
13671
|
data.push(property$1(identifier('styleDecls'), styleAST));
|
|
13672
13672
|
}
|
|
13673
13673
|
}
|
|
13674
|
-
else if (name === 'slot') {
|
|
13675
|
-
let slotValue;
|
|
13676
|
-
if (isExpression$1(value)) {
|
|
13677
|
-
slotValue = codeGen.bindExpression(value);
|
|
13678
|
-
}
|
|
13679
|
-
else {
|
|
13680
|
-
slotValue = isStringLiteral(value) ? literal$1(value.value) : literal$1('');
|
|
13681
|
-
}
|
|
13682
|
-
data.push(property$1(identifier('slotAssignment'), slotValue));
|
|
13683
|
-
}
|
|
13684
13674
|
else {
|
|
13685
13675
|
rest[name] = computeAttrValue(attr, element, !addSanitizationHook);
|
|
13686
13676
|
}
|
|
@@ -13852,5 +13842,5 @@ function compile(source, config) {
|
|
|
13852
13842
|
exports.compile = compile;
|
|
13853
13843
|
exports.default = compile;
|
|
13854
13844
|
exports.parse = parse;
|
|
13855
|
-
/** version: 5.
|
|
13845
|
+
/** version: 5.2.0 */
|
|
13856
13846
|
//# sourceMappingURL=index.cjs.js.map
|