Comparing version 1.4.0 to 1.4.1
1.4.1 / 2020-07-30 | ||
================== | ||
**fixes** | ||
* [[`95127c9`](http://github.com/cojs/busboy/commit/95127c9ae202024b8117b35403cb52680b1aef81)] - fix: compatible with node14 (#42) (killa <<killa123@126.com>>) | ||
1.4.0 / 2017-10-12 | ||
@@ -3,0 +9,0 @@ ================== |
@@ -124,2 +124,4 @@ var Busboy = require('busboy') | ||
cleanup() | ||
busboy.removeListener('finish', onEnd) | ||
busboy.removeListener('error', onEnd) | ||
ch(lastError) | ||
@@ -129,2 +131,4 @@ } | ||
function cleanup() { | ||
// keep finish listener to wait all data flushed | ||
// keep error listener to wait stream error | ||
request.removeListener('close', cleanup) | ||
@@ -134,8 +138,3 @@ busboy.removeListener('field', onField) | ||
busboy.removeListener('close', cleanup) | ||
busboy.removeListener('error', onEnd) | ||
busboy.removeListener('partsLimit', onEnd) | ||
busboy.removeListener('filesLimit', onEnd) | ||
busboy.removeListener('fieldsLimit', onEnd) | ||
busboy.removeListener('finish', onEnd) | ||
} | ||
} |
{ | ||
"name": "co-busboy", | ||
"description": "Busboy multipart parser as a yieldable", | ||
"version": "1.4.0", | ||
"version": "1.4.1", | ||
"author": { | ||
@@ -26,6 +26,6 @@ "name": "Jonathan Ong", | ||
"devDependencies": { | ||
"co": "*", | ||
"co": "^4.6.0", | ||
"formstream": "~1.0.0", | ||
"istanbul": "*", | ||
"mocha": "*" | ||
"istanbul": "^0.4.5", | ||
"mocha": "^4.0.1" | ||
}, | ||
@@ -32,0 +32,0 @@ "scripts": { |
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
11468
0
114