@lwc/template-compiler 8.7.0 → 8.9.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 -14
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +3 -15
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.cjs.js
CHANGED
|
@@ -9625,18 +9625,6 @@ const KNOWN_HTML_AND_SVG_ELEMENTS = new Set([...HTML_ELEMENTS, ...SVG_ELEMENTS])
|
|
|
9625
9625
|
const HTML_TAG = {
|
|
9626
9626
|
A: 'a',
|
|
9627
9627
|
AREA: 'area',
|
|
9628
|
-
BODY: 'body',
|
|
9629
|
-
CAPTION: 'caption',
|
|
9630
|
-
COL: 'col',
|
|
9631
|
-
COLGROUP: 'colgroup',
|
|
9632
|
-
HEAD: 'head',
|
|
9633
|
-
HTML: 'html',
|
|
9634
|
-
TBODY: 'tbody',
|
|
9635
|
-
TD: 'td',
|
|
9636
|
-
TFOOT: 'tfoot',
|
|
9637
|
-
TH: 'th',
|
|
9638
|
-
THEAD: 'thead',
|
|
9639
|
-
TR: 'tr',
|
|
9640
9628
|
USE: 'use',
|
|
9641
9629
|
};
|
|
9642
9630
|
const ATTR_NAME = {
|
|
@@ -13094,7 +13082,7 @@ function serializeAttrs(element, codeGen) {
|
|
|
13094
13082
|
v = String(v.toLowerCase() !== 'false');
|
|
13095
13083
|
}
|
|
13096
13084
|
if (name === 'style' && !hasExpression) {
|
|
13097
|
-
v = shared.
|
|
13085
|
+
v = shared.normalizeStyleAttributeValue(v);
|
|
13098
13086
|
if (v === '') {
|
|
13099
13087
|
// Do not serialize empty style attribute (consistent with non-static optimized)
|
|
13100
13088
|
return;
|
|
@@ -14705,5 +14693,5 @@ exports.generateScopeTokens = generateScopeTokens;
|
|
|
14705
14693
|
exports.kebabcaseToCamelcase = kebabcaseToCamelcase;
|
|
14706
14694
|
exports.parse = parse;
|
|
14707
14695
|
exports.toPropertyName = toPropertyName;
|
|
14708
|
-
/** version: 8.
|
|
14696
|
+
/** version: 8.9.0 */
|
|
14709
14697
|
//# sourceMappingURL=index.cjs.js.map
|