object-merger
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -29,2 +29,3 @@ /*! | ||
const apply = (obj, cur) => { | ||
if (!obj) return; | ||
Object.keys(obj).forEach(key => { | ||
@@ -31,0 +32,0 @@ if (Array.isArray(obj[key])) { |
{ | ||
"name": "object-merger", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"engines" : { | ||
"node" : ">=6.0.0" | ||
}, | ||
"engineStrict": true, | ||
"description": "Deep merge objects, better version of native Object.assign.", | ||
@@ -29,3 +33,4 @@ "main": "index.js", | ||
"copy", | ||
"merge" | ||
"merge", | ||
"es6" | ||
], | ||
@@ -32,0 +37,0 @@ "author": "Jarrad Seers <jarrad@seers.me>", |
# Object Merger | ||
Merge Objects properly instead of overwriting them. Essentially a deep `Object.assign`. It's very simple, written in ES6+ and handles a basic deep copy of objects. | ||
Merge Javascript Objects properly instead of overwriting them. Essentially a deep `Object.assign`. It's very simple, written in ES6+ and handles a basic deep copy of objects. | ||
This was written out of frustrations with `Object.assign` and the heavier weight of some alternative packages trying to support everything. | ||
This was written due to lack of power with `Object.assign` and the heavier weight of some alternative packages trying to support everything. | ||
@@ -7,0 +7,0 @@ ## Usage |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5772
125