We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Using deno (which now supports npm packages) and node-fetch 2.x.x yields an unhandled error due to "socket" event not being triggered.
I believe keeping deno compatibility is not a priority but a simple undefined testing in the socket variable should fix the issue.
undefined
Reproduction
Steps to reproduce the behavior:
fixResponseChunkedTransferBadEnding()
Expected behavior
No unhandled error is raised and the fetch requests are handled properly.
Screenshots
Your Environment
Additional context
This is verified only while using deno and not in node.js.
Using deno (which now supports npm packages) and node-fetch 2.x.x yields an unhandled error due to "socket" event not being triggered.
I believe keeping deno compatibility is not a priority but a simple
undefinedtesting in the socket variable should fix the issue.Reproduction
Steps to reproduce the behavior:
fixResponseChunkedTransferBadEnding()Expected behavior
No unhandled error is raised and the fetch requests are handled properly.
Screenshots
Your Environment
Additional context
This is verified only while using deno and not in node.js.