Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Oct 23, 2025

This PR contains the following updates:

Package Change Age Confidence
react-svg-pan-zoom (source) 3.9.0 -> 3.13.1 age confidence

Release Notes

chrvadala/react-svg-pan-zoom (react-svg-pan-zoom)

v3.13.1

Compare Source

react-svg-pan-zoom - 👀 A React component that adds pan and zoom features to SVG

v3.13.0

Compare Source

react-svg-pan-zoom - 👀 A React component that adds pan and zoom features to SVG

v3.12.1

Compare Source

react-svg-pan-zoom - 👀 A React component that adds pan and zoom features to SVG

v3.12.0

Compare Source

react-svg-pan-zoom - 👀 A React component that adds pan and zoom features to SVG

v3.11.0: Release 3.11.0

Compare Source

Release 3.11.0

v3.10.0: Release 3.10.0

Compare Source

Release 3.10.0


Configuration

📅 Schedule: 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 is behind base branch, 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 was generated by Mend Renovate. View the repository job log.

Summary by CodeRabbit

  • Chores
    • Updated library dependencies to latest compatible versions for improved stability and compatibility.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Oct 23, 2025

Warning

Rate limit exceeded

@renovate[bot] has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 11 minutes and 46 seconds before requesting another review.

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

📥 Commits

Reviewing files that changed from the base of the PR and between 7058c31 and 1a8e102.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (1)
  • package.json (1 hunks)
📝 Walkthrough

Walkthrough

Dependency update to package.json. The react-svg-pan-zoom library is upgraded from version 3.9.0 to 3.13.1. This encompasses multiple minor version increments and patch fixes within the package.

Suggested reviewers

  • saltenasl
  • Artmann
  • jamesbhobbs

Pre-merge checks

❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. You can run @coderabbitai generate docstrings to improve docstring coverage.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title Check ✅ Passed The title "fix(deps): update dependency react-svg-pan-zoom to v3.13.1" directly and accurately describes the primary change: a dependency version update in package.json from 3.9.0 to 3.13.1. The title is specific about which package was updated and the target version, follows conventional commit format, and is concise enough for quick scanning.

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

@codecov
Copy link

codecov bot commented Oct 23, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 73%. Comparing base (b817a89) to head (1a8e102).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@          Coverage Diff          @@
##            main    #110   +/-   ##
=====================================
  Coverage     73%     73%           
=====================================
  Files        577     577           
  Lines      47663   47663           
  Branches    5597    5597           
=====================================
  Hits       34939   34939           
  Misses     10887   10887           
  Partials    1837    1837           
🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@renovate renovate bot force-pushed the renovate/react-svg-pan-zoom-3.x branch 3 times, most recently from c0cc58c to 6daee7b Compare October 23, 2025 12:18
@jamesbhobbs jamesbhobbs marked this pull request as draft October 23, 2025 12:36
@renovate renovate bot force-pushed the renovate/react-svg-pan-zoom-3.x branch 7 times, most recently from a51c4c9 to 7058c31 Compare October 27, 2025 16:47
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

📜 Review details

Configuration used: CodeRabbit UI

Review profile: ASSERTIVE

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between fd0882a and 7058c31.

📒 Files selected for processing (1)
  • package.json (1 hunks)

"react-error-boundary": "^6.0.0",
"react-redux": "^7.1.1",
"react-svg-pan-zoom": "3.9.0",
"react-svg-pan-zoom": "3.13.1",
Copy link
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

⚠️ React version compatibility issue: verify project uses React 17+ before merging.

The library upgraded to React 17 in v3.10, but the project specifies React ^16.5.2 (line 2215). This dependency spans 3.9.0 → 3.13.1, which likely breaks compatibility. Additionally, v3.13 removed deprecated defaultProps—confirm no impact on usage.

Run tests and verify React version before merge.


🏁 Script executed:

#!/bin/bash
# Find where react-svg-pan-zoom is actually used in the codebase
fd -e ts -e tsx -e js -e jsx -exec grep -l "react-svg-pan-zoom\|ReactSVGPanZoom" {} \;

# Check for any props usage patterns
rg -A 3 -B 3 "from.*react-svg-pan-zoom|import.*ReactSVGPanZoom" --type ts --type tsx

Length of output: 247


🏁 Script executed:

#!/bin/bash
# Search for react-svg-pan-zoom imports and usage
rg "react-svg-pan-zoom|ReactSVGPanZoom" --type ts -A 2 -B 2

# Check React version in package.json
rg '"react":' package.json

Length of output: 4252


🌐 Web query:

react-svg-pan-zoom 3.10 React version requirement

💡 Result:

react-svg-pan-zoom v3.10 migrated the library to React 17 (i.e., requires React 17). [1][2]

Sources:

  1. npm package changelog (react-svg-pan-zoom) — notes for v3.10: "Migrates to React 17...". [npm]. [1]
  2. Libraries.io / package changelog — v3.10: "Migrates to React 17 and Storybook 6...". [2]

⚠️ CRITICAL: React 17 requirement breaks compatibility with project's React 16.5.2

react-svg-pan-zoom v3.10 requires React 17, but the project uses React ^16.5.2. The upgrade to 3.13.1 will break svgViewer.tsx, toolbar.tsx, and mainPanel.tsx which actively depend on this library.

Either downgrade to 3.9.x, upgrade React to 17+, or reject this PR.

🤖 Prompt for AI Agents
In package.json around line 2220, the bump of react-svg-pan-zoom to 3.13.1
introduces a React 17 requirement that breaks our codebase which uses React
^16.5.2; revert this change by pinning react-svg-pan-zoom to a 3.9.x release (or
other 3.10-compatible 16.x-safe version) or alternatively upgrade the project
React/deps to 17+ and update any typings/usages accordingly; after changing
package.json, run a fresh install, run unit/CI tests and verify svgViewer.tsx,
toolbar.tsx and mainPanel.tsx compile and behave (or update them for React 17)
before merging.

@renovate renovate bot force-pushed the renovate/react-svg-pan-zoom-3.x branch 12 times, most recently from 6cfd3ca to ab4c27e Compare October 30, 2025 13:31
@renovate renovate bot force-pushed the renovate/react-svg-pan-zoom-3.x branch 28 times, most recently from 650f012 to 598b560 Compare November 6, 2025 09:22
@renovate renovate bot force-pushed the renovate/react-svg-pan-zoom-3.x branch from 598b560 to 1a8e102 Compare November 6, 2025 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant