node/lib/internal/util
Ruben Bridgewater feecbb0eab
assert,util: fix deep comparison for sets and maps with mixed types
When comparing a Set or a Map and they contain primitives as keys
as well as objects, the primitives would always be skipped. That
is not correct, since that may only be skipped in case all keys
are objects.

Fixes: https://github.com/nodejs/node/issues/61386
PR-URL: https://github.com/nodejs/node/pull/61388
Reviewed-By: Aviv Keller <me@aviv.sh>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Jordan Harband <ljharb@gmail.com>
2026-02-24 08:38:56 +01:00
..
parse_args util: fix parseArgs skipping positional arg with --eval and --print 2026-02-24 00:37:05 +01:00
colors.js
comparisons.js assert,util: fix deep comparison for sets and maps with mixed types 2026-02-24 08:38:56 +01:00
debuglog.js util: fix debuglog.enabled not being present with callback logger 2025-10-07 17:29:35 +02:00
diff.js
inspect.js util: limit inspect to only show own properties 2026-02-24 00:37:08 +01:00
inspector.js
trace_sigint.js
types.js