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

http-status

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

http-status - npm Package Compare versions

Comparing version 1.7.2 to 1.7.3

2

CHANGELOG.md

@@ -5,2 +5,4 @@ # Changelog

### [1.7.3](https://github.com/adaltas/node-http-status/compare/v1.7.2...v1.7.3) (2023-10-17)
### [1.7.2](https://github.com/adaltas/node-http-status/compare/v1.7.1...v1.7.2) (2023-10-17)

@@ -7,0 +9,0 @@

2

package.json
{
"name": "http-status",
"version": "1.7.2",
"version": "1.7.3",
"description": "Interact with HTTP status code",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/adaltas/node-http-status",

[![Build Status](https://secure.travis-ci.org/adaltas/node-http-status.png)](http://travis-ci.org/adaltas/node-http-status)
# HTTP Status codes for Node
# HTTP Status codes for Node.js

@@ -11,3 +11,3 @@ Utility to interact with HTTP status codes.

### HTTP Status Codes
### HTTP Status codes

@@ -31,3 +31,3 @@ HTTP code names, messages, and classes are respectively accessible with the property `{code}_NAME`, `{code}_MESSAGE` and `{code}_CLASS`. This includes all statuses in the [IANA HTTP Status Code Registry](https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml), with the only addition being `418 I'm a teapot`.

### HTTP Status Code Classes
### HTTP Status code classes

@@ -95,3 +95,3 @@ In addition to HTTP status codes, this module also contains status code classes under the `classes` property. Similar to HTTP codes, you can access class names and messages with the property `{class}_NAME` and `{class}_MESSAGE`

### Example Usage
### Example usage

@@ -151,3 +151,3 @@ ```javascript

### Example Using `extra` Property
### Example using the `extra` property

@@ -164,3 +164,3 @@ ```javascript

### Express Example
### Example integrating Express

@@ -167,0 +167,0 @@ ```javascript

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