Comparing version 3.3.0 to 3.3.1
@@ -72,5 +72,5 @@ var fs = require("fs"); | ||
entry.setFileDataPumpFunction(function() { | ||
entry.state = Entry.FILE_DATA_IN_PROGRESS; | ||
getReadStreamFunction(function(err, readStream) { | ||
if (err) return self.emit("error", err); | ||
entry.state = Entry.FILE_DATA_IN_PROGRESS; | ||
pumpFileDataReadStream(self, entry, readStream); | ||
@@ -77,0 +77,0 @@ }); |
{ | ||
"name": "yazl", | ||
"version": "3.3.0", | ||
"version": "3.3.1", | ||
"description": "yet another zip library for node", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -404,4 +404,6 @@ # yazl | ||
* 3.3.1 (2024-Nov-23) | ||
* Fix bug in `addReadStreamLazy()` timing that could result in the given `getReadStreamFunction` being called too soon or being called more than once. [issue #87](https://github.com/thejoshwolfe/yazl/issues/87) | ||
* 3.3.0 (2024-Nov-08) | ||
* Add support for encoding timestamps in the more modern Info-ZIP "universal timestamp" extended field (`0x5455` aka `"UT"`): supports years as old as 1901 instead of only 1980, notably including 1970; encodes timestamp in UTC rather than an unspecified system-dependent local timezone. | ||
* Add support for encoding timestamps in the more modern Info-ZIP "universal timestamp" extended field (`0x5455` aka `"UT"`): supports years as old as 1901 instead of only 1980, notably including 1970; encodes timestamp in UTC rather than an unspecified system-dependent local timezone. [pull #86](https://github.com/thejoshwolfe/yazl/pull/86) | ||
* Disable spending the extra 9 bytes of metadata per entry with `forceDosTimestamp:true`. | ||
@@ -408,0 +410,0 @@ * Out-of-bounds timestamps are now clamped rather than overflowing/underflowing and wrapping around. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
58743
458