Socket
Socket
Sign inDemoInstall

statuses

Package Overview
Dependencies
0
Maintainers
6
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.3.0 to 1.3.1

5

HISTORY.md

@@ -0,1 +1,6 @@

1.3.1 / 2016-11-11
==================
* Fix return type in JSDoc
1.3.0 / 2016-05-17

@@ -2,0 +7,0 @@ ==================

2

index.js

@@ -86,3 +86,3 @@ /*!

* @param {string|number} code
* @returns {string}
* @returns {number}
* @public

@@ -89,0 +89,0 @@ */

{
"name": "statuses",
"description": "HTTP status utility",
"version": "1.3.0",
"version": "1.3.1",
"contributors": [

@@ -23,10 +23,10 @@ "Douglas Christopher Wilson <doug@somethingdoug.com>",

"devDependencies": {
"csv-parse": "1.0.1",
"eslint": "2.10.2",
"eslint-config-standard": "5.3.1",
"eslint-plugin-promise": "1.1.0",
"eslint-plugin-standard": "1.3.2",
"istanbul": "0.4.3",
"csv-parse": "1.1.7",
"eslint": "3.10.0",
"eslint-config-standard": "6.2.1",
"eslint-plugin-promise": "3.3.2",
"eslint-plugin-standard": "2.0.1",
"istanbul": "0.4.5",
"mocha": "1.21.5",
"stream-to-array": "2.2.0"
"stream-to-array": "2.3.0"
},

@@ -39,3 +39,3 @@ "engines": {

"fetch": "node scripts/fetch.js",
"lint": "eslint **/*.js",
"lint": "eslint .",
"test": "mocha --reporter spec --check-leaks --bail test/",

@@ -42,0 +42,0 @@ "test-ci": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/",

@@ -78,13 +78,2 @@ # Statuses

### statuses/codes.json
```js
var codes = require('statuses/codes.json')
```
This is a JSON file of the status codes
taken from `require('http').STATUS_CODES`.
This is saved so that codes are consistent even in older node.js versions.
For example, `308` will be added in v0.12.
## Adding Status Codes

@@ -91,0 +80,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc