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

@lwc/engine-core

Package Overview
Dependencies
Maintainers
0
Versions
375
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lwc/engine-core - npm Package Compare versions

Comparing version 8.2.0 to 8.3.0

1

dist/framework/main.d.ts

@@ -31,1 +31,2 @@ export { getComponentHtmlPrototype } from './def';

export { setFeatureFlag, setFeatureFlagForTest } from '@lwc/features';
export { setTrustedSignalSet } from '@lwc/shared';

9

dist/framework/reporting.d.ts

@@ -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

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