Comparing version 1.0.3 to 1.0.4
@@ -6,6 +6,18 @@ # Change log | ||
## 1.0.0 | ||
## 1.0.3 - 2015-08-06 | ||
- Bugfix: ensure file order is correct | ||
## 1.0.2 - 2015-08-06 | ||
- Bugfix: don't hang when hitting size limit | ||
## 1.0.1 - 2015-07-20 | ||
- Bugfix: decrement pending writes on error | ||
## 1.0.0 - 2015-07-18 | ||
- Introduce storage engines | ||
- Specify expected fields | ||
- Follow the W3C JSON form spec |
@@ -24,3 +24,10 @@ var is = require('type-is') | ||
var busboy = new Busboy({ headers: req.headers, limits: limits }) | ||
var busboy | ||
try { | ||
busboy = new Busboy({ headers: req.headers, limits: limits }) | ||
} catch (err) { | ||
return next(err) | ||
} | ||
var appender = new FileAppender(fileStrategy, req) | ||
@@ -150,2 +157,3 @@ var isDone = false | ||
busboy.on('error', function (err) { abortWithError(err) }) | ||
busboy.on('partsLimit', function () { abortWithCode('LIMIT_PART_COUNT') }) | ||
@@ -152,0 +160,0 @@ busboy.on('filesLimit', function () { abortWithCode('LIMIT_FILE_COUNT') }) |
{ | ||
"name": "multer", | ||
"description": "Middleware for handling `multipart/form-data`.", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"contributors": [ | ||
@@ -23,3 +23,3 @@ "Hage Yaapa <captain@hacksparrow.com> (http://www.hacksparrow.com)", | ||
"append-field": "^0.1.0", | ||
"busboy": "^0.2.9", | ||
"busboy": "^0.2.11", | ||
"concat-stream": "^1.5.0", | ||
@@ -26,0 +26,0 @@ "mkdirp": "^0.5.1", |
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
23695
381
Updatedbusboy@^0.2.11