This PR was automatically created by Snyk using the credentials of a real user.
Snyk has created this PR to upgrade recharts from 2.12.4 to 2.12.5.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
- The recommended version is **1 version** ahead of your current version.
- The recommended version was released **21 days ago**, on 2024-04-12.
Release notes Package name: recharts
A recent release of @ types/react broke some builds because they removed certain (unused) events from common event handler attributes. recharts was unknowingly enumerating keys of SVGProps in the Layer component with the old types and causing a type error on tsc with skipLibCheck: false
typescript - Layer: use SVGAttributes instead of SVGProps in forwardRef components by @ ckifer in #4413
typescript - Pie: fix Pie ref which was cast to HTMLElement when the ref is actually referring to SVGGElement. This gave false information to whoever is using ref on the Pie component
Accessibility: remove role attribute from recharts-wrapper which caused an accessibility violation with > 1 chart on the same page by @ julianna-langston in #4386, fixes #4384
X/YAxis: fix incorrect padding calculation when there is 1 datapoint or less by @ graup in #4314 closes #4313
This PR was automatically created by Snyk using the credentials of a real user.
Snyk has created this PR to upgrade recharts from 2.12.4 to 2.12.5.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.- The recommended version is **1 version** ahead of your current version. - The recommended version was released **21 days ago**, on 2024-04-12.
Release notes
Package name: recharts
Small fixes while working on v3 continued...
What's Changed
Feat
BarChart
: support percentage (of chart) forbarSize
. Helps set size of bar when there are few datapoints Fixes #3640 by @ graup in #4407Fix
Address #4382
A recent release of
@ types/react
broke some builds because they removed certain (unused) events from common event handler attributes.recharts
was unknowingly enumerating keys ofSVGProps
in theLayer
component with the old types and causing a type error ontsc
withskipLibCheck: false
typescript - Layer
: useSVGAttributes
instead ofSVGProps
in forwardRef components by @ ckifer in #4413typescript - Pie
: fix Pieref
which was cast toHTMLElement
when theref
is actually referring toSVGGElement
. This gave false information to whoever is usingref
on thePie
componentFull Changelog: v2.12.4...v2.12.5
Small fixes while working on v3 continued...
Fix
Accessibility
: remove role attribute from recharts-wrapper which caused an accessibility violation with > 1 chart on the same page by @ julianna-langston in #4386, fixes #4384X/YAxis
: fix incorrect padding calculation when there is 1 datapoint or less by @ graup in #4314 closes #4313className
fixes - helps slowly address #2169:Tooltip
: allow customclassName
oncursor
by @ 108yen in #4306RadarChart/RadialBarChart
: allow customclassName
onPolarRadiusAxis
,PolarAngleAxis
, andRadar
dot by @ 108yen in #4335Pie
: allow customclassName
onlabel
andlabelLine
ofPie
by @ 108yen in #4381Full Changelog: v2.12.3...v2.12.4
Commit messages
Package name: recharts
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs