Socket
Socket
Sign inDemoInstall

hoek

Package Overview
Dependencies
Maintainers
2
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 0.4.0 to 0.4.1

2

package.json
{
"name": "hoek",
"description": "General purpose node utilities",
"version": "0.4.0",
"version": "0.4.1",
"author": "Eran Hammer <eran@hueniverse.com> (http://hueniverse.com)",

@@ -6,0 +6,0 @@ "contributors":[

@@ -69,4 +69,4 @@ // Load modules

var a = { x: 1, y: 2, z: 3 };
var b = { x: null, z: 4 };
var a = { x: 1, y: 2, z: 3, v: 5 };
var b = { x: null, z: 4, v: 0 };

@@ -77,2 +77,3 @@ var c = Hoek.merge(a, b);

expect(c.z).to.equal(4);
expect(c.v).to.equal(0);
done();

@@ -90,3 +91,4 @@ });

e: [5, 6]
}
},
f: 6
};

@@ -114,3 +116,4 @@

e: [4]
}
},
f: 0
};

@@ -122,2 +125,3 @@

expect(result.b).to.equal(2);
expect(result.f).to.equal(0);
done();

@@ -124,0 +128,0 @@ });

Sorry, the diff of this file is not supported yet

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