Comparing version 14.1.0 to 14.1.1
@@ -27,4 +27,4 @@ 'use strict'; | ||
if (language) { | ||
obj.language = Hoek.applyToDefaults(obj.language, language); | ||
if (language && target && target.language) { | ||
obj.language = Hoek.applyToDefaults(target.language, language); | ||
} | ||
@@ -31,0 +31,0 @@ |
{ | ||
"name": "joi", | ||
"description": "Object schema validation", | ||
"version": "14.1.0", | ||
"version": "14.1.1", | ||
"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/v14.1.0/API.md). | ||
See the detailed [API Reference](https://github.com/hapijs/joi/blob/v14.1.1/API.md). | ||
@@ -119,3 +119,3 @@ # Example | ||
* Strings are utf-8 encoded by default. | ||
* Rules are defined in an additive fashion and evaluated in order after whitelist and blacklist checks. | ||
* Rules are defined in an additive fashion and evaluated in order, first the inclusive rules, then the exclusive rules. | ||
@@ -122,0 +122,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
190069