chore(deps): bump recharts from 2.12.7 to 3.10.1 - #190
Merged
Conversation
Bumps [recharts](https://github.com/recharts/recharts) from 2.12.7 to 3.10.1. - [Release notes](https://github.com/recharts/recharts/releases) - [Changelog](https://github.com/recharts/recharts/blob/main/CHANGELOG.md) - [Commits](recharts/recharts@v2.12.7...v3.10.1) --- updated-dependencies: - dependency-name: recharts dependency-version: 3.10.1 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
dependabot
Bot
force-pushed
the
dependabot/npm_and_yarn/recharts-3.10.1
branch
from
July 28, 2026 20:35
088cb74 to
cfbfb33
Compare
recharts 3's LabelFormatter no longer accepts a formatter typed to take only number - the value parameter can be string | number, so a (v: number) => ... function isn't assignable to it. Widen the parameter and keep the existing runtime numeric check.
TS confirmed the real signature: label is string | number | undefined (the previous fix only widened to string | number). The runtime typeof-number check already handles this correctly.
…LabelFormatter Each narrower guess (number -> string|number -> string|number|undefined) hit a new rejected member of recharts' actual RenderableText union one at a time. Widen to unknown, which is assignable regardless of that union's exact shape; the existing typeof-number runtime check already narrows it safely.
Same issue as the gridstack PR: merging main into this branch (to pick up #182's i18next bump) resolved package.json's recharts line back to 2.12.7 even though package-lock.json still correctly had 3.10.1 installed, which npm ci rejects as out of sync. Restore 3.10.1 to match the lockfile.
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.
Bumps recharts from 2.12.7 to 3.10.1.
Release notes
Sourced from recharts's releases.
... (truncated)
Commits
ffb91873.10.1411b6f2fix(bar): keep barGap correct when maxBarSize clamps the bar width (#2774) (#...58c321bchore(deps-dev): bump postcss from 8.5.10 to 8.5.22 (#7581)f08972bchore(deps-dev): bump the storybook group with 8 updates (#7578)89599d0chore(deps-dev): bump chromatic from 11.29.0 to 18.1.0 (#7579)3da7d87chore(deps-dev): bump typescript-eslint from 8.64.0 to 8.65.0 in the typescri...9764273chore(deps-dev): bump marked from 18.0.5 to 18.0.7 (#7577)a5d7737fix(tooltip): fall back to index-based search when label-based search returns...497e8dfchore(deps-dev): bump fast-uri from 3.1.2 to 3.1.4 (#7576)0776eb0chore(deps): bump immer from 11.1.9 to 11.1.15 (#7575)Maintainer changes
This version was pushed to npm by GitHub Actions, a new releaser for recharts since your current version.
Install script changes
This version adds
preparescript that runs during installation. Review the package contents before updating.