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

deep-equal-ident

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

deep-equal-ident - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

deepEqualIdentMap.js

4

index.js
/*jshint node:true*/
module.exports = require('./deepEqualIdentTag');
module.exports = typeof global.Map === 'function' ?
require('./deepEqualIdentMap') :
require('./deepEqualIdentTag');
{
"name": "deep-equal-ident",
"version": "1.0.0",
"version": "1.1.0",
"description": "A function to test for identical deep equality (based on lodash's isEqual).",

@@ -22,4 +22,4 @@ "main": "index.js",

"devDependencies": {
"chai": "^2.1.0",
"jest-cli": "^0.4"
"chai": "^3.0.0",
"jest-cli": "^0.4.10"
},

@@ -26,0 +26,0 @@ "repository": {

@@ -1,4 +0,3 @@

[![Build Status](https://travis-ci.org/fkling/deep-equal-ident.svg?branch=master)](https://travis-ci.org/fkling/deep-equal-ident)
## Deep comparison with object identity checks [![Build Status](https://travis-ci.org/fkling/deep-equal-ident.svg?branch=master)](https://travis-ci.org/fkling/deep-equal-ident)
## Deep comparison with object identity checks

@@ -204,6 +203,10 @@ This function performs a deep comparison between the two values `a` and `b`. It

#### Alternatively: Maps
#### Maps
The solution to the immutability and performance problems could be ES6 `Map`s,
once they are supported by Node.js (and other engines) by default.
assuming they are supported they are supported by the environment this code
runs in.
An implementation using Maps is included and is used if `global.Map` is
available.
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