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

@zeit/schemas

Package Overview
Dependencies
Maintainers
56
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.16.0 to 2.17.0

2

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

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

@@ -201,1 +201,24 @@ /* eslint camelcase: 0 */

};
exports.test_importFlowGitNamespace_string_valid = () => {
assert(ajv.validate(User, {importFlowGitNamespace: 'test'}));
};
exports.test_importFlowGitNamespace_null_valid = () => {
assert(ajv.validate(User, {importFlowGitNamespace: null}));
};
exports.test_importFlowGitNamespace_number_invalid = () => {
const isValid = ajv.validate(User, {
importFlowGitNamespace: 10
});
assert.strictEqual(isValid, false);
};
exports.test_importFlowGitNamespace_boolean_invalid = () => {
const isValid = ajv.validate(User, {
importFlowGitNamespace: true
});
assert.strictEqual(isValid, false);
};

@@ -31,2 +31,12 @@ const Username = {

const ImportFlowGitNamespace = {
oneOf: [
{
type: 'string'
},
{
type: 'null'
}
]
};

@@ -99,3 +109,4 @@ const PlatformVersion = {

profiles: Profiles,
importFlowGitProvider: ImportFlowGitProvider
importFlowGitProvider: ImportFlowGitProvider,
importFlowGitNamespace: ImportFlowGitNamespace
}

@@ -111,3 +122,4 @@ };

PlatformVersion,
ImportFlowGitProvider
ImportFlowGitProvider,
ImportFlowGitNamespace
};
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