nested-equal
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "nested-equal", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "A tiny (~200B) and fast nested/deep equality utility", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -5,4 +5,4 @@ # nested-equal ![Check](https://github.com/alizeait/nested-equal/workflows/Check/badge.svg) ![Coverage](https://img.shields.io/codecov/c/github/alizeait/nested-equal) | ||
Takes 2 values and returns a boolean deciding if they are equal by traversing recursively. | ||
Supports Objects, Arrays, numbers, strings, null, undefined, NaN, functions. Other types like Map, Set, Date use reference equality instead of value equality. | ||
Takes 2 values and returns a boolean indicating if they are equal or not by traversing recursively. | ||
Supports `Objects`, `Arrays`, `Numbers`, `Strings`, `null`, `undefined`, `NaN`, `Functions`. Other types like `Map`, `Set`, `Date` and others use reference equality instead of value equality. | ||
@@ -42,3 +42,3 @@ Key order within objects _does not_ matter while value order within arrays _does_ matter. | ||
Claiming a library is fast without looking into the data structure is naive at best, since the data structure | ||
largely impacts performance as no algorithm can handle all the different data structures. | ||
largely impacts performance as no algorithm can handle all the different data structures. Hence a couple of benchmarks were made with some different data structures to compare it to other popular libararies. | ||
@@ -45,0 +45,0 @@ ``` |
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
14707