updeep-remeda/CHANGELOG.md

2.5 KiB

Change Log

unreleased

0.4.0

  • Add u.if and u.ifElse to conditionally update objects. (https://github.com/substantial/updeep/issues/12)
  • Add u.map to update all values in an array or object.
  • Replace object outright if null or constant provided as updates.
  • Freeze objects returned by helper methods that use update like withDefault, map, in, etc. Previously, only u did freezing.

0.3.1

  • Actually expose u.in.

0.3.0

0.2.3

0.2.2

0.2.1

0.2.0

  • Freeze objects returned by default. It doesn't actually make sense to return unfrozen objects, as the original object could be mutated and it would affect the new object. Object freezing is disabled if NODE_ENV is "production'.
  • Update README with example for reject.

0.1.3

  • Update README.

0.1.2

  • Fix package description.

0.1.1

  • Update README and description.

0.1.0

  • Initial release