Releases: vend/vend-number
Expose ROUND MODES
Fix type of isFinite
The type of isFinite
inadvertantly changed between 4.0.0 and 4.1.0 in a backward-incompatible way. This restores the type from 4.0.0.
This only updates type declarations. There are no runtime code changes.
Unfork bignumber
The bignumber fork is no longer necessary with the V8 Maglev bug fixed. This release should be functionally equivalent to 4.0.0.
Fork bignumber
Release forks bignumber.js
to v5 directly into this code base and makes a small change to work around this V8 bug: https://bugs.chromium.org/p/v8/issues/detail?id=14271
The functionality should be equivalent.
See: #40
Update isFinite type
Fixed not being able to access static function
The static function such as subtract
or add
wasn't accessible when they are VendNumber
class static function. Moving and exporting these functions outside the class allows us to use these function.
Also keeping the static function in the class to avoid breaking any existing usage
Fixed RoundingMode type not exported
Copy and pasted the RoundingMode
type declaration from bignumber.js
into vend-number
because it is not exported in bignumber.js
5.0.0
RoudingMode
type is exported from bignumber.js
6.0.0 version onward
TypeScript types and updated bignumber.js
This release adds TypeScript type declarations and updates bignumber.js to 5.0.0. This is a major version bump for bignumber.js, but the changes were only related to its constructor, which consumers of this library shouldn't be calling directly, so I'm not considering it a breaking change for this library.
Fixes Safari/iOS Number issues
Updates lib to depend on bignumber.js v4.0.2 which works around the bugs in Safari/iOS.
Updates lib to use bignumber.js v4.0.0
v3.0.0 3.0.0