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

@lwc/features

Package Overview
Dependencies
Maintainers
12
Versions
602
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 1.2.0-alpha1 to 1.2.0-alpha10

6

dist/flags.cjs.js

@@ -51,3 +51,3 @@ /**

const runtimeFlags = create(null);
// This function is not whitelisted for use within components and is meant for
// This function is not supported for use within components and is meant for
// configuring runtime feature flags during app initialization.

@@ -74,4 +74,4 @@ function setFeatureFlag(name, value) {

}
// This function is added to the LWC API whitelist (for testing purposes) so we
// add a check to make sure it is not invoked in production.
// This function is exposed to components to facilitate testing so we add a
// check to make sure it is not invoked in production.
function setFeatureFlagForTest(name, value) {

@@ -78,0 +78,0 @@ if (process.env.NODE_ENV !== 'production') {

@@ -47,3 +47,3 @@ /**

const runtimeFlags = create(null);
// This function is not whitelisted for use within components and is meant for
// This function is not supported for use within components and is meant for
// configuring runtime feature flags during app initialization.

@@ -70,4 +70,4 @@ function setFeatureFlag(name, value) {

}
// This function is added to the LWC API whitelist (for testing purposes) so we
// add a check to make sure it is not invoked in production.
// This function is exposed to components to facilitate testing so we add a
// check to make sure it is not invoked in production.
function setFeatureFlagForTest(name, value) {

@@ -74,0 +74,0 @@ if (process.env.NODE_ENV !== 'production') {

{
"name": "@lwc/features",
"version": "1.2.0-alpha1",
"version": "1.2.0-alpha10",
"description": "LWC Features Flags",

@@ -19,3 +19,3 @@ "main": "dist/flags.cjs.js",

"devDependencies": {
"@lwc/shared": "1.2.0-alpha1"
"@lwc/shared": "1.2.0-alpha10"
},

@@ -25,3 +25,3 @@ "publishConfig": {

},
"gitHead": "da38129a1999d31cea844246881f57d8337432f2"
"gitHead": "242f0fb1a2ed4d0b7a3aa621d6257068ec1fa8ad"
}
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