From 2a66ee7172629c5628d590d55aac05787d851d74 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 11 Sep 2024 04:37:01 +0000 Subject: [PATCH] fix: ui/package.json & ui/yarn.lock to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-PATHTOREGEXP-7925106 --- ui/package.json | 4 ++-- ui/yarn.lock | 20 ++++++++++++++++++++ 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/ui/package.json b/ui/package.json index 422681f45aac8..6686ae2d223db 100644 --- a/ui/package.json +++ b/ui/package.json @@ -58,8 +58,8 @@ "react-hot-loader": "^3.1.3", "react-moment": "^0.9.2", "react-paginate": "^6.2.1", - "react-router": "^4.3.1", - "react-router-dom": "^4.2.2", + "react-router": "^6.0.0", + "react-router-dom": "^6.0.0", "react-svg-piechart": "^2.1.1", "redoc": "^2.0.0-rc.40", "sass-loader": "^6.0.6", diff --git a/ui/yarn.lock b/ui/yarn.lock index 1bf07852ad9e8..ea2673780478f 100644 --- a/ui/yarn.lock +++ b/ui/yarn.lock @@ -982,6 +982,11 @@ resolved "https://registry.yarnpkg.com/@redocly/react-dropdown-aria/-/react-dropdown-aria-2.0.12.tgz#2e3af2b1b8e9123487109400d6117f0d4a8445a6" integrity sha512-feQEZlyBvQsbT/fvpJ4jJ5OLGaUPpnskHYDsY8DGpPymN+HUeDQrqkBEbbKRwMKidFTI2cxk2kJNNTnvdS9jyw== +"@remix-run/router@1.19.2": + version "1.19.2" + resolved "https://registry.yarnpkg.com/@remix-run/router/-/router-1.19.2.tgz#0c896535473291cb41f152c180bedd5680a3b273" + integrity sha512-baiMx18+IMuD1yyvOGaHM9QrVUPGGG0jC+z+IPHnRJWUAUvaKuWKyE8gjDj2rzv3sz9zOGoRSPgeBVHRhZnBlA== + "@tippy.js/react@^2.1.2": version "2.2.3" resolved "https://registry.yarnpkg.com/@tippy.js/react/-/react-2.2.3.tgz#2ffb0af6693055be7db4b329b2d3cc7f2356f68e" @@ -7356,6 +7361,21 @@ react-router-dom@^4.2.2: react-router "^4.3.1" warning "^4.0.1" +react-router-dom@^6.0.0: + version "6.26.2" + resolved "https://registry.yarnpkg.com/react-router-dom/-/react-router-dom-6.26.2.tgz#a6e3b0cbd6bfd508e42b9342099d015a0ac59680" + integrity sha512-z7YkaEW0Dy35T3/QKPYB1LjMK2R1fxnHO8kWpUMTBdfVzZrWOiY9a7CtN8HqdWtDUWd5FY6Dl8HFsqVwH4uOtQ== + dependencies: + "@remix-run/router" "1.19.2" + react-router "6.26.2" + +react-router@6.26.2, react-router@^6.0.0: + version "6.26.2" + resolved "https://registry.yarnpkg.com/react-router/-/react-router-6.26.2.tgz#2f0a68999168954431cdc29dd36cec3b6fa44a7e" + integrity sha512-tvN1iuT03kHgOFnLPfLJ8V95eijteveqdOSk+srqfePtQvqCExB8eHOYnlilbOcyJyKnYkr1vJvf7YqotAJu1A== + dependencies: + "@remix-run/router" "1.19.2" + react-router@^4.3.1: version "4.3.1" resolved "https://registry.yarnpkg.com/react-router/-/react-router-4.3.1.tgz#aada4aef14c809cb2e686b05cee4742234506c4e"