@lwc/template-compiler 8.10.0 → 8.11.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 +13 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +14 -2
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { invariant, TemplateErrors, generateCompilerError, CompilerError, normalizeToDiagnostic, generateCompilerDiagnostic, ParserDiagnostics, DiagnosticLevel, CompilerMetrics } from '@lwc/errors';
|
|
5
5
|
import path from 'path';
|
|
6
|
-
import { StringCharAt, hasOwnProperty, getAPIVersionFromNumber, HTML_NAMESPACE,
|
|
6
|
+
import { StringCharAt, hasOwnProperty, getAPIVersionFromNumber, HTML_NAMESPACE, fromEntries, ArrayFrom, SPECIAL_PROPERTY_ATTRIBUTE_MAPPING, AriaAttrNameToPropNameMap, isAPIFeatureEnabled, ID_REFERENCING_ATTRIBUTES_SET, SVG_NAMESPACE, isBooleanAttribute, isGlobalHtmlAttribute, isAriaAttribute, isUndefined, isVoidElement, MATHML_NAMESPACE, isNull, IMPORTANT_FLAG, isArray, ArrayEvery, ArraySome, htmlEscape, normalizeStyleAttributeValue, LWC_VERSION_COMMENT, parseStyleText } from '@lwc/shared';
|
|
7
7
|
import * as he from 'he';
|
|
8
8
|
import { parseExpressionAt, isIdentifierStart, isIdentifierChar } from 'acorn';
|
|
9
9
|
import * as astring from 'astring';
|
|
@@ -9601,6 +9601,18 @@ const KNOWN_HTML_AND_SVG_ELEMENTS = new Set([...HTML_ELEMENTS, ...SVG_ELEMENTS])
|
|
|
9601
9601
|
const HTML_TAG = {
|
|
9602
9602
|
A: 'a',
|
|
9603
9603
|
AREA: 'area',
|
|
9604
|
+
BODY: 'body',
|
|
9605
|
+
CAPTION: 'caption',
|
|
9606
|
+
COL: 'col',
|
|
9607
|
+
COLGROUP: 'colgroup',
|
|
9608
|
+
HEAD: 'head',
|
|
9609
|
+
HTML: 'html',
|
|
9610
|
+
TBODY: 'tbody',
|
|
9611
|
+
TD: 'td',
|
|
9612
|
+
TFOOT: 'tfoot',
|
|
9613
|
+
TH: 'th',
|
|
9614
|
+
THEAD: 'thead',
|
|
9615
|
+
TR: 'tr',
|
|
9604
9616
|
USE: 'use',
|
|
9605
9617
|
};
|
|
9606
9618
|
const ATTR_NAME = {
|
|
@@ -14670,5 +14682,5 @@ function compile(source, filename, config) {
|
|
|
14670
14682
|
}
|
|
14671
14683
|
|
|
14672
14684
|
export { ElementDirectiveName, LWCDirectiveDomMode, LWCDirectiveRenderMode, LwcTagName, RootDirectiveName, TemplateDirectiveName, compile, compile as default, generateScopeTokens, kebabcaseToCamelcase, parse, toPropertyName };
|
|
14673
|
-
/** version: 8.
|
|
14685
|
+
/** version: 8.11.0 */
|
|
14674
14686
|
//# sourceMappingURL=index.js.map
|