Skip to content

fix(deps): update dependency recharts to v3.8.1#431

Open
WomB0ComB0 wants to merge 2 commits intomasterfrom
renovate/recharts-3.x
Open

fix(deps): update dependency recharts to v3.8.1#431
WomB0ComB0 wants to merge 2 commits intomasterfrom
renovate/recharts-3.x

Conversation

@WomB0ComB0
Copy link
Copy Markdown
Owner

@WomB0ComB0 WomB0ComB0 commented Apr 3, 2026

This PR contains the following updates:

Package Change Age Confidence
recharts 3.8.03.8.1 age confidence

Release Notes

recharts/recharts (recharts)

v3.8.1

Compare Source

What's Changed

Bugfixes!

New Contributors

Full Changelog: recharts/recharts@v3.8.0...v3.8.1


Configuration

📅 Schedule: (in timezone America/New_York)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@vercel
Copy link
Copy Markdown

vercel bot commented Apr 3, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
portfolio Error Error Apr 10, 2026 8:27am

@WomB0ComB0 WomB0ComB0 added the dependencies Pull requests that update a dependency file label Apr 3, 2026
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Apr 3, 2026

Warning

Rate limit exceeded

@WomB0ComB0 has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 15 minutes and 47 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 15 minutes and 47 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 57e05f0b-65ec-433a-a830-cf50c302ece5

📥 Commits

Reviewing files that changed from the base of the PR and between 3bd774b and 4611bf5.

📒 Files selected for processing (2)
  • next.config.ts
  • src/components/ui/chart.tsx
📝 Walkthrough

Walkthrough

Updates the recharts dependency in package.json from version 3.8.0 to 3.8.1, a patch version increment.

Changes

Cohort / File(s) Summary
Dependency Update
package.json
Updated recharts from 3.8.0 to 3.8.1 (patch version bump).

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related PRs

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes the main change: updating the recharts dependency from 3.8.0 to 3.8.1, which aligns with the file changes and PR objectives.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch renovate/recharts-3.x

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the recharts dependency to version 3.8.1. The review feedback highlights a potential crash in the custom chart tooltip component that should be addressed with a null check and suggests reordering the dependency list alphabetically to maintain consistency.

"@vercel/speed-insights": "^2.0.0",
"@vis.gl/react-google-maps": "^1.7.1",
"recharts": "3.8.0",
"recharts": "3.8.1",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

While updating to recharts@3.8.1 is beneficial for fixing internal tooltip crashes with sparse payloads, please note the following:

  1. Potential Crash in Custom Component: The custom ChartTooltipContent implementation in src/components/ui/chart.tsx (lines 215-216) still performs a .filter() on the payload array and accesses item.type without a null check. This custom implementation may still crash if recharts passes an array containing undefined or null entries. It is recommended to add a guard: .filter((item) => item && item.type !== 'none').
  2. Alphabetical Sorting: The recharts dependency is currently out of alphabetical order. It should be moved to follow react-resizable-panels (line 174) to maintain consistency with the rest of the dependencies list and adhere to standard package.json formatting practices, which are typically enforced by the prettier-plugin-packagejson already present in this project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant