Socket
Socket
Sign inDemoInstall

bn.js

Package Overview
Dependencies
0
Maintainers
1
Versions
119
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.6.3 to 4.6.4

2

package.json
{
"name": "bn.js",
"version": "4.6.3",
"version": "4.6.4",
"description": "Big number implementation in pure javascript",

@@ -5,0 +5,0 @@ "main": "lib/bn.js",

@@ -124,2 +124,8 @@ /* global describe, it */

describe('.toArray()', function () {
it('should return [ 0 ] for `0`', function () {
var n = new BN(0);
assert.deepEqual(n.toArray('be'), [ 0 ]);
assert.deepEqual(n.toArray('le'), [ 0 ]);
});
it('should zero pad to desired lengths', function () {

@@ -126,0 +132,0 @@ var n = new BN(0x123456);

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc