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

@comunica/bus-http

Package Overview
Dependencies
Maintainers
3
Versions
102
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@comunica/bus-http - npm Package Compare versions

Comparing version 1.4.0 to 1.5.1

8

lib/ActorHttp.d.ts

@@ -0,1 +1,2 @@

/// <reference types="node" />
import { Actor, IAction, IActorArgs, IActorOutput, IActorTest } from "@comunica/core";

@@ -16,2 +17,9 @@ /**

constructor(args: IActorArgs<IActionHttp, IActorTest, IActorHttpOutput>);
/**
* Converts a WhatWG streams to Node streams if required.
* Returns the input in case the stream already is a Node stream.
* @param {ReadableStream} body
* @returns {NodeJS.ReadableStream}
*/
static toNodeReadable(body: ReadableStream): NodeJS.ReadableStream;
}

@@ -18,0 +26,0 @@ /**

@@ -20,4 +20,13 @@ "use strict";

}
/**
* Converts a WhatWG streams to Node streams if required.
* Returns the input in case the stream already is a Node stream.
* @param {ReadableStream} body
* @returns {NodeJS.ReadableStream}
*/
static toNodeReadable(body) {
return require('is-stream')(body) ? body : require('node-web-streams').toNodeReadable(body);
}
}
exports.ActorHttp = ActorHttp;
//# sourceMappingURL=ActorHttp.js.map

8

package.json
{
"name": "@comunica/bus-http",
"version": "1.4.0",
"version": "1.5.1",
"description": "A comunica bus for 'http' events.",

@@ -39,2 +39,6 @@ "lsd:module": "https://linkedsoftwaredependencies.org/bundles/npm/@comunica/bus-http",

},
"dependencies": {
"is-stream": "^1.1.0",
"node-web-streams": "^0.2.2"
},
"devDependencies": {

@@ -48,3 +52,3 @@ "@comunica/core": "^1.4.0"

},
"gitHead": "6a50d602495031e69912eb17988b5c8dc5152300"
"gitHead": "b110603cec2c1e2d1c9a8c2725542a526acf6c8a"
}
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