@comunica/bus-http
Advanced tools
Comparing version 3.2.0 to 3.2.1
"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}`); |
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
24391
167
+ Added@jeswr/stream-to-string@2.0.0(transitive)
+ Addedevent-emitter-promisify@1.1.0(transitive)
- Removedstream-to-string@^1.2.0
- Removedpromise-polyfill@1.1.6(transitive)
- Removedstream-to-string@1.2.1(transitive)
Updated@comunica/core@^3.2.1