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.4.1 to 1.5.0

4

index.js

@@ -65,2 +65,6 @@ var fs = require('fs')

if (opts.onEntry) {
opts.onEntry(entry)
}
var dest = path.join(opts.dir, entry.fileName)

@@ -67,0 +71,0 @@

2

package.json
{
"name": "extract-zip",
"version": "1.4.1",
"version": "1.5.0",
"description": "unzip a zip file into a directory using 100% pure gluten-free organic javascript",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -38,2 +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.

@@ -40,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