node/lib/internal/util
Ruben Bridgewater 778a56f3c9
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-01-20 14:36:01 +01:00
..
parse_args util: fix parseArgs skipping positional arg with --eval and --print 2026-01-13 10:04:47 -03:00
colors.js lib: refactor code to improve readability 2024-11-27 20:48:21 +00:00
comparisons.js assert,util: fix deep comparison for sets and maps with mixed types 2026-01-20 14:36:01 +01:00
debuglog.js util: fix debuglog.enabled not being present with callback logger 2025-09-14 00:06:57 +00:00
diff.js meta: enable jsdoc/check-tag-names rule 2025-07-18 09:28:21 +00:00
inspect.js util: limit inspect to only show own properties 2026-01-13 10:04:51 -03:00
inspector.js
trace_sigint.js lib: add trace-sigint APIs 2025-08-11 09:14:44 +00:00
types.js util: add types.isFloat16Array() 2025-04-16 22:09:02 +00:00