http-status-codes
Advanced tools
Comparing version 2.0.0-beta.6 to 2.0.0-beta.7
@@ -11,3 +11,3 @@ import { StatusCodes, ReasonPhrases } from './codes'; | ||
/** | ||
* Returns the reason phrase for the given status code. | ||
* Returns the status code for the given reason phrase. | ||
* If the given reason phrase does not exist, undefined is returned. | ||
@@ -14,0 +14,0 @@ * |
@@ -913,3 +913,3 @@ module.exports = | ||
/** | ||
* Returns the reason phrase for the given status code. | ||
* Returns the status code for the given reason phrase. | ||
* If the given reason phrase does not exist, undefined is returned. | ||
@@ -916,0 +916,0 @@ * |
{ | ||
"name": "http-status-codes", | ||
"version": "2.0.0-beta.6", | ||
"version": "2.0.0-beta.7", | ||
"description": "Constants enumerating the HTTP status codes. Based on the Java Apache HttpStatus API.", | ||
@@ -5,0 +5,0 @@ "scripts": { |
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