Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

dotsunited-merge-json

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dotsunited-merge-json - npm Package Compare versions

Comparing version 2.0.0 to 3.0.0

7

index.js
var mergeWith = require('lodash.mergewith');
var isArray = require('lodash.isarray');
var uniqWith = require('lodash.uniqwith');
var isEqual = require('lodash.isequal');

@@ -7,5 +9,8 @@ module.exports = function(object, fragment) {

if (isArray(a)) {
return a.concat(b);
return uniqWith(
a.concat(b),
isEqual
);
}
})
};

6

package.json

@@ -9,3 +9,3 @@ {

},
"version": "2.0.0",
"version": "3.0.0",
"repository": {

@@ -21,4 +21,6 @@ "type": "git",

"lodash.isarray": "^4.0.0",
"lodash.mergewith": "^4.0.0"
"lodash.isequal": "^4.0.0",
"lodash.mergewith": "^4.0.0",
"lodash.uniqwith": "^4.0.0"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc