New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

express-exception-handler

Package Overview
Dependencies
Maintainers
1
Versions
253
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express-exception-handler - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

2

package.json
{
"name": "express-exception-handler",
"version": "0.0.2",
"version": "0.0.3",
"description": "a top level exception handle package",

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

@@ -32,3 +32,3 @@ # ![logomakr_6nl700](https://user-images.githubusercontent.com/3071208/28988724-97dc463a-7971-11e7-9cec-ffc06bcc9205.png)

var httpError = require('express-exception-handler').exception
router.post('/', wrap(async (req, res) => {
router.post('/', async (req, res) => {
throw new HttpError('Great Message', 400)

@@ -35,0 +35,0 @@ }))

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