Comparing version 10.5.0 to 10.5.1
@@ -304,7 +304,9 @@ 'use strict'; | ||
if (ref.isImmutable) { | ||
// Joi schemas are not cloned by hoek, we have to take this extra step | ||
ref = ref.clone(); | ||
ref = ref.clone(); // joi schemas are not cloned by hoek, we have to take this extra step | ||
} | ||
if (j + 1 < path.length && typeof ref[seg] !== 'string') { | ||
if (j + 1 < path.length && | ||
ref[seg] && | ||
typeof ref[seg] !== 'string') { | ||
ref = ref[seg]; | ||
@@ -311,0 +313,0 @@ } |
@@ -0,0 +0,0 @@ 'use strict'; |
@@ -0,0 +0,0 @@ 'use strict'; |
@@ -0,0 +0,0 @@ 'use strict'; |
@@ -0,0 +0,0 @@ 'use strict'; |
@@ -0,0 +0,0 @@ 'use strict'; |
@@ -0,0 +0,0 @@ 'use strict'; |
@@ -0,0 +0,0 @@ 'use strict'; |
@@ -0,0 +0,0 @@ 'use strict'; |
@@ -0,0 +0,0 @@ 'use strict'; |
@@ -0,0 +0,0 @@ 'use strict'; |
@@ -0,0 +0,0 @@ 'use strict'; |
@@ -0,0 +0,0 @@ 'use strict'; |
@@ -0,0 +0,0 @@ 'use strict'; |
{ | ||
"name": "joi", | ||
"description": "Object schema validation", | ||
"version": "10.5.0", | ||
"version": "10.5.1", | ||
"homepage": "https://github.com/hapijs/joi", | ||
@@ -6,0 +6,0 @@ "repository": "git://github.com/hapijs/joi", |
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
166683
3848
1