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

@featurevisor/core

Package Overview
Dependencies
Maintainers
1
Versions
181
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@featurevisor/core - npm Package Compare versions

Comparing version 0.27.1 to 0.28.0

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

# [0.28.0](https://github.com/fahad19/featurevisor/compare/v0.27.1...v0.28.0) (2023-06-08)
### Features
* make bucketing key configurable ([#79](https://github.com/fahad19/featurevisor/issues/79)) ([c05f0da](https://github.com/fahad19/featurevisor/commit/c05f0dae9e6e1d4ee68f2c457a49137bbd6727d9))
## [0.27.1](https://github.com/fahad19/featurevisor/compare/v0.27.0...v0.27.1) (2023-05-25)

@@ -8,0 +19,0 @@

12

lib/linter.js

@@ -226,3 +226,13 @@ "use strict";

defaultVariation: variationValueJoiSchema,
bucketBy: Joi.alternatives().try(Joi.string(), Joi.array().items(Joi.string())).required(),
bucketBy: Joi.alternatives()
.try(
// plain
Joi.string(),
// and
Joi.array().items(Joi.string()),
// or
Joi.object({
or: Joi.array().items(Joi.string()),
}))
.required(),
variablesSchema: Joi.array()

@@ -229,0 +239,0 @@ .items(Joi.object({

10

package.json
{
"name": "@featurevisor/core",
"version": "0.27.1",
"version": "0.28.0",
"description": "Core package of Featurevisor for Node.js usage",

@@ -44,5 +44,5 @@ "main": "lib/index.js",

"dependencies": {
"@featurevisor/sdk": "^0.27.0",
"@featurevisor/site": "^0.27.0",
"@featurevisor/types": "^0.27.0",
"@featurevisor/sdk": "^0.28.0",
"@featurevisor/site": "^0.28.0",
"@featurevisor/types": "^0.28.0",
"axios": "^1.3.4",

@@ -58,3 +58,3 @@ "joi": "^17.8.3",

},
"gitHead": "79e297571c656986dd2d9448ba93980f4a19200c"
"gitHead": "349f2c213ee65025a4ee4cd6697fa45b8b5fd9eb"
}

@@ -274,4 +274,17 @@ // for use in node only

bucketBy: Joi.alternatives().try(Joi.string(), Joi.array().items(Joi.string())).required(),
bucketBy: Joi.alternatives()
.try(
// plain
Joi.string(),
// and
Joi.array().items(Joi.string()),
// or
Joi.object({
or: Joi.array().items(Joi.string()),
}),
)
.required(),
variablesSchema: Joi.array()

@@ -278,0 +291,0 @@ .items(

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