From 69aadf8c80bf78255e37427505d239ea42d266db Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 11 Sep 2024 05:43:23 +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 | 2 +- ui/yarn.lock | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/ui/package.json b/ui/package.json index 4d0f85f32ff1..704afe34451b 100644 --- a/ui/package.json +++ b/ui/package.json @@ -32,7 +32,7 @@ "react-dom": "^16.8.3", "react-moment": "^1.0.0", "react-monaco-editor": "^0.36.0", - "react-router-dom": "^4.2.2", + "react-router-dom": "^6.0.0", "superagent": "^3.8.2", "superagent-promise": "^1.1.0", "swagger-ui-react": "^3.29.0" diff --git a/ui/yarn.lock b/ui/yarn.lock index 5bec2679668d..ba749343c0e8 100644 --- a/ui/yarn.lock +++ b/ui/yarn.lock @@ -1092,6 +1092,11 @@ "@nodelib/fs.scandir" "2.1.3" fastq "^1.6.0" +"@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== + "@sinonjs/commons@^1.7.0": version "1.8.1" resolved "https://registry.yarnpkg.com/@sinonjs/commons/-/commons-1.8.1.tgz#e7df00f98a203324f6dc7cc606cad9d4a8ab2217" @@ -7702,6 +7707,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: + 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"