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.12 to 0.9.13

test.js

3

lib/extract.js

@@ -31,2 +31,5 @@ module.exports = Extract;

// make sure path is normalized before using it
opts.path = path.normalize(opts.path);
Parse.call(self,opts);

@@ -33,0 +36,0 @@

2

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

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

@@ -70,3 +70,3 @@ [![NPM Version][npm-image]][npm-url]

var type = entry.type; // 'Directory' or 'File'
var size = entry.size;
var size = entry.vars.uncompressedSize; // There is also compressedSize;
if (fileName === "this IS the file I'm looking for") {

@@ -93,3 +93,3 @@ entry.pipe(fs.createWriteStream('output/path'));

var type = entry.type; // 'Directory' or 'File'
var size = entry.size;
var size = entry.vars.uncompressedSize; // There is also compressedSize;
if (fileName === "this IS the file I'm looking for") {

@@ -182,3 +182,3 @@ entry.pipe(fs.createWriteStream('output/path'))

var type = entry.type; // 'Directory' or 'File'
var size = entry.size;
var size = entry.vars.uncompressedSize; // There is also compressedSize;
if (fileName === "Текстовый файл.txt") {

@@ -185,0 +185,0 @@ entry.pipe(fs.createWriteStream(fileName));

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