@zeit/schemas
Advanced tools
Comparing version 2.11.0 to 2.12.0
{ | ||
"name": "@zeit/schemas", | ||
"version": "2.11.0", | ||
"version": "2.12.0", | ||
"description": "All schemas used for validation that are shared between our projects", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -45,2 +45,34 @@ const Username = { | ||
const Bio = { | ||
type: 'string' | ||
}; | ||
const Website = { | ||
type: 'string', | ||
minLength: 4, | ||
maxLength: 40 | ||
}; | ||
const Profile = { | ||
type: 'object', | ||
properties: { | ||
service: { | ||
type: 'string' | ||
}, | ||
link: { | ||
type: 'string' | ||
} | ||
}, | ||
additionalProperties: false | ||
}; | ||
const Profiles = { | ||
type: 'array', | ||
minItems: 0, | ||
maxItems: 100, | ||
uniqueItems: true, | ||
items: Profile, | ||
additionalProperties: false | ||
}; | ||
const User = { | ||
@@ -56,3 +88,6 @@ type: 'object', | ||
platformVersion: PlatformVersion, | ||
defaultDeploymentDomain: DefaultDeploymentDomain | ||
defaultDeploymentDomain: DefaultDeploymentDomain, | ||
bio: Bio, | ||
website: Website, | ||
profiles: Profiles | ||
} | ||
@@ -59,0 +94,0 @@ }; |
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
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
76067
902
1