[Snyk] Upgrade recharts from 2.3.2 to 2.12.6 #530
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 was automatically created by Snyk using the credentials of a real user.
![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)
Snyk has created this PR to upgrade recharts from 2.3.2 to 2.12.6.
ℹ️ 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 31 versions ahead of your current version.
The recommended version was released on a month ago.
Release notes
Package name: recharts
What's Changed
Fix
Tooltip
: fix glitch where Tooltip always rendered in the top left even if animation was disabled by @ HHongSeungWoo in #4425 fixes #4424Chore
CI/Build fix
: Added proper.js
suffixes to main module and jsnext:main paths in package.json by @ dobosalparbc in #4431 fixes #2858Full Changelog: v2.12.5...v2.12.6
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
What's Changed
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
Some more small changes/fixes while working on 3.x
What's Changed
Fix
Legend
: fix issue where Legend was not taken into account when scaling the chart container by @ zhonglin94 in #4272 closes #4246Area
: fixed a bug where className was not assigned to areaDot by @ 108yen in #4294 closes #4290RadialBar
: address regression where radial bar and its background were off from eachother because of rounding by @ ckifer in #4295 closes #4264ErrorBar
: do not countnull
as 0 in error bar domain by @ rinkstiekema in #4297New Contributors
Full Changelog: v2.12.2...v2.12.3
What's Changed
Some more small fixes while working on 3.x
Fix
Pie
: pie label keys are not unique when data is 0 by @ ckifer in #4224ResponsiveContainer
: Remove incorrectly timed console.warn call, only log when using soon-to-be deprecated feature by @ HHongSeungWoo in #4249Full Changelog: v2.12.1...v2.12.2
What's Changed
Unintentional regression broke panoramic/compact Brush in 2.11.0 and 2.12.0, backport the fix to 2.x as we work on 3.x
Fix
Full Changelog: v2.12.0...v2.12.1
What's Changed
Bug fixes and a few small new features.
Releasing 2.12.0 to create a "clean slate" as contributors are discussing next moves for recharts.
We will try to focus on upgrades, architectural changes, and long-pending breaking changes so we can release a recharts v3. This will not be a large major version, or one hard to upgrade to, but rather a major version bump to prevent us from breaking people with library upgrades, large refactors, etc. Feature parity should hold. Thanks!
Features
Bar
: Accept a callback function forminPointSize
so it can be determined by data by @ ckifer in #4099 closes #2819Accessibility
: Enable screen reader support with accessibilityLayer and default tooltip by @ julianna-langston in #4077Fix
Bar
:activeBar
should not be true by default, fixes a breaking change from 2.9.0 by @ ckifer in #4139 - fixes #4103 and #4101Scatter
: fix non-unique key errors by @ imagineLife in #4087 - fixes #4151 and #4060Pie
: fix non-unique key errors by @ imagineLife in #4106Tooltip
: fix bug that caused throttled tooltip to stay active when moving mouse quickly by @ HHongSeungWoo in #4100 fixes #4093Chore
translateStyle
, remove prop-types as a peerDepStorybook
New Contributors
Full Changelog: v2.11...v2.12.0
What's Changed
Fix some older bugs annoying bugs, TS typings, update to the storybook theme, and more
Fix
ResponsiveContainer
: fixref.current.current
without breaking users using current implementation by @ HHongSeungWoo in #4008 - closes #3718Brush
: Allow Brush to be controlled with start and end index via state by @ ckifer in #4034 - closes #2404Legend
: TypeScript - Add the dataKey type to legend props by @ HHongSeungWoo in #4035 - closes #2909Pie
: TypeScript - addedpayload
toPieSectorDataItem
type by @ PavelVanecek in #4030Pie
: unique sector keys fix by @ imagineLife in #4009 closes #3273RadialBar
: allow className to be passed to Radial Bar background by @ ckifer in #4027 - closes #4011Storybook
New Contributors
Full Changelog: v2.10.3...v2.10.4
What's Changed
key
bug(s) by @ imagineLife in #4006 - closes #4004New Contributors
Full Changelog: v2.10.2...v2.10.3
Important
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: