zip-stream
Advanced tools
Comparing version 4.0.4 to 4.1.0
## Changelog | ||
**4.1.0** - <small>March 2, 2021</small> — [Diff](https://github.com/archiverjs/node-zip-stream/compare/4.0.5...4.1.0) | ||
## Features | ||
- Allow prepending forward slash in entry name (#79) | ||
## Maintenance | ||
- Bump mocha from 8.2.1 to 8.3.0 (#76) | ||
- Bump actions/setup-node from v2.1.4 to v2.1.5 (#77) | ||
- Bump actions/setup-node from v2.1.2 to v2.1.4 (#74) | ||
**4.0.5** - <small>November 18, 2020</small> — [Diff](https://github.com/archiverjs/node-zip-stream/compare/4.0.4...4.0.5) | ||
- No Changes | ||
**4.0.4** - <small>November 18, 2020</small> — [Diff](https://github.com/archiverjs/node-zip-stream/compare/4.0.3...4.0.4) | ||
### Maintenance | ||
- Bump compress-commons from 4.0.1 to 4.0.2 (#72) | ||
**4.0.3** - <small>November 18, 2020</small> — [Diff](https://github.com/archiverjs/node-zip-stream/compare/4.0.2...4.0.3) | ||
### Maintenance | ||
- Update docs example with latest ES6 syntax (#60) | ||
- Update archiver-jsdoc-theme to ^1.1.3 (#71) | ||
- Update archiver-jsdoc-theme to ^1.1.2 (#70) | ||
- Bump jsdoc from 3.6.5 to 3.6.6 (#62) | ||
- Bump actions/setup-node from v2.1.1 to v2.1.2 (#64) | ||
- Bump mocha from 8.1.1 to 8.2.1 (#66) | ||
- Bump actions/checkout from v2.3.2 to v2.3.4 (#67) | ||
- Bump mocha from 8.1.0 to 8.1.1 (#55) | ||
- Bump actions/checkout from v2.3.1 to v2.3.2 (#56) | ||
- Bump mocha from 8.0.1 to 8.1.0 (#54) | ||
- Bump actions/setup-node from v2.1.0 to v2.1.1 (#52) | ||
- Bump jsdoc from 3.6.4 to 3.6.5 (#53) | ||
**4.0.2** - <small>July 20, 2020</small> — [Diff](https://github.com/archiverjs/node-zip-stream/compare/4.0.1...4.0.2) | ||
@@ -4,0 +44,0 @@ |
@@ -45,2 +45,4 @@ /** | ||
options.namePrependSlash = options.namePrependSlash || false; | ||
if (options.comment && options.comment.length > 0) { | ||
@@ -64,2 +66,3 @@ this.setComment(options.comment); | ||
name: null, | ||
namePrependSlash: this.options.namePrependSlash, | ||
linkname: null, | ||
@@ -135,2 +138,6 @@ date: null, | ||
if (data.namePrependSlash) { | ||
entry.setName(data.name, true); | ||
} | ||
if (data.store) { | ||
@@ -137,0 +144,0 @@ entry.setMethod(0); |
{ | ||
"name": "zip-stream", | ||
"version": "4.0.4", | ||
"version": "4.1.0", | ||
"description": "a streaming zip archive generator.", | ||
@@ -31,3 +31,3 @@ "homepage": "https://github.com/archiverjs/node-zip-stream", | ||
"archiver-utils": "^2.1.0", | ||
"compress-commons": "^4.0.2", | ||
"compress-commons": "^4.1.0", | ||
"readable-stream": "^3.6.0" | ||
@@ -34,0 +34,0 @@ }, |
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
13622
153
Updatedcompress-commons@^4.1.0