@lwc/template-compiler
Advanced tools
Comparing version 8.12.2 to 8.12.3
@@ -128,1 +128,2 @@ import * as t from '../shared/estree'; | ||
} | ||
//# sourceMappingURL=codegen.d.ts.map |
@@ -27,1 +27,2 @@ import * as t from '../shared/estree'; | ||
export declare function bindAttributeExpression(attr: Attribute | Property, element: BaseElement, codeGen: CodeGen, addLegacySanitizationHook: boolean): import("estree").Identifier | import("estree").MemberExpression | import("estree").ArrayExpression | import("estree").ObjectExpression | import("estree").ArrowFunctionExpression | import("estree").UnaryExpression | import("estree").SimpleLiteral | import("estree").RegExpLiteral | import("estree").BigIntLiteral | import("estree").AssignmentExpression | import("estree").AwaitExpression | import("estree").BinaryExpression | import("estree").SimpleCallExpression | import("estree").NewExpression | import("estree").ChainExpression | import("estree").ClassExpression | import("estree").ConditionalExpression | import("estree").FunctionExpression | import("estree").ImportExpression | import("estree").LogicalExpression | import("estree").MetaProperty | import("estree").SequenceExpression | import("estree").TaggedTemplateExpression | import("estree").TemplateLiteral | import("estree").ThisExpression | import("estree").UpdateExpression | import("estree").YieldExpression; | ||
//# sourceMappingURL=expression.d.ts.map |
@@ -24,1 +24,2 @@ import * as t from '../../shared/estree'; | ||
export declare function format(templateFn: t.FunctionDeclaration, codeGen: CodeGen): t.Program; | ||
//# sourceMappingURL=module.d.ts.map |
@@ -26,1 +26,2 @@ import * as t from '../shared/estree'; | ||
export declare function parseClassNames(classNames: string): string[]; | ||
//# sourceMappingURL=helpers.d.ts.map |
import type State from '../state'; | ||
import type { Root } from '../shared/types'; | ||
export default function (root: Root, state: State): string; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -35,1 +35,2 @@ import * as t from '../shared/estree'; | ||
export declare function optimizeStaticExpressions(templateFn: t.FunctionDeclaration): Array<t.FunctionDeclaration | t.VariableDeclaration>; | ||
//# sourceMappingURL=optimize.d.ts.map |
import type { StaticElement } from '../shared/types'; | ||
import type CodeGen from './codegen'; | ||
export declare function serializeStaticElement(element: StaticElement, codeGen: CodeGen): string; | ||
//# sourceMappingURL=static-element-serializer.d.ts.map |
@@ -8,1 +8,2 @@ import type State from '../state'; | ||
export declare const hasDynamicText: (nodes: Text[]) => boolean; | ||
//# sourceMappingURL=static-element.d.ts.map |
@@ -76,1 +76,2 @@ import type { CustomRendererConfig } from './shared/renderer-hooks'; | ||
export {}; | ||
//# sourceMappingURL=config.d.ts.map |
@@ -25,1 +25,2 @@ import type { Config } from './config'; | ||
export default function compile(source: string, filename: string, config: Config): TemplateCompileResult; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -35,1 +35,2 @@ import type ParserCtx from './parser'; | ||
} | ||
//# sourceMappingURL=attribute.d.ts.map |
@@ -40,1 +40,2 @@ export declare const EXPRESSION_RE: RegExp; | ||
export declare const TMPL_EXPR_ECMASCRIPT_EDITION = 2022; | ||
//# sourceMappingURL=constants.d.ts.map |
@@ -18,1 +18,2 @@ import type { DocumentFragment } from '@parse5/tools'; | ||
export {}; | ||
//# sourceMappingURL=html.d.ts.map |
@@ -6,1 +6,2 @@ import type ParserCtx from '../parser'; | ||
export declare function isComplexTemplateExpressionEnabled(ctx: ParserCtx): boolean; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -11,1 +11,2 @@ import type { Node as AcornNode } from 'acorn'; | ||
}; | ||
//# sourceMappingURL=types.d.ts.map |
import type { BaseNode } from 'estree'; | ||
export declare function validateExpressionAst(rootNode: BaseNode): void; | ||
//# sourceMappingURL=validate.d.ts.map |
@@ -10,1 +10,2 @@ import type { Expression, Identifier, SourceLocation } from '../shared/types'; | ||
export declare function parseIdentifier(ctx: ParserCtx, source: string, location: SourceLocation): Identifier; | ||
//# sourceMappingURL=expression.d.ts.map |
@@ -5,1 +5,2 @@ import type ParserCtx from './parser'; | ||
export declare function decodeTextContent(source: string): string; | ||
//# sourceMappingURL=html.d.ts.map |
import type { TemplateParseResult } from '../shared/types'; | ||
import type State from '../state'; | ||
export default function parse(source: string, state: State): TemplateParseResult; | ||
//# sourceMappingURL=index.d.ts.map |
export declare const errorCodesToErrorOn: Set<string>; | ||
export declare const errorCodesToWarnOnInOlderAPIVersions: Set<string>; | ||
//# sourceMappingURL=parse5Errors.d.ts.map |
@@ -150,1 +150,2 @@ import { LWCDirectiveRenderMode } from '../shared/types'; | ||
export {}; | ||
//# sourceMappingURL=parser.d.ts.map |
export declare const HTML_ATTRIBUTE_ELEMENT_MAP: Record<string, string[]>; | ||
//# sourceMappingURL=html-element-attributes.d.ts.map |
export declare const HTML_ELEMENTS: string[]; | ||
//# sourceMappingURL=html-elements.d.ts.map |
export declare function isReservedES6Keyword(str: string): boolean; | ||
//# sourceMappingURL=javascript.d.ts.map |
export declare const SVG_ELEMENTS: string[]; | ||
//# sourceMappingURL=svg-elements.d.ts.map |
@@ -14,1 +14,2 @@ export type scopeTokens = { | ||
export declare function generateScopeTokens(filename: string, namespace: string | undefined, componentName: string | undefined): scopeTokens; | ||
//# sourceMappingURL=scopeTokens.d.ts.map |
@@ -73,1 +73,2 @@ import type { Token as parse5TokenInfo } from 'parse5'; | ||
export declare function isAttribute(node: BaseNode): node is Attribute; | ||
//# sourceMappingURL=ast.d.ts.map |
@@ -18,1 +18,2 @@ import type { ElementDirectiveName } from './types'; | ||
export declare const STATIC_SAFE_DIRECTIVES: Set<keyof typeof ElementDirectiveName>; | ||
//# sourceMappingURL=constants.d.ts.map |
@@ -83,1 +83,2 @@ import type * as t from 'estree'; | ||
export type Program = t.Program; | ||
//# sourceMappingURL=estree.d.ts.map |
export declare function kebabcaseToCamelcase(name: string): string; | ||
//# sourceMappingURL=naming.d.ts.map |
@@ -40,1 +40,2 @@ import type State from '../state'; | ||
export declare function isCustomRendererHookRequired(element: BaseElement, state: State): boolean; | ||
//# sourceMappingURL=renderer-hooks.d.ts.map |
@@ -244,1 +244,2 @@ import type { CompilerDiagnostic } from '@lwc/errors'; | ||
export {}; | ||
//# sourceMappingURL=types.d.ts.map |
@@ -16,1 +16,2 @@ export declare function toPropertyName(attr: string): string; | ||
export declare function isLwcElementTag(tagName: string): boolean; | ||
//# sourceMappingURL=utils.d.ts.map |
@@ -33,1 +33,2 @@ import { type scopeTokens } from './scopeTokens'; | ||
} | ||
//# sourceMappingURL=state.d.ts.map |
@@ -7,3 +7,3 @@ { | ||
"name": "@lwc/template-compiler", | ||
"version": "8.12.2", | ||
"version": "8.12.3", | ||
"description": "Template compiler package", | ||
@@ -33,3 +33,4 @@ "keywords": [ | ||
"files": [ | ||
"dist" | ||
"dist/**/*.js", | ||
"dist/**/*.d.ts" | ||
], | ||
@@ -50,4 +51,4 @@ "scripts": { | ||
"dependencies": { | ||
"@lwc/errors": "8.12.2", | ||
"@lwc/shared": "8.12.2", | ||
"@lwc/errors": "8.12.3", | ||
"@lwc/shared": "8.12.3", | ||
"acorn": "~8.14.0", | ||
@@ -54,0 +55,0 @@ "astring": "~1.9.0", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
1252824
39
+ Added@lwc/errors@8.12.3(transitive)
+ Added@lwc/shared@8.12.3(transitive)
- Removed@lwc/errors@8.12.2(transitive)
- Removed@lwc/shared@8.12.2(transitive)
Updated@lwc/errors@8.12.3
Updated@lwc/shared@8.12.3