Comparing version 4.8.2 to 4.9.0
@@ -174,3 +174,3 @@ // https://github.com/Ethan-Arrowood/undici-fetch | ||
// and terminate these substeps. | ||
if (response.status === 0) { | ||
if (response.type === 'error') { | ||
p.reject( | ||
@@ -177,0 +177,0 @@ Object.assign(new TypeError('fetch failed'), { cause: response.error }) |
{ | ||
"name": "undici", | ||
"version": "4.8.2", | ||
"version": "4.9.0", | ||
"description": "An HTTP/1.1 client, written from scratch for Node.js", | ||
@@ -5,0 +5,0 @@ "homepage": "https://undici.nodejs.org", |
631580