koa-logger
Advanced tools
Comparing version 3.0.1 to 3.1.0
3.1.0 / 2017-09-26 | ||
================== | ||
* Adds Boom compatibility (#64) | ||
3.0.1 / 2017-06-30 | ||
@@ -3,0 +8,0 @@ ================== |
@@ -90,3 +90,3 @@ /** | ||
const status = err | ||
? (err.status || 500) | ||
? (err.isBoom ? err.output.statusCode : err.status || 500) | ||
: (ctx.status || 404) | ||
@@ -93,0 +93,0 @@ |
@@ -5,3 +5,3 @@ { | ||
"repository": "koajs/logger", | ||
"version": "3.0.1", | ||
"version": "3.1.0", | ||
"keywords": [ | ||
@@ -21,2 +21,3 @@ "koa", | ||
"devDependencies": { | ||
"boom": "^5.2.0", | ||
"chai": "^3.5.0", | ||
@@ -23,0 +24,0 @@ "eslint": "^3.19.0", |
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
6014
14