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

res-error

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

res-error - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

2

package.json
{
"name": "res-error",
"version": "0.3.0",
"version": "0.3.1",
"description": "Adds a super flexible res.error() method to express that logs an error and sends the correct JSON response to the client",

@@ -5,0 +5,0 @@ "author": "Mike Marcacci <mike.marcacci@thecontrolgroup.com>",

@@ -121,3 +121,3 @@ var util = require('util');

// send the response
res.send(e.code, e.message);
res.status(e.code).send(e.message);
return e;

@@ -124,0 +124,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