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.4.2 to 1.5.0

tsconfig.json

6

CHANGELOG.md
# Changelog: HTTP Status
## Version 1.5.0
* ts: support strict mode
* mocha: move config into package
* package: latest dependencies
## Version 1.4.2

@@ -4,0 +10,0 @@

2

lib/cloudflare.js

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

// Generated by CoffeeScript 2.3.0
// Generated by CoffeeScript 2.5.1
// # Cloudfare extra status codes

@@ -3,0 +3,0 @@

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

// Generated by CoffeeScript 2.3.0
// Generated by CoffeeScript 2.5.1
// # IIS extra status codes

@@ -3,0 +3,0 @@

@@ -8,2 +8,3 @@ export = httpStatus;

interface HttpStatus {
readonly [key:string]: string | number | HttpStatusClasses | HttpStatusExtra;

@@ -372,17 +373,20 @@ readonly '100': string;

extra: {
unofficial: HttpStatusUnofficial;
iis: HttpStatusIis;
nginx: HttpStatusNginx;
cloudflare: HttpStatusCloudfare;
}
extra: HttpStatusExtra
}
interface HttpStatusExtra {
readonly 'unofficial': HttpStatusUnofficial;
readonly 'iis': HttpStatusIis;
readonly 'nginx': HttpStatusNginx;
readonly 'cloudflare': HttpStatusCloudfare;
}
interface HttpStatusClasses {
readonly [key:string]: string | number;

@@ -417,2 +421,3 @@ readonly '1xx': string;

interface HttpStatusUnofficial {
readonly [key:string]: string | number;

@@ -470,3 +475,4 @@ readonly '103': string;

interface HttpStatusIis {
readonly [key:string]: string | number;
readonly '440': string;

@@ -493,2 +499,3 @@ readonly '440_NAME': string;

interface HttpStatusNginx {
readonly [key:string]: string | number;

@@ -495,0 +502,0 @@ readonly '444': string;

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

// Generated by CoffeeScript 2.3.0
// Generated by CoffeeScript 2.5.1
// # node-http-status

@@ -3,0 +3,0 @@

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

// Generated by CoffeeScript 2.3.0
// Generated by CoffeeScript 2.5.1
// # NGINX extra status codes

@@ -3,0 +3,0 @@

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

// Generated by CoffeeScript 2.3.0
// Generated by CoffeeScript 2.5.1
// # Unofficial extra status codes

@@ -3,0 +3,0 @@

{
"name": "http-status",
"version": "1.4.2",
"version": "1.5.0",
"description": "Interact with HTTP status code",

@@ -22,10 +22,10 @@ "homepage": "https://github.com/adaltas/node-http-status",

"devDependencies": {
"@types/mocha": "^5.2.5",
"@types/node": "^10.12.6",
"@types/mocha": "^8.0.4",
"@types/node": "^14.14.7",
"@types/should": "^13.0.0",
"coffeescript": "2.3.0",
"mocha": "5.1.1",
"should": "13.2.1",
"ts-node": "^7.0.1",
"typescript": "^3.1.6"
"coffeescript": "2.5.1",
"mocha": "8.2.1",
"should": "13.2.3",
"ts-node": "^9.0.0",
"typescript": "^4.0.5"
},

@@ -55,2 +55,14 @@ "coffeelintConfig": {

],
"mocha": {
"throw-deprecation": true,
"require": [
"should",
"coffeescript/register",
"ts-node/register"
],
"inline-diffs": true,
"timeout": 40000,
"reporter": "spec",
"recursive": true
},
"main": "lib/index.js",

@@ -57,0 +69,0 @@ "types": "lib/index.d.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