Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

koa-better-error-handler

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

koa-better-error-handler - npm Package Compare versions

Comparing version 1.0.9 to 1.1.1

4

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc