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.0.2 to 2.0.3

4

index.js

@@ -322,2 +322,6 @@ var fs = require("fs");

function readFdSlicerNoEof(fdSlicer, buffer, offset, length, position, callback) {
if (length === 0) {
// fs.read will throw an out-of-bounds error if you try to read 0 bytes from a 0 byte file
return setImmediate(function() { callback(null, new Buffer(0)); });
}
fdSlicer.read(buffer, offset, length, position, function(err, bytesRead) {

@@ -324,0 +328,0 @@ if (err) return callback(err);

8

package.json
{
"name": "yauzl",
"version": "2.0.2",
"version": "2.0.3",
"description": "yet another unzip library for node",

@@ -14,3 +14,7 @@ "main": "index.js",

"keywords": [
"unzip"
"unzip",
"zip",
"stream",
"archive",
"file"
],

@@ -17,0 +21,0 @@ "author": "Josh Wolfe <thejoshwolfe@gmail.com>",

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