@lwc/template-compiler 8.12.7 → 8.13.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 -13
- package/dist/index.js +2 -14
- 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 = {
|
|
@@ -14714,5 +14702,5 @@ exports.generateScopeTokens = generateScopeTokens;
|
|
|
14714
14702
|
exports.kebabcaseToCamelcase = kebabcaseToCamelcase;
|
|
14715
14703
|
exports.parse = parse;
|
|
14716
14704
|
exports.toPropertyName = toPropertyName;
|
|
14717
|
-
/** version: 8.
|
|
14705
|
+
/** version: 8.13.0 */
|
|
14718
14706
|
//# sourceMappingURL=index.cjs.js.map
|
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, fromEntries, ArrayFrom, SPECIAL_PROPERTY_ATTRIBUTE_MAPPING,
|
|
6
|
+
import { StringCharAt, hasOwnProperty, getAPIVersionFromNumber, HTML_NAMESPACE, AriaAttrNameToPropNameMap, fromEntries, ArrayFrom, SPECIAL_PROPERTY_ATTRIBUTE_MAPPING, isAPIFeatureEnabled, ID_REFERENCING_ATTRIBUTES_SET, SVG_NAMESPACE, isBooleanAttribute, isGlobalHtmlAttribute, isAriaAttribute, isVoidElement, MATHML_NAMESPACE, isNull, isUndefined, IMPORTANT_FLAG, isArray, ArrayEvery, ArraySome, normalizeStyleAttributeValue, htmlEscape, parseStyleText, LWC_VERSION_COMMENT } 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,18 +9601,6 @@ 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',
|
|
9616
9604
|
USE: 'use',
|
|
9617
9605
|
};
|
|
9618
9606
|
const ATTR_NAME = {
|
|
@@ -14685,5 +14673,5 @@ function compile(source, filename, config) {
|
|
|
14685
14673
|
}
|
|
14686
14674
|
|
|
14687
14675
|
export { ElementDirectiveName, LWCDirectiveDomMode, LWCDirectiveRenderMode, LwcTagName, RootDirectiveName, TemplateDirectiveName, compile, compile as default, generateScopeTokens, kebabcaseToCamelcase, parse, toPropertyName };
|
|
14688
|
-
/** version: 8.
|
|
14676
|
+
/** version: 8.13.0 */
|
|
14689
14677
|
//# 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": "8.
|
|
7
|
+
"version": "8.13.0",
|
|
8
8
|
"description": "Template compiler package",
|
|
9
9
|
"keywords": [
|
|
10
10
|
"lwc"
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
}
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@lwc/errors": "8.
|
|
50
|
-
"@lwc/shared": "8.
|
|
49
|
+
"@lwc/errors": "8.13.0",
|
|
50
|
+
"@lwc/shared": "8.13.0",
|
|
51
51
|
"acorn": "~8.14.0",
|
|
52
52
|
"astring": "~1.9.0",
|
|
53
53
|
"he": "~1.2.0"
|