Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

http-response-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-response-status - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

15

CHANGELOG.md

@@ -5,2 +5,17 @@ # Changelog

### [0.1.3](https://github.com/arnaud-zg/http-response-status/compare/v0.1.2...v0.1.3) (2019-12-20)
### 🔧 Chore
* **deps:** update dependency @types/jest to v24.0.24 ([#58](https://github.com/arnaud-zg/http-response-status/issues/58)) ([9231129](https://github.com/arnaud-zg/http-response-status/commit/9231129d930bf8e6cb189e462e874d02fa32bb32))
* **deps:** update dependency tsdx to v0.12.0 ([#59](https://github.com/arnaud-zg/http-response-status/issues/59)) ([5335efe](https://github.com/arnaud-zg/http-response-status/commit/5335efe0439f978a241ef69c99b60c1c59e5190a))
* **deps:** update dependency typescript to v3.7.4 ([#60](https://github.com/arnaud-zg/http-response-status/issues/60)) ([1c496bd](https://github.com/arnaud-zg/http-response-status/commit/1c496bd85d5683e4fe0dabc750215147a4e599dd))
* **deps:** update node.js to v10.18.0 ([#56](https://github.com/arnaud-zg/http-response-status/issues/56)) ([6071100](https://github.com/arnaud-zg/http-response-status/commit/60711002a6218be4207d266d138d6df1d43f0d16))
### 📦 Build System
* run linter check on ci ([#57](https://github.com/arnaud-zg/http-response-status/issues/57)) ([44a655e](https://github.com/arnaud-zg/http-response-status/commit/44a655e453f71acf372af5f1727a4667f58589d1))
### [0.1.2](https://github.com/arnaud-zg/http-response-status/compare/v0.1.1...v0.1.2) (2019-12-09)

@@ -7,0 +22,0 @@

2

dist/http-response-status.cjs.development.js
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
(function (NHttpHeaders) {

@@ -4,0 +6,0 @@ var EHttpHeaders;

2

dist/http-response-status.cjs.production.min.js

@@ -1,2 +0,2 @@

"use strict";var E,T,O,_,N,R,A,t;(E=(T=exports.NHttpHeaders||(exports.NHttpHeaders={})).EHttpHeaders||(T.EHttpHeaders={})).ACCEPT_RANGES="Accept-Ranges",E.ACCESS_CONTROL_ALLOW_CREDENTIALS="Access-Control-Allow-Credentials",E.ACCESS_CONTROL_ALLOW_HEADERS="Access-Control-Allow-Headers",E.ACCESS_CONTROL_ALLOW_METHODS="Access-Control-Allow-Methods",E.ACCESS_CONTROL_ALLOW_ORIGIN="Access-Control-Allow-Origin",E.ACCESS_CONTROL_EXPOSE_HEADERS="Access-Control-Expose-Headers",E.ACCESS_CONTROL_MAX_AGE="Access-Control-Max-Age",E.AGE="Age",E.ALLOW="Allow",E.ALTERNATE_PROTOCOL="Alternate-Protocol",E.CACHE_CONTROL="Cache-Control",E.CLIENT_DATE="Client-Date",E.CLIENT_PEER="Client-Peer",E.CLIENT_RESPONSE_NUM="Client-Response-Num",E.CONNECTION="Connection",E.CONTENT_DISPOSITION="Content-Disposition",E.CONTENT_ENCODING="Content-Encoding",E.CONTENT_LANGUAGE="Content-Language",E.CONTENT_LENGTH="Content-Length",E.CONTENT_LOCATION="Content-Location",E.CONTENT_MD5="Content-MD5",E.CONTENT_RANGE="Content-Range",E.CONTENT_SECURITY_POLICY="X-Content-Security-Policy",E.CONTENT_SECURITY_POLICY_REPORT_ONLY="Content-Security-Policy-Report-Only",E.CONTENT_TYPE="Content-Type",E.DATE="Date",E.ETAG="Etag",E.EXPIRES="Expires",E.HTTP="HTTP",E.KEEP_ALIVE="Keep-Alive",E.LAST_MODIFIED="Last-Modified",E.LINK="Link",E.LOCATION="Location",E.P3P="P3P",E.PRAGMA="Pragma",E.PROXY_AUTHENTICATE="Proxy-Authenticate",E.PROXY_CONNECTION="Proxy-Connection",E.REFRESH="Refresh",E.RETRY_AFTER="Retry-After",E.SERVER="Server",E.SET_COOKIE="Set-Cookie",E.STATUS="Status",E.STRICT_TRANSPORT_SECURITY="Strict-Transport-Security",E.TIMING_ALLOW_ORIGIN="Timing-Allow-Origin",E.TRAILER="Trailer",E.TRANSFER_ENCODING="Transfer-Encoding",E.UPGRADE="Upgrade",E.VARY="Vary",E.VIA="Via",E.WARNING="Warning",E.WWW_AUTHENTICATE="WWW-Authenticate",E.X_ASPNET_VERSION="X-Aspnet-Version",E.X_CONTENT_TYPE_OPTIONS="X-Content-Type-Options",E.X_FRAME_OPTIONS="X-Frame-Options",E.X_PERMITTED_CROSS_DOMAIN_POLICIES="X-Permitted-Cross-Domain-Policies",E.X_PINGBACK="X-Pingback",E.X_POWERED_BY="X-Powered-By",E.X_ROBOTS_TAG="X-Robots-Tag",E.X_UA_COMPATIBLE="X-UA-Compatible",E.X_WEBKIT_CSP="Content-Security-Policy, X-Content-Security-Policy, X-Webkit-CSP",E.X_XSS_PROTECTION="X-XSS-Protection",(A=(t=exports.NHttpStatuses||(exports.NHttpStatuses={})).EInformational||(t.EInformational={}))[A.CONTINUE=100]="CONTINUE",A[A.SWITCHING_PROTOCOLS=101]="SWITCHING_PROTOCOLS",A[A.PROCESSING=102]="PROCESSING",(R=t.ESuccess||(t.ESuccess={}))[R.OK=200]="OK",R[R.CREATED=201]="CREATED",R[R.ACCEPTED=202]="ACCEPTED",R[R.NON_AUTHORITATIVE_INFORMATION=203]="NON_AUTHORITATIVE_INFORMATION",R[R.NO_CONTENT=204]="NO_CONTENT",R[R.RESET_CONTENT=205]="RESET_CONTENT",R[R.PARTIAL_CONTENT=206]="PARTIAL_CONTENT",R[R.MULTI_STATUS=207]="MULTI_STATUS",R[R.ALREADY_REPORTED=208]="ALREADY_REPORTED",R[R.IM_USED=226]="IM_USED",(N=t.ERedirection||(t.ERedirection={}))[N.MULTIPLE_CHOICES=300]="MULTIPLE_CHOICES",N[N.MOVED_PERMANENTLY=301]="MOVED_PERMANENTLY",N[N.FOUND=302]="FOUND",N[N.SEE_OTHER=303]="SEE_OTHER",N[N.NOT_MODIFIED=304]="NOT_MODIFIED",N[N.USE_PROXY=305]="USE_PROXY",N[N.TEMPORARY_REDIRECT=307]="TEMPORARY_REDIRECT",N[N.PERMANENT_REDIRECT=308]="PERMANENT_REDIRECT",(_=t.EClientError||(t.EClientError={}))[_.BAD_REQUEST=400]="BAD_REQUEST",_[_.UNAUTHORIZED=401]="UNAUTHORIZED",_[_.PAYMENT_REQUIRED=402]="PAYMENT_REQUIRED",_[_.FORBIDDEN=403]="FORBIDDEN",_[_.NOT_FOUND=404]="NOT_FOUND",_[_.METHOD_NOT_ALLOWED=405]="METHOD_NOT_ALLOWED",_[_.NOT_ACCEPTABLE=406]="NOT_ACCEPTABLE",_[_.PROXY_AUTHENTICATION_REQUIRED=407]="PROXY_AUTHENTICATION_REQUIRED",_[_.REQUEST_TIMEOUT=408]="REQUEST_TIMEOUT",_[_.CONFLICT=409]="CONFLICT",_[_.GONE=410]="GONE",_[_.LENGTH_REQUIRED=411]="LENGTH_REQUIRED",_[_.PRECONDITION_FAILED=412]="PRECONDITION_FAILED",_[_.PAYLOAD_TOO_LARGE=413]="PAYLOAD_TOO_LARGE",_[_.REQUEST_URI_TOO_LONG=414]="REQUEST_URI_TOO_LONG",_[_.UNSUPPORTED_MEDIA_TYPE=415]="UNSUPPORTED_MEDIA_TYPE",_[_.REQUESTED_RANGE_NOT_SATISFIABLE=416]="REQUESTED_RANGE_NOT_SATISFIABLE",_[_.EXPECTATION_FAILED=417]="EXPECTATION_FAILED",_[_.I_M_A_TEAPOT=418]="I_M_A_TEAPOT",_[_.MISDIRECTED_REQUEST=421]="MISDIRECTED_REQUEST",_[_.UNPROCESSABLE_ENTITY=422]="UNPROCESSABLE_ENTITY",_[_.LOCKED=423]="LOCKED",_[_.FAILED_DEPENDENCY=424]="FAILED_DEPENDENCY",_[_.UPGRADE_REQUIRED=426]="UPGRADE_REQUIRED",_[_.PRECONDITION_REQUIRED=428]="PRECONDITION_REQUIRED",_[_.TOO_MANY_REQUESTS=429]="TOO_MANY_REQUESTS",_[_.REQUEST_HEADER_FIELDS_TOO_LARGE=431]="REQUEST_HEADER_FIELDS_TOO_LARGE",_[_.CONNECTION_CLOSED_WITHOUT_RESPONSE=444]="CONNECTION_CLOSED_WITHOUT_RESPONSE",_[_.UNAVAILABLE_FOR_LEGAL_REASONS=451]="UNAVAILABLE_FOR_LEGAL_REASONS",_[_.CLIENT_CLOSED_REQUEST=499]="CLIENT_CLOSED_REQUEST",(O=t.EServerError||(t.EServerError={}))[O.INTERNAL_SERVER_ERROR=500]="INTERNAL_SERVER_ERROR",O[O.NOT_IMPLEMENTED=501]="NOT_IMPLEMENTED",O[O.BAD_GATEWAY=502]="BAD_GATEWAY",O[O.SERVICE_UNAVAILABLE=503]="SERVICE_UNAVAILABLE",O[O.GATEWAY_TIMEOUT=504]="GATEWAY_TIMEOUT",O[O.HTTP_VERSION_NOT_SUPPORTED=505]="HTTP_VERSION_NOT_SUPPORTED",O[O.VARIANT_ALSO_NEGOTIATES=506]="VARIANT_ALSO_NEGOTIATES",O[O.INSUFFICIENT_STORAGE=507]="INSUFFICIENT_STORAGE",O[O.LOOP_DETECTED=508]="LOOP_DETECTED",O[O.NOT_EXTENDED=510]="NOT_EXTENDED",O[O.NETWORK_AUTHENTICATION_REQUIRED=511]="NETWORK_AUTHENTICATION_REQUIRED",O[O.NETWORK_CONNECT_TIMEOUT_ERROR=599]="NETWORK_CONNECT_TIMEOUT_ERROR",exports.HTTP_STATUS_CLIENT_ERROR="EClientError",exports.HTTP_STATUS_INFORMATIONAL="Informational",exports.HTTP_STATUS_REDIRECTION="Redirection",exports.HTTP_STATUS_SERVER_ERROR="ServerError",exports.HTTP_STATUS_SUCCESS="Success",exports.getHttpStatusCategory=function(E){return-1!==Object.values(exports.NHttpStatuses.EInformational).indexOf(E)?"Informational":-1!==Object.values(exports.NHttpStatuses.ESuccess).indexOf(E)?"Success":-1!==Object.values(exports.NHttpStatuses.ERedirection).indexOf(E)?"Redirection":-1!==Object.values(exports.NHttpStatuses.EClientError).indexOf(E)?"EClientError":-1!==Object.values(exports.NHttpStatuses.EServerError).indexOf(E)?"ServerError":void 0},exports.getHttpStatusName=function(E){return exports.NHttpStatuses.EInformational[E]||exports.NHttpStatuses.ESuccess[E]||exports.NHttpStatuses.ERedirection[E]||exports.NHttpStatuses.EClientError[E]||exports.NHttpStatuses.EServerError[E]};
"use strict";var E,T,O,_,N,R,A,t;Object.defineProperty(exports,"__esModule",{value:!0}),(E=(T=exports.NHttpHeaders||(exports.NHttpHeaders={})).EHttpHeaders||(T.EHttpHeaders={})).ACCEPT_RANGES="Accept-Ranges",E.ACCESS_CONTROL_ALLOW_CREDENTIALS="Access-Control-Allow-Credentials",E.ACCESS_CONTROL_ALLOW_HEADERS="Access-Control-Allow-Headers",E.ACCESS_CONTROL_ALLOW_METHODS="Access-Control-Allow-Methods",E.ACCESS_CONTROL_ALLOW_ORIGIN="Access-Control-Allow-Origin",E.ACCESS_CONTROL_EXPOSE_HEADERS="Access-Control-Expose-Headers",E.ACCESS_CONTROL_MAX_AGE="Access-Control-Max-Age",E.AGE="Age",E.ALLOW="Allow",E.ALTERNATE_PROTOCOL="Alternate-Protocol",E.CACHE_CONTROL="Cache-Control",E.CLIENT_DATE="Client-Date",E.CLIENT_PEER="Client-Peer",E.CLIENT_RESPONSE_NUM="Client-Response-Num",E.CONNECTION="Connection",E.CONTENT_DISPOSITION="Content-Disposition",E.CONTENT_ENCODING="Content-Encoding",E.CONTENT_LANGUAGE="Content-Language",E.CONTENT_LENGTH="Content-Length",E.CONTENT_LOCATION="Content-Location",E.CONTENT_MD5="Content-MD5",E.CONTENT_RANGE="Content-Range",E.CONTENT_SECURITY_POLICY="X-Content-Security-Policy",E.CONTENT_SECURITY_POLICY_REPORT_ONLY="Content-Security-Policy-Report-Only",E.CONTENT_TYPE="Content-Type",E.DATE="Date",E.ETAG="Etag",E.EXPIRES="Expires",E.HTTP="HTTP",E.KEEP_ALIVE="Keep-Alive",E.LAST_MODIFIED="Last-Modified",E.LINK="Link",E.LOCATION="Location",E.P3P="P3P",E.PRAGMA="Pragma",E.PROXY_AUTHENTICATE="Proxy-Authenticate",E.PROXY_CONNECTION="Proxy-Connection",E.REFRESH="Refresh",E.RETRY_AFTER="Retry-After",E.SERVER="Server",E.SET_COOKIE="Set-Cookie",E.STATUS="Status",E.STRICT_TRANSPORT_SECURITY="Strict-Transport-Security",E.TIMING_ALLOW_ORIGIN="Timing-Allow-Origin",E.TRAILER="Trailer",E.TRANSFER_ENCODING="Transfer-Encoding",E.UPGRADE="Upgrade",E.VARY="Vary",E.VIA="Via",E.WARNING="Warning",E.WWW_AUTHENTICATE="WWW-Authenticate",E.X_ASPNET_VERSION="X-Aspnet-Version",E.X_CONTENT_TYPE_OPTIONS="X-Content-Type-Options",E.X_FRAME_OPTIONS="X-Frame-Options",E.X_PERMITTED_CROSS_DOMAIN_POLICIES="X-Permitted-Cross-Domain-Policies",E.X_PINGBACK="X-Pingback",E.X_POWERED_BY="X-Powered-By",E.X_ROBOTS_TAG="X-Robots-Tag",E.X_UA_COMPATIBLE="X-UA-Compatible",E.X_WEBKIT_CSP="Content-Security-Policy, X-Content-Security-Policy, X-Webkit-CSP",E.X_XSS_PROTECTION="X-XSS-Protection",(A=(t=exports.NHttpStatuses||(exports.NHttpStatuses={})).EInformational||(t.EInformational={}))[A.CONTINUE=100]="CONTINUE",A[A.SWITCHING_PROTOCOLS=101]="SWITCHING_PROTOCOLS",A[A.PROCESSING=102]="PROCESSING",(R=t.ESuccess||(t.ESuccess={}))[R.OK=200]="OK",R[R.CREATED=201]="CREATED",R[R.ACCEPTED=202]="ACCEPTED",R[R.NON_AUTHORITATIVE_INFORMATION=203]="NON_AUTHORITATIVE_INFORMATION",R[R.NO_CONTENT=204]="NO_CONTENT",R[R.RESET_CONTENT=205]="RESET_CONTENT",R[R.PARTIAL_CONTENT=206]="PARTIAL_CONTENT",R[R.MULTI_STATUS=207]="MULTI_STATUS",R[R.ALREADY_REPORTED=208]="ALREADY_REPORTED",R[R.IM_USED=226]="IM_USED",(N=t.ERedirection||(t.ERedirection={}))[N.MULTIPLE_CHOICES=300]="MULTIPLE_CHOICES",N[N.MOVED_PERMANENTLY=301]="MOVED_PERMANENTLY",N[N.FOUND=302]="FOUND",N[N.SEE_OTHER=303]="SEE_OTHER",N[N.NOT_MODIFIED=304]="NOT_MODIFIED",N[N.USE_PROXY=305]="USE_PROXY",N[N.TEMPORARY_REDIRECT=307]="TEMPORARY_REDIRECT",N[N.PERMANENT_REDIRECT=308]="PERMANENT_REDIRECT",(_=t.EClientError||(t.EClientError={}))[_.BAD_REQUEST=400]="BAD_REQUEST",_[_.UNAUTHORIZED=401]="UNAUTHORIZED",_[_.PAYMENT_REQUIRED=402]="PAYMENT_REQUIRED",_[_.FORBIDDEN=403]="FORBIDDEN",_[_.NOT_FOUND=404]="NOT_FOUND",_[_.METHOD_NOT_ALLOWED=405]="METHOD_NOT_ALLOWED",_[_.NOT_ACCEPTABLE=406]="NOT_ACCEPTABLE",_[_.PROXY_AUTHENTICATION_REQUIRED=407]="PROXY_AUTHENTICATION_REQUIRED",_[_.REQUEST_TIMEOUT=408]="REQUEST_TIMEOUT",_[_.CONFLICT=409]="CONFLICT",_[_.GONE=410]="GONE",_[_.LENGTH_REQUIRED=411]="LENGTH_REQUIRED",_[_.PRECONDITION_FAILED=412]="PRECONDITION_FAILED",_[_.PAYLOAD_TOO_LARGE=413]="PAYLOAD_TOO_LARGE",_[_.REQUEST_URI_TOO_LONG=414]="REQUEST_URI_TOO_LONG",_[_.UNSUPPORTED_MEDIA_TYPE=415]="UNSUPPORTED_MEDIA_TYPE",_[_.REQUESTED_RANGE_NOT_SATISFIABLE=416]="REQUESTED_RANGE_NOT_SATISFIABLE",_[_.EXPECTATION_FAILED=417]="EXPECTATION_FAILED",_[_.I_M_A_TEAPOT=418]="I_M_A_TEAPOT",_[_.MISDIRECTED_REQUEST=421]="MISDIRECTED_REQUEST",_[_.UNPROCESSABLE_ENTITY=422]="UNPROCESSABLE_ENTITY",_[_.LOCKED=423]="LOCKED",_[_.FAILED_DEPENDENCY=424]="FAILED_DEPENDENCY",_[_.UPGRADE_REQUIRED=426]="UPGRADE_REQUIRED",_[_.PRECONDITION_REQUIRED=428]="PRECONDITION_REQUIRED",_[_.TOO_MANY_REQUESTS=429]="TOO_MANY_REQUESTS",_[_.REQUEST_HEADER_FIELDS_TOO_LARGE=431]="REQUEST_HEADER_FIELDS_TOO_LARGE",_[_.CONNECTION_CLOSED_WITHOUT_RESPONSE=444]="CONNECTION_CLOSED_WITHOUT_RESPONSE",_[_.UNAVAILABLE_FOR_LEGAL_REASONS=451]="UNAVAILABLE_FOR_LEGAL_REASONS",_[_.CLIENT_CLOSED_REQUEST=499]="CLIENT_CLOSED_REQUEST",(O=t.EServerError||(t.EServerError={}))[O.INTERNAL_SERVER_ERROR=500]="INTERNAL_SERVER_ERROR",O[O.NOT_IMPLEMENTED=501]="NOT_IMPLEMENTED",O[O.BAD_GATEWAY=502]="BAD_GATEWAY",O[O.SERVICE_UNAVAILABLE=503]="SERVICE_UNAVAILABLE",O[O.GATEWAY_TIMEOUT=504]="GATEWAY_TIMEOUT",O[O.HTTP_VERSION_NOT_SUPPORTED=505]="HTTP_VERSION_NOT_SUPPORTED",O[O.VARIANT_ALSO_NEGOTIATES=506]="VARIANT_ALSO_NEGOTIATES",O[O.INSUFFICIENT_STORAGE=507]="INSUFFICIENT_STORAGE",O[O.LOOP_DETECTED=508]="LOOP_DETECTED",O[O.NOT_EXTENDED=510]="NOT_EXTENDED",O[O.NETWORK_AUTHENTICATION_REQUIRED=511]="NETWORK_AUTHENTICATION_REQUIRED",O[O.NETWORK_CONNECT_TIMEOUT_ERROR=599]="NETWORK_CONNECT_TIMEOUT_ERROR",exports.HTTP_STATUS_CLIENT_ERROR="EClientError",exports.HTTP_STATUS_INFORMATIONAL="Informational",exports.HTTP_STATUS_REDIRECTION="Redirection",exports.HTTP_STATUS_SERVER_ERROR="ServerError",exports.HTTP_STATUS_SUCCESS="Success",exports.getHttpStatusCategory=function(E){return-1!==Object.values(exports.NHttpStatuses.EInformational).indexOf(E)?"Informational":-1!==Object.values(exports.NHttpStatuses.ESuccess).indexOf(E)?"Success":-1!==Object.values(exports.NHttpStatuses.ERedirection).indexOf(E)?"Redirection":-1!==Object.values(exports.NHttpStatuses.EClientError).indexOf(E)?"EClientError":-1!==Object.values(exports.NHttpStatuses.EServerError).indexOf(E)?"ServerError":void 0},exports.getHttpStatusName=function(E){return exports.NHttpStatuses.EInformational[E]||exports.NHttpStatuses.ESuccess[E]||exports.NHttpStatuses.ERedirection[E]||exports.NHttpStatuses.EClientError[E]||exports.NHttpStatuses.EServerError[E]};
//# sourceMappingURL=http-response-status.cjs.production.min.js.map
{
"name": "http-response-status",
"version": "0.1.2",
"version": "0.1.3",
"description": "HTTP Status Map",

@@ -47,10 +47,10 @@ "main": "dist/index.js",

"devDependencies": {
"@types/jest": "24.0.23",
"@types/jest": "24.0.24",
"codecov": "3.6.1",
"husky": "3.1.0",
"standard-version": "7.0.1",
"tsdx": "0.11.0",
"tsdx": "0.12.0",
"tslib": "1.10.0",
"typescript": "3.7.3"
"typescript": "3.7.4"
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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