busboymiddleware
Advanced tools
Comparing version 1.2.0 to 1.3.0
@@ -5,2 +5,3 @@ var Busboy = require('busboy'); | ||
return function(req, res, next) { | ||
if (!req.headers['content-type'].match(/multipart\/form-data/)) { return next(); } | ||
var waiting = 1, done = function() { | ||
@@ -7,0 +8,0 @@ if ((--waiting) == 0) { |
{ | ||
"name": "busboymiddleware", | ||
"version": "1.2.0", | ||
"version": "1.3.0", | ||
"description": "Provide a simple middleware for file uploads, using busboy.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
3407
44