koa-better-error-handler
Advanced tools
Comparing version 1.0.9 to 1.1.1
{ | ||
"name": "koa-better-error-handler", | ||
"description": "A better error-handler for Koa v2+, built for CrocodileJS. Makes `ctx.throw` beautiful again :sparkles!", | ||
"version": "1.0.9", | ||
"version": "1.1.1", | ||
"author": "Nick Baugh <niftylettuce@gmail.com>", | ||
"bugs": "https://github.com/niftylettuce/koa-better-error-handler/issues", | ||
"dependencies": { | ||
"boom": "github:niftylettuce/boom", | ||
"boom": "git+https://github.com/niftylettuce/boom.git", | ||
"co": "^4.6.0", | ||
@@ -10,0 +10,0 @@ "debug": "^2.2.0", |
@@ -185,3 +185,3 @@ | ||
Therefore if you _DO_ want your API error messages to return HTML formatted error lists for Mongoose validation, then set `app.context.api = true` before using this error handler. | ||
Therefore if you _DO_ want your API error messages to return HTML formatted error lists for Mongoose validation, then set `app.context.api = false`, `ctx.api = false`, or simply make sure to not set them before using this error handler. | ||
@@ -188,0 +188,0 @@ > With error lists: |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Git dependency
Supply chain riskContains a dependency which resolves to a remote git URL. Dependencies fetched from git URLs are not immutable can be used to inject untrusted code or reduce the likelihood of a reproducible install.
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
GitHub dependency
Supply chain riskContains a dependency which resolves to a GitHub URL. Dependencies fetched from GitHub specifiers are not immutable can be used to inject untrusted code or reduce the likelihood of a reproducible install.
Found 1 instance in 1 package
121158