Comparing version 1.1.0 to 1.2.0
18
index.js
@@ -29,5 +29,5 @@ var Busboy = require('busboy') | ||
busboy.on('partsLimit', function(){ | ||
var err = new Error('reach parts limit') | ||
err.code = 'busboy_limits' | ||
err.status = 400 | ||
var err = new Error('Reach parts limit') | ||
err.code = 'Request_parts_limit' | ||
err.status = 413 | ||
onEnd(err) | ||
@@ -37,5 +37,5 @@ }) | ||
busboy.on('filesLimit', function(){ | ||
var err = new Error('reach files limit') | ||
err.code = 'busboy_limits' | ||
err.status = 400 | ||
var err = new Error('Reach files limit') | ||
err.code = 'Request_files_limit' | ||
err.status = 413 | ||
onEnd(err) | ||
@@ -45,5 +45,5 @@ }) | ||
busboy.on('fieldsLimit', function(){ | ||
var err = new Error('reach fields limit') | ||
err.code = 'busboy_limits' | ||
err.status = 400 | ||
var err = new Error('Reach fields limit') | ||
err.code = 'Request_fields_limit' | ||
err.status = 413 | ||
onEnd(err) | ||
@@ -50,0 +50,0 @@ }) |
{ | ||
"name": "co-busboy", | ||
"description": "Busboy multipart parser as a yieldable", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"author": { | ||
@@ -21,4 +21,4 @@ "name": "Jonathan Ong", | ||
"dependencies": { | ||
"busboy": "~0.2.3", | ||
"chan": "~0.3.0" | ||
"busboy": "^0.2.8", | ||
"chan": "^0.6.1" | ||
}, | ||
@@ -25,0 +25,0 @@ "devDependencies": { |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
6919
0
+ Addedchan@0.6.1(transitive)
- Removedchan@0.3.0(transitive)
Updatedbusboy@^0.2.8
Updatedchan@^0.6.1