Socket
Socket
Sign inDemoInstall

extract-zip

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

extract-zip - npm Package Compare versions

Comparing version 1.5.0 to 1.6.0

2

index.js

@@ -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.

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