Socket
Socket
Sign inDemoInstall

@hapi/hoek

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hapi/hoek - npm Package Compare versions

Comparing version 9.0.0 to 9.0.1

6

lib/applyToDefaults.js

@@ -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/)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc