http-status-codes
Advanced tools
Comparing version 1.2.0 to 1.3.0
@@ -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 @@ */ |
@@ -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)) | ||
``` | ||
``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
27609
410
121
0