Skip to content

v2.1.0

@belochub belochub tagged this 19 Jun 10:33
Release summary:

Fixed documentation, added utility methods for Iterator class and
filesystem, implemented `MemoryWritable` stream.

Changelog:

Added:

- `rmRecursive()` and `rmRecursivePromise()` functions.
- `Iterator#filterMap()` to enable more efficient filter+map. It will
  only return values from mapper function that do not match the passed
  filterValue (`undefined` by default).
- `Iterator#skipWhile()` to enable skipping elements while predicate
  holds.
- `MemoryWritable` stream implementation.

Fixed:

- Documentation by marking some methods as private and regenerating with
  a newer version of `@metarhia/doc`.

PR-URL: https://github.com/metarhia/common/pull/296
Assets 2
Loading