@hapi/hoek
Advanced tools
Comparing version 9.0.0 to 9.0.1
@@ -49,4 +49,6 @@ 'use strict'; | ||
const ref = Reach(defaults, key); | ||
if (ref && typeof ref === 'object') { | ||
seen.set(ref, merge ? Reach(source, key) : ref); | ||
if (ref && | ||
typeof ref === 'object') { | ||
seen.set(ref, merge && Reach(source, key) || ref); | ||
} | ||
@@ -53,0 +55,0 @@ else if (merge) { |
@@ -31,5 +31,3 @@ 'use strict'; | ||
} | ||
else { | ||
seen = seen || new Map(); | ||
else if (seen) { | ||
const lookup = seen.get(obj); | ||
@@ -40,2 +38,5 @@ if (lookup) { | ||
} | ||
else { | ||
seen = new Map(); | ||
} | ||
@@ -42,0 +43,0 @@ // Built-in object types |
{ | ||
"name": "@hapi/hoek", | ||
"description": "General purpose node utilities", | ||
"version": "9.0.0", | ||
"version": "9.0.1", | ||
"repository": "git://github.com/hapijs/hoek", | ||
@@ -6,0 +6,0 @@ "main": "lib/index.js", |
@@ -17,3 +17,4 @@ <a href="https://hapi.dev"><img src="https://raw.githubusercontent.com/hapijs/assets/master/images/family.png" width="180px" align="right" /></a> | ||
- [Version status](https://hapi.dev/resources/status/#hoek) (builds, dependencies, node versions, licenses, eol) | ||
- [Changelog](https://hapi.dev/family/hoek/changelog/) | ||
- [Project policies](https://hapi.dev/policies/) | ||
- [Free and commercial support options](https://hapi.dev/support/) |
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
1456
20
50088
29