extract-zip
Advanced tools
Comparing version 1.5.0 to 1.6.0
@@ -66,3 +66,3 @@ var fs = require('fs') | ||
if (opts.onEntry) { | ||
opts.onEntry(entry) | ||
opts.onEntry(entry, zipfile) | ||
} | ||
@@ -69,0 +69,0 @@ |
{ | ||
"name": "extract-zip", | ||
"version": "1.5.0", | ||
"version": "1.6.0", | ||
"description": "unzip a zip file into a directory using 100% pure gluten-free organic javascript", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -38,3 +38,3 @@ # extract-zip | ||
- `defaultFileMode` - integer - File Mode (permissions) will default to `420` (octal `0644` in integer) | ||
- `onEntry` - function - if present, will be called with every entry from the zip file. forwarded from the `entry` event from yauzl. | ||
- `onEntry` - function - if present, will be called with `(entry, zipfile)`, entry is every entry from the zip file forwarded from the `entry` event from yauzl. `zipfile` is the `yauzl` instance | ||
@@ -41,0 +41,0 @@ Default modes are only used if no permissions are set in the zip file. |
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
7913