Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Socket
Sign inDemoInstall

@lwc/template-compiler

Package Overview
Dependencies
Maintainers
13
Versions
783
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 7.2.0 to 7.3.0-alpha.0

9

dist/codegen/codegen.d.ts

@@ -39,2 +39,7 @@ import { APIVersion } from '@lwc/shared';

readonly state: State;
/**
* True if this is a synthetic shadow template - otherwise, we may apply certain optimizations
* that only exist for native shadow and light DOM.
*/
readonly isSyntheticShadow: boolean;
currentId: number;

@@ -70,4 +75,4 @@ currentKey: number;

genFlatten(children: t.Expression[]): import("estree").CallExpression;
genScopedId(id: string | t.Expression): t.CallExpression;
genScopedFragId(id: string | t.Expression): t.CallExpression;
genScopedId(id: string | t.Expression): t.Expression | t.Literal;
genScopedFragId(id: string | t.Expression): t.Expression | t.Literal;
genClassExpression(value: Expression): import("estree").Expression;

@@ -74,0 +79,0 @@ genNormalizeClassName(className: t.Expression): t.CallExpression;

@@ -67,2 +67,4 @@ import { InstrumentationObject } from '@lwc/errors';

apiVersion?: number;
/** Set to true if synthetic shadow DOM support is not needed, which can result in smaller/faster output. */
disableSyntheticShadowSupport?: boolean;
}

@@ -69,0 +71,0 @@ type OptionalConfigNames = 'customRendererConfig' | 'instrumentation' | 'namespace' | 'name';

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

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

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

"dependencies": {
"@lwc/errors": "7.2.0",
"@lwc/shared": "7.2.0",
"@lwc/errors": "7.3.0-alpha.0",
"@lwc/shared": "7.3.0-alpha.0",
"acorn": "~8.12.1",

@@ -60,2 +60,2 @@ "astring": "~1.8.6",

}
}
}

@@ -65,2 +65,3 @@ # @lwc/template-compiler

- `instrumentation` (InstrumentationObject, optional) - instrumentation object to gather metrics and non-error logs for internal use. See the `@lwc/errors` package for details on the interface.
- `disableSyntheticShadowSupport` (type: `boolean`, default: `false`) - Set to true if synthetic shadow DOM support is not needed, which can result in smaller/faster output.

@@ -67,0 +68,0 @@ - Example 1: Config to match `<use>` elements under the `svg` namespace and have `href` attribute set.

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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