Socket
Socket
Sign inDemoInstall

@cv.vg/schemas

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cv.vg/schemas - npm Package Compare versions

Comparing version 0.1.0-dev.2 to 0.1.0-dev.3

15

main.js

@@ -5,4 +5,8 @@ /** @param {import('joi')} Joi */

params = Joi.object({
isDeletable: Joi.boolean()
}),
isDeletable: Joi.boolean(),
webhookSecretType: Joi.string().valid('header', 'param'),
webhookSecretKey: Joi.string().max(255),
webhookSecretValue: Joi.string().max(255)
})
.and('webhookSecretType', 'webhookSecretKey', 'webhookSecretValue'),
body = Joi.object({

@@ -26,2 +30,6 @@ conditions: Joi.array().items(Joi.object({

isPwa: Joi.boolean()
}),
webhook: Joi.object({
url: Joi.string().uri({ scheme: 'https' }).required(),
body: Joi.array().items(Joi.string().valid('userAgent', 'ip', 'locale')).min(1)
})

@@ -34,3 +42,4 @@ })

body
});
})
.and('params.webhookSecretType', 'body.webhook');
Object.assign(

@@ -37,0 +46,0 @@ schemas, {

2

package.json
{
"name": "@cv.vg/schemas",
"version": "0.1.0-dev.2",
"version": "0.1.0-dev.3",
"main": "main.js",

@@ -5,0 +5,0 @@ "repository": "ssh://kaki@git.kaki87.net:3021/cv.vg/schemas.git",

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