Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

joi-plus

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

joi-plus - npm Package Compare versions

Comparing version 1.1.4 to 1.2.0

4

CHANGELOG.md
## 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 @@

20

libraries/string.js

@@ -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: &amp; | &gt; | &lt; | &quot; | &#36; | &#47; | &#92; | &#96;',
'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: &amp; | &gt; | &lt; | &quot; | &#36; | &#47; | &#92; | &#96;',
'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 @@

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