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

yazl

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yazl - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

9

index.js

@@ -54,3 +54,2 @@ var fs = require("fs");

pumpFileDataReadStream(self, entry, readStream);
pumpEntries(self);
});

@@ -82,3 +81,8 @@ pumpEntries(self);

entry.state = Entry.FILE_DATA_DONE;
pumpEntries(self);
// don't call pumpEntries() recursively.
// (also, don't call process.nextTick recursively.)
setImmediate(function() {
pumpEntries(self);
});
});

@@ -279,2 +283,3 @@ pumpEntries(self);

};
// doFileDataPump() should not call pumpEntries() directly. see issue #9.
Entry.prototype.setFileDataPumpFunction = function(doFileDataPump) {

@@ -281,0 +286,0 @@ this.doFileDataPump = doFileDataPump;

{
"name": "yazl",
"version": "2.1.0",
"version": "2.1.1",
"description": "yet another zip library for node",

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

@@ -103,2 +103,5 @@ # yazl

Note that yazl will `.pipe()` data from `readStream`, so be careful using `.on('data')`.
In certain versions of node, `.on('data')` makes `.pipe()` behave incorrectly.
#### addBuffer(buffer, metadataPath, [options])

@@ -173,2 +176,5 @@

As a reminder, be careful using both `.on('data')` and `.pipe()` with this stream.
In certain versions of node, you cannot use both `.on('data')` and `.pipe()` successfully.
### dateToDosDateTime(jsDate)

@@ -254,2 +260,4 @@

* 2.1.1
* Fixed stack overflow when using addBuffer() in certain ways. [issue #9](https://github.com/thejoshwolfe/yazl/issues/9)
* 2.1.0

@@ -256,0 +264,0 @@ * Added `addEmptyDirectory()`.

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