Skip to content

Commit

Permalink
HOTFIX: Fix pipecount (#169)
Browse files Browse the repository at this point in the history
* add node 12 and 13

* Update pipecount for node 13
  • Loading branch information
ZJONSSON committed Jan 22, 2020
1 parent b0e3d93 commit e91734d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
@@ -1,5 +1,7 @@
language: node_js
node_js:
- "13"
- "12"
- "10"
- "8"
- "7"
Expand Down
2 changes: 1 addition & 1 deletion lib/parse.js
Expand Up @@ -154,7 +154,7 @@ Parse.prototype._readFile = function () {

self.emit('entry', entry);

if (self._readableState.pipesCount)
if (self._readableState.pipesCount || (self._readableState.pipes && self._readableState.pipes.length))
self.push(entry);

if (self._opts.verbose)
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "unzipper",
"version": "0.10.5",
"version": "0.10.6",
"description": "Unzip cross-platform streaming API ",
"author": "Evan Oxfeld <eoxfeld@gmail.com>",
"contributors": [
Expand Down

0 comments on commit e91734d

Please sign in to comment.