Join our webinar on Wednesday, June 26, at 1pm EDTHow Chia Mitigates Risk in the Crypto Industry.Register
Socket
Socket
Sign inDemoInstall

bignumber.js

Package Overview
Dependencies
0
Maintainers
1
Versions
54
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous13456Next

7.2.0

Diff

Changelog

Source

7.2.0

  • 22/05/2018
  • #166 Correct .mjs file. Remove extension from main field in package.json.
mikemcl
published 7.1.0 •

Changelog

Source

7.1.0

  • 18/05/2018
  • Add module field to package.json for bignumber.mjs.
mikemcl
published 7.0.2 •

Changelog

Source

7.0.2

  • 17/05/2018
  • #165 Bugfix: upper-case letters for bases 11-36 in a custom alphabet.
  • Add note to README regarding creating BigNumbers from Number values.
mikemcl
published 7.0.1 •

Changelog

Source

7.0.1

  • 26/04/2018
  • #158 Fix global object variable name typo.
mikemcl
published 7.0.0 •

Changelog

Source

7.0.0

  • 26/04/2018
  • #143 Remove global BigNumber from typings.
  • #144 Enable compatibility with Object.freeze(Object.prototype).
  • #148 #123 #11 Only throw on a number primitive with more than 15 significant digits if BigNumber.DEBUG is true.
  • Only throw on an invalid BigNumber value if BigNumber.DEBUG is true. Return BigNumber NaN instead.
  • #154 exponentiatedBy: allow BigNumber exponent.
  • #156 Prevent Content Security Policy unsafe-eval issue.
  • toFraction: allow Infinity maximum denominator.
  • Comment-out some excess tests to reduce test time.
  • Amend indentation and other spacing.
mikemcl
published 6.0.0 •

Changelog

Source

6.0.0

  • 26/01/2018
  • #137 Implement APLHABET configuration option.
  • Remove ERRORS configuration option.
  • Remove toDigits method; extend precision method accordingly.
  • Remove sround method; extend decimalPlaces method accordingly.
  • Remove methods: ceil, floor, and truncated.
  • Remove method aliases: add, cmp, isInt, isNeg, trunc, mul, neg and sub.
  • Rename methods: shift to shiftedBy, another to clone, toPower to exponentiatedBy, and equals to isEqualTo.
  • Rename methods: add is prefix to greaterThan, greaterThanOrEqualTo, lessThan and lessThanOrEqualTo.
  • Add methods: multipliedBy, isBigNumber, isPositive, integerValue, maximum and minimum.
  • Refactor test suite.
  • Add CHANGELOG.md.
  • Rewrite bignumber.d.ts.
  • Redo API image.
mikemcl
published 5.0.0 •

Changelog

Source

5.0.0

  • 27/11/2017
  • #81 Don't throw on constructor call without new.
mikemcl
published 4.1.0 •

Changelog

Source

4.1.0

  • 26/09/2017
  • Remove node 0.6 from .travis.yml.
  • Add bignumber.mjs.
mikemcl
published 4.0.4 •

Changelog

Source

4.0.4

  • 03/09/2017
  • Add missing aliases to bignumber.d.ts.
mikemcl
published 4.0.3 •

Changelog

Source

4.0.3

  • 30/08/2017
  • Add types: bignumber.d.ts.
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