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

esequal

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

esequal - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

.npmignore

18

esequal.js

@@ -6,4 +6,7 @@ /* jshints esversion: 5 */

var MAP_SUPPORT = typeof Map !== 'undefined';
var SET_SUPPORT = typeof Set !== 'undefined';
var MAP_SUPPORT = typeof Map !== 'undefined' &&
Map.prototype.keys &&
Map.prototype.values;
var SET_SUPPORT = typeof Set !== 'undefined' &&
Map.prototype.values;
var ARRAYBUFFER_SUPPORT = typeof ArrayBuffer !== 'undefined';

@@ -125,8 +128,5 @@ var DATAVIEW_SUPPORT = typeof DataView !== 'undefined';

}
} else if ((MAP_SUPPORT && // Map
a instanceof Map && a.keys && a.values &&
b instanceof Map && b.keys && b.values) ||
(SET_SUPPORT && // Set
a instanceof Set && a.values &&
b instanceof Set && b.values))
} else if (
(MAP_SUPPORT && a instanceof Map && b instanceof Map) || // Map
(SET_SUPPORT && a instanceof Set && b instanceof Set)) // Set
{

@@ -239,2 +239,2 @@ if (a.size !== b.size) { // Check size

})(this);
})(this);
{
"name": "esequal",
"version": "0.1.3",
"version": "0.1.4",
"description": "EcmaScript Equal - small and very robust deep comparison for EcmaScript 5.1 and 6 (Browser and Node support)",

@@ -5,0 +5,0 @@ "main": "esequal.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