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.3.1 to 1.3.2

57

index.d.ts

@@ -326,59 +326,2 @@ /**

export declare const USE_PROXY = 305;
export declare enum HTTP_STATUS {
ACCEPTED = 202,
BAD_GATEWAY = 502,
BAD_REQUEST = 400,
CONFLICT = 409,
CONTINUE = 100,
CREATED = 201,
EXPECTATION_FAILED = 417,
FAILED_DEPENDENCY = 424,
FORBIDDEN = 403,
GATEWAY_TIMEOUT = 504,
GONE = 410,
HTTP_VERSION_NOT_SUPPORTED = 505,
IM_A_TEAPOT = 418,
INSUFFICIENT_SPACE_ON_RESOURCE = 419,
INSUFFICIENT_STORAGE = 507,
INTERNAL_SERVER_ERROR = 500,
LENGTH_REQUIRED = 411,
LOCKED = 423,
METHOD_FAILURE = 420,
METHOD_NOT_ALLOWED = 405,
MOVED_PERMANENTLY = 301,
MOVED_TEMPORARILY = 302,
MULTI_STATUS = 207,
MULTIPLE_CHOICES = 300,
NETWORK_AUTHENTICATION_REQUIRED = 511,
NO_CONTENT = 204,
NOT_ACCEPTABLE = 406,
NOT_FOUND = 404,
NOT_IMPLEMENTED = 501,
NOT_MODIFIED = 304,
OK = 200,
PARTIAL_CONTENT = 206,
PAYMENT_REQUIRED = 402,
PERMANENT_REDIRECT = 308,
PRECONDITION_FAILED = 412,
PRECONDITION_REQUIRED = 428,
PROCESSING = 102,
PROXY_AUTHENTICATION_REQUIRED = 407,
REQUEST_HEADER_FIELDS_TOO_LARGE = 431,
REQUEST_TIMEOUT = 408,
REQUEST_TOO_LONG = 413,
REQUEST_URI_TOO_LONG = 414,
REQUESTED_RANGE_NOT_SATISFIABLE = 416,
RESET_CONTENT = 205,
SEE_OTHER = 303,
SERVICE_UNAVAILABLE = 503,
SWITCHING_PROTOCOLS = 101,
TEMPORARY_REDIRECT = 307,
TOO_MANY_REQUESTS = 429,
UNAUTHORIZED = 401,
UNPROCESSABLE_ENTITY = 422,
UNSUPPORTED_MEDIA_TYPE = 415,
USE_PROXY = 305
}
/**

@@ -385,0 +328,0 @@ * Convert the numeric status code to its appropriate title.

2

package.json
{
"name": "http-status-codes",
"version": "1.3.1",
"version": "1.3.2",
"description": "Constants enumerating the HTTP status codes. Based on the Java Apache HttpStatus API.",

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

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