Comparing version 1.0.0 to 1.0.1
{ | ||
"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; |
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
9612