chai-bignumber
Advanced tools
Comparing version 3.0.0 to 3.1.0
@@ -83,3 +83,3 @@ module.exports = function (BigNumber) { | ||
// BigNumber.isGreaterThanOrEqualTo | ||
overwriteMethods(['least', 'gte'], function (expected, actual) { | ||
overwriteMethods(['least', 'gte', 'greaterThanOrEqual'], function (expected, actual) { | ||
this.assert( | ||
@@ -106,3 +106,3 @@ isGreaterThanOrEqualTo.bind(actual)(expected), | ||
// BigNumber.isLessThanOrEqualTo | ||
overwriteMethods(['most', 'lte'], function (expected, actual) { | ||
overwriteMethods(['most', 'lte', 'lessThanOrEqual'], function (expected, actual) { | ||
this.assert( | ||
@@ -109,0 +109,0 @@ isLessThanOrEqualTo.bind(actual)(expected), |
{ | ||
"name": "chai-bignumber", | ||
"version": "3.0.0", | ||
"version": "3.1.0", | ||
"description": "Chai assertions for comparing arbitrary-precision decimals using the bignumber.js library", | ||
@@ -11,6 +11,6 @@ "main": "chai-bignumber.js", | ||
"devDependencies": { | ||
"bignumber.js": "^8.0.1", | ||
"chai": "^4.2.0", | ||
"jshint": "^2.9.2", | ||
"mocha": "^5.2.0" | ||
"bignumber.js": "8", | ||
"chai": "4", | ||
"jshint": "2", | ||
"mocha": "10" | ||
}, | ||
@@ -42,2 +42,2 @@ "author": "António Marques <me@antoniomarques.eu>", | ||
] | ||
} | ||
} |
# chai-bignumber | ||
[![Build Status](https://travis-ci.org/asmarques/chai-bignumber.svg)](https://travis-ci.org/asmarques/chai-bignumber) | ||
![Build Status](https://github.com/asmarques/chai-bignumber/workflows/CI/badge.svg) | ||
Chai assertions for comparing arbitrary-precision decimals using the [bignumber.js](https://github.com/MikeMcl/bignumber.js) library. | ||
@@ -31,5 +32,5 @@ | ||
- above/gt/greaterThan | ||
- least/gte | ||
- least/gte/greaterThanOrEqual | ||
- below/lt/lessThan | ||
- most/lte | ||
- most/lte/lessThanOrEqual | ||
@@ -36,0 +37,0 @@ The above methods have the following signature: `(value, dp, rm)`. |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
9266
85
0