http-status
Advanced tools
Comparing version 1.7.3 to 1.7.4
@@ -5,2 +5,9 @@ # Changelog | ||
### [1.7.4](https://github.com/adaltas/node-http-status/compare/v1.7.3...v1.7.4) (2024-02-23) | ||
### Bug Fixes | ||
* **types:** improve TypeScript strict typing for numeric keys in HttpStatus ([#49](https://github.com/adaltas/node-http-status/issues/49)) ([4945afd](https://github.com/adaltas/node-http-status/commit/4945afdc1f8aaba59fbc95983e7a2934238dab24)), closes [#48](https://github.com/adaltas/node-http-status/issues/48) | ||
### [1.7.3](https://github.com/adaltas/node-http-status/compare/v1.7.2...v1.7.3) (2023-10-17) | ||
@@ -7,0 +14,0 @@ |
@@ -7,11 +7,2 @@ export = httpStatus; | ||
interface HttpStatus { | ||
readonly [key: number]: string | undefined; | ||
readonly [key: string]: | ||
| string | ||
| number | ||
| HttpStatusClasses | ||
| HttpStatusExtra | ||
| undefined; | ||
readonly 100: string; | ||
@@ -399,4 +390,2 @@ readonly '100_NAME': string; | ||
interface HttpStatusClasses { | ||
readonly [key: string]: string | number; | ||
readonly '1xx': string; | ||
@@ -429,4 +418,2 @@ readonly '1xx_NAME': string; | ||
interface HttpStatusUnofficial { | ||
readonly [key: string]: string | number; | ||
readonly 103: string; | ||
@@ -482,4 +469,2 @@ readonly '103_NAME': string; | ||
interface HttpStatusIis { | ||
readonly [key: string]: string | number; | ||
readonly 440: string; | ||
@@ -505,4 +490,2 @@ readonly '440_NAME': string; | ||
interface HttpStatusNginx { | ||
readonly [key: string]: string | number; | ||
readonly 444: string; | ||
@@ -509,0 +492,0 @@ readonly '444_NAME': string; |
{ | ||
"name": "http-status", | ||
"version": "1.7.3", | ||
"version": "1.7.4", | ||
"description": "Interact with HTTP status code", | ||
@@ -9,4 +9,6 @@ "homepage": "https://github.com/adaltas/node-http-status", | ||
"http", | ||
"express", | ||
"connect" | ||
"connect", | ||
"frontend", | ||
"status", | ||
"express" | ||
], | ||
@@ -81,9 +83,10 @@ "license": "BSD-3-Clause", | ||
"pretest": "npm run build", | ||
"prerelease": "npm run build && git update-index --refresh && git diff-index --quiet HEAD --", | ||
"release": "standard-version", | ||
"postrelease": "git push --follow-tags origin master", | ||
"release:minor": "standard-version --release-as minor", | ||
"release:patch": "standard-version --release-as patch", | ||
"release:major": "standard-version --release-as major", | ||
"postrelease": "git push --follow-tags origin master", | ||
"test": "mocha \"test/**/*.{coffee,ts}\"" | ||
} | ||
} |
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
70585
1183