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

yauzl

Package Overview
Dependencies
Maintainers
2
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yauzl - npm Package Compare versions

Comparing version 2.4.0 to 2.4.1

17

index.js

@@ -417,3 +417,6 @@ var fs = require("fs");

readStream.on("error", function(err) {
if (!destroyed) inflateFilter.emit("error", err);
// setImmediate here because errors can be emitted during the first call to pipe()
setImmediate(function() {
if (!destroyed) inflateFilter.emit("error", err);
});
});

@@ -424,3 +427,5 @@

// forward zlib errors to the client-visible stream
if (!destroyed) checkerStream.emit("error", err);
setImmediate(function() {
if (!destroyed) checkerStream.emit("error", err);
});
});

@@ -533,3 +538,5 @@ checkerStream.destroy = function() {

stream.on("error", function(err) {
if (!destroyed) refUnrefFilter.emit("error", err);
setImmediate(function() {
if (!destroyed) refUnrefFilter.emit("error", err);
});
});

@@ -544,3 +551,5 @@ refUnrefFilter.destroy = function() {

refUnrefFilter.on("error", function(err) {
if (!destroyed) byteCounter.emit("error", err);
setImmediate(function() {
if (!destroyed) byteCounter.emit("error", err);
});
});

@@ -547,0 +556,0 @@ byteCounter.destroy = function() {

{
"name": "yauzl",
"version": "2.4.0",
"version": "2.4.1",
"description": "yet another unzip library for node",

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

@@ -442,2 +442,4 @@ # yauzl

* 2.4.1
* Fix error handling.
* 2.4.0

@@ -444,0 +446,0 @@ * Add ZIP64 support. [issue #6](https://github.com/thejoshwolfe/yazl/issues/6)

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