Closed splmatto closed 1 year ago
Thanks, we’ll take a look
I run into the same problem, and can verify with no code change downgrading to 2.2.0 made the errors appear. Also when awaiting the pipeline in 3.0 it never finishes, in 2.2.0 it rejects. So I guess I have to change the code to wait for reader to finish in 3.0.0 and handle the errors another way instead of waiting for the pipeline to finish as I normally would, or stay at 2.2.0 for now.
Think this is fixed in 3.1.0
I'm using tar-stream's extract functionality.
I recently upgraded from tar-stream@2.2.0 to tar-stream@3.0.0, and the error handling in my code is no longer triggered when I pass an error to the
next
function passed to my entry callback.Here's an attempt at a minimal repo:
Here's the output when integrating tar-stream@2.2.0:
And here's the output when integrating tar-stream@3.0.0:
Here's the contents of foo.tar: