Releases: datastructures-js/heap
Releases · datastructures-js/heap
@datastructures-js/heap-v4.3.7
[4.3.7] - 2025-10-11
Fixed
- Fix ts types.
@datastructures-js/heap-v4.3.6
[4.3.6] - 2025-10-11
Fixed
- Heap initialization with list of values
- MinHeap initialization with list of values
- MaxHeap initialization with list of values
@datastructures-js/heap-v4.3.5
[4.3.5] - 2025-08-25
Fixed
- README
@datastructures-js/heap-v4.3.3
[4.3.3] - 2024-01-07
Fixed
- default compare function for MinHeap
@datastructures-js/heap-v4.3.2
[4.3.2] - 2023-06-19
Fixed
- ts types.
@datastructures-js/heap-v4.3.1
[4.3.1] - 2023-01-08
Fixed
- lint config.
@datastructures-js/heap-v4.3.0
[4.3.0] - 2023-01-08
Added
toArrayto convert the heap into an array without sorting.
@datastructures-js/heap-v4.2.2
[4.2.2] - 2022-12-24
Fixed
- add iterable for ts definitions.
@datastructures-js/heap-v4.2.1
[4.2.1] - 2022-12-23
Fixed
- typo in readme.
@datastructures-js/heap-v4.2.0
[4.2.0] - 2022-12-23
Added
Symbol.iteratorto iterate on heaps pop.
Fixed
.fix()to also fix heap leaf value in addition to nodes positions.