Socket
Socket
Sign inDemoInstall

@zeit/schemas

Package Overview
Dependencies
Maintainers
19
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.11.0 to 2.12.0

2

package.json
{
"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 @@ };

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