@atlaskit/platform-feature-flags
Advanced tools
Comparing version 0.0.10 to 0.0.11
# @atlaskit/platform-feature-flags | ||
## 0.0.11 | ||
### Patch Changes | ||
- [`d603f6fb55b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d603f6fb55b) - Fix Platform Feature Flag overrides | ||
## 0.0.10 | ||
@@ -4,0 +10,0 @@ |
@@ -11,10 +11,11 @@ "use strict"; | ||
var pkgName = '@atlaskit/platform-feature-flags'; | ||
var registry = {}; // FF global overrides can be configured by test runners or Storybook | ||
var registry = {}; | ||
var hasProcessEnv = typeof process !== 'undefined' && typeof process.env !== 'undefined'; // FF global overrides can be configured by test runners or Storybook | ||
var ENV_ENABLE_PLATFORM_FF = // Use global "process" variable and process.env['FLAG_NAME'] syntax, so it can be replaced by webpack DefinePlugin | ||
typeof process !== 'undefined' ? process.env['ENABLE_PLATFORM_FF'] === 'true' : false; // STORYBOOK_ENABLE_PLATFORM_FF is included as storybook only allows env vars prefixed with STORYBOOK | ||
var ENV_ENABLE_PLATFORM_FF = hasProcessEnv ? // Use global "process" variable and process.env['FLAG_NAME'] syntax, so it can be replaced by webpack DefinePlugin | ||
process.env['ENABLE_PLATFORM_FF'] === 'true' : false; // STORYBOOK_ENABLE_PLATFORM_FF is included as storybook only allows env vars prefixed with STORYBOOK | ||
// https://github.com/storybookjs/storybook/issues/12270 | ||
var ENV_STORYBOOK_ENABLE_PLATFORM_FF = // Use global "process" variable and process.env['FLAG_NAME'] syntax, so it can be replaced by webpack DefinePlugin | ||
typeof process !== 'undefined' ? process.env['STORYBOOK_ENABLE_PLATFORM_FF'] === 'true' : false; | ||
var ENV_STORYBOOK_ENABLE_PLATFORM_FF = hasProcessEnv ? // Use global "process" variable and process.env['FLAG_NAME'] syntax, so it can be replaced by webpack DefinePlugin | ||
process.env['STORYBOOK_ENABLE_PLATFORM_FF'] === 'true' : false; | ||
var ENABLE_GLOBAL_PLATFORM_FF_OVERRIDE = ENV_ENABLE_PLATFORM_FF || ENV_STORYBOOK_ENABLE_PLATFORM_FF; // A list of property keys that are not allowed to exist on the store proxy object. | ||
@@ -21,0 +22,0 @@ |
{ | ||
"name": "@atlaskit/platform-feature-flags", | ||
"version": "0.0.10", | ||
"version": "0.0.11", | ||
"sideEffects": false | ||
} |
import { debug } from './debug'; | ||
const pkgName = '@atlaskit/platform-feature-flags'; | ||
const registry = {}; // FF global overrides can be configured by test runners or Storybook | ||
const registry = {}; | ||
const hasProcessEnv = typeof process !== 'undefined' && typeof process.env !== 'undefined'; // FF global overrides can be configured by test runners or Storybook | ||
const ENV_ENABLE_PLATFORM_FF = // Use global "process" variable and process.env['FLAG_NAME'] syntax, so it can be replaced by webpack DefinePlugin | ||
typeof process !== 'undefined' ? process.env['ENABLE_PLATFORM_FF'] === 'true' : false; // STORYBOOK_ENABLE_PLATFORM_FF is included as storybook only allows env vars prefixed with STORYBOOK | ||
const ENV_ENABLE_PLATFORM_FF = hasProcessEnv ? // Use global "process" variable and process.env['FLAG_NAME'] syntax, so it can be replaced by webpack DefinePlugin | ||
process.env['ENABLE_PLATFORM_FF'] === 'true' : false; // STORYBOOK_ENABLE_PLATFORM_FF is included as storybook only allows env vars prefixed with STORYBOOK | ||
// https://github.com/storybookjs/storybook/issues/12270 | ||
const ENV_STORYBOOK_ENABLE_PLATFORM_FF = // Use global "process" variable and process.env['FLAG_NAME'] syntax, so it can be replaced by webpack DefinePlugin | ||
typeof process !== 'undefined' ? process.env['STORYBOOK_ENABLE_PLATFORM_FF'] === 'true' : false; | ||
const ENV_STORYBOOK_ENABLE_PLATFORM_FF = hasProcessEnv ? // Use global "process" variable and process.env['FLAG_NAME'] syntax, so it can be replaced by webpack DefinePlugin | ||
process.env['STORYBOOK_ENABLE_PLATFORM_FF'] === 'true' : false; | ||
const ENABLE_GLOBAL_PLATFORM_FF_OVERRIDE = ENV_ENABLE_PLATFORM_FF || ENV_STORYBOOK_ENABLE_PLATFORM_FF; // A list of property keys that are not allowed to exist on the store proxy object. | ||
@@ -12,0 +13,0 @@ |
{ | ||
"name": "@atlaskit/platform-feature-flags", | ||
"version": "0.0.10", | ||
"version": "0.0.11", | ||
"sideEffects": false | ||
} |
import { debug } from './debug'; | ||
var pkgName = '@atlaskit/platform-feature-flags'; | ||
var registry = {}; // FF global overrides can be configured by test runners or Storybook | ||
var registry = {}; | ||
var hasProcessEnv = typeof process !== 'undefined' && typeof process.env !== 'undefined'; // FF global overrides can be configured by test runners or Storybook | ||
var ENV_ENABLE_PLATFORM_FF = // Use global "process" variable and process.env['FLAG_NAME'] syntax, so it can be replaced by webpack DefinePlugin | ||
typeof process !== 'undefined' ? process.env['ENABLE_PLATFORM_FF'] === 'true' : false; // STORYBOOK_ENABLE_PLATFORM_FF is included as storybook only allows env vars prefixed with STORYBOOK | ||
var ENV_ENABLE_PLATFORM_FF = hasProcessEnv ? // Use global "process" variable and process.env['FLAG_NAME'] syntax, so it can be replaced by webpack DefinePlugin | ||
process.env['ENABLE_PLATFORM_FF'] === 'true' : false; // STORYBOOK_ENABLE_PLATFORM_FF is included as storybook only allows env vars prefixed with STORYBOOK | ||
// https://github.com/storybookjs/storybook/issues/12270 | ||
var ENV_STORYBOOK_ENABLE_PLATFORM_FF = // Use global "process" variable and process.env['FLAG_NAME'] syntax, so it can be replaced by webpack DefinePlugin | ||
typeof process !== 'undefined' ? process.env['STORYBOOK_ENABLE_PLATFORM_FF'] === 'true' : false; | ||
var ENV_STORYBOOK_ENABLE_PLATFORM_FF = hasProcessEnv ? // Use global "process" variable and process.env['FLAG_NAME'] syntax, so it can be replaced by webpack DefinePlugin | ||
process.env['STORYBOOK_ENABLE_PLATFORM_FF'] === 'true' : false; | ||
var ENABLE_GLOBAL_PLATFORM_FF_OVERRIDE = ENV_ENABLE_PLATFORM_FF || ENV_STORYBOOK_ENABLE_PLATFORM_FF; // A list of property keys that are not allowed to exist on the store proxy object. | ||
@@ -12,0 +13,0 @@ |
{ | ||
"name": "@atlaskit/platform-feature-flags", | ||
"version": "0.0.10", | ||
"version": "0.0.11", | ||
"sideEffects": false | ||
} |
{ | ||
"name": "@atlaskit/platform-feature-flags", | ||
"version": "0.0.10", | ||
"version": "0.0.11", | ||
"description": "DO NOT USE", | ||
@@ -5,0 +5,0 @@ "publishConfig": { |
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
19424
281
0
9