Skip to content

v0.4.0

Pre-release
Pre-release

Choose a tag to compare

@the-spyke the-spyke released this 15 Oct 13:55

This release adds Push Lines and makes API more consistent in general.

Added

  • Push Lines!
  • Array utility filterInPlace.
  • Iterable utility makeReiterable.
  • Language utilities: isIterator, isObjectValue, isObserver.
  • Observer utilities: closeObserver, initializeObserver, makeUnclosable.
  • Promise utilities: delay and unwrap.
  • toPushLine pull target.

Changed

  • [BREAKING] toValue pull target now throws on 0 items (you've expected a value, but got an empty sequence).
  • [BREAKING] Removed Iterable utilities from utils entry.
  • [BREAKING] Renamed back createPullLine into just pullLine.
  • [BREAKING] Renamed isNil utility to isNullish (better consistency with ES naming like "Nullish Coalescing Operator").
  • [BREAKING] Replaced isReverse parameter of the sort operation with order parameter accepting asc/desc functions.
  • [BREAKING] Replaced tryCloseIterator helper with closeIterator.
  • Optimized interleave operation.

Removed

  • [BREAKING] Removed reverseComparator utility.