@blazingedge/update
Advanced tools
Comparing version 1.1.5 to 1.1.6
{ | ||
"name": "@blazingedge/update", | ||
"version": "1.1.5", | ||
"version": "1.1.6", | ||
"description": "Utility for immutable deep updates of objects.", | ||
@@ -5,0 +5,0 @@ "main": "lib", |
@@ -22,4 +22,4 @@ [![Build Status](https://travis-ci.org/blazing-edge-labs/update.svg?branch=master)](https://travis-ci.org/blazing-edge-labs/update) | ||
}) | ||
``` | ||
More examples in the [article](https://blog.blazingedge.io/immutable-update/). | ||
@@ -36,2 +36,5 @@ | ||
* **change *(any)***: The change to apply. | ||
* if a ***function*** then it's used to compute the new value from previous one, | ||
* if a ***plain object*** then each its *value* is the ***change*** for respective key/index, | ||
* otherwise it's the new value. | ||
@@ -38,0 +41,0 @@ #### Returns |
19913
98