Closed sth closed 6 years ago
This is a pull request that fixes #82.
It keeps track if there is an entry currently being parsed, and triggers an error if that's still the case when _final() is called.
_final()
_final() was introduced in node v8, but since tar-stream uses stream-readable instead of the standard library streams, it works for all node versions.
stream-readable
Node version should not matter as we use the readable-stream module.
Ah you said that already 😁
I removed the extra arg, it didn't really make things clearer.
Out in 1.6.0 with a few minor tweaks :)
This is a pull request that fixes #82.
It keeps track if there is an entry currently being parsed, and triggers an error if that's still the case when
_final()
is called._final()
was introduced in node v8, but since tar-stream usesstream-readable
instead of the standard library streams, it works for all node versions.