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

response-format

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

response-format - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

2

lib/format.js

@@ -44,3 +44,3 @@ "use strict"

unAuthorized: (message, data) => {
this.statusCode = 402
this.statusCode = 401
this.error = true

@@ -47,0 +47,0 @@ this.data = data || null

{
"name": "response-format",
"version": "1.0.3",
"version": "1.0.4",
"description": "Module which will provide HTTP-friendly error objects",

@@ -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