Comparing version 0.8.13 to 0.8.14
@@ -57,3 +57,3 @@ var util = require('util'); | ||
else | ||
self.emit('error', Error('invalid signature: 0x' + signature.toString(16))); | ||
self.emit('error', new Error('invalid signature: 0x' + signature.toString(16))); | ||
}); | ||
@@ -60,0 +60,0 @@ }; |
@@ -66,3 +66,3 @@ var Stream = require('stream'); | ||
self.removeListener('chunk',pull); | ||
self.emit('error','FILE_ENDED'); | ||
self.emit('error', new Error('FILE_ENDED')); | ||
this.__ended = true; | ||
@@ -106,3 +106,3 @@ return; | ||
if (self.finished) | ||
return reject('FILE_ENDED'); | ||
return reject(new Error('FILE_ENDED')); | ||
self.stream(eof,includeEof) | ||
@@ -109,0 +109,0 @@ .on('error',reject) |
{ | ||
"name": "unzipper", | ||
"version": "0.8.13", | ||
"version": "0.8.14", | ||
"description": "Unzip cross-platform streaming API ", | ||
@@ -5,0 +5,0 @@ "author": "Evan Oxfeld <eoxfeld@gmail.com>", |
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
35342