Socket
Socket
Sign inDemoInstall

bn.js

Package Overview
Dependencies
0
Maintainers
3
Versions
119
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.0.0 to 5.1.0

11

CHANGELOG.md

@@ -0,1 +1,12 @@

5.1.0 / 2019-12-23
------------------
- Benchmark for BigInt (#226)
- Add documentation for max/min (#232)
- Update BN#inspect for Symbols (#225)
- Improve performance of toArrayLike (#222)
- temporary disable jumboMulTo in BN#mulTo (#221)
- optimize toBitArray function (#212)
- fix iaddn sign issue (#216)
5.0.0 / 2019-07-04

@@ -2,0 +13,0 @@ ------------------

22

package.json
{
"name": "bn.js",
"version": "5.0.0",
"version": "5.1.0",
"description": "Big number implementation in pure javascript",
"main": "lib/bn.js",
"scripts": {
"lint": "semistandard",
"lint": "standardx",
"unit": "mocha --reporter=spec test/*-test.js",

@@ -35,6 +35,18 @@ "test": "npm run lint && npm run unit"

"devDependencies": {
"istanbul": "^0.3.5",
"mocha": "^2.1.0",
"semistandard": "^7.0.4"
"babel-eslint": "^10.0.2",
"mocha": "^6.1.4",
"standardx": "^4.0.0"
},
"standardx": {
"parser": "babel-eslint"
},
"eslintConfig": {
"rules": {
"semi": [
2,
"always"
],
"no-extra-semi": 2
}
}
}

@@ -87,2 +87,4 @@ # <img src="./logo.png" alt="bn.js" width="160" height="160" />

* `BN.isBN(object)` - returns true if the supplied `object` is a BN.js instance
* `BN.max(a, b)` - return `a` if `a` bigger than `b`
* `BN.min(a, b)` - return `a` if `a` less than `b`

@@ -89,0 +91,0 @@ ### Arithmetics

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