ip-subnet-calculator
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -47,3 +47,3 @@ /*jshint strict: false, bitwise: false */ | ||
* | ||
* <code>var result = [ | ||
* <code>var result = [ | ||
* { | ||
@@ -65,3 +65,3 @@ * ipLow : 2071689984, | ||
* </code> | ||
* @public | ||
* @public | ||
*/ | ||
@@ -118,3 +118,3 @@ calculate : function( ipStart, ipEnd ) | ||
* getMaskRange() | ||
* @public | ||
* @public | ||
*/ | ||
@@ -146,3 +146,3 @@ calculateSubnetMask : function( ip, prefixSize ) | ||
* getMaskRange() | ||
* @public | ||
* @public | ||
*/ | ||
@@ -187,4 +187,4 @@ calculateCIDRPrefix : function( ip, subnetMask ) | ||
* | ||
* @param {int} ipNum IP start point | ||
* @param {int} ipEndNum IP end point | ||
* @param {int} ipNum IP start point | ||
* @param {int} ipEndNum IP end point | ||
* @return {object|null} Returns null on failure, otherwise an object with the following fields: | ||
@@ -244,3 +244,3 @@ * | ||
* invertedSize - Number of relevant bits in the inverted mask | ||
* @private | ||
* @private | ||
*/ | ||
@@ -278,3 +278,3 @@ getMaskRange : function( ipNum, prefixSize ) | ||
* @return {int} Returns the bitmask | ||
* @private | ||
* @private | ||
*/ | ||
@@ -300,3 +300,3 @@ getPrefixMask : function( prefixSize ) | ||
* @return {int} Returns the bitmask | ||
* @private | ||
* @private | ||
*/ | ||
@@ -352,3 +352,2 @@ getMask : function( maskSize ) | ||
} | ||
}; | ||
@@ -355,0 +354,0 @@ |
@@ -6,3 +6,3 @@ { | ||
"homepage" : "https://github.com/franksrevenge/IPSubnetCalculator", | ||
"version" : "1.0.1", | ||
"version" : "1.0.2", | ||
"main" : "lib/ip-subnet-calculator.js", | ||
@@ -9,0 +9,0 @@ "keywords" : [ "ip", "subnet", "network", "netmask", "calculator" ], |
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
35075