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

@openfeature/core

Package Overview
Dependencies
Maintainers
2
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@openfeature/core - npm Package Compare versions

Comparing version 1.7.1 to 1.7.2

6

dist/cjs/index.js

@@ -541,7 +541,7 @@ "use strict";

};
const data = {};
const body = {};
if (evaluationDetails.variant) {
attributes[TelemetryAttribute.VARIANT] = evaluationDetails.variant;
} else {
data[TelemetryEvaluationData.VALUE] = evaluationDetails.value;
body[TelemetryEvaluationData.VALUE] = evaluationDetails.value;
}

@@ -569,3 +569,3 @@ const contextId = evaluationDetails.flagMetadata[TelemetryFlagMetadata.CONTEXT_ID] || hookContext.context.targetingKey;

attributes,
data
body
};

@@ -572,0 +572,0 @@ }

@@ -486,7 +486,7 @@ var __defProp = Object.defineProperty;

};
const data = {};
const body = {};
if (evaluationDetails.variant) {
attributes[TelemetryAttribute.VARIANT] = evaluationDetails.variant;
} else {
data[TelemetryEvaluationData.VALUE] = evaluationDetails.value;
body[TelemetryEvaluationData.VALUE] = evaluationDetails.value;
}

@@ -514,3 +514,3 @@ const contextId = evaluationDetails.flagMetadata[TelemetryFlagMetadata.CONTEXT_ID] || hookContext.context.targetingKey;

attributes,
data
body
};

@@ -517,0 +517,0 @@ }

@@ -744,3 +744,3 @@ type Metadata = Record<string, string>;

attributes: Record<string, string | number | boolean>;
data: Record<string, JsonValue>;
body: Record<string, JsonValue>;
};

@@ -747,0 +747,0 @@ /**

{
"name": "@openfeature/core",
"version": "1.7.1",
"version": "1.7.2",
"description": "Shared OpenFeature JS components (server and web)",

@@ -5,0 +5,0 @@ "main": "./dist/cjs/index.js",

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