tar-stream
Advanced tools
Comparing version 3.1.0 to 3.1.1
@@ -75,2 +75,5 @@ const { Writable, Readable, getStreamError } = require('streamx') | ||
_read (cb) { | ||
if (this.header.size === 0) { | ||
this.push(null) | ||
} | ||
if (this._parent._stream === this) { | ||
@@ -164,5 +167,3 @@ this._parent._update() | ||
if (this._header.size === 0 || this._header.type === 'directory') { | ||
const stream = this._createStream() | ||
stream.push(null) | ||
this.emit('entry', this._header, stream, this._unlockBound) | ||
this.emit('entry', this._header, this._createStream(), this._unlockBound) | ||
return true | ||
@@ -169,0 +170,0 @@ } |
{ | ||
"name": "tar-stream", | ||
"version": "3.1.0", | ||
"version": "3.1.1", | ||
"description": "tar-stream is a streaming tar parser and generator and nothing else. It operates purely using streams which means you can easily extract/parse tarballs without ever hitting the file system.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
31592
821
0