@comunica/actor-http-wayback
Advanced tools
Comparing version 3.1.0 to 3.1.2
@@ -49,7 +49,10 @@ "use strict"; | ||
if (body) { | ||
if ('destroy' in body && typeof body.destroy === 'function') { | ||
if ('cancel' in body && typeof body.cancel === 'function') { | ||
await body.cancel(); | ||
} | ||
else if ('destroy' in body && typeof body.destroy === 'function') { | ||
body.destroy(); | ||
} | ||
else { | ||
await stringifyStream(bus_http_1.ActorHttp.toNodeReadable(fallbackResult.body)); | ||
await stringifyStream(bus_http_1.ActorHttp.toNodeReadable(body)); | ||
} | ||
@@ -56,0 +59,0 @@ } |
{ | ||
"name": "@comunica/actor-http-wayback", | ||
"version": "3.1.0", | ||
"version": "3.1.2", | ||
"description": "A wayback http actor", | ||
@@ -46,3 +46,3 @@ "lsd:module": true, | ||
}, | ||
"gitHead": "69d92988644c07b1b4831ba0a52073092d2f43af" | ||
"gitHead": "db31677bdef5400194783048840c147e04b793e5" | ||
} |
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
22272
97