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

quantal-errors

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

quantal-errors - npm Package Compare versions

Comparing version 0.0.9 to 0.0.10

4

lib/express-error-middleware.js

@@ -5,3 +5,3 @@ /**

'use strict'
const CommonErrors = require('quantal-errors')
const utils = require('./utils')
const _ = require('lodash')

@@ -11,5 +11,5 @@

return (err, req, res, next) => {
const boomErr = CommonErrors.utils.toBoom(err, customErrors, customMappings)
const boomErr = utils.toBoom(err, customErrors, customMappings)
res.status(boomErr.output.statusCode).json(_.omit(boomErr.output.payload, ['params']))
}
}
{
"name": "quantal-errors",
"version": "0.0.9",
"version": "0.0.10",
"description": "Common errors and their utils",

@@ -5,0 +5,0 @@ "main": "index.js",

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