express-zip
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -0,1 +1,6 @@ | ||
1.0.1 / 2012-10-10 | ||
================== | ||
* Fix the res#zip callback to follow node callback conventions (err, result) | ||
1.0.0 / 2012-10-10 | ||
@@ -2,0 +7,0 @@ ================== |
@@ -31,3 +31,3 @@ /*! | ||
* @param {String|Function} filename that will be shown in "save as" dialog | ||
* @param {Function} cb optional, takes an `err` argument | ||
* @param {Function} cb(err, bytesZipped) optional | ||
* @return {undefined} | ||
@@ -61,4 +61,6 @@ * @api public | ||
if (err) return cb(err); | ||
zip.finalize(cb); | ||
zip.finalize(function(bytesZipped) { | ||
cb(null, bytesZipped); | ||
}); | ||
}); | ||
}; |
{ | ||
"name": "express-zip", | ||
"description": "stream multiple files to the browser as a single zip, in pure node.", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "Craig McDonald (thrackle)", |
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
5703
53
51