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

express-ipfilter

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express-ipfilter - npm Package Compare versions

Comparing version 0.2.4 to 0.2.5

1

lib/deniedError.js

@@ -8,2 +8,3 @@ 'use strict';

this.extra = extra;
this.status = this.statusCode = 403;
};

@@ -10,0 +11,0 @@

2

package.json
{
"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

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