From 1c5a6e94253eba3da636810c679270e1625434d7 Mon Sep 17 00:00:00 2001 From: Pere Miquel Brull Date: Fri, 13 Oct 2023 13:40:23 +0200 Subject: [PATCH] fix: upgrade reactflow from 11.1.1 to 11.8.3 (#13483) Snyk has created this PR to upgrade reactflow from 11.1.1 to 11.8.3. See this package in npm: See this project in Snyk: https://app.snyk.io/org/harshach/project/450b4396-0ef4-4bb2-8b7a-9c8e6ab6c41d?utm_source=github&utm_medium=referral&page=upgrade-pr Co-authored-by: snyk-bot --- .../src/main/resources/ui/package.json | 2 +- .../src/main/resources/ui/yarn.lock | 100 +++++++++++------- 2 files changed, 63 insertions(+), 39 deletions(-) diff --git a/openmetadata-ui/src/main/resources/ui/package.json b/openmetadata-ui/src/main/resources/ui/package.json index 0f626367558..7c0a7bf6ae8 100644 --- a/openmetadata-ui/src/main/resources/ui/package.json +++ b/openmetadata-ui/src/main/resources/ui/package.json @@ -96,7 +96,7 @@ "react-reflex": "^4.0.12", "react-router-dom": "^5.2.0", "react-toastify": "^8.2.0", - "reactflow": "^11.1.1", + "reactflow": "^11.8.3", "reactjs-localstorage": "^1.0.1", "recharts": "2.5.0", "showdown": "^2.1.0", diff --git a/openmetadata-ui/src/main/resources/ui/yarn.lock b/openmetadata-ui/src/main/resources/ui/yarn.lock index 2674e6cc60f..4d12376368b 100644 --- a/openmetadata-ui/src/main/resources/ui/yarn.lock +++ b/openmetadata-ui/src/main/resources/ui/yarn.lock @@ -2859,29 +2859,28 @@ resolved "https://registry.yarnpkg.com/@react-dnd/shallowequal/-/shallowequal-2.0.0.tgz#a3031eb54129f2c66b2753f8404266ec7bf67f0a" integrity sha512-Pc/AFTdwZwEKJxFJvlxrSmGe/di+aAOBn60sremrpLo6VI/6cmiUYNNwlI5KNYttg7uypzA3ILPMPgxB2GYZEg== -"@reactflow/background@11.0.2": - version "11.0.2" - resolved "https://registry.yarnpkg.com/@reactflow/background/-/background-11.0.2.tgz#e6f6ef48a3decee21b96b98cb8e25155e1aae86e" - integrity sha512-Q+f51tQprPs2EqtHyHZaInY8aS4zXXvuQrhQzkX+xonDFmcF/4WMd6Sax/OsZmIzC/reupG+rcH9uE/uyaKF6Q== +"@reactflow/background@11.3.2": + version "11.3.2" + resolved "https://registry.yarnpkg.com/@reactflow/background/-/background-11.3.2.tgz#84dcad8f79356f07a2a22c7d47af7253a8fa975c" + integrity sha512-KOy24lz9HpaBlx5KGcpQRsbMRWWkZdFyRxFq5RfPy6BnxDx0GFZ2o2igKKVutuo2bgCQdhaqzipcOUHlEAvnbQ== dependencies: - "@babel/runtime" "^7.18.9" - "@reactflow/core" "11.1.1" + "@reactflow/core" "11.9.2" classcat "^5.0.3" - zustand "^4.1.1" + zustand "^4.4.1" -"@reactflow/controls@11.0.2": - version "11.0.2" - resolved "https://registry.yarnpkg.com/@reactflow/controls/-/controls-11.0.2.tgz#de270033c512bdea0eeedc6581a7b25e3d4b9469" - integrity sha512-oS2wmQwET7n2s7vai77jUGaChmiR8A2fsSoavF4FnCyaZzD3y++fwXSqz/ccBYEdgWH7dsV3JIyIG0iqSEg80A== +"@reactflow/controls@11.2.2": + version "11.2.2" + resolved "https://registry.yarnpkg.com/@reactflow/controls/-/controls-11.2.2.tgz#b1e9f23760ea9deed1f8c28e11b6d3e00f8dd714" + integrity sha512-VuDxm9l0B4esXzRpzKRqH7Sc1Szj+KBV1bsswaOQWDbLlGKRtIZMXjdQ9BwBf+PMJD4ANrmnGEdHxFTL6NUpbg== dependencies: - "@babel/runtime" "^7.18.9" - "@reactflow/core" "11.1.1" + "@reactflow/core" "11.9.2" classcat "^5.0.3" + zustand "^4.4.1" -"@reactflow/core@11.1.1": - version "11.1.1" - resolved "https://registry.yarnpkg.com/@reactflow/core/-/core-11.1.1.tgz#9fb8f46b95de5e86460f79cc4072cd2b8c532e93" - integrity sha512-dyC2YkMOvbKIlnB/ANsvaTX0sjvC5frXSu9sZdD2JwhSY0wDIvwqx3nLYX+34urF+vpSUVDe0LHSuGPY5fvBJA== +"@reactflow/core@11.9.2": + version "11.9.2" + resolved "https://registry.yarnpkg.com/@reactflow/core/-/core-11.9.2.tgz#957f7186e591fe280736f54656be280b8954d471" + integrity sha512-/tiE8sPShzeWFnshvi8hc1lbp1C5PLgAFl94JQdBstq94uOBTpdoI//1MN4a+fGp1xwAUP7P0IcLuWqIDZgrZg== dependencies: "@types/d3" "^7.4.0" "@types/d3-drag" "^3.0.1" @@ -2891,17 +2890,40 @@ d3-drag "^3.0.0" d3-selection "^3.0.0" d3-zoom "^3.0.0" - zustand "^4.1.1" + zustand "^4.4.1" -"@reactflow/minimap@11.0.2": - version "11.0.2" - resolved "https://registry.yarnpkg.com/@reactflow/minimap/-/minimap-11.0.2.tgz#f083860db78485cbbaafc353d3bf14539f9f89ff" - integrity sha512-nS5d3i9VK/BZw4ElhN3ku0gsfWdSNuBktR2oAWOFes2EsRxAKs6yiQAS/vDE1PsqflWCWkOBKB+SqJ/1b9TXfQ== +"@reactflow/minimap@11.7.2": + version "11.7.2" + resolved "https://registry.yarnpkg.com/@reactflow/minimap/-/minimap-11.7.2.tgz#6d04761cb551eb9e2ab86f2d2f311521a641c90f" + integrity sha512-GqhJ0AoNhYf/GXI7JlWOR4THvi1nEcyo6sL6pGupJu8Ve1b8rpcTKNh4mXIerl8x0oRF8ajGvpIvh4R6rEtLoQ== dependencies: - "@babel/runtime" "^7.18.9" - "@reactflow/core" "11.1.1" + "@reactflow/core" "11.9.2" + "@types/d3-selection" "^3.0.3" + "@types/d3-zoom" "^3.0.1" classcat "^5.0.3" - zustand "^4.1.1" + d3-selection "^3.0.0" + d3-zoom "^3.0.0" + zustand "^4.4.1" + +"@reactflow/node-resizer@2.2.2": + version "2.2.2" + resolved "https://registry.yarnpkg.com/@reactflow/node-resizer/-/node-resizer-2.2.2.tgz#94fe44818cb1e739ea071b04a75fb5bd3360316b" + integrity sha512-p8fqfEtMdXVAEdAT74GVpMeIm2v2t92LObKPFvIbOaA11vmcp+jSt45y2mPD6CxP6snzEVHXigYmGZNiujDtlQ== + dependencies: + "@reactflow/core" "11.9.2" + classcat "^5.0.4" + d3-drag "^3.0.0" + d3-selection "^3.0.0" + zustand "^4.4.1" + +"@reactflow/node-toolbar@1.3.2": + version "1.3.2" + resolved "https://registry.yarnpkg.com/@reactflow/node-toolbar/-/node-toolbar-1.3.2.tgz#0424daf605eae098155fd2e8d549ab27bef18844" + integrity sha512-s8gP07HClKDidsBSrcljoK600cdVLLBK1gNK0bSVpCk3hBVKUkEGESwMf7VwpZ1oxhM3859R3pz++7lUrbmF3w== + dependencies: + "@reactflow/core" "11.9.2" + classcat "^5.0.3" + zustand "^4.4.1" "@remirror/core-constants@^2.0.2": version "2.0.2" @@ -5637,7 +5659,7 @@ class-utils@^0.3.5: isobject "^3.0.0" static-extend "^0.1.1" -classcat@^5.0.3: +classcat@^5.0.3, classcat@^5.0.4: version "5.0.4" resolved "https://registry.yarnpkg.com/classcat/-/classcat-5.0.4.tgz#e12d1dfe6df6427f260f03b80dc63571a5107ba6" integrity sha512-sbpkOw6z413p+HDGcBENe498WM9woqWHiJxCq7nvmxe9WmrUmqfAcxpIwAiMtM5Q3AhYkzXcNQHqsWq0mND51g== @@ -12653,15 +12675,17 @@ react@^16.14.0: object-assign "^4.1.1" prop-types "^15.6.2" -reactflow@^11.1.1: - version "11.1.1" - resolved "https://registry.yarnpkg.com/reactflow/-/reactflow-11.1.1.tgz#52e976aeb8a881e3b44bf4473399cf9f9b4bb7dd" - integrity sha512-UTFPHs1MXlIdLOQYMpezOZpZGCCdHBdzMxUSXzSfHT6JoRv9etJvHvDthGf5LEYyQt8kxHnkpyKDjAXdm3NGdA== +reactflow@^11.8.3: + version "11.9.2" + resolved "https://registry.yarnpkg.com/reactflow/-/reactflow-11.9.2.tgz#f0fe8d05a29b46dee250c2bc7d8ee62d7f420c21" + integrity sha512-hARhGVX9rcZhtRWsjBszDpF0EefsYhCzrRCk12CsB2oqWJZPLQD4OYh5eQygr9Yi3M/i+3+rcNyPs9IsFzU5iQ== dependencies: - "@reactflow/background" "11.0.2" - "@reactflow/controls" "11.0.2" - "@reactflow/core" "11.1.1" - "@reactflow/minimap" "11.0.2" + "@reactflow/background" "11.3.2" + "@reactflow/controls" "11.2.2" + "@reactflow/core" "11.9.2" + "@reactflow/minimap" "11.7.2" + "@reactflow/node-resizer" "2.2.2" + "@reactflow/node-toolbar" "1.3.2" reactjs-localstorage@^1.0.1: version "1.0.1" @@ -15361,9 +15385,9 @@ yocto-queue@^0.1.0: resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b" integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q== -zustand@^4.1.1: - version "4.1.2" - resolved "https://registry.yarnpkg.com/zustand/-/zustand-4.1.2.tgz#4912b24741662d8a84ed1cb52198471cb369c4b6" - integrity sha512-gcRaKchcxFPbImrBb/BKgujOhHhik9YhVpIeP87ETT7uokEe2Szu7KkuZ9ghjtD+/KKkcrRNktR2AiLXPIbKIQ== +zustand@^4.4.1: + version "4.4.3" + resolved "https://registry.yarnpkg.com/zustand/-/zustand-4.4.3.tgz#1d54cf7fa4507ad8bf58e2f13e08ddc8a6730128" + integrity sha512-oRy+X3ZazZvLfmv6viIaQmtLOMeij1noakIsK/Y47PWYhT8glfXzQ4j0YcP5i0P0qI1A4rIB//SGROGyZhx91A== dependencies: use-sync-external-store "1.2.0"