Releases: ver0-project/deep-equal
Releases Β· ver0-project/deep-equal
v2.0.1
v2.0.0
2.0.0 (2026-02-28)
Bug Fixes
- compare only the viewed slice of TypedArray and DataView (cbe4edf)
- require matching valueOf/toString implementations for comparison (c1075d9)
Features
- add SharedArrayBuffer support (e42bea1)
Performance Improvements
- check object key count before iterating properties (5311d52)
- hoist inner function to module scope with lazy WeakMap (77ce015)
- replace constructor if-chains with switch dispatch (3f6acfb)
BREAKING CHANGES
- TypedArray and DataView subviews now compare only the
bytes within their byteOffset/byteLength range, not the full underlying
ArrayBuffer. Previously, two views into different regions of the same
buffer would incorrectly compare as equal.