Huge News!Announcing our $40M Series B led by Abstract Ventures.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.2 to 1.0.3

2

package.json
{
"name": "response-format",
"version": "1.0.2",
"version": "1.0.3",
"description": "Module which will provide HTTP-friendly error objects",

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

@@ -9,14 +9,14 @@ Response Format

- [Methods](#methods)
- [`create(statusCode, [error, message, data])`](#createstatuscode-message-data)
- [`success([message, data])`](#success)
- [`badRequest([message, data])`](#badRequest)
- [`unAuth­orized([message, data])`](#unAuth­orized)
- [`forbidden([message, data])`](#forbidden)
- [`notFound([message, data])`](#notFound)
- [`notAllowed([message, data])`](#notAllowed)
- [`requestTimeout([message, data])`](#requestTimeout)
- [`internalError([message, data])`](#internalError)
- [`badGateway([message, data])`](#badGateway)
- [`unavailable([message, data])`](#unavailable)
- [`gatewayTimeout([message, data])`](#gatewayTimeout)
- [`create(statusCode, [error, message, data])`](#user-content-createstatuscode-error-message-data)
- [`success([message, data])`](#user-content-successmessage-data)
- [`badRequest([message, data])`](#user-content-badrequestmessage-data)
- [`unAuth­orized([message, data])`](#user-content-unauthorizedmessage-data)
- [`forbidden([message, data])`](#user-content-forbiddenmessage-data)
- [`notFound([message, data])`](#user-content-notfoundmessage-data)
- [`notAllowed([message, data])`](#user-content-notallowedmessage-data)
- [`requestTimeout([message, data])`](#user-content-requesttimeoutmessage-data)
- [`internalError([message, data])`](#user-content-internalerrormessage-data)
- [`badGateway([message, data])`](#user-content-badgatewaymessage-data)
- [`unavailable([message, data])`](#user-content-unavailablemessage-data)
- [`gatewayTimeout([message, data])`](#user-content-gatewaytimeoutmessage-data)

@@ -23,0 +23,0 @@ ## Start

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