bn.js
Advanced tools
Comparing version 5.0.0 to 5.1.0
@@ -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 @@ ------------------ |
{ | ||
"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
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
99370
3011
229
0