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

@clds/feature-flags

Package Overview
Dependencies
Maintainers
2
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@clds/feature-flags - npm Package Compare versions

Comparing version 0.7.6 to 0.8.0

2

dist/cjs/createFeatureFlag.js

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

try {
return global.localStorage;
return window.localStorage;
}

@@ -18,0 +18,0 @@ catch (e) {

@@ -12,3 +12,3 @@ const getInMemoryStorageImpl = () => {

try {
return global.localStorage;
return window.localStorage;
}

@@ -15,0 +15,0 @@ catch (e) {

{
"name": "@clds/feature-flags",
"description": "",
"version": "0.7.6",
"version": "0.8.0",
"author": "Cloudinary",

@@ -10,8 +10,2 @@ "main": "./dist/cjs/index.js",

"homepage": "https://github.com/cloudinary/design-system/tree/next/libs/foundations/feature-flags#readme",
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
}
},
"dependencies": {},

@@ -25,3 +19,9 @@ "devDependencies": {

"module": "./dist/esm/index.js",
"typings": "./dist/esm/index.d.ts"
"typings": "./dist/esm/index.d.ts",
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
}
}
},

@@ -31,7 +31,13 @@ "repository": "cloudinary/design-system.git",

"depcheck": "depcheck",
"lint": "eslint .",
"lint": "eslint --ext .ts,.tsx .",
"test": "nyc mocha",
"typecheck": "tsc --noEmit"
},
"typings": "./dist/esm/index.d.ts"
"typings": "./dist/esm/index.d.ts",
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
}
}
}
const getInMemoryStorageImpl = () => {
console.debug('@clds/feature-flags: using in-memory storage, should be used in the test environment');
console.debug(
'@clds/feature-flags: using in-memory storage, should be used in the test environment',
);
const values: Record<string, string> = {};

@@ -16,3 +18,3 @@

try {
return global.localStorage;
return window.localStorage;
} catch (e) {

@@ -19,0 +21,0 @@ console.error('@clds/feature-flags: could not access localStorage');

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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