Comparing version 0.9.12 to 0.9.13
@@ -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 @@ |
{ | ||
"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)); |
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
43160
20
841
3