@lwc/engine-core 2.44.0 → 2.45.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.
- package/dist/engine-core.cjs.js +97 -92
- package/dist/engine-core.cjs.js.map +1 -1
- package/dist/engine-core.js +99 -93
- package/dist/engine-core.js.map +1 -1
- package/package.json +4 -4
- package/types/framework/main.d.ts +0 -1
- package/types/framework/reporting.d.ts +1 -3
- package/types/framework/restrictions.d.ts +0 -1
- package/types/framework/stylesheet.d.ts +0 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lwc/engine-core",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.45.1",
|
|
4
4
|
"description": "Core LWC engine APIs.",
|
|
5
5
|
"homepage": "https://lwc.dev/",
|
|
6
6
|
"repository": {
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
"types/"
|
|
25
25
|
],
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@lwc/aria-reflection": "2.
|
|
28
|
-
"@lwc/features": "2.
|
|
29
|
-
"@lwc/shared": "2.
|
|
27
|
+
"@lwc/aria-reflection": "2.45.1",
|
|
28
|
+
"@lwc/features": "2.45.1",
|
|
29
|
+
"@lwc/shared": "2.45.1"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"observable-membrane": "2.0.0"
|
|
@@ -6,7 +6,6 @@ export { hydrateRoot } from './hydration';
|
|
|
6
6
|
export { registerComponent } from './component';
|
|
7
7
|
export { registerTemplate } from './secure-template';
|
|
8
8
|
export { registerDecorators } from './decorators/register';
|
|
9
|
-
export { registerStylesheet } from './stylesheet';
|
|
10
9
|
export { unwrap } from './membrane';
|
|
11
10
|
export { sanitizeAttribute } from './secure-template';
|
|
12
11
|
export { getComponentDef, isComponentConstructor } from './def';
|
|
@@ -3,8 +3,7 @@ export declare const enum ReportingEventId {
|
|
|
3
3
|
CompilerRuntimeVersionMismatch = "CompilerRuntimeVersionMismatch",
|
|
4
4
|
NonStandardAriaReflection = "NonStandardAriaReflection",
|
|
5
5
|
TemplateMutation = "TemplateMutation",
|
|
6
|
-
StylesheetMutation = "StylesheetMutation"
|
|
7
|
-
UnexpectedStylesheetContent = "UnexpectedStylesheetContent"
|
|
6
|
+
StylesheetMutation = "StylesheetMutation"
|
|
8
7
|
}
|
|
9
8
|
export interface BasePayload {
|
|
10
9
|
tagName?: string;
|
|
@@ -33,7 +32,6 @@ export type ReportingPayloadMapping = {
|
|
|
33
32
|
[ReportingEventId.NonStandardAriaReflection]: NonStandardAriaReflectionPayload;
|
|
34
33
|
[ReportingEventId.TemplateMutation]: TemplateMutationPayload;
|
|
35
34
|
[ReportingEventId.StylesheetMutation]: StylesheetMutationPayload;
|
|
36
|
-
[ReportingEventId.UnexpectedStylesheetContent]: BasePayload;
|
|
37
35
|
};
|
|
38
36
|
export type ReportingDispatcher<T extends ReportingEventId = ReportingEventId> = (reportingEventId: T, payload: ReportingPayloadMapping[T]) => void;
|
|
39
37
|
/** Callbacks to invoke when reporting is enabled **/
|
|
@@ -8,5 +8,4 @@ export declare function patchElementWithRestrictions(elm: Element, options: {
|
|
|
8
8
|
}): void;
|
|
9
9
|
export declare function patchShadowRootWithRestrictions(sr: ShadowRoot): void;
|
|
10
10
|
export declare function patchCustomElementWithRestrictions(elm: HTMLElement): void;
|
|
11
|
-
export declare function patchComponentWithRestrictions(cmp: LightningElement): void;
|
|
12
11
|
export declare function patchLightningElementPrototypeWithRestrictions(proto: typeof LightningElement.prototype): void;
|
|
@@ -28,8 +28,3 @@ export declare function getScopeTokenClass(owner: VM): string | null;
|
|
|
28
28
|
*/
|
|
29
29
|
export declare function getStylesheetTokenHost(vnode: VCustomElement): string | null;
|
|
30
30
|
export declare function createStylesheet(vm: VM, stylesheets: string[]): VNode[] | null;
|
|
31
|
-
/**
|
|
32
|
-
* INTERNAL: This function can only be invoked by compiled code. The compiler
|
|
33
|
-
* will prevent this function from being imported by userland code.
|
|
34
|
-
*/
|
|
35
|
-
export declare function registerStylesheet(stylesheet: StylesheetFactory): StylesheetFactory;
|