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

@dnode/handler

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dnode/handler - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

4

index.js

@@ -7,5 +7,3 @@ module.exports = handler => async (req, res, next) => {

const status = e.status || e.statusCode || 500;
if (e.toString) {
res.status(status).send(e.toString());
} else if (e.message) {
if (e.message) {
res.status(status).send(e.message);

@@ -12,0 +10,0 @@ } else {

@@ -6,3 +6,3 @@ {

"name": "@dnode/handler",
"version": "1.0.5",
"version": "1.0.6",
"description": "",

@@ -9,0 +9,0 @@ "repository": "sharaal/dnode",

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