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

@comunica/bus-http

Package Overview
Dependencies
Maintainers
4
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.20.1-alpha.e8638e880.0 to 1.21.1

8

lib/ActorHttp.d.ts

@@ -20,3 +20,3 @@ /// <reference types="node" />

/**
* Converts a WhatWG streams to Node streams if required.
* Converts WhatWG streams to Node streams if required.
* Returns the input in case the stream already is a Node stream.

@@ -28,2 +28,8 @@ * @param {ReadableStream} body

/**
* Converts Node streams to WhatWG streams.
* @param {NodeJS.ReadableStream} body
* @returns {ReadableStream}
*/
static toWebReadableStream(body: NodeJS.ReadableStream | null): ReadableStream;
/**
* Convert the given headers object into a raw hash.

@@ -30,0 +36,0 @@ * @param headers A headers object.

@@ -8,2 +8,3 @@ "use strict";

const toNodeReadable = require('web-streams-node').toNodeReadable;
const toWebReadableStream = require('web-streams-node').toWebReadableStream;
/**

@@ -26,3 +27,3 @@ * A base actor for listening to HTTP events.

/**
* Converts a WhatWG streams to Node streams if required.
* Converts WhatWG streams to Node streams if required.
* Returns the input in case the stream already is a Node stream.

@@ -36,2 +37,10 @@ * @param {ReadableStream} body

/**
* Converts Node streams to WhatWG streams.
* @param {NodeJS.ReadableStream} body
* @returns {ReadableStream}
*/
static toWebReadableStream(body) {
return toWebReadableStream(body);
}
/**
* Convert the given headers object into a raw hash.

@@ -38,0 +47,0 @@ * @param headers A headers object.

9

package.json
{
"name": "@comunica/bus-http",
"version": "1.20.1-alpha.e8638e880.0",
"version": "1.21.1",
"description": "A comunica bus for 'http' events.",

@@ -37,3 +37,3 @@ "lsd:module": true,

"dependencies": {
"@comunica/context-entries": "^1.20.0",
"@comunica/context-entries": "^1.21.1",
"is-stream": "^2.0.0",

@@ -43,3 +43,3 @@ "web-streams-node": "^0.4.0"

"devDependencies": {
"@comunica/core": "^1.20.1-alpha.e8638e880.0"
"@comunica/core": "^1.21.1"
},

@@ -65,4 +65,3 @@ "jest": {

"validate": "npm ls"
},
"gitHead": "e8638e880c762fd659ea781ba1ba2f5cb3e4ef2f"
}
}
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