joi
Advanced tools
Comparing version 17.2.1 to 17.3.0
@@ -6,3 +6,3 @@ 'use strict'; | ||
const EscapeHtml = require('@hapi/hoek/lib/escapeHtml'); | ||
const Formula = require('@hapi/formula'); | ||
const Formula = require('@sideway/formula'); | ||
@@ -9,0 +9,0 @@ const Common = require('./common'); |
'use strict'; | ||
const DeepEqual = require('@hapi/hoek/lib/deepEqual'); | ||
const Pinpoint = require('@hapi/pinpoint'); | ||
const Pinpoint = require('@sideway/pinpoint'); | ||
@@ -6,0 +6,0 @@ const Errors = require('./errors'); |
'use strict'; | ||
const Assert = require('@hapi/hoek/lib/assert'); | ||
const Domain = require('@hapi/address/lib/domain'); | ||
const Email = require('@hapi/address/lib/email'); | ||
const Ip = require('@hapi/address/lib/ip'); | ||
const Domain = require('@sideway/address/lib/domain'); | ||
const Email = require('@sideway/address/lib/email'); | ||
const Ip = require('@sideway/address/lib/ip'); | ||
const EscapeRegex = require('@hapi/hoek/lib/escapeRegex'); | ||
const Tlds = require('@hapi/address/lib/tlds'); | ||
const Uri = require('@hapi/address/lib/uri'); | ||
const Tlds = require('@sideway/address/lib/tlds'); | ||
const Uri = require('@sideway/address/lib/uri'); | ||
@@ -11,0 +11,0 @@ const Any = require('./any'); |
@@ -82,3 +82,3 @@ 'use strict'; | ||
try { | ||
const output = await method(node); | ||
const output = await method(node, { prefs }); | ||
if (output === undefined || | ||
@@ -85,0 +85,0 @@ output === node) { |
@@ -1,2 +0,2 @@ | ||
Copyright (c) 2012-2020, Sideway Inc, and project contributors.<br> | ||
Copyright (c) 2012-2020, Sideway. Inc, and project contributors.<br> | ||
Copyright (c) 2012-2014, Walmart.<br> | ||
@@ -3,0 +3,0 @@ All rights reserved. |
{ | ||
"name": "joi", | ||
"description": "Object schema validation", | ||
"version": "17.2.1", | ||
"version": "17.3.0", | ||
"repository": "git://github.com/sideway/joi", | ||
@@ -18,12 +18,13 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"@hapi/address": "^4.1.0", | ||
"@hapi/formula": "^2.0.0", | ||
"@hapi/hoek": "^9.0.0", | ||
"@hapi/pinpoint": "^2.0.0", | ||
"@hapi/topo": "^5.0.0" | ||
"@hapi/topo": "^5.0.0", | ||
"@sideway/address": "^4.1.0", | ||
"@sideway/formula": "^3.0.0", | ||
"@sideway/pinpoint": "^2.0.0" | ||
}, | ||
"devDependencies": { | ||
"typescript": "4.0.x", | ||
"@hapi/bourne": "2.x.x", | ||
"@hapi/code": "8.x.x", | ||
"@hapi/lab": "23.x.x", | ||
"@hapi/lab": "24.x.x", | ||
"@hapi/joi-legacy-test": "npm:@hapi/joi@15.x.x" | ||
@@ -30,0 +31,0 @@ }, |
@@ -5,2 +5,5 @@ # joi | ||
## Installation | ||
`npm install joi` | ||
### Visit the [joi.dev](https://joi.dev) Developer Portal for tutorials, documentation, and support | ||
@@ -7,0 +10,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
515922
9525
16
5
+ Added@sideway/address@^4.1.0
+ Added@sideway/formula@^3.0.0
+ Added@sideway/pinpoint@^2.0.0
+ Added@sideway/address@4.1.5(transitive)
+ Added@sideway/formula@3.0.1(transitive)
+ Added@sideway/pinpoint@2.0.0(transitive)
- Removed@hapi/address@^4.1.0
- Removed@hapi/formula@^2.0.0
- Removed@hapi/pinpoint@^2.0.0
- Removed@hapi/address@4.1.0(transitive)
- Removed@hapi/formula@2.0.0(transitive)
- Removed@hapi/pinpoint@2.0.1(transitive)