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

@comunica/mediator-combine-pipeline

Package Overview
Dependencies
Maintainers
3
Versions
94
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 1.1.0 to 1.2.0

11

lib/MediatorCombinePipeline.js

@@ -13,3 +13,10 @@ "use strict";

async mediate(action) {
const testResults = this.publish(action);
let testResults;
try {
testResults = this.publish(action);
}
catch (e) {
// If no actors are available, just return the input as output
return action;
}
// Delegate test errors.

@@ -21,3 +28,3 @@ await Promise.all(require('lodash.map')(testResults, 'reply'));

for (const actor of testResults.map((result) => result.actor)) {
handle = await actor.run(handle);
handle = await actor.runObservable(handle);
}

@@ -24,0 +31,0 @@ // Return the final actor output

17

package.json
{
"name": "@comunica/mediator-combine-pipeline",
"version": "1.1.0",
"version": "1.2.0",
"description": "A sequential combine mediator",

@@ -8,4 +8,7 @@ "lsd:module": "https://linkedsoftwaredependencies.org/bundles/npm/@comunica/mediator-combine-pipeline",

"lsd:contexts": {
"https://linkedsoftwaredependencies.org/contexts/comunica-mediator-combine-pipeline.jsonld": "components/context.jsonld"
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/mediator-combine-pipeline/^1.0.0/components/context.jsonld": "components/context.jsonld"
},
"lsd:importPaths": {
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/mediator-combine-pipeline/^1.0.0/components/": "components/"
},
"main": "index.js",

@@ -40,11 +43,8 @@ "typings": "index",

"devDependencies": {
"@comunica/core": "^1.1.0"
"@comunica/core": "^1.2.0"
},
"jest": {
"transform": {
"^.+\\.ts$": "<rootDir>/../../node_modules/ts-jest/preprocessor.js"
"^.+\\.ts$": "ts-jest"
},
"transformIgnorePatterns": [
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx)$"
],
"testRegex": "(/test/.*|(\\.|/)(test|spec))\\.ts$",

@@ -62,5 +62,4 @@ "moduleFileExtensions": [

"build": "node \"../../node_modules/typescript/bin/tsc\"",
"validate": "npm ls",
"prepare": "npm run build"
"validate": "npm ls"
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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