@lwc/engine-core
Advanced tools
Comparing version 8.2.0 to 8.3.0
@@ -31,1 +31,2 @@ export { getComponentHtmlPrototype } from './def'; | ||
export { setFeatureFlag, setFeatureFlagForTest } from '@lwc/features'; | ||
export { setTrustedSignalSet } from '@lwc/shared'; |
@@ -1,2 +0,2 @@ | ||
import { ShadowMode, ShadowSupportMode } from './vm'; | ||
import { RenderMode, ShadowMode, ShadowSupportMode } from './vm'; | ||
export declare const enum ReportingEventId { | ||
@@ -10,3 +10,4 @@ CrossRootAriaInSyntheticShadow = "CrossRootAriaInSyntheticShadow", | ||
ShadowModeUsage = "ShadowModeUsage", | ||
ShadowSupportModeUsage = "ShadowSupportModeUsage" | ||
ShadowSupportModeUsage = "ShadowSupportModeUsage", | ||
RenderModeMismatch = "RenderModeMismatch" | ||
} | ||
@@ -36,2 +37,5 @@ export interface BasePayload { | ||
} | ||
export interface RenderModeMismatchPayload extends BasePayload { | ||
mode: RenderMode; | ||
} | ||
export interface ShadowModeUsagePayload extends BasePayload { | ||
@@ -52,2 +56,3 @@ mode: ShadowMode; | ||
[ReportingEventId.ShadowSupportModeUsage]: ShadowSupportModeUsagePayload; | ||
[ReportingEventId.RenderModeMismatch]: RenderModeMismatchPayload; | ||
}; | ||
@@ -54,0 +59,0 @@ export type ReportingDispatcher<T extends ReportingEventId = ReportingEventId> = (reportingEventId: T, payload: ReportingPayloadMapping[T]) => void; |
@@ -7,3 +7,3 @@ { | ||
"name": "@lwc/engine-core", | ||
"version": "8.2.0", | ||
"version": "8.3.0", | ||
"description": "Core LWC engine APIs.", | ||
@@ -46,5 +46,5 @@ "keywords": [ | ||
"dependencies": { | ||
"@lwc/features": "8.2.0", | ||
"@lwc/shared": "8.2.0", | ||
"@lwc/signals": "8.2.0" | ||
"@lwc/features": "8.3.0", | ||
"@lwc/shared": "8.3.0", | ||
"@lwc/signals": "8.3.0" | ||
}, | ||
@@ -51,0 +51,0 @@ "devDependencies": { |
@@ -118,1 +118,7 @@ # @lwc/engine-core | ||
This experimental API enables the removal of an object's observable membrane proxy wrapper. | ||
### setTrustedSignalSet() | ||
This experimental API enables the addition of a signal as a trusted signal. If the [ENABLE_EXPERIMENTAL_SIGNALS](https://github.com/salesforce/lwc/blob/master/packages/%40lwc/features/README.md#lwcfeatures) feature is enabled, any signal value change will trigger a re-render. | ||
If `setTrustedSignalSet` is called more than once, it will throw an error. If it is never called, then no trusted signal validation will be performed. The same `setTrustedSignalSet` API must be called on both `@lwc/engine-dom` and `@lwc/signals`. |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1315444
18177
124
404
+ Added@lwc/features@8.3.0(transitive)
+ Added@lwc/shared@8.3.0(transitive)
+ Added@lwc/signals@8.3.0(transitive)
- Removed@lwc/features@8.2.0(transitive)
- Removed@lwc/shared@8.2.0(transitive)
- Removed@lwc/signals@8.2.0(transitive)
Updated@lwc/features@8.3.0
Updated@lwc/shared@8.3.0
Updated@lwc/signals@8.3.0