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

@comunica/mediator-combine-union

Package Overview
Dependencies
Maintainers
3
Versions
95
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@comunica/mediator-combine-union - npm Package Compare versions

Comparing version 1.8.0 to 1.9.0

12

lib/MediatorCombineUnion.js

@@ -15,5 +15,11 @@ "use strict";

async mediate(action) {
const testResults = this.publish(action);
let testResults;
try {
testResults = this.publish(action);
}
catch (e) {
testResults = [];
}
// Delegate test errors.
await Promise.all(require('lodash.map')(testResults, 'reply'));
await Promise.all(testResults.map(({ reply }) => reply));
// Run action on all actors.

@@ -30,3 +36,3 @@ const results = await Promise.all(testResults.map((result) => result.actor.runObservable(action)));

const data = {};
data[this.field] = require('lodash.defaults').apply({}, [{}].concat(require('lodash.map')(results, this.field)));
data[this.field] = require('lodash.defaults').apply({}, [{}].concat(results.map((result) => result[this.field])));
return data;

@@ -33,0 +39,0 @@ };

{
"name": "@comunica/mediator-combine-union",
"version": "1.8.0",
"version": "1.9.0",
"description": "A combine-union mediator",

@@ -36,4 +36,3 @@ "lsd:module": "https://linkedsoftwaredependencies.org/bundles/npm/@comunica/mediator-combine-union",

"dependencies": {
"lodash.defaults": "^4.2.0",
"lodash.map": "^4.6.0"
"lodash.defaults": "^4.2.0"
},

@@ -44,3 +43,3 @@ "peerDependencies": {

"devDependencies": {
"@comunica/core": "^1.8.0"
"@comunica/core": "^1.9.0"
},

@@ -70,3 +69,3 @@ "jest": {

},
"gitHead": "7e65817dad65cf10c032f7548b37cedf3055eea1"
"gitHead": "2e0cba815fd65d5660f15c96ffc734f9099d8b6a"
}
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