@comunica/mediator-combine-union
Advanced tools
Comparing version 1.14.0 to 1.15.0
@@ -36,3 +36,7 @@ "use strict"; | ||
const data = {}; | ||
data[this.field] = require('lodash.defaults').apply({}, [{}].concat(results.map((result) => result[this.field]))); | ||
data[this.field] = {}; | ||
[{}].concat(results.map((result) => result[this.field])) | ||
.forEach((value, index, arr) => { | ||
data[this.field] = Object.assign(Object.assign({}, value), data[this.field]); | ||
}); | ||
return data; | ||
@@ -39,0 +43,0 @@ }; |
{ | ||
"name": "@comunica/mediator-combine-union", | ||
"version": "1.14.0", | ||
"version": "1.15.0", | ||
"description": "A combine-union mediator", | ||
@@ -35,6 +35,2 @@ "lsd:module": "https://linkedsoftwaredependencies.org/bundles/npm/@comunica/mediator-combine-union", | ||
], | ||
"dependencies": { | ||
"@types/lodash.defaults": "^4.2.3", | ||
"lodash.defaults": "^4.2.0" | ||
}, | ||
"peerDependencies": { | ||
@@ -44,3 +40,3 @@ "@comunica/core": "^1.0.0" | ||
"devDependencies": { | ||
"@comunica/core": "^1.14.0" | ||
"@comunica/core": "^1.15.0" | ||
}, | ||
@@ -69,3 +65,3 @@ "jest": { | ||
}, | ||
"gitHead": "6517367d95ef072468bfc0d88cf3a27f6d25a145" | ||
"gitHead": "d71011b99f9fb5d125822fd42e75db6868ef4a64" | ||
} |
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
8614
1
79
- Removed@types/lodash.defaults@^4.2.3
- Removedlodash.defaults@^4.2.0
- Removed@types/lodash@4.17.13(transitive)
- Removed@types/lodash.defaults@4.2.9(transitive)
- Removedlodash.defaults@4.2.0(transitive)