node-deep-equal icon indicating copy to clipboard operation
node-deep-equal copied to clipboard

node's assert.deepEqual algorithm

Results 8 node-deep-equal issues
Sort by recently updated
recently updated
newest added

This issue lists Renovate updates and detected dependencies. Read the [Dependency Dashboard](https://docs.renovatebot.com/key-concepts/dashboard/) docs to learn more. > [!WARNING] These dependencies are deprecated: | Datasource | Name | Replacement PR? |...

Node version: 15.14.0 deep-equal version: 2.0.5 Test: ``` ❯ node Welcome to Node.js v15.14.0. Type ".help" for more information. > const deepEqual = require('deep-equal'); undefined > deepEqual({ a: 123, b:...

This removes the comment about the performance part (see https://gist.github.com/substack/2790507#gistcomment-3100007). Instead, recommend to use `util.isDeepStrictEqual()`, if possible.

also added RegExp comparison and some tests

needs "allow edits"

Trawling thru the unit tests, I've noticed some failed tests that I really think should pass. For example: `not ok 223 empty buffer and empty array are not equal` I,...

I have a [test implemented here](https://github.com/unphased/tst/blob/d8cda10930f1743207dbd6bbd6fdb16bf850b18e/src/tests/self.ts#L324-L386) using my test/benchmark library. I've also taken the plot that this generates and hosted it publicly on the net here: https://unphased.github.io/static-sharing/2024-03-29/deepequal_perf/deepequal_perf_collisions.html I like this...

WeakMaps and WeakSets, in node 23+, will not be considered equal unless they're `===`. See https://github.com/nodejs/node/pull/53495 We may or may not want to do this, since this is strictly less...