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

deep-equal

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

deep-equal - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

index.js

@@ -16,3 +16,3 @@ var pSlice = Array.prototype.slice;

// equivalence is determined by ==.
} else if (typeof actual != 'object' && typeof expected != 'object') {
} else if (!actual || !expected || typeof actual != 'object' && typeof expected != 'object') {
return opts.strict ? actual === expected : actual == expected;

@@ -19,0 +19,0 @@

{
"name": "deep-equal",
"version": "1.0.0",
"version": "1.0.1",
"description": "node's assert.deepEqual algorithm",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -90,1 +90,7 @@ var test = require('tape');

})
test('null == undefined', function (t) {
t.ok(equal(null, undefined))
t.notOk(equal(null, undefined, { strict: true }))
t.end()
})

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