Skip to content

v1.0.1

Choose a tag to compare

@ColinHRL ColinHRL released this 11 May 04:46
· 38 commits to trunk since this release

Version 1.0.1

Added

  • containsNumber, containsMin, containsMax
  • toIntervalNumber
  • Replaced the test.html with using Jest and added 46 test cases. (All passing)
  • Added package.json for publishing to npm

Fixed

  • There was an issue around contains which wouldn't understand directionality to an open IntervalNumber. (Not knowing if the number was max or min would misinterpret which side of the the number to see if contained. An edge case, but definitely a change in behavior that required a major version increase.)

Updated

  • Logic around getting interval gaps was split out to private functions
  • Updated functions to utilize new containsMin/containsMax and toIntervalNumber

Full Changelog: v0.2.0...v1.0.1