dotsunited-merge-json
Advanced tools
Comparing version 1.1.1 to 2.0.0
@@ -1,6 +0,6 @@ | ||
var merge = require('lodash.merge'); | ||
var mergeWith = require('lodash.mergewith'); | ||
var isArray = require('lodash.isarray'); | ||
module.exports = function(object, fragment) { | ||
return merge(object, fragment, function(a, b) { | ||
return mergeWith(object, fragment, function(a, b) { | ||
if (isArray(a)) { | ||
@@ -7,0 +7,0 @@ return a.concat(b); |
@@ -9,3 +9,3 @@ { | ||
}, | ||
"version": "1.1.1", | ||
"version": "2.0.0", | ||
"repository": { | ||
@@ -20,5 +20,5 @@ "type": "git", | ||
"dependencies": { | ||
"lodash.isarray": "^3.9.3", | ||
"lodash.merge": "^3.9.3" | ||
"lodash.isarray": "^4.0.0", | ||
"lodash.mergewith": "^4.0.0" | ||
} | ||
} |
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
3142
+ Addedlodash.mergewith@^4.0.0
+ Addedlodash.isarray@4.0.0(transitive)
+ Addedlodash.mergewith@4.6.2(transitive)
- Removedlodash.merge@^3.9.3
Updatedlodash.isarray@^4.0.0