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

ip-accesscontrol

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ip-accesscontrol - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

3

index.js
'use strict'
class IPAccessControl {
static check(ip, ipRanges){
if(!ipRanges || !ip){
return false
}
if(!Array.isArray(ipRanges)){

@@ -5,0 +8,0 @@ ipRanges = [ipRanges]

2

package.json
{
"name": "ip-accesscontrol",
"version": "1.0.0",
"version": "1.0.1",
"private": false,
"main": "./index.js"
}

@@ -26,3 +26,3 @@ # Welcome to IP ACCESS CONTROL!

```javascript
import IPAccessControl from 'IPAccessControl'
import IPAccessControl from 'ip-accesscontrol'
......

@@ -29,0 +29,0 @@ let pattern = "192.168.*"

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