zip-stream
Advanced tools
Comparing version 0.1.3 to 0.1.4
{ | ||
"name": "zip-stream", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "a streaming zip generator.", | ||
@@ -31,3 +31,3 @@ "homepage": "https://github.com/ctalkington/node-zip-stream", | ||
"dependencies": { | ||
"readable-stream": "~1.1.9", | ||
"readable-stream": "~1.0.24", | ||
"lodash.defaults": "~2.4.1" | ||
@@ -34,0 +34,0 @@ }, |
@@ -1,2 +0,2 @@ | ||
# zip-stream v0.1.3 [![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.4 [![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. |
@@ -228,4 +228,21 @@ /*global before,describe,it */ | ||
it('should support creating an empty zip', function(done) { | ||
var archive = new packer({ | ||
forceUTC: true | ||
}); | ||
var testStream = new WriteHashStream('tmp/empty.zip'); | ||
testStream.on('close', function() { | ||
assert.equal(testStream.digest, 'b04f3ee8f5e43fa3b162981b50bb72fe1acabb33'); | ||
done(); | ||
}); | ||
archive.pipe(testStream); | ||
archive.finalize(); | ||
}); | ||
}); | ||
}); |
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
59026
1033
+ Addedreadable-stream@1.0.34(transitive)
- Removedreadable-stream@1.1.14(transitive)
Updatedreadable-stream@~1.0.24