From e3dfb00459544a1eb5a8a29e6cb9f67bb8684fef Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Tue, 10 Sep 2024 09:59:01 +0000 Subject: [PATCH] fix: package.json & yarn.lock to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-PATHTOREGEXP-7925106 --- package.json | 2 +- yarn.lock | 16 +++++++++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 086f14866..e0d68d287 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ "react-hook-form": "^7.31.2", "react-i18next": "^11.14.3", "react-joyride": "^2.8.2", - "react-router-dom": "5.3.x", + "react-router-dom": "6.0.0", "react-router-dom-v5-compat": "^6.22.0", "react-tagsinput": "^3.19.0", "react-use-websocket": "^4.3.1", diff --git a/yarn.lock b/yarn.lock index e7924a4a2..ddb64c556 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4707,7 +4707,7 @@ history@^4.9.0: tiny-warning "^1.0.0" value-equal "^1.0.1" -history@^5.0.0, history@^5.3.0: +history@^5.0.0, history@^5.0.3, history@^5.3.0: version "5.3.0" resolved "https://registry.yarnpkg.com/history/-/history-5.3.0.tgz#1548abaa245ba47992f063a0783db91ef201c73b" integrity sha512-ZqaKwjjrAYUYfLG+htGaIIZ4nioX2L70ZUMIFysS3xvBsSG4x/n1V6TXV3N8ZYNuFGlDirFg32T7B6WOUPDYcQ== @@ -7280,6 +7280,13 @@ react-router-dom@5.3.x: tiny-invariant "^1.0.2" tiny-warning "^1.0.0" +react-router-dom@6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/react-router-dom/-/react-router-dom-6.0.0.tgz#8a55a9ab3cc12f7eb06472f6c8001515af651c6a" + integrity sha512-bPXyYipf0zu6K7mHSEmNO5YqLKq2q9N+Dsahw9Xh3oq1IirsI3vbnIYcVWin6A0zWyHmKhMGoV7Gr0j0kcuVFg== + dependencies: + react-router "6.0.0" + react-router@5.3.4, react-router@5.3.x: version "5.3.4" resolved "https://registry.yarnpkg.com/react-router/-/react-router-5.3.4.tgz#8ca252d70fcc37841e31473c7a151cf777887bb5" @@ -7295,6 +7302,13 @@ react-router@5.3.4, react-router@5.3.x: tiny-invariant "^1.0.2" tiny-warning "^1.0.0" +react-router@6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/react-router/-/react-router-6.0.0.tgz#a8803ac7b612c2a2d31cc466ceda656cf31fdfb9" + integrity sha512-FcTRCihYZvERMNbG54D9+Wkv2cj/OtoxNlA/87D7vxKYlmSmbF9J9XChI9Is44j/behEiOhbovgVZBhKQn+wgA== + dependencies: + history "^5.0.3" + react-router@6.15.0: version "6.15.0" resolved "https://registry.yarnpkg.com/react-router/-/react-router-6.15.0.tgz#bf2cb5a4a7ed57f074d4ea88db0d95033f39cac8"