httperrors
Advanced tools
Comparing version 0.4.0 to 0.4.1
@@ -75,2 +75,3 @@ (function (root, factory) { | ||
statusCode: statusCode, | ||
status: statusCode, | ||
name: name | ||
@@ -77,0 +78,0 @@ }); |
@@ -5,4 +5,13 @@ { | ||
"description": "Handy JavaScript Error classes representing the standard HTTP errors. Easily extensible and subclassable.", | ||
"keywords": ["http", "errors", "error", "request", "proxy", "client", "class", "errorclass"], | ||
"version": "0.4.0", | ||
"keywords": [ | ||
"http", | ||
"errors", | ||
"error", | ||
"request", | ||
"proxy", | ||
"client", | ||
"class", | ||
"errorclass" | ||
], | ||
"version": "0.4.1", | ||
"repository": { | ||
@@ -9,0 +18,0 @@ "type": "git", |
@@ -9,2 +9,3 @@ var expect = require('unexpected'), | ||
expect(err.statusCode, 'to equal', 404); | ||
expect(err.status, 'to equal', 404); | ||
expect(err.message, 'to equal', 'sadface'); | ||
@@ -11,0 +12,0 @@ expect(err.name, 'to equal', 'NotFound'); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8344
111