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

@zeit/schemas

Package Overview
Dependencies
Maintainers
55
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.17.0 to 2.18.0

2

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

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

@@ -224,1 +224,21 @@ /* eslint camelcase: 0 */

};
exports.test_importFlowGitNamespaceId_string_valid = () => {
assert(ajv.validate(User, {importFlowGitNamespaceId: 'test'}));
};
exports.test_importFlowGitNamespaceId_number_valid = () => {
assert(ajv.validate(User, {importFlowGitNamespaceId: 10}));
};
exports.test_importFlowGitNamespaceId_null_valid = () => {
assert(ajv.validate(User, {importFlowGitNamespaceId: null}));
};
exports.test_importFlowGitNamespaceId_boolean_invalid = () => {
const isValid = ajv.validate(User, {
importFlowGitNamespaceId: true
});
assert.strictEqual(isValid, false);
};

@@ -42,2 +42,16 @@ const Username = {

const ImportFlowGitNamespaceId = {
oneOf: [
{
type: 'string'
},
{
type: 'number'
},
{
type: 'null'
}
]
};
const PlatformVersion = {

@@ -110,3 +124,4 @@ oneOf: [

importFlowGitProvider: ImportFlowGitProvider,
importFlowGitNamespace: ImportFlowGitNamespace
importFlowGitNamespace: ImportFlowGitNamespace,
importFlowGitNamespaceId: ImportFlowGitNamespaceId
}

@@ -123,3 +138,4 @@ };

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