inspect-js / node-deep-equal

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

breaking change in node 23 #110

Open ljharb opened 2 months ago

ljharb commented 2 months ago

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 useful behavior imo.