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.13.0-alpha.5 to 2.13.0 #7

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

Conversation

dn54321
Copy link
Owner

@dn54321 dn54321 commented Nov 4, 2024

snyk-top-banner

Snyk has created this PR to upgrade recharts from 2.13.0-alpha.5 to 2.13.0.

ℹ️ 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 on 24 days ago.

Release notes
Package name: recharts
  • 2.13.0 - 2024-10-10

    What's Changed

    React 19 compat, fix annoying defaultProps warnings, bug fixes

    Feat

    • React 19 compatibility - see #4558

      • peerDependencies still cannot be updated until 3.0 release, but for now R19 beta/RC releases can be used with Recharts under the following conditions:
        • Your react-is version matches your react and react-dom versions: use your package manager's override functionality to match your react-is version to your react version or else recharts elements will not show - see #4558 (comment)
    • CartesianGrid: add support for ry prop to curve the corner of the grid background - progress on #3062

    Fix

    • General: Fix defaultProps usage in function components, removes warnings on all affected components - see #3615
    • ReferenceLine: fix accidental removal of type annotation by @ zackliscio in #4610
    • Line/Area: fix issue where clipDot would not take effect if it was the only property in dotProps @ ckifer in #4674
    • Tooltip: fix issue where tooltip would not show in certain cases if data was set on the graphical item by @ HHongSeungWoo in #4718
    • X/YAxis: use correct, adapted event types by @ ckifer in #4967
    • Tooltip: defaultIndex out of range error by @ ckifer in #5054
    • Pie: fix duplicate key error @ ckifer in #4958
    • Text: fix duplicate key error by @ ckifer in #5088 closes #5072

    Typescript

    • JSDoc comments will now be preserved in TypeScript definitions by @ mxdvl in #5071

    New Contributors

    Full Changelog: v2.12.7...v2.13.0

  • 2.13.0-alpha.5 - 2024-09-05

    What's Changed

    Some non-breaking bug fixes that need more testing with React 19. Fixes JSX type issue for React 19 when using @ types/react@19

    Fix

    • Line/Area: clipDot setting fails to take effect if set as the only DotProp by @ ckifer in #4674 fixes #4671
    • Tooltip: Tooltip now renders correctly when data is set on the graphical item rather than the higher level chart by @ HHongSeungWoo in #4718 fixes #4717
    • Pie: fix duplicate key issue when "key" exists in chart data (try not use "key" as a data point) by @ ckifer in #4958 fixes #4858

    TypeScript

    Full Changelog: v2.13.0-alpha.4...v2.13.0-alpha.5

from recharts GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

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:

Snyk has created this PR to upgrade recharts from 2.13.0-alpha.5 to 2.13.0.

See this package in npm:
recharts

See this project in Snyk:
https://app.snyk.io/org/dn54321/project/97852e60-0225-4b12-88e8-4497d5e4b55f?utm_source=github&utm_medium=referral&page=upgrade-pr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants