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.10.9 to 0.10.10

16

lib/BufferStream.js

@@ -11,11 +11,11 @@ var Promise = require('bluebird');

return new Promise(function(resolve,reject) {
var buffer = Buffer.from(''),
bufferStream = Stream.Transform()
.on('finish',function() {
resolve(buffer);
})
.on('error',reject);
var chunks = [];
var bufferStream = Stream.Transform()
.on('finish',function() {
resolve(Buffer.concat(chunks));
})
.on('error',reject);
bufferStream._transform = function(d,e,cb) {
buffer = Buffer.concat([buffer,d]);
chunks.push(d);
cb();

@@ -26,2 +26,2 @@ };

});
};
};
{
"name": "unzipper",
"version": "0.10.9",
"version": "0.10.10",
"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