Socket
Socket
Sign inDemoInstall

@zeit/schemas

Package Overview
Dependencies
Maintainers
19
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 1.6.1 to 1.6.2

4

deployment/config.js

@@ -1,2 +0,2 @@

const {EnvObject} = require('./env');
const {EnvKeys, EnvObject} = require('./env');
const staticSchema = require('./config-static');

@@ -18,3 +18,3 @@

},
'env': EnvObject,
'env': { anyOf: [EnvObject, EnvKeys] },
'build': {

@@ -21,0 +21,0 @@ type: 'object',

{
"name": "@zeit/schemas",
"version": "1.6.1",
"version": "1.6.2",
"description": "All schemas used for validation that are shared between our projects",

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

@@ -62,3 +62,3 @@ /* eslint camelcase: 0 */

exports.test_valid_env_types = () => {
const isValid = ajv.validate(deploymentConfigSchema, {
let isValid = ajv.validate(deploymentConfigSchema, {
env: {

@@ -69,2 +69,9 @@ VALID: '1'

assert.equal(isValid, true);
isValid = ajv.validate(deploymentConfigSchema, {
env: [
'VALID'
]
});
assert.equal(isValid, true);
};

@@ -71,0 +78,0 @@

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