Comparing version 13.5.2 to 13.6.0
@@ -153,3 +153,3 @@ 'use strict'; | ||
const description = Any.prototype.describe.call(this); | ||
const description = super.describe(); | ||
const alternatives = []; | ||
@@ -156,0 +156,0 @@ for (let i = 0; i < this._inner.matches.length; ++i) { |
@@ -314,3 +314,3 @@ 'use strict'; | ||
const description = Any.prototype.describe.call(this); | ||
const description = super.describe(); | ||
@@ -317,0 +317,0 @@ if (this._inner.ordereds.length) { |
@@ -90,3 +90,3 @@ 'use strict'; | ||
const description = Any.prototype.describe.call(this); | ||
const description = super.describe(); | ||
description.truthy = [true].concat(this._inner.truthySet.values()); | ||
@@ -93,0 +93,0 @@ description.falsy = [false].concat(this._inner.falsySet.values()); |
@@ -50,3 +50,3 @@ 'use strict'; | ||
result.errors = isNumber ? null : this.createError('number.base', null, state, options); | ||
result.errors = isNumber ? null : this.createError('number.base', { value }, state, options); | ||
return result; | ||
@@ -53,0 +53,0 @@ } |
@@ -618,3 +618,3 @@ 'use strict'; | ||
const description = Any.prototype.describe.call(this); | ||
const description = super.describe(); | ||
@@ -621,0 +621,0 @@ if (description.rules) { |
{ | ||
"name": "joi", | ||
"description": "Object schema validation", | ||
"version": "13.5.2", | ||
"version": "13.6.0", | ||
"homepage": "https://github.com/hapijs/joi", | ||
@@ -6,0 +6,0 @@ "repository": "git://github.com/hapijs/joi", |
@@ -19,3 +19,3 @@ ![joi Logo](https://raw.github.com/hapijs/joi/master/images/joi.png) | ||
# API | ||
See the detailed [API Reference](https://github.com/hapijs/joi/blob/v13.5.2/API.md). | ||
See the detailed [API Reference](https://github.com/hapijs/joi/blob/v13.6.0/API.md). | ||
@@ -22,0 +22,0 @@ # Example |
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
179897