@lwc/template-compiler 2.40.2-lbc → 2.41.1

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.
@@ -25,6 +25,7 @@ const ATTRIBUTE_NAME_CHAR = [
25
25
  '\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD',
26
26
  '\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040',
27
27
  ].join('');
28
+ // eslint-disable-next-line no-misleading-character-class
28
29
  exports.DATA_RE = new RegExp('^(data)-[' + ATTRIBUTE_NAME_CHAR + ']*$');
29
30
  exports.SUPPORTED_SVG_TAGS = new Set([
30
31
  'svg',
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/parser/constants.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACH,wCAAwD;AACxD,2CAAuD;AACvD,6EAA6E;AAC7E,yDAAsD;AACtD,uDAAoD;AAEvC,QAAA,aAAa,GAAG,gBAAgB,CAAC;AAEjC,QAAA,KAAK,GAAG,MAAM,CAAC;AACf,QAAA,MAAM,GAAG,OAAO,CAAC;AACjB,QAAA,iBAAiB,GAAG,IAAI,GAAG,CAAC,CAAC,MAAM,EAAE,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC;AAE9D,QAAA,WAAW,GAAG,eAAe,CAAC;AAE9B,QAAA,gBAAgB,GAAG,KAAK,CAAC;AACzB,QAAA,qBAAqB,GAAG,qBAAqB,CAAC;AAE9C,QAAA,iBAAiB,GAAgB,IAAI,GAAG,CAAC,MAAM,CAAC,MAAM,CAAC,4BAAoB,CAAC,CAAC,CAAC;AAE3F,MAAM,mBAAmB,GAAG;IACxB,6FAA6F;IAC7F,oFAAoF;IACpF,8CAA8C;CACjD,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAEE,QAAA,OAAO,GAAG,IAAI,MAAM,CAAC,WAAW,GAA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;IACN,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,SAAS;IAClB,GAAG,EAAE,KAAK;IACV,QAAQ,EAAE,UAAU;IACpB,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;IACd,EAAE,EAAE,IAAI;IACR,KAAK,EAAE,OAAO;IACd,EAAE,EAAE,IAAI;IACR,KAAK,EAAE,OAAO;IACd,EAAE,EAAE,IAAI;IACR,GAAG,EAAE,KAAK;CACb,CAAC;AACW,QAAA,SAAS,GAAG;IACrB,IAAI,EAAE,MAAM;IACZ,UAAU,EAAE,YAAY;CAC3B,CAAC;AACW,QAAA,mBAAmB,GAAG,CAAC,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,aAAa,CAAC,CAAC;AAEzF,6DAA6D;AAChD,QAAA,4BAA4B,GAAG,IAAI,CAAC"}
@@ -40,7 +40,8 @@ exports.EXPRESSION_SYMBOL_END = '}';
40
40
  const POTENTIAL_EXPRESSION_RE = /^.?{.+}.*$/;
41
41
  const WHITESPACES_RE = /\s/;
42
42
  function isExpression(source) {
43
- return source[0] === '{' && source.slice(-1) === '}';
43
+ // Issue #3418: Legacy behavior, previous regex treated "{}" attribute value as non expression
44
+ return source[0] === '{' && source.slice(-1) === '}' && source.length > 2;
44
45
  }
45
46
  exports.isExpression = isExpression;
46
47
  function isPotentialExpression(source) {
@@ -1 +1 @@
1
- {"version":3,"file":"expression.js","sourceRoot":"","sources":["../../../src/parser/expression.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;GAKG;AACH,iCAAqF;AACrF,wCAA2D;AAE3D,oDAAsC;AAGtC,6DAA6D;AAG7D,mDAA0D;AAE7C,QAAA,uBAAuB,GAAG,GAAG,CAAC;AAC9B,QAAA,qBAAqB,GAAG,GAAG,CAAC;AAEzC,MAAM,uBAAuB,GAAG,YAAY,CAAC;AAC7C,MAAM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C,MAAM,CAAC,EAAE;QAC1C,OAAO;YACH,GAAG,CAAC,CAAC,UAAU,CAAC,MAAM,CAAC;YACvB,QAAQ;SACX,CAAC;KACL;SAAM;QACH,GAAG,CAAC,eAAe,CAAC,0BAAiB,CAAC,kBAAkB,EAAE,QAAQ,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC;KACjF;AACL,CAAC;AApBD,0CAoBC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lwc/template-compiler",
3
- "version": "2.40.2-lbc",
3
+ "version": "2.41.1",
4
4
  "description": "Template compiler package",
5
5
  "homepage": "https://lwc.dev/",
6
6
  "repository": {
@@ -30,8 +30,8 @@
30
30
  "@types/source-map": "0.5.7"
31
31
  },
32
32
  "dependencies": {
33
- "@lwc/errors": "2.40.2-lbc",
34
- "@lwc/shared": "2.40.2-lbc",
33
+ "@lwc/errors": "2.41.1",
34
+ "@lwc/shared": "2.41.1",
35
35
  "acorn": "~8.8.2",
36
36
  "astring": "~1.8.3",
37
37
  "estree-walker": "~2.0.2",
@@ -53,4 +53,4 @@
53
53
  }
54
54
  }
55
55
  }
56
- }
56
+ }
@@ -1,73 +0,0 @@
1
- "use strict";
2
- /*
3
- * Copyright (c) 2018, salesforce.com, inc.
4
- * All rights reserved.
5
- * SPDX-License-Identifier: MIT
6
- * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
7
- */
8
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
9
- if (k2 === undefined) k2 = k;
10
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
11
- }) : (function(o, m, k, k2) {
12
- if (k2 === undefined) k2 = k;
13
- o[k2] = m[k];
14
- }));
15
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
- Object.defineProperty(o, "default", { enumerable: true, value: v });
17
- }) : function(o, v) {
18
- o["default"] = v;
19
- });
20
- var __importStar = (this && this.__importStar) || function (mod) {
21
- if (mod && mod.__esModule) return mod;
22
- var result = {};
23
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
- __setModuleDefault(result, mod);
25
- return result;
26
- };
27
- Object.defineProperty(exports, "__esModule", { value: true });
28
- exports.format = void 0;
29
- const t = __importStar(require("../../shared/estree"));
30
- const constants_1 = require("../../shared/constants");
31
- const helpers_1 = require("../helpers");
32
- const optimize_1 = require("../optimize");
33
- /**
34
- * Generate a function body AST from a template ESTree AST. This function can then be instantiated
35
- * via `new Function(code, modules)` The generated function retrieves receives the dependent LWC
36
- * components as arguments and returns the template function.
37
- *
38
- * @example
39
- * ```js
40
- * const {
41
- * // Components names
42
- * } = modules;
43
- *
44
- * function tmpl() {
45
- * // Template generated code
46
- * }
47
- * // Template metadata
48
- *
49
- * return tmpl;
50
- * ```
51
- */
52
- function format(templateFn, codeGen) {
53
- const lookups = Array.from(codeGen.referencedComponents)
54
- .sort()
55
- .map((name) => {
56
- const localIdentifier = (0, helpers_1.identifierFromComponentName)(name);
57
- return t.variableDeclaration('const', [
58
- t.variableDeclarator(localIdentifier, t.memberExpression(t.identifier(constants_1.TEMPLATE_MODULES_PARAMETER), t.literal(name), {
59
- computed: true,
60
- })),
61
- ]);
62
- });
63
- const optimizedTemplateDeclarations = (0, optimize_1.optimizeStaticExpressions)(templateFn);
64
- const metadata = (0, helpers_1.generateTemplateMetadata)(codeGen);
65
- return t.program([
66
- ...lookups,
67
- ...optimizedTemplateDeclarations,
68
- ...metadata,
69
- t.returnStatement(t.identifier(constants_1.TEMPLATE_FUNCTION_NAME)),
70
- ]);
71
- }
72
- exports.format = format;
73
- //# sourceMappingURL=function.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"function.js","sourceRoot":"","sources":["../../../../src/codegen/formatters/function.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;;;;;;;;;;;;;;;;;;;;AAEH,uDAAyC;AACzC,sDAA4F;AAG5F,wCAAmF;AACnF,0CAAwD;AAExD;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,MAAM,CAAC,UAAiC,EAAE,OAAgB;IACtE,MAAM,OAAO,GAAG,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,oBAAoB,CAAC;SACnD,IAAI,EAAE;SACN,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;QACV,MAAM,eAAe,GAAG,IAAA,qCAA2B,EAAC,IAAI,CAAC,CAAC;QAE1D,OAAO,CAAC,CAAC,mBAAmB,CAAC,OAAO,EAAE;YAClC,CAAC,CAAC,kBAAkB,CAChB,eAAe,EACf,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,UAAU,CAAC,sCAA0B,CAAC,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE;gBAC1E,QAAQ,EAAE,IAAI;aACjB,CAAC,CACL;SACJ,CAAC,CAAC;IACP,CAAC,CAAC,CAAC;IAEP,MAAM,6BAA6B,GAAG,IAAA,oCAAyB,EAAC,UAAU,CAAC,CAAC;IAE5E,MAAM,QAAQ,GAAG,IAAA,kCAAwB,EAAC,OAAO,CAAC,CAAC;IAEnD,OAAO,CAAC,CAAC,OAAO,CAAC;QACb,GAAG,OAAO;QACV,GAAG,6BAA6B;QAChC,GAAG,QAAQ;QACX,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,UAAU,CAAC,kCAAsB,CAAC,CAAC;KAC1D,CAAC,CAAC;AACP,CAAC;AA1BD,wBA0BC"}
@@ -1,61 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
- }) : (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- o[k2] = m[k];
8
- }));
9
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
10
- Object.defineProperty(o, "default", { enumerable: true, value: v });
11
- }) : function(o, v) {
12
- o["default"] = v;
13
- });
14
- var __importStar = (this && this.__importStar) || function (mod) {
15
- if (mod && mod.__esModule) return mod;
16
- var result = {};
17
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
18
- __setModuleDefault(result, mod);
19
- return result;
20
- };
21
- Object.defineProperty(exports, "__esModule", { value: true });
22
- exports.bindExpression = void 0;
23
- /*
24
- * Copyright (c) 2018, salesforce.com, inc.
25
- * All rights reserved.
26
- * SPDX-License-Identifier: MIT
27
- * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
28
- */
29
- const estree_walker_1 = require("estree-walker");
30
- const t = __importStar(require("../shared/estree"));
31
- const constants_1 = require("../shared/constants");
32
- const ir_1 = require("../shared/ir");
33
- /**
34
- * Bind the passed expression to the component instance. It applies the following transformation to the expression:
35
- * - {value} --> {$cmp.value}
36
- * - {value[index]} --> {$cmp.value[$cmp.index]}
37
- */
38
- function bindExpression(expression, irNode) {
39
- if (t.isIdentifier(expression)) {
40
- if (ir_1.isComponentProp(expression, irNode)) {
41
- return t.memberExpression(t.identifier(constants_1.TEMPLATE_PARAMS.INSTANCE), expression);
42
- }
43
- else {
44
- return expression;
45
- }
46
- }
47
- estree_walker_1.walk(expression, {
48
- leave(node, parent) {
49
- if (parent !== null &&
50
- t.isIdentifier(node) &&
51
- t.isMemberExpression(parent) &&
52
- parent.object === node &&
53
- ir_1.isComponentProp(node, irNode)) {
54
- this.replace(t.memberExpression(t.identifier(constants_1.TEMPLATE_PARAMS.INSTANCE), node));
55
- }
56
- },
57
- });
58
- return expression;
59
- }
60
- exports.bindExpression = bindExpression;
61
- //# sourceMappingURL=scope.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"scope.js","sourceRoot":"","sources":["../../../src/codegen/scope.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;GAKG;AACH,iDAAqC;AAErC,oDAAsC;AACtC,mDAAsD;AACtD,qCAA+C;AAG/C;;;;GAIG;AACH,SAAgB,cAAc,CAAC,UAA8B,EAAE,MAAc;IACzE,IAAI,CAAC,CAAC,YAAY,CAAC,UAAU,CAAC,EAAE;QAC5B,IAAI,oBAAe,CAAC,UAAU,EAAE,MAAM,CAAC,EAAE;YACrC,OAAO,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,UAAU,CAAC,2BAAe,CAAC,QAAQ,CAAC,EAAE,UAAU,CAAC,CAAC;SACjF;aAAM;YACH,OAAO,UAAU,CAAC;SACrB;KACJ;IAED,oBAAI,CAAC,UAAU,EAAE;QACb,KAAK,CAAC,IAAI,EAAE,MAAM;YACd,IACI,MAAM,KAAK,IAAI;gBACf,CAAC,CAAC,YAAY,CAAC,IAAI,CAAC;gBACpB,CAAC,CAAC,kBAAkB,CAAC,MAAM,CAAC;gBAC5B,MAAM,CAAC,MAAM,KAAK,IAAI;gBACtB,oBAAe,CAAC,IAAI,EAAE,MAAM,CAAC,EAC/B;gBACE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,UAAU,CAAC,2BAAe,CAAC,QAAQ,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;aAClF;QACL,CAAC;KACJ,CAAC,CAAC;IAEH,OAAO,UAAU,CAAC;AACtB,CAAC;AAxBD,wCAwBC"}
@@ -1,15 +0,0 @@
1
- "use strict";
2
- /*
3
- * Copyright (c) 2018, salesforce.com, inc.
4
- * All rights reserved.
5
- * SPDX-License-Identifier: MIT
6
- * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
7
- */
8
- Object.defineProperty(exports, "__esModule", { value: true });
9
- exports.isUnsafeTopLevelSerializableElement = void 0;
10
- const constants_1 = require("./constants");
11
- function isUnsafeTopLevelSerializableElement(element) {
12
- return constants_1.TAGS_THAT_CANNOT_BE_PARSED_AS_TOP_LEVEL.has(element.name);
13
- }
14
- exports.isUnsafeTopLevelSerializableElement = isUnsafeTopLevelSerializableElement;
15
- //# sourceMappingURL=tag.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tag.js","sourceRoot":"","sources":["../../../src/parser/tag.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAGH,2CAAsE;AAEtE,SAAgB,mCAAmC,CAAC,OAAoB;IACpE,OAAO,mDAAuC,CAAC,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;AACrE,CAAC;AAFD,kFAEC"}
@@ -1,80 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.isComponentProp = exports.isSlot = exports.isTemplate = exports.isCustomElement = exports.isCommentNode = exports.isTextNode = exports.isElement = exports.createComment = exports.createText = exports.createElement = void 0;
4
- function createElement(original, parent) {
5
- return {
6
- type: 'element',
7
- tag: original.tagName,
8
- namespace: original.namespaceURI,
9
- attrsList: original.attrs,
10
- parent,
11
- children: [],
12
- __original: original,
13
- };
14
- }
15
- exports.createElement = createElement;
16
- function createText(original, parent, value) {
17
- return {
18
- type: 'text',
19
- parent,
20
- value,
21
- __original: original,
22
- };
23
- }
24
- exports.createText = createText;
25
- function createComment(original, parent, value) {
26
- return {
27
- type: 'comment',
28
- parent,
29
- value,
30
- __original: original,
31
- };
32
- }
33
- exports.createComment = createComment;
34
- function isElement(node) {
35
- return node.type === 'element';
36
- }
37
- exports.isElement = isElement;
38
- function isTextNode(node) {
39
- return node.type === 'text';
40
- }
41
- exports.isTextNode = isTextNode;
42
- function isCommentNode(node) {
43
- return node.type === 'comment';
44
- }
45
- exports.isCommentNode = isCommentNode;
46
- function isCustomElement(node) {
47
- return isElement(node) && node.component !== undefined;
48
- }
49
- exports.isCustomElement = isCustomElement;
50
- function isTemplate(element) {
51
- return element.tag === 'template';
52
- }
53
- exports.isTemplate = isTemplate;
54
- function isSlot(element) {
55
- return element.tag === 'slot';
56
- }
57
- exports.isSlot = isSlot;
58
- function isComponentProp(identifier, root) {
59
- var _a;
60
- const { name } = identifier;
61
- let current = root;
62
- // Walking up the AST and checking for each node to find if the identifer name is identical to
63
- // an iteration variable.
64
- while (current !== undefined) {
65
- if (isElement(current)) {
66
- const { forEach, forOf } = current;
67
- if ((forEach === null || forEach === void 0 ? void 0 : forEach.item.name) === name ||
68
- ((_a = forEach === null || forEach === void 0 ? void 0 : forEach.index) === null || _a === void 0 ? void 0 : _a.name) === name ||
69
- (forOf === null || forOf === void 0 ? void 0 : forOf.iterator.name) === name) {
70
- return false;
71
- }
72
- }
73
- current = current.parent;
74
- }
75
- // The identifier is bound to a component property if no match is found after reaching to AST
76
- // root.
77
- return true;
78
- }
79
- exports.isComponentProp = isComponentProp;
80
- //# sourceMappingURL=ir.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ir.js","sourceRoot":"","sources":["../../../src/shared/ir.ts"],"names":[],"mappings":";;;AAkBA,SAAgB,aAAa,CAAC,QAAqB,EAAE,MAAkB;IACnE,OAAO;QACH,IAAI,EAAE,SAAS;QACf,GAAG,EAAE,QAAQ,CAAC,OAAO;QACrB,SAAS,EAAE,QAAQ,CAAC,YAAY;QAChC,SAAS,EAAE,QAAQ,CAAC,KAAK;QACzB,MAAM;QACN,QAAQ,EAAE,EAAE;QACZ,UAAU,EAAE,QAAQ;KACvB,CAAC;AACN,CAAC;AAVD,sCAUC;AAED,SAAgB,UAAU,CACtB,QAAkB,EAClB,MAAiB,EACjB,KAAkC;IAElC,OAAO;QACH,IAAI,EAAE,MAAM;QACZ,MAAM;QACN,KAAK;QACL,UAAU,EAAE,QAAQ;KACvB,CAAC;AACN,CAAC;AAXD,gCAWC;AAED,SAAgB,aAAa,CAAC,QAAqB,EAAE,MAAiB,EAAE,KAAa;IACjF,OAAO;QACH,IAAI,EAAE,SAAS;QACf,MAAM;QACN,KAAK;QACL,UAAU,EAAE,QAAQ;KACvB,CAAC;AACN,CAAC;AAPD,sCAOC;AAED,SAAgB,SAAS,CAAC,IAAY;IAClC,OAAO,IAAI,CAAC,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MAAM,CAAC;KAC5B;IAED,6FAA6F;IAC7F,QAAQ;IACR,OAAO,IAAI,CAAC;AAChB,CAAC;AAzBD,0CAyBC"}
@@ -1 +0,0 @@
1
- {"program":{"fileNames":["../../../../../node_modules/typescript/lib/lib.es5.d.ts","../../../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../errors/dist/types/shared/types.d.ts","../../../errors/dist/types/compiler/utils.d.ts","../../../errors/dist/types/compiler/error-info/compiler.d.ts","../../../errors/dist/types/compiler/error-info/lwc-class.d.ts","../../../errors/dist/types/compiler/error-info/template-transform.d.ts","../../../errors/dist/types/compiler/error-info/index.d.ts","../../../errors/dist/types/compiler/errors.d.ts","../../../errors/dist/types/index.d.ts","../../../shared/types/assert.d.ts","../../../shared/types/aria.d.ts","../../../shared/types/language.d.ts","../../../shared/types/global-this.d.ts","../../../shared/types/keys.d.ts","../../../shared/types/void-elements.d.ts","../../../shared/types/html-attributes.d.ts","../../../shared/types/html-escape.d.ts","../../../shared/types/symbol.d.ts","../../../shared/types/namespaces.d.ts","../../../shared/types/meta.d.ts","../../../shared/types/index.d.ts","../../node_modules/acorn/dist/acorn.d.ts","../../src/shared/types.ts","../../src/state.ts","../../src/shared/renderer-hooks.ts","../../src/shared/constants.ts","../../src/shared/utils.ts","../../src/config.ts","../../../../../node_modules/@types/parse5/lib/tree-adapters/default.d.ts","../../../../../node_modules/@types/parse5/index.d.ts","../../../../../node_modules/@types/estree/index.d.ts","../../src/shared/estree.ts","../../src/shared/parse5.ts","../../src/shared/ast.ts","../../src/parser/expression-complex/types.ts","../../../../../node_modules/estree-walker/types/index.d.ts","../../src/parser/expression-complex/validate.ts","../../src/parser/utils/html-element-attributes.ts","../../src/parser/utils/html-elements.ts","../../src/parser/utils/svg-elements.ts","../../src/parser/constants.ts","../../src/parser/expression-complex/html.ts","../../src/parser/expression-complex/index.ts","../../src/parser/parser.ts","../../../../../node_modules/@types/he/index.d.ts","../../src/parser/parse5errors.ts","../../src/parser/html.ts","../../src/parser/utils/javascript.ts","../../src/parser/expression.ts","../../src/parser/attribute.ts","../../src/parser/index.ts","../../../../../node_modules/source-map/source-map.d.ts","../../../../../node_modules/astring/astring.d.ts","../../src/codegen/helpers.ts","../../src/codegen/static-element-serializer.ts","../../src/codegen/expression.ts","../../src/codegen/codegen.ts","../../src/shared/naming.ts","../../src/codegen/optimize.ts","../../src/codegen/formatters/module.ts","../../src/codegen/index.ts","../../src/index.ts","../../typings/parse5-internals.d.ts","../../typings/parse5.d.ts","../../typings/parse5errors.d.ts","../../../../../node_modules/@types/node/assert.d.ts","../../../../../node_modules/@types/node/assert/strict.d.ts","../../../../../node_modules/@types/node/globals.d.ts","../../../../../node_modules/@types/node/async_hooks.d.ts","../../../../../node_modules/@types/node/buffer.d.ts","../../../../../node_modules/@types/node/child_process.d.ts","../../../../../node_modules/@types/node/cluster.d.ts","../../../../../node_modules/@types/node/console.d.ts","../../../../../node_modules/@types/node/constants.d.ts","../../../../../node_modules/@types/node/crypto.d.ts","../../../../../node_modules/@types/node/dgram.d.ts","../../../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../../../node_modules/@types/node/dns.d.ts","../../../../../node_modules/@types/node/dns/promises.d.ts","../../../../../node_modules/@types/node/domain.d.ts","../../../../../node_modules/@types/node/dom-events.d.ts","../../../../../node_modules/@types/node/events.d.ts","../../../../../node_modules/@types/node/fs.d.ts","../../../../../node_modules/@types/node/fs/promises.d.ts","../../../../../node_modules/@types/node/http.d.ts","../../../../../node_modules/@types/node/http2.d.ts","../../../../../node_modules/@types/node/https.d.ts","../../../../../node_modules/@types/node/inspector.d.ts","../../../../../node_modules/@types/node/module.d.ts","../../../../../node_modules/@types/node/net.d.ts","../../../../../node_modules/@types/node/os.d.ts","../../../../../node_modules/@types/node/path.d.ts","../../../../../node_modules/@types/node/perf_hooks.d.ts","../../../../../node_modules/@types/node/process.d.ts","../../../../../node_modules/@types/node/punycode.d.ts","../../../../../node_modules/@types/node/querystring.d.ts","../../../../../node_modules/@types/node/readline.d.ts","../../../../../node_modules/@types/node/readline/promises.d.ts","../../../../../node_modules/@types/node/repl.d.ts","../../../../../node_modules/@types/node/stream.d.ts","../../../../../node_modules/@types/node/stream/promises.d.ts","../../../../../node_modules/@types/node/stream/consumers.d.ts","../../../../../node_modules/@types/node/stream/web.d.ts","../../../../../node_modules/@types/node/string_decoder.d.ts","../../../../../node_modules/@types/node/test.d.ts","../../../../../node_modules/@types/node/timers.d.ts","../../../../../node_modules/@types/node/timers/promises.d.ts","../../../../../node_modules/@types/node/tls.d.ts","../../../../../node_modules/@types/node/trace_events.d.ts","../../../../../node_modules/@types/node/tty.d.ts","../../../../../node_modules/@types/node/url.d.ts","../../../../../node_modules/@types/node/util.d.ts","../../../../../node_modules/@types/node/v8.d.ts","../../../../../node_modules/@types/node/vm.d.ts","../../../../../node_modules/@types/node/wasi.d.ts","../../../../../node_modules/@types/node/worker_threads.d.ts","../../../../../node_modules/@types/node/zlib.d.ts","../../../../../node_modules/@types/node/globals.global.d.ts","../../../../../node_modules/@types/node/index.d.ts","../../../../../node_modules/@types/jest/node_modules/@jest/expect-utils/build/index.d.ts","../../../../../node_modules/chalk/index.d.ts","../../../../../node_modules/@sinclair/typebox/typebox.d.ts","../../../../../node_modules/@types/jest/node_modules/@jest/schemas/build/index.d.ts","../../../../../node_modules/@types/jest/node_modules/pretty-format/build/index.d.ts","../../../../../node_modules/@types/jest/node_modules/jest-diff/build/index.d.ts","../../../../../node_modules/@types/jest/node_modules/jest-matcher-utils/build/index.d.ts","../../../../../node_modules/@types/jest/node_modules/expect/build/index.d.ts","../../../../../node_modules/@types/jest/index.d.ts"],"fileInfos":[{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","4b421cbfb3a38a27c279dec1e9112c3d1da296f77a1a85ddadf7e7a425d45d18","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9",{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"5f406584aef28a331c36523df688ca3650288d14f39c5d2e555c95f0d2ff8f6f","affectsGlobalScope":true},{"version":"22f230e544b35349cfb3bd9110b6ef37b41c6d6c43c3314a31bd0d9652fcec72","affectsGlobalScope":true},{"version":"7ea0b55f6b315cf9ac2ad622b0a7813315bb6e97bf4bb3fbf8f8affbca7dc695","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"eb26de841c52236d8222f87e9e6a235332e0788af8c87a71e9e210314300410a","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"5e5e095c4470c8bab227dbbc61374878ecead104c74ab9960d3adcccfee23205","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"2768ef564cfc0689a1b76106c421a2909bdff0acbe87da010785adab80efdd5c","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true},"0c2688c5c931f158e87fdc6c834e89022eef5d4181da7cea4192cc931ee87c6b","0360f035b87f550ab13ae949c6119234e24f635f23736f4bb3ebc792c213b54d","b067941c3c4a837dd1150c293488cd5a02092a00236e697e8100fe3a80586a08","e2df276da57fd72312c273d62123db2a07a917b63e5aa57f2263d64a6c47b059","ee0d7c7fed2dad0770f139f76cc903cfccfd06b2875562e0d850dd5e57600a6d","c4aecee0b322d67677f641c759e854a82a4b8a593aca234ea6dcb2cbff2de45c","caf3ffb6e478622b2fc1d98c95444e1eeb395299e959fd00c844d2e20dac3d4f","726a097b9ce9a3fefbb699c5fab5bea66bf5f6b1e20116c176b0a2abbfda1270","8494a3dc8f565edd441155b56356bd2466b16a49a2d492b2f256dd88d041fbaf","dd2cab83f9101434824465fd801da66af62d18295a66cbc3e621b797afdf9e1d","843bd0f20e26672324d0c0796143fa25d990d5c729bec383e73196aaaf3d2a83","257512983583338c7b4b90bcbd255d3a581eb60e7438341e5395cd115fbe7670","7b94f9bbd2a5d0cfa1d45c4f1c2b748bbdc300acfa0c2f0eacda5dd46cf0490a","a84f03bb615c2fb55c25423c273c71ff79128dff5aeaa7ecc200a1c95b71e42b","916c9b677a8d2eb1b42d896fa543461877c75cf18a0d4c57e28e9f9d67354441","e6a19d18a10341a12b5d3a46b90136f5f457a49e0e118db8ad539030ca135174","cc740d575e845b7e69b10b52bccc807b3ab289c6e261e41d2693eaa149f5eb51","b17afd905168a64361055b3d55fcb21d3684c8d4f9daf873ff1143858a0d3590","a07b31a126e7479080aa899fd74e987ab83a06b5eecb993fb11a78009e8f2c1a","35b62981e074bab5e1e63f35e4ab81b6618aa525c962cf1385ffde8f36026822","b5ab768a8b6f8aa05d10b8923e3fc65438ebf6e3be5c2570e104fbddb9982f9a",{"version":"513a8c8c0ff0bcb1ceae122573738e855b292223857ebb4e82c8b00f7e8718fe","signature":"53a2ea0be026ddb60f790c052f3a92ad7a5f92a3d1d46da4a0740e0a2f31ba02"},{"version":"fa968978c037c265f923891920a74fa4a9faedbfd9d21ada7a68878959f60c58","signature":"1b6906312b3e34a943d142fcc14a3dcbf6875b7ba2193274b88de500124e0430"},{"version":"7d1349dc5c0aa08232673905bc1487e8b8dae3ec9ade0af7b514acfc50188628","signature":"c9ef632c56dc216ca9435595ea294332907e9bd3e75984740d60087b7b5e5144"},{"version":"5cb93c6b235a98f97189237a892d4eb481497e4c0a82ce9f4f9724928d32f99c","signature":"c35d5e8204477e10cbc8d328c2514ca0a90768b35b0d23ff9f84e20fa259a8ac"},{"version":"827b1f9d82f2ff7e5a597ac1fd7bb19ec86c07c08ed70d90e28d1b1c440e63a9","signature":"67fbe28c3e901b5383c91f2d48ee35784bb3a7311a4c50fb766437075c1c4b2c"},{"version":"cafb06769eb7785d99e833a4e5a381be6f23f908181a4798343ec857002e253f","signature":"8a56ed606bc9cc211877646aa25e6db9fd3ee57ad9a032b7cc1ab50e821b33b5"},"fc37aca06f6b8b296c42412a2e75ab53d30cd1fa8a340a3bb328a723fd678377","5f2c582b9ef260cb9559a64221b38606378c1fabe17694592cdfe5975a6d7efa","946bd1737d9412395a8f24414c70f18660b84a75a12b0b448e6eb1a2161d06dd",{"version":"a0dcd85532ed5856560c57c76fd04331312bd5f33c21536db7fbdc91a88d0d5a","signature":"7df9246900450c7a804d944e8c1bf981e111f4ac52a24bedac584a9908b9d372"},{"version":"fafc19f9509f392b8b6a5ad6e5fba80f0738ef1b8ab5e2a7a81196e569124dad","signature":"2e8cc465f2e1d3f201d8e60c5745a958a422cd2537c88536610116be31eba449"},{"version":"325212d67a9c5b38dfe037b37d1c839ff340c257ae1b05eebee766cd5434f393","signature":"5ed0fd6ddec983b6ed575376df295295caf80a06b71732c8314931725921c9ac"},{"version":"9248c62f3196dbb60bcae7fd108251e0229524f02dff68c4b5f64c1a21c66d38","signature":"830c288d1b7b35dcf1b6c1539e0c989cf1abcc2219bd837428f8c16c6e6ff16b"},"c52be5c79280bfcfcf359c084c6f2f70f405b0ad14dde96b6703dbc5ef2261f5",{"version":"3e5f242369e3cae901f70267ff48b41dd7cdfa3564a108a76b03af1a1f2ff8a4","signature":"b6c62dda35327be645c5014af0ac9ccdb54d41692a2110fda7370cd377af1868"},{"version":"145ec98c2fe2f9f57604ac8fddb602a06f9d43c35a79b1ddf4791c13903b004a","signature":"bdfe44adb48fda152cd482b92f05bc879147b059aea4fd093ba7548de72ddc04"},{"version":"3dcaf69d459d98abf488fd2b3ceedf8597fa0d4cec57f121cf6d5a6da34ad9ce","signature":"fad36f4288a82fc8c2901d032048d865cb12a1abd89db0476757d217797b1096"},{"version":"16bc73bf99cc85ce0ffd81c73b1a4e2cd8a17d35685f0e198b076f500fa92fc9","signature":"d3d3a7ab03394ae51366dc0d04433ff6bc5fc411adcf0c53ffbaac971f03c5ee"},{"version":"237efc93901b513d2eb061f4db9cd89822551c33b17db3e353bbf2e2450f8fc1","signature":"2733bbceaff364ede9ef2e43505bb80dbd7bc33e8a19b2481c2708a929d45ea7"},{"version":"8e427be610cd81c37fdebb09082820e30221ffee4a4c6cee90d694a065e1e736","signature":"011855d1dfffba893272abea7ee50cee7608c0c19b5f98f74c57ee23bb3d6b51"},{"version":"33c7b306564df0ee93ca2cba7d00f502647e4bef5dd4dbdaa15f5d09f35c68ad","signature":"2df5215a389917b78525b4c6bb18dedfa7ae98cff6df4fcc2dd7d5fc97593dc4"},{"version":"2e3363bfc117c5761c60d5c66df029e36c8983f08b050a4486d365a94d29e04a","signature":"190e3b63bea9f27f6214ead51d2d436dfa0e4d213c652783b22e0194c1bbafe3"},"baaae0918f67a340020b36c4499d5e4abfc153e0f93e3263054ebc1c1a1fe3bc",{"version":"730e030bb2520fdd4813b0594da1d3a13a79d9db1bddac16d7abedc8203f4f5c","signature":"86e72a880d60aecfe7b1796bc87113fc881136fc84c65a3b30f95db25de2b0ea"},{"version":"2f585e60ba329843c265414eb2bbcb6576686e65f5c5eb732b78280a699ad4fb","signature":"c884f9423210c52f8e841268de70c8d0e3c42a0f724c9483c1dacb0835e31ce3"},{"version":"69afba5dada2b534268c0d2539e6ebeedc472218df4388be0046b6db1a499d2b","signature":"f062654657ada3ba5f789450f4702e2e742e99b89c4a0908a32e7f969e2047b2"},{"version":"7c7e82586812512d25fdfa0b2cbfb9f13b52fc5cc2a258e1f89750701c12e101","signature":"36badfb5484113be482e095a1fd20d060681618f77720365b76b06e7f9c92b4f"},{"version":"6a090284ba861f610a7c4423ab12182107c9860dd2b1e139926dbaa7f73df96d","signature":"29f8f70d1adbc81effa00eafcc71263085563fe7a9dfc1172200caaacc141dc8"},{"version":"293f10ee4fa4268cb10b5929857bdbb7cb4b5e7443e9814963d533ffbcea7aca","signature":"7a75180ddb3624183abf9b7ee113247bf422cf38f45015c15d7991d646b25784"},"2887592574fcdfd087647c539dcb0fbe5af2521270dad4a37f9d17c16190d579","c516ef79d74c3671fc738a704d83a3345c1cb7b8720d00353189c1f2a5c53270",{"version":"6016f743c7e0c89522a6d5cf65e3492088f002b4da4e7e4ffbff0e5b42b466c0","signature":"c69db59bcc1002728bd1f63dd33d5fde9a58cb31f40940f17896af970ccebfe2"},{"version":"25655be9526a123a01cff34897a490a71da405dc51112924090c7b6e8f0a67bf","signature":"87dcdcf4330434779de75b564eb93904519daedcb75e4b15e093833d447f6454"},{"version":"dbc56a1887c2d4a042abc353e94668262c0f2d1109f5d49e48d8869102735066","signature":"6acc536f30676ac88e0b12adcb066243d86ff5b8fb49d54d925f302b92d95cfb"},{"version":"e45d011be62b6bb646a1d31e64d209b0f31a3d0787115739383184a6ea1321cd","signature":"a524f09c2b1bf4ea1b0fcd00b08bd8afcf4f27709afc6dafe959cf91887a5976"},{"version":"3fd4693611116304047e3b373bd44d9f043e0cf7833d43a7ef4ad2c628a3119f","signature":"740d5a994a57ec3a0b793e7e8bea3ce5a3a797fd31613fbaa9fa11e21dfd1325"},{"version":"8f9b03527dc21b5de38ff0007a4751f0c5a18c9c4c8251407cc7fda87073503a","signature":"ab939f3af049c6e5a8ebe5459f6293fa4694d65d4181435406067ee8555d7d09"},{"version":"64c6681c2e0bd8d37c498c57d5fcfc92231d1d445b0e774c0c5d3c67cfecd491","signature":"b53a0e5453e3aa4f16184b80e31d72140081cf4fb778b239d6080ce4bebfdf63"},{"version":"e0e17d0d994bfbefcc820636dc7b4499c262ba5a69e793ca8414248c0371b1b2","signature":"a66cfb877cd5ed3419420e363847cd9f6cb131ad726374247965a27f861b9fd3"},{"version":"36c96bf57d56a1456950d546f1aa768f1e814a6f9c8d73bfad239d0f46a34898","signature":"fb21697e3a9ee73e6f74022a32472c5a4ffd936a92772bc5b16ccf69fe365400"},"00232b7e95957a0de79ae5920f0cd737b3e4d9b21a86b1df6581462a851494dd","7040dc84418e8d9cc7dd924ebaefb5326cfa3df1b0619a92ea1f98fdc3a5654f","3a20bf02d206afa9b0b0c9010402808ac8192410cdf31289ce401d5859938d56","7e771891adaa85b690266bc37bd6eb43bc57eecc4b54693ead36467e7369952a","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"ca72190df0eb9b09d4b600821c8c7b6c9747b75a1c700c4d57dc0bb72abc074c","affectsGlobalScope":true},"11e2d554398d2bd460e7d06b2fa5827a297c8acfbe00b4f894a224ac0862857f",{"version":"17a1140b90821c2c8d7064c9fc7598797c385714e6aa88b85e30b1159af8dc9b","affectsGlobalScope":true},"374ca798f244e464346f14301dc2a8b4b111af1a83b49fffef5906c338a1f922","5a94487653355b56018122d92392beb2e5f4a6c63ba5cef83bbe1c99775ef713",{"version":"d5135ad93b33adcce80b18f8065087934cdc1730d63db58562edcf017e1aad9b","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","dab86d9604fe40854ef3c0a6f9e8948873dc3509213418e5e457f410fd11200f","bb9c4ffa5e6290c6980b63c815cdd1625876dadb2efaf77edbe82984be93e55e","489532ff54b714f0e0939947a1c560e516d3ae93d51d639ab02e907a0e950114","f30bb836526d930a74593f7b0f5c1c46d10856415a8f69e5e2fc3db80371e362","14b5aa23c5d0ae1907bc696ac7b6915d88f7d85799cc0dc2dcf98fbce2c5a67c","5c439dafdc09abe4d6c260a96b822fa0ba5be7203c71a63ab1f1423cd9e838ea",{"version":"6b526a5ec4a401ca7c26cfe6a48e641d8f30af76673bad3b06a1b4504594a960","affectsGlobalScope":true},{"version":"816ad2e607a96de5bcac7d437f843f5afd8957f1fa5eefa6bba8e4ed7ca8fd84","affectsGlobalScope":true},"cec36af22f514322f870e81d30675c78df82ae8bf4863f5fd4e4424c040c678d","d903fafe96674bc0b2ac38a5be4a8fc07b14c2548d1cdb165a80ea24c44c0c54","5eec82ac21f84d83586c59a16b9b8502d34505d1393393556682fe7e7fde9ef2","04eb6578a588d6a46f50299b55f30e3a04ef27d0c5a46c57d8fcc211cd530faa","8d3c583a07e0c37e876908c2d5da575019f689df8d9fa4c081d99119d53dba22","2c828a5405191d006115ab34e191b8474bc6c86ffdc401d1a9864b1b6e088a58",{"version":"e630e5528e899219ae319e83bef54bf3bcb91b01d76861ecf881e8e614b167f0","affectsGlobalScope":true},"2c45b35f4850881ab132f80d3cb51e8a359a4d8fafdc5ff2401d260dc27862f4","7c013aa892414a7fdcfd861ae524a668eaa3ede8c7c0acafaf611948122c8d93","b0973c3cbcdc59b37bf477731d468696ecaf442593ec51bab497a613a580fe30",{"version":"4989e92ba5b69b182d2caaea6295af52b7dc73a4f7a2e336a676722884e7139d","affectsGlobalScope":true},{"version":"b3624aed92dab6da8484280d3cb3e2f4130ec3f4ef3f8201c95144ae9e898bb6","affectsGlobalScope":true},"5153a2fd150e46ce57bb3f8db1318d33f6ad3261ed70ceeff92281c0608c74a3","210d54cd652ec0fec8c8916e4af59bb341065576ecda039842f9ffb2e908507c","36b03690b628eab08703d63f04eaa89c5df202e5f1edf3989f13ad389cd2c091","0effadd232a20498b11308058e334d3339cc5bf8c4c858393e38d9d4c0013dcf","25846d43937c672bab7e8195f3d881f93495df712ee901860effc109918938cc","fd93cee2621ff42dabe57b7be402783fd1aa69ece755bcba1e0290547ae60513","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff","69ee23dd0d215b09907ad30d23f88b7790c93329d1faf31d7835552a10cf7cbf","44b8b584a338b190a59f4f6929d072431950c7bd92ec2694821c11bce180c8a5","23b89798789dffbd437c0c423f5d02d11f9736aea73d6abf16db4f812ff36eda","a15eb098ed86a4135cba05d77e792d6189fa8607a00c9b1b381c0e9550c04ba5",{"version":"970a90f76d4d219ad60819d61f5994514087ba94c985647a3474a5a3d12714ed","affectsGlobalScope":true},"e10177274a35a9d07c825615340b2fcde2f610f53f3fb40269fd196b4288dda6","c4577fb855ca259bdbf3ea663ca73988ce5f84251a92b4aef80a1f4122b6f98e","3c13ef48634e7b5012fcf7e8fce7496352c2d779a7201389ca96a2a81ee4314d","5d0a25ec910fa36595f85a67ac992d7a53dd4064a1ba6aea1c9f14ab73a023f2",{"version":"f0900cd5d00fe1263ff41201fb8073dbeb984397e4af3b8002a5c207a30bdc33","affectsGlobalScope":true},{"version":"ff07a9a03c65732ccc59b3c65bc584173da093bd563a6565411c01f5703bd3cb","affectsGlobalScope":true},"06d7c42d256f0ce6afe1b2b6cfbc97ab391f29dadb00dd0ae8e8f23f5bc916c3","ec4bd1b200670fb567920db572d6701ed42a9641d09c4ff6869768c8f81b404c","e59a892d87e72733e2a9ca21611b9beb52977be2696c7ba4b216cbbb9a48f5aa",{"version":"da26af7362f53d122283bc69fed862b9a9fe27e01bc6a69d1d682e0e5a4df3e6","affectsGlobalScope":true},"8a300fa9b698845a1f9c41ecbe2c5966634582a8e2020d51abcace9b55aa959e",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"ed2a670a77a1b80653c5bde2d813b0ab2e92872cc9b2b611ce11050b95139be6","a7321c0e96eecb19dcbf178493836474cef21ee3f9345384ce9d74e4be31228d","0d14fa22c41fdc7277e6f71473b20ebc07f40f00e38875142335d5b63cdfc9d2","3054ef91b855e005b9c4681399e9d64d2a7b07a22d539314d794f09e53b876a7","427ce5854885cfc34387e09de05c1d5c1acf94c2143e1693f1d9ff54880573e7","bed2c4f96fab3348be4a34d88dcb12578c1b2475b07c6acd369e99e227718d81","e3ba509d3dce019b3190ceb2f3fc88e2610ab717122dabd91a9efaa37804040d","9ac9b7b349a96ff204f4172183cca1672cc402e1ee7277bfcdec96c000b7d818","ac127e4c6f2b5220b293cc9d2e64ba49781225b792a51cda50f3db8eafba550c",{"version":"eb9e147dbb7289f09af3b161483c09a9175c3b222ed587f4a3c0112841e7d6ff","affectsGlobalScope":true}],"options":{"declaration":true,"declarationDir":"../types","esModuleInterop":true,"module":1,"outDir":"./","sourceMap":true,"strict":true,"target":5},"fileIdsList":[[152],[152,164,167],[152,162],[152,160,166],[152,164],[152,161,165],[152,163],[106,152],[109,152],[110,115,143,152],[111,122,123,130,140,151,152],[111,112,122,130,152],[113,152],[114,115,123,131,152],[115,140,148,152],[116,118,122,130,152],[117,152],[118,119,152],[122,152],[120,122,152],[122,123,124,140,151,152],[122,123,124,137,140,143,152],[152,156],[118,125,130,140,151,152],[122,123,125,126,130,140,148,151,152],[125,127,140,148,151,152],[106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158],[122,128,152],[129,151,152],[118,122,130,140,152],[131,152],[132,152],[109,133,152],[134,150,152,156],[135,152],[136,152],[122,137,138,152],[137,139,152,154],[110,122,140,141,142,143,152],[110,140,142,152],[140,141,152],[143,152],[144,152],[122,146,147,152],[146,147,152],[115,130,140,148,152],[149,152],[130,150,152],[110,125,136,151,152],[115,152],[140,152,153],[152,154],[152,155],[110,115,122,124,133,140,151,152,154,156],[140,152,157],[69,152],[70,104,152],[71,92,140,152],[71,152],[42,152],[44,45,46,152],[42,43,47,152],[42,48,152],[50,51,52,53,54,55,56,57,58,59,60,152],[61,63,64,66,72,74,76,94,95,96,152],[49,63,66,72,76,97,152],[66,72,94,97,98,99,152],[61,63,64,65,66,67,72,74,90,97,152],[49,61,63,64,65,66,72,74,90,93,94,97,100,152],[72,76,93,152],[61,63,74,152],[49,61,65,67,152],[49,63,64,65,68,91,101,152],[49,61,63,66,67,70,74,81,84,89,104,152],[61,63,78,79,80,152],[49,62,70,75,81,84,103,104,152],[75,77,82,152],[62,152],[49,71,72,76,152],[49,62,63,68,72,81,83,84,88,152],[49,70,74,83,84,85,86,104,152],[49,61,63,64,66,67,70,72,73,74,81,84,87,89,90,104,152],[49,63,68,74,83,152],[61,152],[61,63,70,104,152],[63,64,152],[49,62,152],[66,152],[63,68,152],[70,103,104,152],[63,64,71,72],[63,72,97],[72,97],[63,64,72,97],[63,64],[72],[63],[65],[63,65,68],[63,70,84,104],[70,84,104],[75,77,82],[62],[71],[63,84],[49,63,68,83],[63,70,104],[70,104],[49,62],[63,68]],"referencedMap":[[162,1],[71,1],[85,1],[168,2],[160,1],[163,3],[167,4],[165,5],[166,6],[164,7],[106,8],[107,8],[109,9],[110,10],[111,11],[112,12],[113,13],[114,14],[115,15],[116,16],[117,17],[118,18],[119,18],[121,19],[120,20],[122,19],[123,21],[124,22],[108,23],[158,1],[125,24],[126,25],[127,26],[159,27],[128,28],[129,29],[130,30],[131,31],[132,32],[133,33],[134,34],[135,35],[136,36],[137,37],[138,37],[139,38],[140,39],[142,40],[141,41],[143,42],[144,43],[145,1],[146,44],[147,45],[148,46],[149,47],[150,48],[151,49],[152,50],[153,51],[154,52],[155,53],[156,54],[157,55],[70,56],[69,57],[93,58],[161,1],[76,59],[92,1],[9,1],[8,1],[2,1],[10,1],[11,1],[12,1],[13,1],[14,1],[15,1],[16,1],[17,1],[3,1],[4,1],[21,1],[18,1],[19,1],[20,1],[22,1],[23,1],[24,1],[5,1],[25,1],[26,1],[27,1],[28,1],[6,1],[32,1],[29,1],[30,1],[31,1],[33,1],[7,1],[34,1],[39,1],[40,1],[35,1],[36,1],[37,1],[38,1],[1,1],[41,1],[44,60],[47,61],[45,60],[46,60],[48,62],[43,60],[49,63],[42,1],[51,1],[50,1],[53,1],[56,1],[57,1],[61,64],[54,1],[52,1],[60,1],[59,1],[58,1],[55,1],[62,1],[97,65],[96,66],[100,67],[94,68],[101,69],[99,70],[95,71],[68,72],[102,73],[90,74],[81,75],[82,76],[83,77],[75,78],[77,79],[89,80],[87,81],[91,82],[86,1],[84,83],[78,84],[79,1],[88,1],[80,1],[74,85],[66,1],[72,59],[98,1],[73,57],[65,86],[63,87],[67,88],[64,89],[103,90],[104,57],[105,1]],"exportedModulesMap":[[162,1],[71,1],[85,1],[168,2],[160,1],[163,3],[167,4],[165,5],[166,6],[164,7],[106,8],[107,8],[109,9],[110,10],[111,11],[112,12],[113,13],[114,14],[115,15],[116,16],[117,17],[118,18],[119,18],[121,19],[120,20],[122,19],[123,21],[124,22],[108,23],[158,1],[125,24],[126,25],[127,26],[159,27],[128,28],[129,29],[130,30],[131,31],[132,32],[133,33],[134,34],[135,35],[136,36],[137,37],[138,37],[139,38],[140,39],[142,40],[141,41],[143,42],[144,43],[145,1],[146,44],[147,45],[148,46],[149,47],[150,48],[151,49],[152,50],[153,51],[154,52],[155,53],[156,54],[157,55],[70,56],[69,57],[93,58],[161,1],[76,59],[92,1],[9,1],[8,1],[2,1],[10,1],[11,1],[12,1],[13,1],[14,1],[15,1],[16,1],[17,1],[3,1],[4,1],[21,1],[18,1],[19,1],[20,1],[22,1],[23,1],[24,1],[5,1],[25,1],[26,1],[27,1],[28,1],[6,1],[32,1],[29,1],[30,1],[31,1],[33,1],[7,1],[34,1],[39,1],[40,1],[35,1],[36,1],[37,1],[38,1],[1,1],[41,1],[44,60],[47,61],[45,60],[46,60],[48,62],[43,60],[49,63],[42,1],[51,1],[50,1],[53,1],[56,1],[57,1],[61,64],[54,1],[52,1],[60,1],[59,1],[58,1],[55,1],[62,1],[97,91],[96,92],[100,93],[94,94],[101,95],[99,96],[95,97],[68,98],[102,99],[90,100],[82,101],[83,102],[75,103],[77,104],[89,105],[87,101],[91,95],[84,106],[74,107],[72,104],[73,108],[65,95],[63,109],[64,110],[103,90],[104,57],[105,1]],"semanticDiagnosticsPerFile":[162,71,85,168,160,163,167,165,166,164,106,107,109,110,111,112,113,114,115,116,117,118,119,121,120,122,123,124,108,158,125,126,127,159,128,129,130,131,132,133,134,135,136,137,138,139,140,142,141,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,70,69,93,161,76,92,9,8,2,10,11,12,13,14,15,16,17,3,4,21,18,19,20,22,23,24,5,25,26,27,28,6,32,29,30,31,33,7,34,39,40,35,36,37,38,1,41,44,47,45,46,48,43,49,42,51,50,53,56,57,61,54,52,60,59,58,55,62,97,96,100,94,101,99,95,68,102,90,81,82,83,75,77,89,87,91,86,84,78,79,88,80,74,66,72,98,73,65,63,67,64,103,104,105]},"version":"4.9.5"}
@@ -1,22 +0,0 @@
1
- import * as t from '../../shared/estree';
2
- import CodeGen from '../codegen';
3
- /**
4
- * Generate a function body AST from a template ESTree AST. This function can then be instantiated
5
- * via `new Function(code, modules)` The generated function retrieves receives the dependent LWC
6
- * components as arguments and returns the template function.
7
- *
8
- * @example
9
- * ```js
10
- * const {
11
- * // Components names
12
- * } = modules;
13
- *
14
- * function tmpl() {
15
- * // Template generated code
16
- * }
17
- * // Template metadata
18
- *
19
- * return tmpl;
20
- * ```
21
- */
22
- export declare function format(templateFn: t.FunctionDeclaration, codeGen: CodeGen): t.Program;
@@ -1,8 +0,0 @@
1
- import * as t from '../shared/estree';
2
- import { IRNode, TemplateExpression } from '../shared/types';
3
- /**
4
- * Bind the passed expression to the component instance. It applies the following transformation to the expression:
5
- * - {value} --> {$cmp.value}
6
- * - {value[index]} --> {$cmp.value[$cmp.index]}
7
- */
8
- export declare function bindExpression(expression: TemplateExpression, irNode: IRNode): t.Expression;
@@ -1,2 +0,0 @@
1
- import { BaseElement } from '../shared/types';
2
- export declare function isUnsafeTopLevelSerializableElement(element: BaseElement): boolean;
@@ -1,11 +0,0 @@
1
- import { TemplateIdentifier, TemplateExpression, IRNode, IRText, IRElement, HTMLElement, HTMLText, HTMLComment, IRComment } from './types';
2
- export declare function createElement(original: HTMLElement, parent?: IRElement): IRElement;
3
- export declare function createText(original: HTMLText, parent: IRElement, value: string | TemplateExpression): IRText;
4
- export declare function createComment(original: HTMLComment, parent: IRElement, value: string): IRComment;
5
- export declare function isElement(node: IRNode): node is IRElement;
6
- export declare function isTextNode(node: IRNode): node is IRText;
7
- export declare function isCommentNode(node: IRNode): node is IRComment;
8
- export declare function isCustomElement(node: IRNode): boolean;
9
- export declare function isTemplate(element: IRElement): boolean;
10
- export declare function isSlot(element: IRElement): boolean;
11
- export declare function isComponentProp(identifier: TemplateIdentifier, root: IRNode): boolean;