Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Upgrade recharts from 2.12.1 to 2.12.6 #286

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

lryanle
Copy link
Owner

@lryanle lryanle commented May 13, 2024

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.1 to 2.12.6.

As this is a private repository, Snyk-bot does not have access. Therefore, this PR has been created automatically, but appears to have been created by a real user.

✨ Snyk has automatically assigned this pull request, set who gets assigned.

ℹ️ 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 5 versions ahead of your current version.
  • The recommended version was released 22 days ago, on 2024-04-21.
Release notes
Package name: recharts
  • 2.12.6 - 2024-04-21

    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 #4424

    Chore

    • CI/Build fix: Added proper .js suffixes to main module and jsnext:main paths in package.json by @ dobosalparbc in #4431 fixes #2858

    Full Changelog: v2.12.5...v2.12.6

  • 2.12.5 - 2024-04-12

    Small fixes while working on v3 continued...

    What's Changed

    Feat

    • BarChart: support percentage (of chart) for barSize. Helps set size of bar when there are few datapoints Fixes #3640 by @ graup in #4407

    Fix

    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 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

    Full Changelog: v2.12.4...v2.12.5

  • 2.12.4 - 2024-04-04

    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 #4384
    • X/YAxis: fix incorrect padding calculation when there is 1 datapoint or less by @ graup in #4314 closes #4313

    className fixes - helps slowly address #2169:

    • Tooltip: allow custom className on cursor by @ 108yen in #4306
    • RadarChart/RadialBarChart: allow custom className on PolarRadiusAxis, PolarAngleAxis, and Radar dot by @ 108yen in #4335
    • Pie: allow custom className on label and labelLine of Pie by @ 108yen in #4381

    Full Changelog: v2.12.3...v2.12.4

  • 2.12.3 - 2024-03-15

    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 #4246
    • Area: fixed a bug where className was not assigned to areaDot by @ 108yen in #4294 closes #4290
    • RadialBar: address regression where radial bar and its background were off from eachother because of rounding by @ ckifer in #4295 closes #4264
    • ErrorBar: do not count null as 0 in error bar domain by @ rinkstiekema in #4297

    New Contributors

    Full Changelog: v2.12.2...v2.12.3

  • 2.12.2 - 2024-03-01

    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 #4224
    • ResponsiveContainer: Remove incorrectly timed console.warn call, only log when using soon-to-be deprecated feature by @ HHongSeungWoo in #4249

    Full Changelog: v2.12.1...v2.12.2

  • 2.12.1 - 2024-02-20

    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

    • fix: compact render should read from context, fixes brush panorama by @ ckifer in #4194 fixes #4193

    Full Changelog: v2.12.0...v2.12.1

from recharts GitHub release notes
Commit messages
Package name: recharts
  • 22064ed 2.12.6
  • 504518d Added js suffix to main module and jsnext:main paths in package json (#4431)
  • a705024 fix: The box size of the Tooltip is 0 at the first rendering of TooltipBoundingBox (#4425)
  • bdad6ec 2.12.5
  • ed95633 fix(layer-types): use SVGAttributes instead of SVGProps in forwardRef components, fix Pie refs (#4413)
  • 3d2e8b9 feat(BarChart): support percentage for barSize. Fixes #3640 (#4407)
  • 981eb8f 2.12.4
  • db1e020 Remove role attribute from recharts-wrapper (#4386)
  • 25c8bbd feat(pie-chart): apply `className` to the `label` and `labelLine` (#4381)
  • 76bbdcb feat(radar-chart): apply `className` to the `RadarChart` component (#4335)
  • e9228d4 Fix axis padding calculation for 0 or 1 data point. Fixes #4313 (#4314)
  • 73255e8 assign custom className to cursor (#4306)
  • 530af25 2.12.3
  • 37b4df1 Error bar domain ignore null (#4297)
  • 73974dd fix: radial bar chart cx cy parsing (#4295)
  • d44f25e fix(Area): fixed a bug where className was not assigned to areaDot (#4294)
  • 9215b75 Fix legend size (#4272)
  • 912c788 2.12.2
  • 7bfd1fc fix: Remove incorrectly timed console.warn call (#4249)
  • 1e7ff20 fix: pie label keys are not unique (#4224)

Compare


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

👩‍💻 Set who automatically gets assigned

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

@lryanle lryanle self-assigned this May 13, 2024
Copy link

vercel bot commented May 13, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
seniordesign ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 13, 2024 4:48am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants