maraj 1.0.4 → 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +3 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -17,11 +17,11 @@ The **createImmutableUpdate** function has two arguments:
17
17
 
18
18
  The **updateObject** has the following syntax:
19
19
 
20
- - It can accept multiple key-value pairs and the order of execution will be preserved.
20
+ It can accept multiple key-value pairs and the order of execution will be preserved.
21
21
 
22
22
  - **Key:** path name of the fiels, separated by commas (same syntax you use to access object properties)
23
- (for arrays just use its index value)
24
- (can accept conditional statements. If the key is falsy, undefined or null it will not update the new value into the new object.)
23
+ - For arrays just use its index value
24
+ - Can accept conditional statements. (If the key is falsy, undefined or null it will not update the new value into the new object.)
25
25
 
26
26
  - **Value:** can be any type, including a function, where its argument will be the current value and its return value has to be the new value to be updated
27
27
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "maraj",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "description": "A lightweight 600 bytes gzipped alternative for immutable updates while dealing with objects and arrays",
5
5
  "main": "index.js",
6
6
  "scripts": {