Comparing version 17.10.1 to 17.10.2
@@ -210,3 +210,7 @@ 'use strict'; | ||
refs.push(ref); | ||
return (context) => ref.resolve(...context); | ||
return (context) => { | ||
const resolved = ref.resolve(...context); | ||
return resolved !== undefined ? resolved : null; | ||
}; | ||
}; | ||
@@ -213,0 +217,0 @@ |
{ | ||
"name": "joi", | ||
"description": "Object schema validation", | ||
"version": "17.10.1", | ||
"version": "17.10.2", | ||
"repository": "git://github.com/hapijs/joi", | ||
@@ -6,0 +6,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is too big to display
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
532421
9835