zip-stream
Advanced tools
Comparing version 0.4.0 to 0.4.1
{ | ||
"name": "zip-stream", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"description": "a streaming zip archive generator.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/ctalkington/node-zip-stream", |
@@ -1,2 +0,2 @@ | ||
# zip-stream v0.4.0 [![Build Status](https://travis-ci.org/ctalkington/node-zip-stream.svg?branch=master)](https://travis-ci.org/ctalkington/node-zip-stream) | ||
# zip-stream v0.4.1 [![Build Status](https://travis-ci.org/ctalkington/node-zip-stream.svg?branch=master)](https://travis-ci.org/ctalkington/node-zip-stream) | ||
@@ -38,3 +38,3 @@ zip-stream is a streaming zip archive generator based on the `ZipArchiveOutputStream` prototype found in the [compress-commons](https://www.npmjs.org/package/compress-commons) project. | ||
if (err) throw err; | ||
archive.finalize(); | ||
archive.finish(); | ||
}); | ||
@@ -46,2 +46,6 @@ }); | ||
#### getBytesWritten() | ||
Returns the current number of bytes written to this stream. | ||
#### entry(input, data, callback(err, data)) | ||
@@ -51,5 +55,5 @@ | ||
#### finalize() | ||
#### finish() | ||
Finalizes the instance. You should listen to the destination stream's `end`/`close`/`finish` event to know when all output has been safely consumed. | ||
Finalizes the instance. You should listen to the destination stream's `end`/`close`/`finish` event to know when all output has been safely consumed. (`finalize` is aliased for back-compat) | ||
@@ -62,6 +66,2 @@ ### Instance Options | ||
#### forceUTC `boolean` | ||
If true, forces the entry date to UTC. Helps with testing across timezones. | ||
#### store `boolean` | ||
@@ -68,0 +68,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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
11166
0