Comparing version 2.5.1 to 3.0.0
{ | ||
"name": "yazl", | ||
"version": "2.5.1", | ||
"version": "3.0.0", | ||
"description": "yet another zip library for node", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "node test/test.js", | ||
"test-cov": "istanbul cover test/test.js", | ||
"test-travis": "istanbul cover --report lcovonly test/test.js" | ||
"test": "node test/test.js" | ||
}, | ||
@@ -28,8 +26,7 @@ "repository": { | ||
"dependencies": { | ||
"buffer-crc32": "~0.2.3" | ||
"buffer-crc32": "^1.0.0" | ||
}, | ||
"devDependencies": { | ||
"bl": "~0.9.3", | ||
"istanbul": "^0.4.5", | ||
"yauzl": "~2.3.1" | ||
"bl": "^6.0.11", | ||
"yauzl": "^3.1.3" | ||
}, | ||
@@ -36,0 +33,0 @@ "files": [ |
# yazl | ||
[![Build Status](https://travis-ci.com/thejoshwolfe/yazl.svg?branch=master)](https://travis-ci.com/thejoshwolfe/yazl) | ||
[![Coverage Status](https://coveralls.io/repos/github/thejoshwolfe/yazl/badge.svg?branch=master)](https://coveralls.io/github/thejoshwolfe/yazl?branch=master) | ||
yet another zip library for node. For unzipping, see | ||
@@ -85,3 +82,3 @@ [yauzl](https://github.com/thejoshwolfe/yauzl). | ||
If `forceZip64Format` is `true`, yazl will use ZIP64 format in this entry's Data Descriptor | ||
and Central Directory Record regardless of if it's required or not (this may be useful for testing.). | ||
and Central Directory Record even if not needed (this may be useful for testing.). | ||
Otherwise, yazl will use ZIP64 format where necessary. | ||
@@ -204,4 +201,3 @@ | ||
If `forceZip64Format` is `true`, yazl will include the ZIP64 End of Central Directory Locator | ||
and ZIP64 End of Central Directory Record regardless of whether or not they are required | ||
(this may be useful for testing.). | ||
and ZIP64 End of Central Directory Record even if not needed (this may be useful for testing.). | ||
Otherwise, yazl will include these structures if necessary. | ||
@@ -229,4 +225,8 @@ | ||
(The `finalSizeCallback` feature was added to this library to support the use case of a web server constructing a zip file dynamically | ||
and serving it without buffering the contents on disk or in ram. | ||
`finalSize` can become the `Content-Length` header before piping the `outputStream` as the response body.) | ||
If `finalSize` is `-1`, it means means the final size is too hard to guess before processing the input file data. | ||
This will happen if and only if the `compress` option is `true` on any call to `addFile()`, `addReadStream()`, or `addBuffer()`, | ||
This will happen if and only if the `compress` option is `true` on any call to `addFile()`, `addReadStream()`, `addBuffer()`, or `addEmptyDirectory()`, | ||
or if `addReadStream()` is called and the optional `size` option is not given. | ||
@@ -249,3 +249,3 @@ In other words, clients should know whether they're going to get a `-1` or a real value | ||
Data becomes available in this stream soon after calling one of `addFile()`, `addReadStream()`, or `addBuffer()`. | ||
Data becomes available in this stream soon after calling one of `addFile()`, `addReadStream()`, `addBuffer()`, or `addEmptyDirectory()`. | ||
Clients can call `pipe()` on this stream at any time, | ||
@@ -315,3 +315,3 @@ such as immediately after getting a new `ZipFile` instance, or long after calling `end()`. | ||
so if unzip implementations are relying on that, like they should, | ||
none of this paragraph will matter anyway. | ||
none of this paragraph will matter. | ||
Even so, some popular unzip implementations do not follow the spec. | ||
@@ -361,35 +361,37 @@ The Mac Archive Utility requires Data Descriptors to include the optional signature, | ||
* 2.5.1 | ||
* Fix support for old versions of Node and add official support for Node versions 0.10, 4, 6, 8, 10. [pull #49](https://github.com/thejoshwolfe/yazl/pull/49) | ||
* 2.5.0 | ||
* Add support for `comment` and `fileComment`. [pull #44](https://github.com/thejoshwolfe/yazl/pull/44) | ||
* Avoid `new Buffer()`. [pull #43](https://github.com/thejoshwolfe/yazl/pull/43) | ||
* 2.4.3 | ||
* Clarify readme. [pull #33](https://github.com/thejoshwolfe/yazl/pull/33) | ||
* 2.4.2 | ||
* Remove octal literals to make yazl compatible with strict mode. [pull #28](https://github.com/thejoshwolfe/yazl/pull/28) | ||
* 2.4.1 | ||
* Fix Mac Archive Utility compatibility issue. [issue #24](https://github.com/thejoshwolfe/yazl/issues/24) | ||
* 2.4.0 | ||
* Add ZIP64 support. [issue #6](https://github.com/thejoshwolfe/yazl/issues/6) | ||
* 2.3.1 | ||
* Remove `.npmignore` from npm package. [pull #22](https://github.com/thejoshwolfe/yazl/pull/22) | ||
* 2.3.0 | ||
* `metadataPath` can have `\` characters now; they will be replaced with `/`. [issue #18](https://github.com/thejoshwolfe/yazl/issues/18) | ||
* 2.2.2 | ||
* Fix 7-Zip compatibility issue. [pull request #17](https://github.com/thejoshwolfe/yazl/pull/17) | ||
* 2.2.1 | ||
* Fix Mac Archive Utility compatibility issue. [issue #14](https://github.com/thejoshwolfe/yazl/issues/14) | ||
* 2.2.0 | ||
* Avoid using general purpose bit 3 for `addBuffer()` calls. [issue #13](https://github.com/thejoshwolfe/yazl/issues/13) | ||
* 2.1.3 | ||
* Fix bug when only addBuffer() and end() are called. [issue #12](https://github.com/thejoshwolfe/yazl/issues/12) | ||
* 2.1.2 | ||
* Fixed typo in parameter validation. [pull request #10](https://github.com/thejoshwolfe/yazl/pull/10) | ||
* 2.1.1 | ||
* Fixed stack overflow when using addBuffer() in certain ways. [issue #9](https://github.com/thejoshwolfe/yazl/issues/9) | ||
* 2.1.0 | ||
* Added `addEmptyDirectory()`. | ||
* `options` is now optional for `addReadStream()` and `addBuffer()`. | ||
* 2.0.0 | ||
* Initial release. | ||
* 3.0.0 (2024-Oct-18) | ||
* Upgrade dependencies. This indirectly drops support for older versions of node. | ||
* 2.5.1 (2018-Nov-30) | ||
* Fix support for old versions of Node and add official support for Node versions 0.10, 4, 6, 8, 10. [pull #49](https://github.com/thejoshwolfe/yazl/pull/49) | ||
* 2.5.0 (2018-Nov-15) | ||
* Add support for `comment` and `fileComment`. [pull #44](https://github.com/thejoshwolfe/yazl/pull/44) | ||
* Avoid `new Buffer()`. [pull #43](https://github.com/thejoshwolfe/yazl/pull/43) | ||
* 2.4.3 (2017-Oct-30) | ||
* Clarify readme. [pull #33](https://github.com/thejoshwolfe/yazl/pull/33) | ||
* 2.4.2 (2016-Oct-26) | ||
* Remove octal literals to make yazl compatible with strict mode. [pull #28](https://github.com/thejoshwolfe/yazl/pull/28) | ||
* 2.4.1 (2016-Jun-30) | ||
* Fix Mac Archive Utility compatibility issue. [issue #24](https://github.com/thejoshwolfe/yazl/issues/24) | ||
* 2.4.0 (2016-Jun-26) | ||
* Add ZIP64 support. [issue #6](https://github.com/thejoshwolfe/yazl/issues/6) | ||
* 2.3.1 (2016-May-09) | ||
* Remove `.npmignore` from npm package. [pull #22](https://github.com/thejoshwolfe/yazl/pull/22) | ||
* 2.3.0 (2015-Dec-23) | ||
* `metadataPath` can have `\` characters now; they will be replaced with `/`. [issue #18](https://github.com/thejoshwolfe/yazl/issues/18) | ||
* 2.2.2 (2015-May-07) | ||
* Fix 7-Zip compatibility issue. [pull request #17](https://github.com/thejoshwolfe/yazl/pull/17) | ||
* 2.2.1 (2015-Mar-27) | ||
* Fix Mac Archive Utility compatibility issue. [issue #14](https://github.com/thejoshwolfe/yazl/issues/14) | ||
* 2.2.0 (2015-Mar-21) | ||
* Avoid using general purpose bit 3 for `addBuffer()` calls. [issue #13](https://github.com/thejoshwolfe/yazl/issues/13) | ||
* 2.1.3 (2015-Mar-20) | ||
* Fix bug when only addBuffer() and end() are called. [issue #12](https://github.com/thejoshwolfe/yazl/issues/12) | ||
* 2.1.2 (2015-Mar-03) | ||
* Fixed typo in parameter validation. [pull request #10](https://github.com/thejoshwolfe/yazl/pull/10) | ||
* 2.1.1 (2015-Mar-01) | ||
* Fixed stack overflow when using addBuffer() in certain ways. [issue #9](https://github.com/thejoshwolfe/yazl/issues/9) | ||
* 2.1.0 (2015-Jan-16) | ||
* Added `addEmptyDirectory()`. | ||
* `options` is now optional for `addReadStream()` and `addBuffer()`. | ||
* 2.0.0 (2014-Sep-24) | ||
* Initial release. |
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
49201
2
392
+ Addedbuffer-crc32@1.0.0(transitive)
- Removedbuffer-crc32@0.2.13(transitive)
Updatedbuffer-crc32@^1.0.0