-
Notifications
You must be signed in to change notification settings - Fork 4
fix(deps): update dependency react-svg-pan-zoom to v3.13.1 #110
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
Draft
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/react-svg-pan-zoom-3.x
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
π§© Analysis chain
π Script executed:
Repository: deepnote/vscode-deepnote
Length of output: 100
π Script executed:
Repository: deepnote/vscode-deepnote
Length of output: 262
π Script executed:
Repository: deepnote/vscode-deepnote
Length of output: 95
π Web query:
react-svg-pan-zoom 3.10 React version requirement compatibilityπ‘ Result:
react-svg-pan-zoom v3.10 migrated the library to React 17 β so v3.10 expects React 17 (and may not be fully compatible with older React 16 installs). [1][2]
Sources:
π Script executed:
Repository: deepnote/vscode-deepnote
Length of output: 102
π Web query:
react-svg-pan-zoom 3.13.1 React version requirementπ‘ Result:
react-svg-pan-zoom v3.13.1 is compatible with React 17 (the v3.x line migrated to React 17 at v3.10), and the packageβs peer dependency has historically been "react": ">=16.0.0". [1][2]
Sources:
References:
[1] GitHub repo changelog/README for react-svg-pan-zoom.
[2] react-svg-pan-zoom package.json metadata (example: v3.2.0 listing peerDependencies).
π Script executed:
Repository: deepnote/vscode-deepnote
Length of output: 241
π Web query:
react-svg-pan-zoom v3.13 React 16 compatibility issues known problemsπ‘ Result:
Short answer β yes, there are known compatibility pain points when using react-svg-pan-zoom 3.x with older React (16):
import { UncontrolledReactSVGPanZoom } from 'react-svg-pan-zoom/build-es'. (stackoverflow.com)
If you need, tell me your exact react-svg-pan-zoom version and React 16.x patch (16.8/16.13/etc.) and Iβll give concrete fixes or a minimal patch (imports, polyfills, or pinning a 2.x release).
Citations:
CRITICAL: React 16 compatibility issues with react-svg-pan-zoom v3.13.1.
Upgrading from 3.9.0 to 3.13.1 introduces real compatibility problems with React 16.5.2. The library migrated to React 17 at v3.10, and v3.13.1 removed deprecated features (defaultProps, upgraded deps) that create subtle incompatibilities on React 16. Known issues include UMD bundle failures and breaking changes that will affect
svgViewer.tsx,toolbar.tsx, andmainPanel.tsx.Resolution options:
'react-svg-pan-zoom/build-es'Verify the chosen path and test affected components before merging.
π€ Prompt for AI Agents