Skip to content

chore(deps): bump bignumber.js from 9.1.2 to 11.1.5 - #11587

Open
dependabot[bot] wants to merge 2 commits into
mainfrom
dependabot/npm_and_yarn/bignumber.js-11.1.5
Open

dependabot[bot] wants to merge 2 commits into
mainfrom
dependabot/npm_and_yarn/bignumber.js-11.1.5

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Bumps bignumber.js from 9.1.2 to 11.1.5.

Release notes

Sourced from bignumber.js's releases.

v11.1.3

v11.1 adds a few useful improvements around formatting, parsing, rounding, and interoperability.

BigNumber.sum() now returns zero when called with no arguments, which makes patterns like BigNumber.sum(...arr) work cleanly even when the array is empty.

BigNumber.sum(...[]).toString()      // "0"

toBigInt() has been added, so BigNumber values can now be converted directly to native BigInt values.

new BigNumber("123.9").toBigInt(BigNumber.ROUND_DOWN)        // 123n

There is also a new BigNumber.fromFormat() method for parsing formatted strings back into BigNumber values.

const options =  {  prefix: "€",  groupSeparator: ".",  decimalSeparator: "," }
BigNumber.fromFormat("€1.234.567,89", options).toString()      // "1234567.89"

Negative decimal places are now supported by decimalPlaces(), toFixed(), and toFormat(), making it easier to round to tens, hundreds, and thousands etc.

new BigNumber("1234.5").toFormat(-2)      // "1,200"

toFormat() has also been expanded to support minimum and maximum decimal places, and per-call formatting options now fall back to the configured global FORMAT values for anything not explicitly overridden.

new BigNumber("12.3456789").toFormat([2, 5])      // "12.34568"

This release also includes a fix for slow hexadecimal integer base conversion when DECIMAL_PLACES is very large, plus improved TypeScript API test coverage.

Changelog

Sourced from bignumber.js's changelog.

11.1.5

  • 05/07/26
  • #409 toFraction returning a sub-optimal rational approximation.

11.1.4

  • 16/06/26
  • [BUGFIX] #407 Fix toFormat duplicating the fraction when groupSize is 0.

11.1.3

  • 05/06/26
  • #406 Fix EXPONENTIAL_AT default value documentation.

11.1.2

  • 30/05/26
  • [BUGFIX] #405 Fix invalid toFormat output for -0.

11.1.1

  • 02/05/26
  • Docs: fix version number and decimalPlaces API description.

11.1.0

  • 30/04/26
  • #401 BigNumber.sum: return zero if there are no arguments.
  • #352 Add toBigInt method.
  • #286 Add fromFormat method.
  • #262 decimalPlaces, toFixed and toFormat: support negative decimal places.
  • #260 toFormat: support minimum/maximum decimal places.
  • toFormat: fallback to FORMAT for each property not in options.
  • [BUGFIX] #342 Large DECIMAL_PLACES causing slow hex integer base conversion.
  • Typescript: add test_api.ts to improved typed API test coverage.

11.0.0

  • 14/04/26
  • Add STRICT configuration option: if true (default), throw an exception on invalid input. if false, return NaN on invalid input.
  • toFraction: return [1, 0] for Infinity and [0, 0] for NaN.
  • Support underscores as separators.
  • If a base is supplied, reject non-finite values and base prefixes.

10.0.2

  • 24/02/26

... (truncated)

Commits

@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Nov 17, 2026
@dependabot
dependabot Bot requested review from a team as code owners November 17, 2026 13:22
@dependabot dependabot Bot added the javascript Pull requests that update javascript code label Nov 17, 2026
@dependabot
dependabot Bot requested review from a team as code owners November 17, 2026 13:22
@socket-security

socket-security Bot commented Nov 17, 2026 •

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedbignumber.js@​11.1.510010010085100

View full report

@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/bignumber.js-11.1.5 branch from d3ecb42 to db7e956 Compare November 17, 2026 14:17
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/bignumber.js-11.1.5 branch from 003a09e to 32974c5 Compare November 17, 2026 17:27
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/bignumber.js-11.1.5 branch from 6874a77 to e2d794d Compare November 17, 2026 18:00
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/bignumber.js-11.1.5 branch from bc02d0c to 81d48dd Compare November 18, 2026 08:26
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/bignumber.js-11.1.5 branch from 7ff5dfa to bd328a5 Compare November 18, 2026 10:10
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/bignumber.js-11.1.5 branch from 8864a2f to cfdff45 Compare November 18, 2026 12:05
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/bignumber.js-11.1.5 branch from a87b1fa to 6414a9c Compare November 18, 2026 13:21
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/bignumber.js-11.1.5 branch from 7737103 to bae80c3 Compare November 18, 2026 14:11
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/bignumber.js-11.1.5 branch from e0ee201 to c772452 Compare November 19, 2026 22:13
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/bignumber.js-11.1.5 branch from 80b6df2 to c6fedea Compare November 20, 2026 10:22
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/bignumber.js-11.1.5 branch from 3612b96 to 912e45f Compare November 20, 2026 16:56
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/bignumber.js-11.1.5 branch from 49bf6e9 to 5d5326c Compare November 20, 2026 21:54
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/bignumber.js-11.1.5 branch from d8ee422 to 7c84e10 Compare November 23, 2026 12:58
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/bignumber.js-11.1.5 branch from cb35973 to f65ac26 Compare November 23, 2026 15:52
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/bignumber.js-11.1.5 branch from 4c3271e to caf25fd Compare November 23, 2026 16:49
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/bignumber.js-11.1.5 branch from d0ab1ab to bcfb337 Compare November 23, 2026 18:20
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/bignumber.js-11.1.5 branch from 299a1e2 to d92c7bd Compare November 24, 2026 09:05
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/bignumber.js-11.1.5 branch from 5fe01bb to 7189f61 Compare November 24, 2026 11:22
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/bignumber.js-11.1.5 branch from aaafd44 to 487f171 Compare November 24, 2026 12:07
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/bignumber.js-11.1.5 branch from 736a3fc to b6e1941 Compare November 24, 2026 14:33
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/bignumber.js-11.1.5 branch from b5e9255 to 3bd3561 Compare November 25, 2026 12:54
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/bignumber.js-11.1.5 branch from f678392 to 86061e1 Compare November 25, 2026 15:15
dependabot Bot and others added 2 commits December 3, 2026 13:44
Bumps [bignumber.js](https://github.com/MikeMcl/bignumber.js) from 9.1.2 to 11.1.5.
- [Release notes](https://github.com/MikeMcl/bignumber.js/releases)
- [Changelog](https://github.com/MikeMcl/bignumber.js/blob/main/CHANGELOG.md)
- [Commits](MikeMcl/bignumber.js@v9.1.2...v11.1.5)

---
updated-dependencies:
- dependency-name: bignumber.js
  dependency-version: 11.1.5
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

This branch was previously deployed

2 inactive (outdated) deployments
default-branch — 759c2504 Deployed Nov 17, 2026 by dependabot[bot] via Determine whether this PR is a release PR #7197
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants