deno/ext/node/polyfills/_util
Yoshiya Hinosawa c538f44fa0
fix(ext/node): improve comparison of faked objects in deepStrictEqual (#29819)
This commit improves the handling of objects with faked prototypes in
`deepStrictEqual`. This enables `parallel/test-assert-checktag.js`

- `Date` objects are checked by `core.isDate`
- In object comparison, now it checks `obj.toString()` output (The
difference of `Symbol.toStringTag` is now detected).
- Stoped using std's assertion error message for `deepStrictEqual`, but
started using Node.js version of diff string. Now the diff expression is
more compatible with Node.
2025-06-20 23:33:18 +09:00
..
_util_callbackify.js chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
asserts.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
async.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
os.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
std_asserts.ts fix(ext/node): improve comparison of faked objects in deepStrictEqual (#29819) 2025-06-20 23:33:18 +09:00
std_fmt_colors.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
std_testing_diff.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00