Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

unzipper

Package Overview
Dependencies
Maintainers
1
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

unzipper - npm Package Compare versions

Comparing version 0.7.1 to 0.7.2

12

lib/PullStream.js

@@ -16,2 +16,7 @@ var Stream = require('stream');

this.buffer = new Buffer('');
var self = this;
self.on('finish',function() {
self.finished = true;
self.emit('chunk',false);
});
}

@@ -74,7 +79,7 @@

if (!done) {
if (self.flushcb) {
if (self.finished) {
self.removeListener('chunk',pull);
self.emit('error','FILE_ENDED');
p.emit('error','FILE_ENDED');
this.__ended = true;
return;
}

@@ -106,3 +111,6 @@ self.next();

return new Promise(function(resolve,reject) {
if (self.finished)
return reject('FILE_ENDED');
self.stream(eof,includeEof)
.on('error',reject)
.pipe(concatStream)

@@ -109,0 +117,0 @@ .on('finish',function() {resolve(buffer);})

2

package.json
{
"name": "unzipper",
"version": "0.7.1",
"version": "0.7.2",
"description": "Unzip cross-platform streaming API ",

@@ -5,0 +5,0 @@ "author": "Evan Oxfeld <eoxfeld@gmail.com>",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc