Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hoek

Package Overview
Dependencies
Maintainers
5
Versions
116
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hoek - npm Package Compare versions

Comparing version 6.1.2 to 6.1.3

16

lib/index.js

@@ -55,10 +55,16 @@ 'use strict';

else {
const proto = Object.getPrototypeOf(obj);
if (proto &&
proto.isImmutable) {
if (options.prototype !== false) { // Defaults to true
const proto = Object.getPrototypeOf(obj);
if (proto &&
proto.isImmutable) {
newObj = obj;
newObj = obj;
}
else {
newObj = Object.create(proto);
cloneDeep = true;
}
}
else {
newObj = Object.create(proto);
newObj = {};
cloneDeep = true;

@@ -65,0 +71,0 @@ }

{
"name": "hoek",
"description": "General purpose node utilities",
"version": "6.1.2",
"version": "6.1.3",
"repository": "git://github.com/hapijs/hoek",

@@ -6,0 +6,0 @@ "main": "lib/index.js",

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