UNPKG

range-ts

Version:

RangeMap implementation based on Guava

21 lines (15 loc) 809 B
# Changelog All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [0.1.7] - 2022-09-16 https://github.com/Rescla/range-ts/releases/tag/v0.1.7 Fixes/improvements related to https://github.com/Rescla/range-ts/issues/23 ### Added - Testcases that use Dates ### Changed - Format endpoints in RangeMap.toString() with .toISOString(), if available. - This is an improvement over Date.toString() for Dates, but using valueOf() instead might be more consistent. ### Fixed - Use valueOf() when checking endpoints in NumberRange - Dates caused issues, since Date(0) !== Date(0), but Date(0).valueOf() === Date(0).valueOf()