Index: node_modules/vulcanize/node_modules/update-notifier/node_modules/configstore/node_modules/object-assign/readme.md |
diff --git a/node_modules/vulcanize/node_modules/update-notifier/node_modules/configstore/node_modules/object-assign/readme.md b/node_modules/vulcanize/node_modules/update-notifier/node_modules/configstore/node_modules/object-assign/readme.md |
index a8b470be3478d110488748f005a9403612e47c0b..aee51c12b56589467a7e6d3d365b6d2566a87eca 100644 |
--- a/node_modules/vulcanize/node_modules/update-notifier/node_modules/configstore/node_modules/object-assign/readme.md |
+++ b/node_modules/vulcanize/node_modules/update-notifier/node_modules/configstore/node_modules/object-assign/readme.md |
@@ -11,24 +11,26 @@ |
$ npm install --save object-assign |
``` |
-```sh |
-$ bower install --save object-assign |
-``` |
- |
-```sh |
-$ component install sindresorhus/object-assign |
-``` |
- |
## Usage |
```js |
+var objectAssign = require('object-assign'); |
+ |
objectAssign({foo: 0}, {bar: 1}); |
//=> {foo: 0, bar: 1} |
// multiple sources |
-objectAssign({foo: 0}, {bar: 1}, {baz: 3}); |
+objectAssign({foo: 0}, {bar: 1}, {baz: 2}); |
//=> {foo: 0, bar: 1, baz: 2} |
+ |
+// overwrites equal keys |
+objectAssign({foo: 0}, {foo: 1}, {foo: 2}); |
+//=> {foo: 2} |
+ |
+// ignores null and undefined sources |
+objectAssign({foo: 0}, null, {bar: 1}, undefined); |
+//=> {foo: 0, bar: 1} |
``` |
@@ -46,4 +48,4 @@ Assigns enumerable own properties of `source` objects to the `target` object and |
## License |
-[MIT](http://opensource.org/licenses/MIT) © [Sindre Sorhus](http://sindresorhus.com) |
+MIT © [Sindre Sorhus](http://sindresorhus.com) |