node-stream-zip
Advanced tools
Comparing version 1.4.2 to 1.5.0
@@ -374,3 +374,3 @@ /** | ||
this.stream = function(entry, callback) { | ||
return openEntry(entry, function(err, entry) { | ||
return this.openEntry(entry, function(err, entry) { | ||
if (err) | ||
@@ -394,3 +394,3 @@ return callback(err); | ||
var err = null; | ||
openEntry(entry, function(e, en) { | ||
this.openEntry(entry, function(e, en) { | ||
err = e; | ||
@@ -425,3 +425,3 @@ entry = en; | ||
function openEntry(entry, callback, sync) { | ||
this.openEntry = function(entry, callback, sync) { | ||
if (typeof entry === 'string') { | ||
@@ -452,3 +452,3 @@ checkEntriesExist(); | ||
}).read(sync); | ||
} | ||
}; | ||
@@ -455,0 +455,0 @@ function dataOffset(entry) { |
{ | ||
"name": "node-stream-zip", | ||
"version": "1.4.2", | ||
"version": "1.5.0", | ||
"description": "node.js library for reading and extraction of ZIP archives", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
39728