inspect-js / node-deep-equal

node's assert.deepEqual algorithm
MIT License
778 stars 109 forks source link

`util` `isDeepStrictEqual` is a built-in Node.js function #99

Closed ChocolateLoverRaj closed 2 years ago

ChocolateLoverRaj commented 2 years ago

Today I found out about this: https://nodejs.org/dist/latest-v17.x/docs/api/util.html#utilisdeepstrictequalval1-val2.

In the README where it says:

This module is around 46 times faster than wrapping assert.deepEqual() in a try/catch.

It should also compare with isDeepStrictEqual and let people know that if they are using Node.js they can use isDeepStrictEqual.

ljharb commented 2 years ago

Related to #76.

ChocolateLoverRaj commented 2 years ago

Basically duplicate of #76