Skip to content

Releases: ver0-project/deep-equal

v2.0.1

04 Mar 11:32

Choose a tag to compare

2.0.1 (2026-03-04)

Bug Fixes

  • guard SharedArrayBuffer for non-isolated envs (b00ef5e)

v2.0.0

28 Feb 16:56

Choose a tag to compare

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.

v1.0.1

09 Nov 22:05

Choose a tag to compare

1.0.1 (2025-11-09)

Bug Fixes

  • merge with @ver0-project/deep-equal (dc92c55)