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.2 to 0.0.3

5

./dist/index.js

@@ -110,7 +110,8 @@ "use strict";

if (rule.segment) {
contextFilter = rule.segment.attributeFilter.map(({ field, operator, value }) => {
contextFilter = rule.segment.attributeFilter.map(({ field, operator, value, values }) => {
if (field === "$company_id") {
field = "id";
}
return { field: `company.${field}`, operator, value };
const valuesOut = (values === null || values === void 0 ? void 0 : values.length) ? values : [value || ""];
return { field: `company.${field}`, operator, values: valuesOut };
});

@@ -117,0 +118,0 @@ }

@@ -110,7 +110,8 @@ "use strict";

if (rule.segment) {
contextFilter = rule.segment.attributeFilter.map(({ field, operator, value }) => {
contextFilter = rule.segment.attributeFilter.map(({ field, operator, value, values }) => {
if (field === "$company_id") {
field = "id";
}
return { field: `company.${field}`, operator, value };
const valuesOut = (values === null || values === void 0 ? void 0 : values.length) ? values : [value || ""];
return { field: `company.${field}`, operator, values: valuesOut };
});

@@ -117,0 +118,0 @@ }

4

package.json
{
"name": "@bucketco/flag-evaluation",
"version": "0.0.2",
"version": "0.0.3",
"license": "MIT",

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

},
"gitHead": "55567fc1aa097eeabaf2e5756ee6b53b88f08b0a"
"gitHead": "2970ebf3871a96bcf3fc53d8e8116bc2907ec3cc"
}

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