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 1.1.1 to 2.0.0

4

index.js

@@ -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"
}
}
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