Comparing version 1.1.4 to 1.2.0
## Changelog | ||
### 1.2.0 | ||
Update [@hapi/joi](https://www.npmjs.com/package/@hapi/joi) from version 16.1.8 to 17.1.0 | ||
### 1.1.4 | ||
@@ -4,0 +8,0 @@ |
@@ -23,11 +23,11 @@ 'use strict'; | ||
messages: { | ||
'string.clean': '"{{#label}}" contains illegal characters: > < \\ ` } {', | ||
'string.escape': '"{{#label}}" contains characters that need to escape: & > < " \' / \\ `', | ||
'string.unescape': '"{{#label}}" contains HTML entities that need to unescape: & | > | < | " | $ | / | \ | `', | ||
'string.alpha': '"{{#label}}" must only contain alphabetic characters', | ||
'string.numeric': '"{{#label}}" must only contain numeric characters', | ||
'string.base32': '"{{#label}}" must be a valid base32 string', | ||
'string.countryCode': '"{{#label}}" must be a valid ISO {{#type}} country code', | ||
'string.password': '"{{#label}}" {{#message}}', | ||
'string.contain': '"{{#label}}" must contain "{{#seed}}"{{#message}}' | ||
'string.clean': '{{#label}} contains illegal characters: > < \\ ` } {', | ||
'string.escape': '{{#label}} contains characters that need to escape: & > < " \' / \\ `', | ||
'string.unescape': '{{#label}} contains HTML entities that need to unescape: & | > | < | " | $ | / | \ | `', | ||
'string.alpha': '{{#label}} must only contain alphabetic characters', | ||
'string.numeric': '{{#label}} must only contain numeric characters', | ||
'string.base32': '{{#label}} must be a valid base32 string', | ||
'string.countryCode': '{{#label}} must be a valid ISO {{#type}} country code', | ||
'string.password': '{{#label}} {{#message}}', | ||
'string.contain': '{{#label}} must contain "{{#seed}}"{{#message}}' | ||
}, | ||
@@ -226,3 +226,3 @@ coerce(value, helpers) { | ||
messages: { | ||
'any.only': `"{{#label}}" must match "${reference}"` | ||
'any.only': `{{#label}} must match "${reference}"` | ||
} | ||
@@ -229,0 +229,0 @@ }).strip(); |
{ | ||
"name": "joi-plus", | ||
"version": "1.1.4", | ||
"version": "1.2.0", | ||
"description": "Joi with extra rules for string and array.", | ||
@@ -10,3 +10,3 @@ "repository": "git://github.com/flamehamster/joi-plus", | ||
"dependencies": { | ||
"@hapi/joi": "^16.1.8" | ||
"@hapi/joi": "^17.1.0" | ||
}, | ||
@@ -13,0 +13,0 @@ "keywords": [ |
@@ -5,3 +5,3 @@ # Joi-Plus | ||
[@hapi/joi - v16.1.8](https://www.npmjs.com/package/@hapi/joi) | ||
[@hapi/joi - v17.1.0](https://www.npmjs.com/package/@hapi/joi) | ||
Making the most powerful schema description language and data validator for JavaScript slightly more powerful. | ||
@@ -8,0 +8,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
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
19873
+ Added@hapi/address@4.1.0(transitive)
+ Added@hapi/formula@2.0.0(transitive)
+ Added@hapi/hoek@9.3.0(transitive)
+ Added@hapi/joi@17.1.1(transitive)
+ Added@hapi/pinpoint@2.0.1(transitive)
+ Added@hapi/topo@5.1.0(transitive)
- Removed@hapi/address@2.1.4(transitive)
- Removed@hapi/formula@1.2.0(transitive)
- Removed@hapi/hoek@8.5.1(transitive)
- Removed@hapi/joi@16.1.8(transitive)
- Removed@hapi/pinpoint@1.0.2(transitive)
- Removed@hapi/topo@3.1.6(transitive)
Updated@hapi/joi@^17.1.0