express-ipfilter
Advanced tools
Comparing version 0.2.4 to 0.2.5
@@ -8,2 +8,3 @@ 'use strict'; | ||
this.extra = extra; | ||
this.status = this.statusCode = 403; | ||
}; | ||
@@ -10,0 +11,0 @@ |
{ | ||
"name": "express-ipfilter", | ||
"description": "A light-weight IP address based filtering system", | ||
"version": "0.2.4", | ||
"version": "0.2.5", | ||
"author": "BaM Interactive", | ||
@@ -6,0 +6,0 @@ "dependencies": { |
@@ -9,3 +9,3 @@ express-ipfilter: A light-weight IP address based filtering system | ||
## Version | ||
0.2.4 | ||
0.2.5 | ||
@@ -147,2 +147,5 @@ ## Installation | ||
0.3.0 | ||
* Added fields `status` and `statusCode` to the IpDeniedError object, which both equal `403`. | ||
0.2.4 | ||
@@ -149,0 +152,0 @@ * For IPv4 addresses that have a port (as experienced with Azure web apps), the port is now stripped before comparing it with the contents of the whitelist or blacklist. Fixes issue #49. |
@@ -6,4 +6,5 @@ module.exports = function IpDeniedError(message, extra) { | ||
this.extra = extra; | ||
this.status = this.statusCode = 403; | ||
}; | ||
require('util').inherits(module.exports, Error); |
Sorry, the diff of this file is not supported yet
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
116562
1422
262