deep-equal-ident
Advanced tools
Comparing version 1.0.0 to 1.1.0
/*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. | ||
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14566
11
213
212