seamless-immutable-mergers
Advanced tools
Comparing version 2.2.0 to 3.0.0
{ | ||
"name": "seamless-immutable-mergers", | ||
"version": "2.2.0", | ||
"version": "3.0.0", | ||
"description": "A collection of merger functions for seamless-immutable.", | ||
"main": "seamless-immutable-mergers.js", | ||
"dependencies": { | ||
"seamless-immutable": "~2.4.2" | ||
"seamless-immutable": "~3.0.0" | ||
}, | ||
@@ -9,0 +9,0 @@ "moduleType": [ |
{ | ||
"name": "seamless-immutable-mergers", | ||
"version": "2.2.0", | ||
"version": "3.0.0", | ||
"description": "A collection of merger functions for seamless-immutable.", | ||
"main": "seamless-immutable-mergers.js", | ||
"dependencies": { | ||
"seamless-immutable": "~2.4.2" | ||
"seamless-immutable": "~3.0.0" | ||
}, | ||
"browserDependencies": { | ||
"seamless-immutable": "~2.4.2" | ||
"seamless-immutable": "~3.0.0" | ||
}, | ||
@@ -12,0 +12,0 @@ "devDependencies": { |
@@ -6,7 +6,14 @@ seamless-immutable-mergers | ||
## Installation | ||
`npm install seamless-immutable-mergers` | ||
Any of the following: | ||
* `npm install seamless-immutable-mergers` | ||
* `bower install seamless-immutable-mergers` | ||
* download *seamless-immutable-mergers.js* | ||
## The merge API | ||
If you have an immutable object that you want to merge with another object then you do the following in seamless-immutable: | ||
Make sure that you have *[seamless-immutable](https://github.com/rtfeldman/seamless-immutable)* loaded and in scope before using *seamless-immutable-mergers*. | ||
Note: If you are using *[requirejs](http://requirejs.org/)* or similar then make sure that *[seamless-immutable](https://github.com/rtfeldman/seamless-immutable)* is exported as `seamless-immutable` so *seamless-immutable-mergers* can require the dependency. | ||
## The merge API of seamless-immutable | ||
If you have an immutable object that you want to merge with another object then you do the following in *[seamless-immutable](https://github.com/rtfeldman/seamless-immutable)*: | ||
```javascript | ||
@@ -13,0 +20,0 @@ var result = immutableObject.merge(otherObject); |
Sorry, the diff of this file is not supported yet
28575
166
+ Addedseamless-immutable@3.0.0(transitive)
- Removedseamless-immutable@2.4.2(transitive)
Updatedseamless-immutable@~3.0.0