New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@lwc/features

Package Overview
Dependencies
Maintainers
14
Versions
605
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lwc/features - npm Package Compare versions

Comparing version 6.2.0 to 6.2.1

11

dist/index.cjs.js

@@ -11,3 +11,3 @@ /**

/*
* Copyright (c) 2018, salesforce.com, inc.
* Copyright (c) 2024, Salesforce, Inc.
* All rights reserved.

@@ -38,2 +38,6 @@ * SPDX-License-Identifier: MIT

* flag. It is meant to be used during the app initialization.
* @param name Name of the feature flag to set
* @param value Whether the feature flag should be enabled
* @throws Will throw if a non-boolean value is provided when running in production.
* @example setFeatureFlag("DISABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE", true)
*/

@@ -76,2 +80,5 @@ function setFeatureFlag(name, value) {

* purposes. It is a no-op when invoked in production mode.
* @param name Name of the feature flag to enable or disable
* @param value Whether the feature flag should be enabled
* @example setFeatureFlag("DISABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE", true)
*/

@@ -90,3 +97,3 @@ function setFeatureFlagForTest(name, value) {

exports.setFeatureFlagForTest = setFeatureFlagForTest;
/** version: 6.2.0 */
/** version: 6.2.1 */
//# sourceMappingURL=index.cjs.js.map

@@ -7,2 +7,6 @@ import { FeatureFlagMap, FeatureFlagName, FeatureFlagValue } from './types';

* flag. It is meant to be used during the app initialization.
* @param name Name of the feature flag to set
* @param value Whether the feature flag should be enabled
* @throws Will throw if a non-boolean value is provided when running in production.
* @example setFeatureFlag("DISABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE", true)
*/

@@ -13,2 +17,5 @@ export declare function setFeatureFlag(name: FeatureFlagName, value: FeatureFlagValue): void;

* purposes. It is a no-op when invoked in production mode.
* @param name Name of the feature flag to enable or disable
* @param value Whether the feature flag should be enabled
* @example setFeatureFlag("DISABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE", true)
*/

@@ -15,0 +22,0 @@ export declare function setFeatureFlagForTest(name: FeatureFlagName, value: FeatureFlagValue): void;

@@ -7,3 +7,3 @@ /**

/*
* Copyright (c) 2018, salesforce.com, inc.
* Copyright (c) 2024, Salesforce, Inc.
* All rights reserved.

@@ -34,2 +34,6 @@ * SPDX-License-Identifier: MIT

* flag. It is meant to be used during the app initialization.
* @param name Name of the feature flag to set
* @param value Whether the feature flag should be enabled
* @throws Will throw if a non-boolean value is provided when running in production.
* @example setFeatureFlag("DISABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE", true)
*/

@@ -72,2 +76,5 @@ function setFeatureFlag(name, value) {

* purposes. It is a no-op when invoked in production mode.
* @param name Name of the feature flag to enable or disable
* @param value Whether the feature flag should be enabled
* @example setFeatureFlag("DISABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE", true)
*/

@@ -82,3 +89,3 @@ function setFeatureFlagForTest(name, value) {

export { features as default, flags as lwcRuntimeFlags, flags as runtimeFlags, setFeatureFlag, setFeatureFlagForTest };
/** version: 6.2.0 */
/** version: 6.2.1 */
//# sourceMappingURL=index.js.map

4

dist/types.d.ts

@@ -5,5 +5,5 @@ /**

* - `true`: The feature is **present** and **enabled**. The flag is enabled in the generated output
* and can't be disabled at runtime.
* and can't be disabled at runtime.
* - `false`: The feature is entirely **disabled**. The code behind the flag is stripped away from
* the generated output.
* the generated output.
*/

@@ -10,0 +10,0 @@ export type FeatureFlagValue = boolean | null;

@@ -7,3 +7,3 @@ {

"name": "@lwc/features",
"version": "6.2.0",
"version": "6.2.1",
"description": "LWC Features Flags",

@@ -46,4 +46,4 @@ "keywords": [

"dependencies": {
"@lwc/shared": "6.2.0"
"@lwc/shared": "6.2.1"
}
}

Sorry, the diff of this file is not supported yet

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