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

@bucketco/flag-evaluation

Package Overview
Dependencies
Maintainers
0
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bucketco/flag-evaluation - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

2

./dist/index.js

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

}
const hashVal = hashInt(`${filter.flagKey}.${context[filter.partialRolloutAttribute]}`);
const hashVal = hashInt(`${filter.key}.${context[filter.partialRolloutAttribute]}`);
return hashVal < filter.partialRolloutThreshold;

@@ -96,0 +96,0 @@ }

@@ -44,3 +44,3 @@ export type FilterClass = {

type: "rolloutPercentage";
flagKey: string;
key: string;
partialRolloutAttribute: string;

@@ -47,0 +47,0 @@ partialRolloutThreshold: number;

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

}
const hashVal = hashInt(`${filter.flagKey}.${context[filter.partialRolloutAttribute]}`);
const hashVal = hashInt(`${filter.key}.${context[filter.partialRolloutAttribute]}`);
return hashVal < filter.partialRolloutThreshold;

@@ -96,0 +96,0 @@ }

{
"name": "@bucketco/flag-evaluation",
"version": "0.0.6",
"version": "0.0.7",
"license": "MIT",

@@ -37,3 +37,3 @@ "repository": {

},
"gitHead": "d034af928eb9fb7accebf3dfff34aa12776d15de"
"gitHead": "a4f39af2ab2aa92e134a4f70d12c6abaeec7f591"
}

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