@zeit/schemas
Advanced tools
Comparing version 2.16.0 to 2.17.0
{ | ||
"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 | ||
}; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
26709
1000
0