New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@lwc/template-compiler

Package Overview
Dependencies
Maintainers
15
Versions
809
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lwc/template-compiler - npm Package Compare versions

Comparing version 8.12.6 to 8.12.7-alpha.0

1

dist/codegen/codegen.d.ts

@@ -128,2 +128,1 @@ import * as t from '../shared/estree';

}
//# sourceMappingURL=codegen.d.ts.map

@@ -27,2 +27,1 @@ 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,2 +24,1 @@ import * as t from '../../shared/estree';

export declare function format(templateFn: t.FunctionDeclaration, codeGen: CodeGen): t.Program;
//# sourceMappingURL=module.d.ts.map

@@ -26,2 +26,1 @@ 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,2 +35,1 @@ 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,2 +8,1 @@ import type State from '../state';

export declare const hasDynamicText: (nodes: Text[]) => boolean;
//# sourceMappingURL=static-element.d.ts.map

@@ -76,2 +76,1 @@ import type { CustomRendererConfig } from './shared/renderer-hooks';

export {};
//# sourceMappingURL=config.d.ts.map

@@ -25,2 +25,1 @@ import type { Config } from './config';

export default function compile(source: string, filename: string, config: Config): TemplateCompileResult;
//# sourceMappingURL=index.d.ts.map

@@ -35,2 +35,1 @@ import type ParserCtx from './parser';

}
//# sourceMappingURL=attribute.d.ts.map

@@ -40,2 +40,1 @@ export declare const EXPRESSION_RE: RegExp;

export declare const TMPL_EXPR_ECMASCRIPT_EDITION = 2022;
//# sourceMappingURL=constants.d.ts.map

@@ -18,2 +18,1 @@ import type { DocumentFragment } from '@parse5/tools';

export {};
//# sourceMappingURL=html.d.ts.map

@@ -6,2 +6,1 @@ import type ParserCtx from '../parser';

export declare function isComplexTemplateExpressionEnabled(ctx: ParserCtx): boolean;
//# sourceMappingURL=index.d.ts.map

@@ -11,2 +11,1 @@ 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,2 +10,1 @@ 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,2 +5,1 @@ 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,2 +150,1 @@ 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,2 +14,1 @@ export type scopeTokens = {

export declare function generateScopeTokens(filename: string, namespace: string | undefined, componentName: string | undefined): scopeTokens;
//# sourceMappingURL=scopeTokens.d.ts.map

@@ -73,2 +73,1 @@ import type { Token as parse5TokenInfo } from 'parse5';

export declare function isAttribute(node: BaseNode): node is Attribute;
//# sourceMappingURL=ast.d.ts.map

@@ -18,2 +18,1 @@ import type { ElementDirectiveName } from './types';

export declare const STATIC_SAFE_DIRECTIVES: Set<keyof typeof ElementDirectiveName>;
//# sourceMappingURL=constants.d.ts.map

@@ -83,2 +83,1 @@ 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,2 +40,1 @@ import type State from '../state';

export declare function isCustomRendererHookRequired(element: BaseElement, state: State): boolean;
//# sourceMappingURL=renderer-hooks.d.ts.map

@@ -244,2 +244,1 @@ import type { CompilerDiagnostic } from '@lwc/errors';

export {};
//# sourceMappingURL=types.d.ts.map

@@ -16,2 +16,1 @@ export declare function toPropertyName(attr: string): string;

export declare function isLwcElementTag(tagName: string): boolean;
//# sourceMappingURL=utils.d.ts.map

@@ -33,2 +33,1 @@ import { type scopeTokens } from './scopeTokens';

}
//# sourceMappingURL=state.d.ts.map

8

package.json

@@ -7,3 +7,3 @@ {

"name": "@lwc/template-compiler",
"version": "8.12.6",
"version": "8.12.7-alpha.0",
"description": "Template compiler package",

@@ -50,4 +50,4 @@ "keywords": [

"dependencies": {
"@lwc/errors": "8.12.6",
"@lwc/shared": "8.12.6",
"@lwc/errors": "8.12.7-alpha.0",
"@lwc/shared": "8.12.7-alpha.0",
"acorn": "~8.14.0",

@@ -64,2 +64,2 @@ "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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc