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

@unleash/client-specification

Package Overview
Dependencies
Maintainers
6
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 5.1.3 to 5.1.4

4

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

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

"chalk": "4.1.2",
"joi": "17.11.0",
"joi": "17.12.0",
"murmurhash3js": "3.0.1"
}
}

@@ -220,2 +220,37 @@ {

]
},
{
"name": "Feature.strategy.variants.stickiness",
"description": "Strategy variants with stickiness inherited from the strategy",
"enabled": true,
"strategies": [
{
"name": "flexibleRollout",
"parameters": {
"rollout": "100",
"stickiness": "clientId",
"groupId": "a"
},
"variants": [
{
"name": "variantNameA",
"weight": 1,
"payload": {
"type": "string",
"value": "variantValueA"
}
},
{
"name": "variantNameB",
"weight": 1,
"payload": {
"type": "string",
"value": "variantValueB"
}
}
],
"constraints": []
}
],
"variants": []
}

@@ -356,4 +391,40 @@ ]

}
},
{
"description": "Feature.strategy.variants.stickiness should inherit stickiness from the strategy - first variant",
"context": {
"properties": {
"clientId": "1"
}
},
"toggleName": "Feature.strategy.variants.stickiness",
"expectedResult": {
"name": "variantNameA",
"payload": {
"type": "string",
"value": "variantValueA"
},
"enabled": true,
"feature_enabled": true
}
},
{
"description": "Feature.strategy.variants.stickiness should inherit stickiness from the strategy - second variant",
"context": {
"properties": {
"clientId": "2"
}
},
"toggleName": "Feature.strategy.variants.stickiness",
"expectedResult": {
"name": "variantNameB",
"payload": {
"type": "string",
"value": "variantValueB"
},
"enabled": true,
"feature_enabled": true
}
}
]
}
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