@react-hookz/deep-equal
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -0,1 +1,8 @@ | ||
## [1.0.1](https://github.com/react-hookz/deep-equal/compare/v1.0.0...v1.0.1) (2022-01-12) | ||
### Bug Fixes | ||
* proper naming and links in readme ([eb99cf1](https://github.com/react-hookz/deep-equal/commit/eb99cf1cafe2620d5474b05e5ecf3280ea5334f8)) | ||
# 1.0.0 (2022-01-12) | ||
@@ -2,0 +9,0 @@ |
{ | ||
"name": "@react-hookz/deep-equal", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Fast deep equal comparator", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
<div align="center"> | ||
# @react-hookz/deep-compare | ||
# @react-hookz/deep-equal | ||
[![NPM Version](https://flat.badgen.net/npm/v/@react-hookz/deep-compare)](https://www.npmjs.com/package/@react-hookz/deep-compare) | ||
[![NPM Downloads](https://flat.badgen.net/npm/dm/@react-hookz/deep-compare)](https://www.npmjs.com/package/@react-hookz/deep-compare) | ||
[![NPM Dependents](https://flat.badgen.net/npm/dependents/@react-hookz/deep-compare)](https://www.npmjs.com/package/@react-hookz/deep-compare) | ||
[![Build](https://img.shields.io/github/workflow/status/react-hookz/deep-compare/CI?style=flat-square)](https://github.com/react-hookz/deep-compare/actions) | ||
[![Coverage](https://flat.badgen.net/codecov/c/github/react-hookz/deep-compare)](https://app.codecov.io/gh/react-hookz/deep-compare) | ||
[![Types](https://flat.badgen.net/npm/types/@react-hookz/deep-compare)](https://www.npmjs.com/package/@react-hookz/deep-compare) | ||
[![Tree Shaking](https://flat.badgen.net/bundlephobia/tree-shaking/@react-hookz/deep-compare)](https://bundlephobia.com/result?p=@react-hookz/deep-compare) | ||
[![NPM Version](https://flat.badgen.net/npm/v/@react-hookz/deep-equal)](https://www.npmjs.com/package/@react-hookz/deep-equal) | ||
[![NPM Downloads](https://flat.badgen.net/npm/dm/@react-hookz/deep-equal)](https://www.npmjs.com/package/@react-hookz/deep-equal) | ||
[![NPM Dependents](https://flat.badgen.net/npm/dependents/@react-hookz/deep-equal)](https://www.npmjs.com/package/@react-hookz/deep-equal) | ||
[![Build](https://img.shields.io/github/workflow/status/react-hookz/deep-equal/CI?style=flat-square)](https://github.com/react-hookz/deep-equal/actions) | ||
[![Coverage](https://flat.badgen.net/codecov/c/github/react-hookz/deep-equal)](https://app.codecov.io/gh/react-hookz/deep-equal) | ||
[![Types](https://flat.badgen.net/npm/types/@react-hookz/deep-equal)](https://www.npmjs.com/package/@react-hookz/deep-equal) | ||
[![Tree Shaking](https://flat.badgen.net/bundlephobia/tree-shaking/@react-hookz/deep-equal)](https://bundlephobia.com/result?p=@react-hookz/deep-equal) | ||
× **[DISCORD](https://discord.gg/Fjwphtu65f)** | ||
× **[CHANGELOG](https://github.com/react-hookz/deep-compare/blob/master/CHANGELOG.md)** × | ||
× **[CHANGELOG](https://github.com/react-hookz/deep-equal/blob/master/CHANGELOG.md)** × | ||
@@ -27,5 +27,5 @@ </div> | ||
```shell | ||
npm i @react-hookz/deep-compare | ||
npm i @react-hookz/deep-equal | ||
# or | ||
yarn add @react-hookz/deep-compare | ||
yarn add @react-hookz/deep-equal | ||
``` | ||
@@ -48,7 +48,7 @@ | ||
// in case you need cjs modules | ||
import { isEqual } from "@react-hookz/deep-compare"; | ||
import { isEqual } from "@react-hookz/deep-equal"; | ||
// in case you need esm modules | ||
import { isEqual } from "@react-hookz/deep-compare/esm"; | ||
import { isEqual } from "@react-hookz/deep-equal/esm"; | ||
// in case you want all the recent ES features | ||
import { isEqual } from "@react-hookz/deep-compare/esnext"; | ||
import { isEqual } from "@react-hookz/deep-equal/esnext"; | ||
``` | ||
@@ -76,6 +76,6 @@ | ||
# mixed (equal) | ||
@react-hookz/deep-compare x 2,328,007 ops/sec ±0.33% (94 runs sampled) | ||
@react-hookz/deep-compare (react) x 2,248,935 ops/sec ±1.05% (92 runs sampled) | ||
@react-hookz/deep-compare (simple) x 2,502,281 ops/sec ±0.39% (97 runs sampled) | ||
@react-hookz/deep-compare (simple react) x 2,292,288 ops/sec ±0.91% (93 runs sampled) | ||
@react-hookz/deep-equal x 2,328,007 ops/sec ±0.33% (94 runs sampled) | ||
@react-hookz/deep-equal (react) x 2,248,935 ops/sec ±1.05% (92 runs sampled) | ||
@react-hookz/deep-equal (simple) x 2,502,281 ops/sec ±0.39% (97 runs sampled) | ||
@react-hookz/deep-equal (simple react) x 2,292,288 ops/sec ±0.91% (93 runs sampled) | ||
dequal x 1,884,722 ops/sec ±0.57% (92 runs sampled) | ||
@@ -85,9 +85,9 @@ dequal (lite) x 1,875,235 ops/sec ±0.32% (95 runs sampled) | ||
react-fast-compare x 1,640,019 ops/sec ±0.22% (96 runs sampled) | ||
Fastest is @react-hookz/deep-compare (simple) | ||
Fastest is @react-hookz/deep-equal (simple) | ||
# mixed (unequal) | ||
@react-hookz/deep-compare x 3,333,499 ops/sec ±0.54% (91 runs sampled) | ||
@react-hookz/deep-compare (react) x 3,175,146 ops/sec ±0.59% (94 runs sampled) | ||
@react-hookz/deep-compare (simple) x 3,236,086 ops/sec ±0.37% (92 runs sampled) | ||
@react-hookz/deep-compare (simple react) x 3,187,855 ops/sec ±0.48% (96 runs sampled) | ||
@react-hookz/deep-equal x 3,333,499 ops/sec ±0.54% (91 runs sampled) | ||
@react-hookz/deep-equal (react) x 3,175,146 ops/sec ±0.59% (94 runs sampled) | ||
@react-hookz/deep-equal (simple) x 3,236,086 ops/sec ±0.37% (92 runs sampled) | ||
@react-hookz/deep-equal (simple react) x 3,187,855 ops/sec ±0.48% (96 runs sampled) | ||
dequal x 1,110,380 ops/sec ±1.26% (89 runs sampled) | ||
@@ -97,3 +97,3 @@ dequal (lite) x 1,135,251 ops/sec ±1.01% (94 runs sampled) | ||
react-fast-compare x 2,221,893 ops/sec ±0.20% (93 runs sampled) | ||
Fastest is @react-hookz/deep-compare | ||
Fastest is @react-hookz/deep-equal | ||
</pre> | ||
@@ -104,14 +104,14 @@ | ||
# mixed (equal) | ||
@react-hookz/deep-compare x 1,417,373 ops/sec ±0.54% (94 runs sampled) | ||
@react-hookz/deep-compare (react) x 1,350,950 ops/sec ±0.39% (89 runs sampled) | ||
@react-hookz/deep-equal x 1,417,373 ops/sec ±0.54% (94 runs sampled) | ||
@react-hookz/deep-equal (react) x 1,350,950 ops/sec ±0.39% (89 runs sampled) | ||
dequal x 714,145 ops/sec ±0.43% (94 runs sampled) | ||
fast-deep-equal x 1,066,887 ops/sec ±0.20% (98 runs sampled) | ||
Fastest is @react-hookz/deep-compare | ||
Fastest is @react-hookz/deep-equal | ||
# mixed (unequal) | ||
@react-hookz/deep-compare x 2,096,641 ops/sec ±0.23% (98 runs sampled) | ||
@react-hookz/deep-compare (react) x 2,003,117 ops/sec ±0.56% (95 runs sampled) | ||
@react-hookz/deep-equal x 2,096,641 ops/sec ±0.23% (98 runs sampled) | ||
@react-hookz/deep-equal (react) x 2,003,117 ops/sec ±0.56% (95 runs sampled) | ||
dequal x 570,606 ops/sec ±0.78% (93 runs sampled) | ||
fast-deep-equal x 2,149,295 ops/sec ±2.91% (80 runs sampled) | ||
Fastest is @react-hookz/deep-compare,fast-deep-equal | ||
Fastest is @react-hookz/deep-equal,fast-deep-equal | ||
</pre> | ||
@@ -118,0 +118,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
34754