@zeit/schemas
Advanced tools
Comparing version 2.23.0 to 2.24.0
{ | ||
"name": "@zeit/schemas", | ||
"version": "2.23.0", | ||
"version": "2.24.0", | ||
"description": "All schemas used for validation that are shared between our projects", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -341,4 +341,4 @@ /* eslint camelcase: 0 */ | ||
exports.test_dismissedToasts_invalid = () => { | ||
const isValid = ajv.validate(User, { dismissedToasts: [{ name: ' exampleToast', dismissals: [] }] }); | ||
const isValid = ajv.validate(User, { dismissedToasts: [{ name: ' exampleToast', otherProp: 'abc' }] }); | ||
assert.strictEqual(isValid, false); | ||
}; |
@@ -169,3 +169,3 @@ const Username = { | ||
type: 'array', | ||
minItems: 1, | ||
minItems: 0, | ||
maxItems: 50, | ||
@@ -172,0 +172,0 @@ items: ToastDismissal |
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
29927