@whatwg-node/node-fetch
Advanced tools
Comparing version 0.5.23 to 0.5.24-rc-20240821233853-565943c0ae4e3e36699bb9e0079ea7bf0a8f1e1f
@@ -69,3 +69,8 @@ "use strict"; | ||
curlHandle.once('end', function endListener() { | ||
curlHandle.close(); | ||
try { | ||
curlHandle.close(); | ||
} | ||
catch (e) { | ||
reject(e); | ||
} | ||
}); | ||
@@ -82,3 +87,8 @@ curlHandle.once('error', function errorListener(error) { | ||
} | ||
curlHandle.close(); | ||
try { | ||
curlHandle.close(); | ||
} | ||
catch (e) { | ||
reject(e); | ||
} | ||
}); | ||
@@ -85,0 +95,0 @@ curlHandle.once('stream', function streamListener(stream, status, headersBuf) { |
@@ -66,3 +66,8 @@ import { PassThrough, Readable, promises as streamPromises } from 'stream'; | ||
curlHandle.once('end', function endListener() { | ||
curlHandle.close(); | ||
try { | ||
curlHandle.close(); | ||
} | ||
catch (e) { | ||
reject(e); | ||
} | ||
}); | ||
@@ -79,3 +84,8 @@ curlHandle.once('error', function errorListener(error) { | ||
} | ||
curlHandle.close(); | ||
try { | ||
curlHandle.close(); | ||
} | ||
catch (e) { | ||
reject(e); | ||
} | ||
}); | ||
@@ -82,0 +92,0 @@ curlHandle.once('stream', function streamListener(stream, status, headersBuf) { |
{ | ||
"name": "@whatwg-node/node-fetch", | ||
"version": "0.5.23", | ||
"version": "0.5.24-rc-20240821233853-565943c0ae4e3e36699bb9e0079ea7bf0a8f1e1f", | ||
"description": "Fetch API implementation for Node", | ||
@@ -5,0 +5,0 @@ "sideEffects": false, |
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
201977
5200