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.22.0 to 1.22.1

6

lib/ActorHttp.js

@@ -6,4 +6,4 @@ "use strict";

const core_1 = require("@comunica/core");
const readable_web_to_node_stream_1 = require("readable-web-to-node-stream");
const isStream = require('is-stream');
const toNodeReadable = require('web-streams-node').toNodeReadable;
const toWebReadableStream = require('web-streams-node').toWebReadableStream;

@@ -33,3 +33,5 @@ /**

static toNodeReadable(body) {
return isStream(body) ? body : toNodeReadable(body);
return isStream(body) || body === null ?
body :
new readable_web_to_node_stream_1.ReadableWebToNodeStream(body);
}

@@ -36,0 +38,0 @@ /**

{
"name": "@comunica/bus-http",
"version": "1.22.0",
"version": "1.22.1",
"description": "A comunica bus for 'http' events.",

@@ -38,3 +38,5 @@ "lsd:module": true,

"@comunica/context-entries": "^1.22.0",
"@types/readable-stream": "^2.3.11",
"is-stream": "^2.0.0",
"readable-web-to-node-stream": "^3.0.2",
"web-streams-node": "^0.4.0"

@@ -65,3 +67,3 @@ },

},
"gitHead": "0a249ba341022eb2f1b9922fcf549a9564671d9f"
"gitHead": "d9adc4e150de2bc4037fff369a9c62d9032b44bc"
}
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