New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@atlaskit/feature-gate-js-client

Package Overview
Dependencies
Maintainers
0
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atlaskit/feature-gate-js-client - npm Package Compare versions

Comparing version

to
4.26.4

8

CHANGELOG.md
# @atlaskit/feature-gate-js-client
## 4.26.4
### Patch Changes
- [#120085](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/120085)
[`2175282f6acb9`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/2175282f6acb9) -
Make check for window more robust and prevent issues in Node.
## 4.26.3

@@ -4,0 +12,0 @@

2

dist/cjs/client/FeatureGates.js

@@ -76,3 +76,3 @@ "use strict";

// Check if the CRITERION override mechanism is available
if (window && window.__CRITERION__ && typeof window.__CRITERION__.getFeatureFlagOverride === 'function') {
if (typeof window !== 'undefined' && window.__CRITERION__ && typeof window.__CRITERION__.getFeatureFlagOverride === 'function') {
// Attempt to retrieve an override value for the feature gate

@@ -79,0 +79,0 @@ var overrideValue = window.__CRITERION__.getFeatureFlagOverride(gateName);

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

/// <reference types="node" />
var CLIENT_VERSION = exports.CLIENT_VERSION = "4.26.3";
var CLIENT_VERSION = exports.CLIENT_VERSION = "4.26.4";

@@ -30,3 +30,3 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";

// Check if the CRITERION override mechanism is available
if (window && window.__CRITERION__ && typeof window.__CRITERION__.getFeatureFlagOverride === 'function') {
if (typeof window !== 'undefined' && window.__CRITERION__ && typeof window.__CRITERION__.getFeatureFlagOverride === 'function') {
// Attempt to retrieve an override value for the feature gate

@@ -33,0 +33,0 @@ const overrideValue = window.__CRITERION__.getFeatureFlagOverride(gateName);

/// <reference types="node" />
export const CLIENT_VERSION = "4.26.3";
export const CLIENT_VERSION = "4.26.4";

@@ -40,3 +40,3 @@ import _classCallCheck from "@babel/runtime/helpers/classCallCheck";

// Check if the CRITERION override mechanism is available
if (window && window.__CRITERION__ && typeof window.__CRITERION__.getFeatureFlagOverride === 'function') {
if (typeof window !== 'undefined' && window.__CRITERION__ && typeof window.__CRITERION__.getFeatureFlagOverride === 'function') {
// Attempt to retrieve an override value for the feature gate

@@ -43,0 +43,0 @@ var overrideValue = window.__CRITERION__.getFeatureFlagOverride(gateName);

/// <reference types="node" />
export var CLIENT_VERSION = "4.26.3";
export var CLIENT_VERSION = "4.26.4";
{
"name": "@atlaskit/feature-gate-js-client",
"version": "4.26.3",
"version": "4.26.4",
"description": "Atlassians wrapper for the Statsig js-lite client.",

@@ -5,0 +5,0 @@ "author": "Atlassian Pty Ltd",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display