This PR was automatically created by Snyk using the credentials of a real user.
Snyk has created this PR to upgrade reactflow from 11.9.4 to 11.10.1.
:information_source: 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 **2 versions** ahead of your current version.
- The recommended version was released **24 days ago**, on 2023-11-10.
Release notes Package name: reactflow
from reactflow GitHub release notes
**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](https://app.snyk.io/org/ulimo/project/b461d3ea-3e00-4830-b20d-d7973a045a73?utm_source=github&utm_medium=referral&page=upgrade-pr)
🛠 [Adjust upgrade PR settings](https://app.snyk.io/org/ulimo/project/b461d3ea-3e00-4830-b20d-d7973a045a73/settings/integration?utm_source=github&utm_medium=referral&page=upgrade-pr)
🔕 [Ignore this dependency or unsubscribe from future upgrade PRs](https://app.snyk.io/org/ulimo/project/b461d3ea-3e00-4830-b20d-d7973a045a73/settings/integration?pkg=reactflow&utm_source=github&utm_medium=referral&page=upgrade-pr#auto-dep-upgrades)
This PR was automatically created by Snyk using the credentials of a real user.
Snyk has created this PR to upgrade reactflow from 11.9.4 to 11.10.1.
:information_source: 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 **2 versions** ahead of your current version. - The recommended version was released **24 days ago**, on 2023-11-10.
Release notes
Package name: reactflow
Patch Changes
Just a tiny fix for Typescript users who want to use the new
screenToFlowPosition
andflowToScreenPosition
function ofuseReactFlow
.e71dec26
- fix(react-flow-instance): add screenToFlow and flowToScreen typese71dec26
]:Upcoming v12
We want to make the migration for v12 as smooth as possible. That's why we added deprecation warnings for the following util functions:
Deprecations / Renamings
Rename
useReactFlow.project
touseReactFlow.screenToFlowPosition
before:
after:
Rename
getTransformForBounds
togetViewportForBounds
{ x: number, y: number, zoom: number }
instead of[number, number, number]
.before:
after:
Rename
getRectOfNodes
togetNodesBounds
no changes, just a renaming.
New features
useReactFlow.flowToScreenPosition
Minor Changes
a114c75b
Thanks - chore(utils): add renamed functions and deprecations, adduseReactFlow.flowToScreenPosition
Patch Changes
746fa4a0
Thanks @ Nick-Lucas! - fix(intersection-helpers): use nodeRect instead of nodeOrRect291db12f
- fix(panOnScroll): respect zoomActivationKeyPressed when hovering a nodee1d3d594
Thanks @ juspy! - fix(useOnSelectionChange): multiple handlersddc40528
Thanks @ bcakmakoglu! - refactor(pan-activation): allow panning by scroll when pan activation key is pressede4c25caf
- refactor(handles): snap to handle center when above handlea114c75b
,746fa4a0
,291db12f
,e1d3d594
,ddc40528
,e4c25caf
]:**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](https://app.snyk.io/org/ulimo/project/b461d3ea-3e00-4830-b20d-d7973a045a73?utm_source=github&utm_medium=referral&page=upgrade-pr) 🛠 [Adjust upgrade PR settings](https://app.snyk.io/org/ulimo/project/b461d3ea-3e00-4830-b20d-d7973a045a73/settings/integration?utm_source=github&utm_medium=referral&page=upgrade-pr) 🔕 [Ignore this dependency or unsubscribe from future upgrade PRs](https://app.snyk.io/org/ulimo/project/b461d3ea-3e00-4830-b20d-d7973a045a73/settings/integration?pkg=reactflow&utm_source=github&utm_medium=referral&page=upgrade-pr#auto-dep-upgrades)