express-error-handler
Advanced tools
Comparing version 0.6.0 to 1.0.0
@@ -56,5 +56,10 @@ /** | ||
'function') { | ||
o.server.close(function () { | ||
try { | ||
o.server.close(function () { | ||
process.exit(o.exitStatus); | ||
}); | ||
} | ||
finally { | ||
process.exit(o.exitStatus); | ||
}); | ||
} | ||
} | ||
@@ -61,0 +66,0 @@ |
{ | ||
"name": "express-error-handler", | ||
"version": "0.6.0", | ||
"version": "1.0.0", | ||
"description": "A graceful error handler for Express applications.", | ||
@@ -5,0 +5,0 @@ "main": "error-handler.js", |
express-error-handler | ||
===================== | ||
A graceful error handler for Express applications. | ||
A graceful error handler for Express applications. This also patches a DOS exploit where users can manually trigger bad request errors that shut down your app. | ||
## Quick start: | ||
@@ -160,5 +161,7 @@ | ||
## Thanks | ||
## Credit and Thanks | ||
Written by [Eric Elliott](http://ericelliottjs.com/) for the book, ["Programming JavaScript Applications"](http://www.amazon.com/gp/product/1491950293?ie=UTF8&camp=213733&creative=393185&creativeASIN=1491950293&linkCode=shr&tag=eejs-20&linkId=TSFLZ3FJX2X4WZ5H) (O'Reilly) | ||
* [Nam Nguyen](https://github.com/gdbtek) for bringing the Express DOS exploit to my attention. | ||
* [Samuel Reed](https://github.com/strml) for helpful suggestions. |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
29104
778
0
167