@lwc/features
Advanced tools
Comparing version 1.2.0-alpha4 to 1.2.0-alpha5
@@ -35,3 +35,3 @@ /** | ||
*/ | ||
/** | ||
/* | ||
* In IE11, symbols are expensive. | ||
@@ -43,3 +43,3 @@ * Due to the nature of the symbol polyfill. This method abstract the | ||
const hasNativeSymbolsSupport = Symbol('x').toString() === 'Symbol(x)'; | ||
/** version: 1.1.4 */ | ||
/** version: 1.1.16 */ | ||
@@ -60,2 +60,3 @@ /* | ||
if (process.env.NODE_ENV === 'production') { | ||
// eslint-disable-next-line no-console | ||
console.error(message); | ||
@@ -71,2 +72,3 @@ } | ||
else { | ||
// eslint-disable-next-line no-console | ||
console.warn(`LWC feature flag "${name}" is undefined. Possible reasons are that 1) it was misspelled or 2) it was removed from the @lwc/features package.`); | ||
@@ -99,2 +101,2 @@ } | ||
exports.setFeatureFlagForTest = setFeatureFlagForTest; | ||
/** version: 1.1.4 */ | ||
/** version: 1.1.16 */ |
@@ -31,3 +31,3 @@ /** | ||
*/ | ||
/** | ||
/* | ||
* In IE11, symbols are expensive. | ||
@@ -39,3 +39,3 @@ * Due to the nature of the symbol polyfill. This method abstract the | ||
const hasNativeSymbolsSupport = Symbol('x').toString() === 'Symbol(x)'; | ||
/** version: 1.1.4 */ | ||
/** version: 1.1.16 */ | ||
@@ -56,2 +56,3 @@ /* | ||
if (process.env.NODE_ENV === 'production') { | ||
// eslint-disable-next-line no-console | ||
console.error(message); | ||
@@ -67,2 +68,3 @@ } | ||
else { | ||
// eslint-disable-next-line no-console | ||
console.warn(`LWC feature flag "${name}" is undefined. Possible reasons are that 1) it was misspelled or 2) it was removed from the @lwc/features package.`); | ||
@@ -93,2 +95,2 @@ } | ||
export { runtimeFlags, setFeatureFlag, setFeatureFlagForTest }; | ||
/** version: 1.1.4 */ | ||
/** version: 1.1.16 */ |
{ | ||
"name": "@lwc/features", | ||
"version": "1.2.0-alpha4", | ||
"version": "1.2.0-alpha5", | ||
"description": "LWC Features Flags", | ||
@@ -19,3 +19,3 @@ "main": "dist/flags.cjs.js", | ||
"devDependencies": { | ||
"@lwc/shared": "1.2.0-alpha4" | ||
"@lwc/shared": "1.2.0-alpha5" | ||
}, | ||
@@ -25,3 +25,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "b3f49c3ca0a032d872bb56b259305414f6874327" | ||
"gitHead": "11471f8589514dd1e078b2152fb36262f0428fc9" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10665
188