node-stream-zip
Advanced tools
Comparing version 1.1.1 to 1.2.0
@@ -195,2 +195,3 @@ /** | ||
centralDirectory.read(buffer.slice(bufferPosition, bufferPosition + consts.ENDHDR)); | ||
centralDirectory.headerOffset = pos; | ||
if (centralDirectory.commentLength) | ||
@@ -202,2 +203,3 @@ that.comment = buffer.slice(bufferPosition + consts.ENDHDR, | ||
that.entriesCount = centralDirectory.volumeEntries; | ||
that.centralDirectory = centralDirectory; | ||
readEntries(); | ||
@@ -247,2 +249,3 @@ } catch (err) { | ||
op.pos += consts.CENHDR; | ||
entry.headerOffset = op.pos; | ||
bufferPos += consts.CENHDR; | ||
@@ -249,0 +252,0 @@ } |
{ | ||
"name": "node-stream-zip", | ||
"version": "1.1.1", | ||
"version": "1.2.0", | ||
"description": "node.js library for reading and extraction of ZIP archives", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
33434
761