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

@unleash/client-specification

Package Overview
Dependencies
Maintainers
2
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@unleash/client-specification - npm Package Compare versions

Comparing version 3.3.1 to 4.0.0

specifications/12-custom-stickiness.json

2

package.json
{
"name": "@unleash/client-specification",
"version": "3.3.1",
"version": "4.0.0",
"description": "A collection of test specifications to guide client implementations in various langugages",

@@ -5,0 +5,0 @@ "scripts": {

@@ -33,2 +33,3 @@ const Joi = require('joi');

weight: Joi.number().min(0).max(100000),
stickiness: Joi.string().optional(),
overrides: Joi.array().items(

@@ -35,0 +36,0 @@ Joi

@@ -150,2 +150,23 @@ {

]
},
{
"name": "Feature.Variants.E",
"description": "Enabled",
"enabled": false,
"strategies": [
{
"name": "default",
"parameters": {}
}
],
"variants": [
{
"name": "variant1",
"weight": 1,
"payload": {
"type": "string",
"value": "val1"
}
}
]
}

@@ -343,4 +364,15 @@ ]

}
},
{
"description": "Feature.Variants.E should be disabled",
"context": {
"userId": "0"
},
"toggleName": "Feature.Variants.E",
"expectedResult": {
"name": "disabled",
"enabled": false
}
}
]
}

@@ -12,3 +12,4 @@ [

"10-flexible-rollout-strategy.json",
"11-strategy-constraints-edge-cases.json"
"11-strategy-constraints-edge-cases.json",
"12-custom-stickiness.json"
]
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