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.9.5 to 0.9.6

10

lib/PullStream.js

@@ -37,3 +37,3 @@ var Stream = require('stream');

var p = Stream.PassThrough();
var count = 0,done,packet,self= this;
var count = 0,done,needmore,packet,self= this;

@@ -56,2 +56,6 @@ function pull() {

var len = self.buffer.length - eof.length;
if (len < 0) {
len = self.buffer.length;
needmore = true;
}
packet = self.buffer.slice(0,len);

@@ -61,4 +65,4 @@ self.buffer = self.buffer.slice(len);

}
p.write(packet,function() {
if (self.buffer.length === (eof.length || 0) &&
if (!this.__ended) p.write(packet,function() {
if ((self.buffer.length === (eof.length || 0) || needmore) &&
typeof self.cb === strFunction &&

@@ -65,0 +69,0 @@ packet.length !== 0

{
"name": "unzipper",
"version": "0.9.5",
"version": "0.9.6",
"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