fix(deps): update dependency bignumber.js to v11 - #10380
Open
metamask-ci[bot] wants to merge 2 commits into
Open
metamask-ci[bot] wants to merge 2 commits into
metamask-ci[bot] wants to merge 2 commits into
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Contributor
Author
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^9.1.2→^11.1.5Release Notes
MikeMcl/bignumber.js (bignumber.js)
v11.1.5Compare Source
toFractionreturning a sub-optimal rational approximation.v11.1.4Compare Source
toFormatduplicating the fraction whengroupSizeis0.v11.1.3Compare Source
EXPONENTIAL_ATdefault value documentation.v11.1.2Compare Source
toFormatoutput for-0.v11.1.1Compare Source
decimalPlacesAPI description.v11.1.0Compare Source
BigNumber.sum: return zero if there are no arguments.toBigIntmethod.fromFormatmethod.decimalPlaces,toFixedandtoFormat: support negative decimal places.toFormat: support minimum/maximum decimal places.toFormat: fallback toFORMATfor each property not inoptions.DECIMAL_PLACEScausing slow hex integer base conversion.v11.0.0Compare Source
STRICTconfiguration option:if
true(default), throw an exception on invalid input.if
false, returnNaNon invalid input.toFraction: return[1, 0]forInfinityand[0, 0]forNaN.v10.0.2Compare Source
v10.0.1Compare Source
v10.0.0Compare Source
BigNumber.DEBUG, so the behaviour is now always as if it wastrue:throw on invalid input instead of returning
NaN, andalways validate the
c,e, andsproperties of objects passed toisBigNumbertoStringon any arbitrary object passed to the constructor.toObjectprototype method which returns a plain object withc,e, andsproperties.filesin package.json is used. Add .gitignore.devDependencies.v9.3.1Compare Source
toPrecisionfix.v9.3.0Compare Source
export as namespaceto bignumber.d.ts.?from staticBigNumberanddefaultproperties.v9.2.1Compare Source
BigNumberas named export.v9.2.0Compare Source
BigIntargument.comparedToreturn type.Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate CLI.
Note
Medium Risk
The jump spans major bignumber.js releases (v10/v11) with stricter parsing and constructor behavior, and the library is used for balances, gas, bridge, and pay flows—regression risk is behavioral rather than from new core code in this PR.
Overview
Upgrades
bignumber.jsfrom^9.1.2to^11.1.5in eleven workspace packages (assets-controller,bridge-controller,bridge-status-controller,controller-utils,notification-services-controller,perps-controller,ramps-controller,smart-transactions-controller,subscription-controller,transaction-controller,transaction-pay-controller) and refreshesyarn.lockto resolvebignumber.js@11.1.5.Each affected package’s
[Unreleased]changelog now records the dependency bump (#10380); there are no application source changes in this diff—only manifests, changelogs, and the lockfile.Reviewed by Cursor Bugbot for commit daf55d2. Bugbot is set up for automated code reviews on this repo. Configure here.