Comparing version 1.2.1 to 1.3.0
@@ -0,1 +1,5 @@ | ||
1.3.0 / 2014-08-27 | ||
------------------ | ||
* added method `byteLength()`, #13 | ||
1.2.1 / 2014-07-03 | ||
@@ -2,0 +6,0 @@ ----------------- |
@@ -1,3 +0,1 @@ | ||
var assert = require('assert') | ||
// (public) Constructor | ||
@@ -278,2 +276,7 @@ function BigInteger(a, b, c) { | ||
// (public) return the number of bytes in "this" | ||
function bnByteLength() { | ||
return this.bitLength() >> 3 | ||
} | ||
// (protected) r = this << n*DB | ||
@@ -656,2 +659,3 @@ function bnpDLShiftTo(n, r) { | ||
proto.bitLength = bnBitLength | ||
proto.byteLength = bnByteLength | ||
proto.mod = bnMod | ||
@@ -658,0 +662,0 @@ proto.modPowInt = bnModPowInt |
{ | ||
"name": "bigi", | ||
"version": "1.2.1", | ||
"version": "1.3.0", | ||
"description": "Big integers.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
49317
1740
0