Comparing version 1.2.2 to 1.3.0
## Changelog | ||
### 1.3.0 | ||
Update [@hapi/joi](https://www.npmjs.com/package/@hapi/joi) version 17.1.1 to [joi](https://www.npmjs.com/package/joi) version 17.4.0 | ||
### 1.2.2 | ||
@@ -4,0 +8,0 @@ |
'use strict'; | ||
const Joi = require('@hapi/joi').extend( | ||
const Joi = require('joi').extend( | ||
require('./libraries/string') | ||
@@ -5,0 +5,0 @@ ); |
{ | ||
"name": "joi-plus", | ||
"version": "1.2.2", | ||
"version": "1.3.0", | ||
"description": "Joi with extra rules for string and array.", | ||
@@ -10,3 +10,3 @@ "repository": "git://github.com/flamehamster/joi-plus", | ||
"dependencies": { | ||
"@hapi/joi": "^17.1.1" | ||
"joi": "^17.4.0" | ||
}, | ||
@@ -13,0 +13,0 @@ "keywords": [ |
# Joi-Plus | ||
[![npm package](https://img.shields.io/npm/v/joi-plus.svg)](http://npmjs.org/package/joi-plus) [![npm license](https://img.shields.io/npm/l/joi-plus)](https://img.shields.io/npm/l/joi-plus) [![install size](https://packagephobia.now.sh/badge?p=joi-plus@1.1.2)](https://packagephobia.now.sh/result?p=joi-plus@1.1.2) [![dependencies status](https://david-dm.org/flamehamster/joi-plus/status.svg)](https://david-dm.org/flamehamster/joi-plus) | ||
[![npm package](https://img.shields.io/npm/v/joi-plus.svg)](http://npmjs.org/package/joi-plus) [![npm license](https://img.shields.io/npm/l/joi-plus)](https://img.shields.io/npm/l/joi-plus) [![install size](https://packagephobia.now.sh/badge?p=joi-plus@1.3.0)](https://packagephobia.now.sh/result?p=joi-plus@1.3.0) [![dependencies status](https://david-dm.org/flamehamster/joi-plus/status.svg)](https://david-dm.org/flamehamster/joi-plus) | ||
[@hapi/joi - v17.1.1](https://www.npmjs.com/package/@hapi/joi) | ||
[joi - v17.4.0](https://www.npmjs.com/package/joi) | ||
Making the most powerful schema description language and data validator for JavaScript slightly more powerful. | ||
@@ -110,3 +110,3 @@ | ||
.numeric() | ||
.required() | ||
.required(), | ||
@@ -172,3 +172,3 @@ salary: Joi.string() | ||
let { error, value } = schema.validate({ | ||
const { error, value } = schema.validate({ | ||
escape: '<escape>', | ||
@@ -175,0 +175,0 @@ unescape: '<unescape>', |
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
20036
+ Addedjoi@^17.4.0
+ Added@sideway/address@4.1.5(transitive)
+ Added@sideway/formula@3.0.1(transitive)
+ Added@sideway/pinpoint@2.0.0(transitive)
+ Addedjoi@17.13.3(transitive)
- Removed@hapi/joi@^17.1.1
- Removed@hapi/address@4.1.0(transitive)
- Removed@hapi/formula@2.0.0(transitive)
- Removed@hapi/joi@17.1.1(transitive)
- Removed@hapi/pinpoint@2.0.1(transitive)