Socket
Socket
Sign inDemoInstall

joi

Package Overview
Dependencies
Maintainers
4
Versions
238
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

joi - npm Package Compare versions

Comparing version 13.5.1 to 13.5.2

2

package.json
{
"name": "joi",
"description": "Object schema validation",
"version": "13.5.1",
"version": "13.5.2",
"homepage": "https://github.com/hapijs/joi",

@@ -6,0 +6,0 @@ "repository": "git://github.com/hapijs/joi",

@@ -19,3 +19,3 @@ ![joi Logo](https://raw.github.com/hapijs/joi/master/images/joi.png)

# API
See the detailed [API Reference](https://github.com/hapijs/joi/blob/v13.5.1/API.md).
See the detailed [API Reference](https://github.com/hapijs/joi/blob/v13.5.2/API.md).

@@ -32,3 +32,3 @@ # Example

birthyear: Joi.number().integer().min(1900).max(2013),
email: Joi.string().email()
email: Joi.string().email({ minDomainAtoms: 2 })
}).with('username', 'birthyear').without('password', 'access_token');

@@ -61,2 +61,3 @@

* a valid email address string
* must have two domain parts e.g. `example.com`

@@ -63,0 +64,0 @@ # Usage

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