zip-stream
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -75,3 +75,3 @@ /** | ||
if (file.store) { | ||
if (file.store || source.length === 0) { | ||
file.uncompressedSize = source.length; | ||
@@ -82,2 +82,3 @@ file.compressedSize = file.uncompressedSize; | ||
self.write(source); | ||
onend(); | ||
@@ -84,0 +85,0 @@ } else { |
{ | ||
"name": "zip-stream", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "a streaming zip generator.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/ctalkington/node-zip-stream", |
@@ -1,2 +0,2 @@ | ||
# zip-stream v0.1.1 [![Build Status](https://secure.travis-ci.org/ctalkington/node-zip-stream.png?branch=master)](http://travis-ci.org/ctalkington/node-zip-stream) | ||
# zip-stream v0.1.2 [![Build Status](https://secure.travis-ci.org/ctalkington/node-zip-stream.png?branch=master)](http://travis-ci.org/ctalkington/node-zip-stream) | ||
@@ -3,0 +3,0 @@ zip-stream is a streaming zip generator. It was built to be a successor to [zipstream](https://npmjs.org/package/zipstream). Dependencies are kept to a minimum through the use of many of node's built-in modules including the use of zlib module for compression. |
@@ -193,3 +193,3 @@ /*global before,describe,it */ | ||
testStream.on('close', function() { | ||
assert.equal(testStream.digest, 'a05a9ce507e60c8afe6adc3f01597754fc344a59'); | ||
assert.equal(testStream.digest, '61ac99936f7dc99f38fbaa3789050b6b14900e47'); | ||
done(); | ||
@@ -196,0 +196,0 @@ }); |
Sorry, the diff of this file is not supported yet
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
58368