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.3 to 1.7.4

7

CHANGELOG.md

@@ -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 @@

17

lib/index.d.ts

@@ -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;

11

package.json
{
"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}\""
}
}
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