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

ip-cidr

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ip-cidr - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

package.json
{
"name": "ip-cidr",
"version": "1.0.0",
"version": "1.0.1",
"description": "Module for work with CIDR (v4, v6)",

@@ -5,0 +5,0 @@ "main": "./ip-cidr.js",

@@ -28,2 +28,3 @@ "use strict";

let cidr = new IPCIDR(validCIDR);
assert.isOk(cidr.isValid());

@@ -34,2 +35,3 @@ });

let cidr = new IPCIDR(invalidCIDR);
assert.isNotOk(cidr.isValid());

@@ -96,3 +98,3 @@ });

describe("#toArray()", function () {
it('should returns the full array', function () {
it('should return the full array', function () {
let cidr = new IPCIDR(validCIDR);

@@ -104,3 +106,3 @@ let array = cidr.toArray();

it('should returns a part of the range', function () {
it('should return a part of the range', function () {
let cidr = new IPCIDR(validCIDR);

@@ -119,3 +121,3 @@ let results = {};

describe("#arrayAction()", function () {
it('should reads the full range', function () {
it('should read the full range', function () {
let cidr = new IPCIDR(validCIDR);

@@ -132,3 +134,3 @@ let counter = 0;

it('should reads a part of the range', function () {
it('should read a part of the range', function () {
let cidr = new IPCIDR(validCIDR);

@@ -135,0 +137,0 @@ let counter = 1;

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