Comparing version 13.5.1 to 13.5.2
{ | ||
"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 |
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
179960
129