Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

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.2.0 to 1.3.0

16

index.js

@@ -35,2 +35,7 @@ var fs = require('fs')

zipfile.on('entry', function (entry) {
if (cancelled) {
debug('skipping entry', entry.fileName, {cancelled: cancelled})
return
}
debug('zipfile entry', entry.fileName)

@@ -44,3 +49,10 @@

q.push(entry, function (err) {
debug('finished processing', entry.fileName, {err: err})
// if any extraction fails then abort everything
if (err) {
cancelled = true
q.kill()
zipfile.close()
return cb(err)
}
debug('finished processing', entry.fileName)
})

@@ -55,3 +67,3 @@ })

if (cancelled) {
debug('skipping entry', entry.fileName, {cancelled: cancelled})
debug('skipping entry extraction', entry.fileName, {cancelled: cancelled})
return setImmediate(done)

@@ -58,0 +70,0 @@ }

8

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

@@ -28,7 +28,7 @@ "main": "index.js",

"dependencies": {
"async": "1.5.0",
"concat-stream": "1.5.0",
"debug": "0.7.4",
"async": "0.9.0",
"mkdirp": "0.5.0",
"concat-stream": "1.5.0",
"yauzl": "^2.3.1"
"yauzl": "2.3.1"
},

@@ -35,0 +35,0 @@ "devDependencies": {

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