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

@zeit/schemas

Package Overview
Dependencies
Maintainers
15
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zeit/schemas - npm Package Compare versions

Comparing version 2.0.3 to 2.1.0

9

deployment/config.js

@@ -125,2 +125,11 @@ const {EnvKeys, EnvObject} = require('./config-env');

},
'github': {
type: 'object',
properties: {
enabled: {
type: 'boolean'
}
},
additionalProperties: false
},
'slot': {

@@ -127,0 +136,0 @@ type: 'string',

2

package.json
{
"name": "@zeit/schemas",
"version": "2.0.3",
"version": "2.1.0",
"description": "All schemas used for validation that are shared between our projects",

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

@@ -228,1 +228,19 @@ /* eslint camelcase: 0 */

};
exports.test_github_enabled = () => {
const isValid = ajv.validate(deploymentConfigSchema, {
github: {
enabled: false
}
});
assert.equal(isValid, true);
};
exports.test_github_additional_field = () => {
const isValid = ajv.validate(deploymentConfigSchema, {
github: {
abc: 'bbc'
}
});
assert.equal(isValid, false);
};
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