Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

express-zip

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express-zip - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

README.md

5

History.md

@@ -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 @@ ==================

6

lib/express-zip.js

@@ -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)",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc