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

@comunica/bus-http

Package Overview
Dependencies
Maintainers
5
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 3.2.0 to 3.2.1

5

lib/utils.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.validateAndCloseHttpResponse = void 0;
// Use require instead of import for default exports, to be compatible with variants of esModuleInterop in tsconfig.
const stringifyStream = require("stream-to-string");
const stream_to_string_1 = require("@jeswr/stream-to-string");
const ActorHttp_1 = require("./ActorHttp");

@@ -19,3 +18,3 @@ /**

const responseStream = ActorHttp_1.ActorHttp.toNodeReadable(httpResponse.body);
bodyString = await stringifyStream(responseStream);
bodyString = await (0, stream_to_string_1.stringify)(responseStream);
}

@@ -22,0 +21,0 @@ throw new Error(`Could not update ${url} (HTTP status ${httpResponse.status}):\n${bodyString}`);

8

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

@@ -39,10 +39,10 @@ "lsd:module": true,

"dependencies": {
"@comunica/core": "^3.2.0",
"@comunica/core": "^3.2.1",
"@jeswr/stream-to-string": "^2.0.0",
"is-stream": "^2.0.1",
"readable-from-web": "^1.0.0",
"readable-stream-node-to-web": "^1.0.1",
"stream-to-string": "^1.2.0",
"web-streams-ponyfill": "^1.4.2"
},
"gitHead": "87baf2afed021a254859e64b92f34d9b51c6a7db"
"gitHead": "f558377c3cefbd1606c51ede80440b862e7dda4f"
}

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