Closed aduh95 closed 4 years ago
There is probably some breaking change in the promisified version of pipeline in Node.js 14.0.0; as a workaround, this PR add a listener to the end event of the ReadableStream to avoid the dead-lock.
end
ReadableStream
Fixes: https://github.com/maxogden/extract-zip/issues/94
Node.js 14.1.0 has been released with a fix for the linked issue. Probably not worth landing this hack.
There is probably some breaking change in the promisified version of pipeline in Node.js 14.0.0; as a workaround, this PR add a listener to the
end
event of theReadableStream
to avoid the dead-lock.Fixes: https://github.com/maxogden/extract-zip/issues/94