New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

node-stream-zip

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-stream-zip - npm Package Compare versions

Comparing version 1.8.2 to 1.9.0

15

node_stream_zip.js

@@ -158,2 +158,3 @@ /**

centralDirectory,
closed,

@@ -581,3 +582,6 @@ entries = config.storeEntries !== false ? {} : null,

this.close = function(callback) {
if (fd) {
if (closed) {
callback();
} else {
closed = true;
fs.close(fd, function(err) {

@@ -588,6 +592,11 @@ fd = null;

});
} else if (callback) {
callback();
}
};
var originalEmit = events.EventEmitter.prototype.emit;
this.emit = function() {
if (!closed) {
return originalEmit.apply(this, arguments);
}
};
};

@@ -594,0 +603,0 @@

2

package.json
{
"name": "node-stream-zip",
"version": "1.8.2",
"version": "1.9.0",
"description": "node.js library for reading and extraction of ZIP archives",

@@ -5,0 +5,0 @@ "keywords": [

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