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.2.2 to 1.3.0

4

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

2

index.js
'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: '&lt;unescape&gt;',

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