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.0.0 to 6.1.0

13

dist/index.cjs.js
/**
* Copyright (C) 2023 salesforce.com, inc.
* Copyright (c) 2024 Salesforce, Inc.
*/

@@ -21,3 +21,2 @@ 'use strict';

ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST: null,
ENABLE_MIXED_SHADOW_MODE: null,
DISABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE: null,

@@ -30,8 +29,6 @@ ENABLE_WIRE_SYNC_EMIT: null,

};
// eslint-disable-next-line no-restricted-properties
if (!shared.globalThis.lwcRuntimeFlags) {
Object.defineProperty(shared.globalThis, 'lwcRuntimeFlags', { value: shared.create(null) });
if (!globalThis.lwcRuntimeFlags) {
Object.defineProperty(globalThis, 'lwcRuntimeFlags', { value: shared.create(null) });
}
// eslint-disable-next-line no-restricted-properties
const flags = shared.globalThis.lwcRuntimeFlags;
const flags = globalThis.lwcRuntimeFlags;
/**

@@ -90,3 +87,3 @@ * Set the value at runtime of a given feature flag. This method only be invoked once per feature

exports.setFeatureFlagForTest = setFeatureFlagForTest;
/** version: 6.0.0 */
/** version: 6.1.0 */
//# sourceMappingURL=index.cjs.js.map
/**
* Copyright (C) 2023 salesforce.com, inc.
* Copyright (c) 2024 Salesforce, Inc.
*/
import { globalThis, create, isBoolean, isUndefined, defineProperty } from '@lwc/shared';
import { create, isBoolean, isUndefined, defineProperty } from '@lwc/shared';

@@ -17,3 +17,2 @@ /*

ENABLE_FORCE_NATIVE_SHADOW_MODE_FOR_TEST: null,
ENABLE_MIXED_SHADOW_MODE: null,
DISABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE: null,

@@ -26,7 +25,5 @@ ENABLE_WIRE_SYNC_EMIT: null,

};
// eslint-disable-next-line no-restricted-properties
if (!globalThis.lwcRuntimeFlags) {
Object.defineProperty(globalThis, 'lwcRuntimeFlags', { value: create(null) });
}
// eslint-disable-next-line no-restricted-properties
const flags = globalThis.lwcRuntimeFlags;

@@ -82,3 +79,3 @@ /**

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

@@ -16,7 +16,2 @@ /**

/**
* LWC engine flag to enable mixed shadow mode. Setting this flag to `true` enables usage of
* native shadow DOM even when the synthetic shadow polyfill is applied.
*/
ENABLE_MIXED_SHADOW_MODE: FeatureFlagValue;
/**
* LWC engine flag to force native shadow mode for mixed shadow mode testing.

@@ -23,0 +18,0 @@ */

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

"name": "@lwc/features",
"version": "6.0.0",
"version": "6.1.0",
"description": "LWC Features Flags",

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

"dependencies": {
"@lwc/shared": "6.0.0"
"@lwc/shared": "6.1.0"
}
}

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