Comparing version 10.2.1 to 10.2.2
@@ -291,3 +291,3 @@ 'use strict'; | ||
let hasRef = false; | ||
const arg = {}; | ||
let arg = {}; | ||
@@ -302,3 +302,3 @@ for (let k = 0; k < ruleArgs.length; ++k) { | ||
if (validateArgs) { | ||
joi.assert(arg, validateArgs); | ||
arg = joi.attempt(arg, validateArgs); | ||
} | ||
@@ -305,0 +305,0 @@ |
{ | ||
"name": "joi", | ||
"description": "Object schema validation", | ||
"version": "10.2.1", | ||
"version": "10.2.2", | ||
"homepage": "https://github.com/hapijs/joi", | ||
@@ -6,0 +6,0 @@ "repository": "git://github.com/hapijs/joi", |
@@ -105,3 +105,3 @@ ![joi Logo](https://raw.github.com/hapijs/joi/master/images/joi.png) | ||
# API | ||
See the [API Reference](https://github.com/hapijs/joi/blob/v10.2.1/API.md). | ||
See the [API Reference](https://github.com/hapijs/joi/blob/v10.2.2/API.md). | ||
@@ -108,0 +108,0 @@ # Browsers |
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
155973