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

bigi

Package Overview
Dependencies
Maintainers
4
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bigi - npm Package Compare versions

Comparing version 1.2.1 to 1.3.0

4

CHANGELOG.md

@@ -0,1 +1,5 @@

1.3.0 / 2014-08-27
------------------
* added method `byteLength()`, #13
1.2.1 / 2014-07-03

@@ -2,0 +6,0 @@ -----------------

8

lib/bigi.js

@@ -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": [

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