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

@unleash/client-specification

Package Overview
Dependencies
Maintainers
4
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 4.2.0 to 4.2.1

.github/workflows/release.yml

2

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

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

@@ -30,2 +30,3 @@ ![Build](https://github.com/Unleash/client-specification/workflows/Build/badge.svg)

"14-constraint-semver-operators.json"
"15-global-constraints.json"
]

@@ -32,0 +33,0 @@ ```

@@ -10,5 +10,5 @@ const Joi = require('joi');

appName: Joi.string(),
properties: Joi.object().pattern(/\w+/, Joi.string()),
properties: Joi.object().pattern(/\w+/, Joi.string().allow(null)),
})
module.exports = schema;

@@ -369,2 +369,38 @@ {

]
},
{
"name": "F8.missing-field.IN",
"description": "missing field",
"enabled": true,
"strategies": [
{
"name": "default",
"parameters": {},
"constraints": [
{
"contextName": "customFieldMissing",
"operator": "IN",
"values": ["s1"]
}
]
}
]
},
{
"name": "F8.missing-field.NOT_IN",
"description": "missing field",
"enabled": true,
"strategies": [
{
"name": "default",
"parameters": {},
"constraints": [
{
"contextName": "customFieldMissing",
"operator": "NOT_IN",
"values": ["s1"]
}
]
}
]
}

@@ -738,4 +774,36 @@

"expectedResult": false
},
{
"description": "F8.missing-field.IN should return false",
"context": {},
"toggleName": "F8.missing-field.IN",
"expectedResult": false
},
{
"description": "F8.missing-field.IN should return true when present",
"context": {
"properties": {
"customFieldMissing": "s1"
}
},
"toggleName": "F8.missing-field.IN",
"expectedResult": true
},
{
"description": "F8.missing-field.NOT_IN should return true",
"context": {},
"toggleName": "F8.missing-field.NOT_IN",
"expectedResult": true
},
{
"description": "F8.missing-field.NOT_IN should return true when null",
"context": {
"properties": {
"customFieldMissing": null
}
},
"toggleName": "F8.missing-field.NOT_IN",
"expectedResult": 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