Socket
Socket
Sign inDemoInstall

@atlaskit/platform-feature-flags

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atlaskit/platform-feature-flags - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

6

CHANGELOG.md
# @atlaskit/platform-feature-flags
## 0.0.4
### Patch Changes
- [`d446d03215b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d446d03215b) - Add storybook enviornment variable for setting all platform feature flags to be true
## 0.0.3

@@ -4,0 +10,0 @@

8

dist/cjs/registry.js

@@ -10,8 +10,10 @@ "use strict";

var _ref, _process, _process$env;
var _ref, _process, _process$env, _process2, _process2$env;
var pkgName = '@atlaskit/platform-feature-flags';
var registry = {};
var IN_TESTS_ENABLE_PLATFORM_FF = (_ref = ((_process = process) === null || _process === void 0 ? void 0 : (_process$env = _process.env) === null || _process$env === void 0 ? void 0 : _process$env.ENABLE_PLATFORM_FF) === 'true') !== null && _ref !== void 0 ? _ref : false; // A list of property keys that are not allowed to exist on the store proxy object.
var registry = {}; // STORYBOOK_ENABLE_PLATFORM_FF is included as storybook only allows env vars prefixed with STORYBOOK
// https://github.com/storybookjs/storybook/issues/12270
var IN_TESTS_ENABLE_PLATFORM_FF = (_ref = ((_process = process) === null || _process === void 0 ? void 0 : (_process$env = _process.env) === null || _process$env === void 0 ? void 0 : _process$env.ENABLE_PLATFORM_FF) === 'true' || ((_process2 = process) === null || _process2 === void 0 ? void 0 : (_process2$env = _process2.env) === null || _process2$env === void 0 ? void 0 : _process2$env.STORYBOOK_ENABLE_PLATFORM_FF) === 'true') !== null && _ref !== void 0 ? _ref : false; // A list of property keys that are not allowed to exist on the store proxy object.
var IN_TESTS_UNDEFINED_KEYS = [// Ensures we don't blow up jest when running tests. Jest is trying to be “smart” about what global variables it should clean when those are mocked.

@@ -18,0 +20,0 @@ // https://github.com/facebook/jest/blob/41bf2300895a2c00d0525d21260f0a392819871f/packages/jest-runtime/src/index.ts#L1180

{
"name": "@atlaskit/platform-feature-flags",
"version": "0.0.3",
"version": "0.0.4",
"sideEffects": false
}

@@ -1,8 +0,10 @@

var _ref, _process, _process$env;
var _ref, _process, _process$env, _process2, _process2$env;
import { debug, TESTS_MODE } from './debug';
const pkgName = '@atlaskit/platform-feature-flags';
const registry = {};
const IN_TESTS_ENABLE_PLATFORM_FF = (_ref = ((_process = process) === null || _process === void 0 ? void 0 : (_process$env = _process.env) === null || _process$env === void 0 ? void 0 : _process$env.ENABLE_PLATFORM_FF) === 'true') !== null && _ref !== void 0 ? _ref : false; // A list of property keys that are not allowed to exist on the store proxy object.
const registry = {}; // STORYBOOK_ENABLE_PLATFORM_FF is included as storybook only allows env vars prefixed with STORYBOOK
// https://github.com/storybookjs/storybook/issues/12270
const IN_TESTS_ENABLE_PLATFORM_FF = (_ref = ((_process = process) === null || _process === void 0 ? void 0 : (_process$env = _process.env) === null || _process$env === void 0 ? void 0 : _process$env.ENABLE_PLATFORM_FF) === 'true' || ((_process2 = process) === null || _process2 === void 0 ? void 0 : (_process2$env = _process2.env) === null || _process2$env === void 0 ? void 0 : _process2$env.STORYBOOK_ENABLE_PLATFORM_FF) === 'true') !== null && _ref !== void 0 ? _ref : false; // A list of property keys that are not allowed to exist on the store proxy object.
const IN_TESTS_UNDEFINED_KEYS = [// Ensures we don't blow up jest when running tests. Jest is trying to be “smart” about what global variables it should clean when those are mocked.

@@ -9,0 +11,0 @@ // https://github.com/facebook/jest/blob/41bf2300895a2c00d0525d21260f0a392819871f/packages/jest-runtime/src/index.ts#L1180

{
"name": "@atlaskit/platform-feature-flags",
"version": "0.0.3",
"version": "0.0.4",
"sideEffects": false
}

@@ -1,8 +0,10 @@

var _ref, _process, _process$env;
var _ref, _process, _process$env, _process2, _process2$env;
import { debug, TESTS_MODE } from './debug';
var pkgName = '@atlaskit/platform-feature-flags';
var registry = {};
var IN_TESTS_ENABLE_PLATFORM_FF = (_ref = ((_process = process) === null || _process === void 0 ? void 0 : (_process$env = _process.env) === null || _process$env === void 0 ? void 0 : _process$env.ENABLE_PLATFORM_FF) === 'true') !== null && _ref !== void 0 ? _ref : false; // A list of property keys that are not allowed to exist on the store proxy object.
var registry = {}; // STORYBOOK_ENABLE_PLATFORM_FF is included as storybook only allows env vars prefixed with STORYBOOK
// https://github.com/storybookjs/storybook/issues/12270
var IN_TESTS_ENABLE_PLATFORM_FF = (_ref = ((_process = process) === null || _process === void 0 ? void 0 : (_process$env = _process.env) === null || _process$env === void 0 ? void 0 : _process$env.ENABLE_PLATFORM_FF) === 'true' || ((_process2 = process) === null || _process2 === void 0 ? void 0 : (_process2$env = _process2.env) === null || _process2$env === void 0 ? void 0 : _process2$env.STORYBOOK_ENABLE_PLATFORM_FF) === 'true') !== null && _ref !== void 0 ? _ref : false; // A list of property keys that are not allowed to exist on the store proxy object.
var IN_TESTS_UNDEFINED_KEYS = [// Ensures we don't blow up jest when running tests. Jest is trying to be “smart” about what global variables it should clean when those are mocked.

@@ -9,0 +11,0 @@ // https://github.com/facebook/jest/blob/41bf2300895a2c00d0525d21260f0a392819871f/packages/jest-runtime/src/index.ts#L1180

{
"name": "@atlaskit/platform-feature-flags",
"version": "0.0.3",
"version": "0.0.4",
"sideEffects": false
}
{
"name": "@atlaskit/platform-feature-flags",
"version": "0.0.3",
"version": "0.0.4",
"description": "DO NOT USE",

@@ -5,0 +5,0 @@ "publishConfig": {

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