@lwc/engine-core
Advanced tools
Comparing version 1.17.0 to 1.18.0-alpha1
{ | ||
"name": "@lwc/engine-core", | ||
"version": "1.17.0", | ||
"version": "1.18.0-alpha1", | ||
"description": "Core LWC engine APIs.", | ||
@@ -28,4 +28,4 @@ "homepage": "https://lwc.dev/", | ||
"devDependencies": { | ||
"@lwc/features": "1.17.0", | ||
"@lwc/shared": "1.17.0", | ||
"@lwc/features": "1.18.0-alpha1", | ||
"@lwc/shared": "1.18.0-alpha1", | ||
"observable-membrane": "1.0.1" | ||
@@ -36,3 +36,3 @@ }, | ||
}, | ||
"gitHead": "fd77e59afe10abd7ec17f4143a87f36a6e643c54" | ||
"gitHead": "69b9f6dc292c0e58d1f794a25c7a30bbdbba2d50" | ||
} |
@@ -37,2 +37,6 @@ /** | ||
} | ||
export declare enum ShadowDomMode { | ||
nativeShadow = 0, | ||
syntheticShadow = 1 | ||
} | ||
export interface VCustomElement extends VElement { | ||
@@ -42,2 +46,3 @@ mode: 'closed' | 'open'; | ||
aChildren?: VNodes; | ||
shadowDomMode: ShadowDomMode; | ||
} | ||
@@ -44,0 +49,0 @@ export interface VText extends VNode { |
@@ -17,2 +17,3 @@ /** | ||
delegatesFocus?: boolean; | ||
forceNativeShadow?: 'native-shadow' | 'synthetic-shadow'; | ||
} | ||
@@ -19,0 +20,0 @@ export declare let LightningElement: LightningElementConstructor; |
@@ -14,2 +14,3 @@ export { createContextProvider } from './context-provider'; | ||
export { registerDecorators } from './decorators/register'; | ||
export { ShadowDomMode } from '../3rdparty/snabbdom/types'; | ||
export { unwrap } from './membrane'; | ||
@@ -16,0 +17,0 @@ export { sanitizeAttribute } from './secure-template'; |
@@ -7,3 +7,3 @@ import { Template } from './template'; | ||
import { Renderer, HostNode, HostElement } from './renderer'; | ||
import { VNodes, VCustomElement, VNode } from '../3rdparty/snabbdom/types'; | ||
import { VNodes, VCustomElement, VNode, ShadowDomMode } from '../3rdparty/snabbdom/types'; | ||
declare type ShadowRootMode = 'open' | 'closed'; | ||
@@ -49,2 +49,4 @@ export interface TemplateCache { | ||
readonly renderer: Renderer<N, E>; | ||
/** The shadow dom implementation to be used**/ | ||
readonly shadowDomMode: ShadowDomMode; | ||
/** The component creation index. */ | ||
@@ -113,2 +115,3 @@ idx: number; | ||
renderer: Renderer; | ||
shadowDomMode: ShadowDomMode; | ||
}): VM; | ||
@@ -115,0 +118,0 @@ export declare function associateVM(obj: VMAssociable, vm: VM): void; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
452458
12500
1
1