You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

lwc

Package Overview
Dependencies
Maintainers
15
Versions
670
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lwc - npm Package Compare versions

Comparing version

to
8.20.1

41

package.json
{
"name": "lwc",
"version": "8.20.0",
"version": "8.20.1",
"description": "Lightning Web Components (LWC)",

@@ -24,20 +24,20 @@ "homepage": "https://lwc.dev/",

"dependencies": {
"@lwc/aria-reflection": "8.20.0",
"@lwc/babel-plugin-component": "8.20.0",
"@lwc/compiler": "8.20.0",
"@lwc/engine-core": "8.20.0",
"@lwc/engine-dom": "8.20.0",
"@lwc/engine-server": "8.20.0",
"@lwc/errors": "8.20.0",
"@lwc/features": "8.20.0",
"@lwc/module-resolver": "8.20.0",
"@lwc/rollup-plugin": "8.20.0",
"@lwc/shared": "8.20.0",
"@lwc/ssr-compiler": "8.20.0",
"@lwc/ssr-runtime": "8.20.0",
"@lwc/style-compiler": "8.20.0",
"@lwc/synthetic-shadow": "8.20.0",
"@lwc/template-compiler": "8.20.0",
"@lwc/types": "8.20.0",
"@lwc/wire-service": "8.20.0"
"@lwc/aria-reflection": "8.20.1",
"@lwc/babel-plugin-component": "8.20.1",
"@lwc/compiler": "8.20.1",
"@lwc/engine-core": "8.20.1",
"@lwc/engine-dom": "8.20.1",
"@lwc/engine-server": "8.20.1",
"@lwc/errors": "8.20.1",
"@lwc/features": "8.20.1",
"@lwc/module-resolver": "8.20.1",
"@lwc/rollup-plugin": "8.20.1",
"@lwc/shared": "8.20.1",
"@lwc/ssr-compiler": "8.20.1",
"@lwc/ssr-runtime": "8.20.1",
"@lwc/style-compiler": "8.20.1",
"@lwc/synthetic-shadow": "8.20.1",
"@lwc/template-compiler": "8.20.1",
"@lwc/types": "8.20.1",
"@lwc/wire-service": "8.20.1"
},

@@ -80,3 +80,6 @@ "lwc": {

"./wire-service": "./wire-service.js"
},
"volta": {
"extends": "../../package.json"
}
}

@@ -82,1 +82,32 @@ Lightning Web Components (LWC) is an enterprise-grade web components foundation for building user interfaces. LWC provides a simple authoring format for UI components, which is compiled into low-level Web Component APIs. The `lwc` package is the main entry point for dependencies.

The `@lwc/ssr-compiler` and `@lwc/ssr-runtime` packages are still considered experimental, and may break without notice.
## Experimental APIs
### 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`.
### isTrustedSignal()
Not intended for external use. This experimental API enables the caller to determine if an object is a trusted signal. The [ENABLE_EXPERIMENTAL_SIGNALS](https://github.com/salesforce/lwc/blob/master/packages/%40lwc/features/README.md#lwcfeatures) feature must be enabled.
### setContextKeys
Not intended for external use. Enables another library to establish contextful relationships via the LWC component tree. The `connectContext` and `disconnectContext` symbols that are provided are later used to identify methods that facilitate the establishment and dissolution of these contextful relationships. The [ENABLE_EXPERIMENTAL_SIGNALS](https://github.com/salesforce/lwc/blob/master/packages/%40lwc/features/README.md#lwcfeatures) feature must be enabled.
### setTrustedContextSet()
Not intended for external use. This experimental API enables the addition of context as trusted context. The [ENABLE_EXPERIMENTAL_SIGNALS](https://github.com/salesforce/lwc/blob/master/packages/%40lwc/features/README.md#lwcfeatures) feature must be enabled.
If `setTrustedContextSet` is called more than once, it will throw an error. If it is never called, then context will not be connected.
### ContextBinding
The context object's `connectContext` and `disconnectContext` methods are called with this object when contextful components are connected and disconnected. The ContextBinding exposes `provideContext` and `consumeContext`,
enabling the provision/consumption of a contextful Signal of a specified variety for the associated component. The [ENABLE_EXPERIMENTAL_SIGNALS](https://github.com/salesforce/lwc/blob/master/packages/%40lwc/features/README.md#lwcfeatures) feature must be enabled.
### SignalBaseClass
Not intended for external use. Signals that extend SignalBaseClass will be added to set of trusted signals. The [ENABLE_EXPERIMENTAL_SIGNALS](https://github.com/salesforce/lwc/blob/master/packages/%40lwc/features/README.md#lwcfeatures) feature must be enabled.