fast-deep-equal
fast-deep-equal copied to clipboard
The fastest deep equality check with Date, RegExp and ES6 Map, Set and typed arrays support
SCRIPT1004: 缺少 ';'
Hey! Storybook uses this package as a dependency, and I noticed that it doesn't expose ESM modules - but it's quite easy to add support for. What do you think...
in version 3.1.3 of the library the following comparison returns `false` ```js equal({ a: undefined }, {}) ``` That's quite a surprise for me, but since there are test-cases for...
Each iteration value in [`Set.prototype.entries()`][0] is an array of two identical values: const mySet = new Set(['a' , 'b', 'c']); console.log([...mySet.entries()]); // => [ [ 'a', 'a' ], [ 'b',...
Object.create(null).valueOf === undefined ``` if (a.valueOf !== Object.prototype.valueOf) return a.valueOf() === b.valueOf(); ``` error: a.valueOf is not a function
Adds dequal to benchmarks as recommended #75
Due to the way Arrays are identified, it is possible to construct an object which "looks like" an array, but only when passed as the second argument: ```javascript const v1...
When utilising this in a React context I was getting exceptions where `a.valueOf` / `a.toString` did not exist. The current logic didn't take this into account, leading to an exception...
Why do you have this? https://github.com/epoberezkin/fast-deep-equal/blob/a8e7172b6c411ec320d6045fd4afbd2abc1b4bde/src/index.jst#L6 is it being used for something?
Bumps [sinon](https://github.com/sinonjs/sinon) from 9.2.4 to 11.1.2. Changelog Sourced from sinon's changelog. 11.1.1 / 2021-05-26 Fix #2379 by using v7 of supports-color 11.1.0 / 2021-05-25 Add sinon.promise() implementation (#2369) Set wrappedMethod...