Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@openfeature/core

Package Overview
Dependencies
Maintainers
2
Versions
21
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.0.0 to 1.1.0

24

dist/cjs/index.js

@@ -66,2 +66,10 @@ "use strict";

/**
* The resolved value is static (no dynamic evaluation).
*/
STATIC: "STATIC",
/**
* The resolved value was configured statically, or otherwise fell back to a pre-configured value.
*/
DEFAULT: "DEFAULT",
/**
* The resolved value was the result of a dynamic evaluation, such as a rule or specific user-targeting.

@@ -75,2 +83,6 @@ */

/**
* The resolved value was retrieved from cache.
*/
CACHED: "CACHED",
/**
* The resolved value was the result of the flag being disabled in the management system.

@@ -80,6 +92,2 @@ */

/**
* The resolved value was configured statically, or otherwise fell back to a pre-configured value.
*/
DEFAULT: "DEFAULT",
/**
* The reason for the resolved value could not be determined.

@@ -89,10 +97,6 @@ */

/**
* The resolved value is static (no dynamic evaluation).
* The resolved value is non-authoritative or possibly out of date.
*/
STATIC: "STATIC",
STALE: "STALE",
/**
* The resolved value was retrieved from cache.
*/
CACHED: "CACHED",
/**
* The resolved value was the result of an error.

@@ -99,0 +103,0 @@ *

@@ -13,2 +13,10 @@ // src/errors/open-feature-error-abstract.ts

/**
* The resolved value is static (no dynamic evaluation).
*/
STATIC: "STATIC",
/**
* The resolved value was configured statically, or otherwise fell back to a pre-configured value.
*/
DEFAULT: "DEFAULT",
/**
* The resolved value was the result of a dynamic evaluation, such as a rule or specific user-targeting.

@@ -22,2 +30,6 @@ */

/**
* The resolved value was retrieved from cache.
*/
CACHED: "CACHED",
/**
* The resolved value was the result of the flag being disabled in the management system.

@@ -27,6 +39,2 @@ */

/**
* The resolved value was configured statically, or otherwise fell back to a pre-configured value.
*/
DEFAULT: "DEFAULT",
/**
* The reason for the resolved value could not be determined.

@@ -36,10 +44,6 @@ */

/**
* The resolved value is static (no dynamic evaluation).
* The resolved value is non-authoritative or possibly out of date.
*/
STATIC: "STATIC",
STALE: "STALE",
/**
* The resolved value was retrieved from cache.
*/
CACHED: "CACHED",
/**
* The resolved value was the result of an error.

@@ -46,0 +50,0 @@ *

@@ -36,2 +36,10 @@ type FlagValueType = 'boolean' | 'string' | 'number' | 'object';

/**
* The resolved value is static (no dynamic evaluation).
*/
readonly STATIC: "STATIC";
/**
* The resolved value was configured statically, or otherwise fell back to a pre-configured value.
*/
readonly DEFAULT: "DEFAULT";
/**
* The resolved value was the result of a dynamic evaluation, such as a rule or specific user-targeting.

@@ -45,2 +53,6 @@ */

/**
* The resolved value was retrieved from cache.
*/
readonly CACHED: "CACHED";
/**
* The resolved value was the result of the flag being disabled in the management system.

@@ -50,6 +62,2 @@ */

/**
* The resolved value was configured statically, or otherwise fell back to a pre-configured value.
*/
readonly DEFAULT: "DEFAULT";
/**
* The reason for the resolved value could not be determined.

@@ -59,10 +67,6 @@ */

/**
* The resolved value is static (no dynamic evaluation).
* The resolved value is non-authoritative or possibly out of date.
*/
readonly STATIC: "STATIC";
readonly STALE: "STALE";
/**
* The resolved value was retrieved from cache.
*/
readonly CACHED: "CACHED";
/**
* The resolved value was the result of an error.

@@ -69,0 +73,0 @@ *

{
"name": "@openfeature/core",
"version": "1.0.0",
"version": "1.1.0",
"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