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

http-status-codes

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

http-status-codes - npm Package Compare versions

Comparing version 1.2.0 to 1.3.0

6

index.d.ts

@@ -74,2 +74,8 @@ /**

/**
* Official Documentation @ https://tools.ietf.org/html/rfc2324#section-2.3.2
*
* Any attempt to brew coffee with a teapot should result in the error code "418 I'm a teapot". The resulting entity body MAY be short and stout.
*/
export declare const IM_A_TEAPOT = 418;
/**
* UNOFFICIAL w/ NO DOCS

@@ -76,0 +82,0 @@ */

3

index.js

@@ -27,2 +27,3 @@ /**

statusCodes[exports.HTTP_VERSION_NOT_SUPPORTED = 505] = "HTTP Version Not Supported";
statusCodes[exports.IM_A_TEAPOT = 418] = "I'm a teapot";
statusCodes[exports.INSUFFICIENT_SPACE_ON_RESOURCE = 419] = "Insufficient Space on Resource";

@@ -76,2 +77,2 @@ statusCodes[exports.INSUFFICIENT_STORAGE = 507] = "Insufficient Storage";

}
};
};
{
"name": "http-status-codes",
"version": "1.2.0",
"version": "1.3.0",
"description": "Constants enumerating the HTTP status codes. Based on the Java Apache HttpStatus API.",

@@ -5,0 +5,0 @@ "scripts": {

@@ -47,2 +47,3 @@ # http-status-codes

HTTP_VERSION_NOT_SUPPORTED | 505 | HTTP Version Not Supported
IM_A_TEAPOT | 418 | I'm a teapot
INSUFFICIENT_SPACE_ON_RESOURCE | 419 | Insufficient Space on Resource

@@ -120,2 +121,2 @@ INSUFFICIENT_STORAGE | 507 | Insufficient Storage

.send(getStatusText(OK))
```
```
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