From fc74e63081ea26cef91d588530b883fdaaa8bda2 Mon Sep 17 00:00:00 2001 From: "snyk-io[bot]" <141718529+snyk-io[bot]@users.noreply.github.com> Date: Wed, 17 Jul 2024 01:17:36 +0000 Subject: [PATCH] fix: upgrade react-router from 6.22.3 to 6.24.0 Snyk has created this PR to upgrade react-router from 6.22.3 to 6.24.0. See this package in npm: react-router See this project in Snyk: https://app.snyk.io/org/oph-snyk/project/28ec1b50-21a1-407f-afba-c2c2b9af02fa?utm_source=github-cloud-app&utm_medium=referral&page=upgrade-pr --- package-lock.json | 60 ++++++++++++++++++++++++++++++++++++++++------- package.json | 2 +- 2 files changed, 52 insertions(+), 10 deletions(-) diff --git a/package-lock.json b/package-lock.json index 7e6f5460..faa9060f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -53,7 +53,7 @@ "react-intl": "^6.6.2", "react-modal": "^3.16.1", "react-responsive": "^8.2.0", - "react-router": "^6.22.3", + "react-router": "^6.24.0", "react-router-dom": "^6.22.3", "react-swipeable-views": "^0.14.0", "react-table": "^7.8.0", @@ -17872,11 +17872,12 @@ } }, "node_modules/react-router": { - "version": "6.22.3", - "resolved": "https://registry.npmjs.org/react-router/-/react-router-6.22.3.tgz", - "integrity": "sha512-dr2eb3Mj5zK2YISHK++foM9w4eBnO23eKnZEDs7c880P6oKbrjz/Svg9+nxqtHQK+oMW4OtjZca0RqPglXxguQ==", + "version": "6.24.0", + "resolved": "https://registry.npmjs.org/react-router/-/react-router-6.24.0.tgz", + "integrity": "sha512-sQrgJ5bXk7vbcC4BxQxeNa5UmboFm35we1AFK0VvQaz9g0LzxEIuLOhHIoZ8rnu9BO21ishGeL9no1WB76W/eg==", + "license": "MIT", "dependencies": { - "@remix-run/router": "1.15.3" + "@remix-run/router": "1.17.0" }, "engines": { "node": ">=14.0.0" @@ -17901,6 +17902,30 @@ "react-dom": ">=16.8" } }, + "node_modules/react-router-dom/node_modules/react-router": { + "version": "6.22.3", + "resolved": "https://registry.npmjs.org/react-router/-/react-router-6.22.3.tgz", + "integrity": "sha512-dr2eb3Mj5zK2YISHK++foM9w4eBnO23eKnZEDs7c880P6oKbrjz/Svg9+nxqtHQK+oMW4OtjZca0RqPglXxguQ==", + "license": "MIT", + "dependencies": { + "@remix-run/router": "1.15.3" + }, + "engines": { + "node": ">=14.0.0" + }, + "peerDependencies": { + "react": ">=16.8" + } + }, + "node_modules/react-router/node_modules/@remix-run/router": { + "version": "1.17.0", + "resolved": "https://registry.npmjs.org/@remix-run/router/-/router-1.17.0.tgz", + "integrity": "sha512-2D6XaHEVvkCn682XBnipbJjgZUU7xjLtA4dGJRBVUKpEaDYOZMENZoZjAOSb7qirxt5RupjzZxz4fK2FO+EFPw==", + "license": "MIT", + "engines": { + "node": ">=14.0.0" + } + }, "node_modules/react-select": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/react-select/-/react-select-4.3.0.tgz", @@ -35970,11 +35995,18 @@ } }, "react-router": { - "version": "6.22.3", - "resolved": "https://registry.npmjs.org/react-router/-/react-router-6.22.3.tgz", - "integrity": "sha512-dr2eb3Mj5zK2YISHK++foM9w4eBnO23eKnZEDs7c880P6oKbrjz/Svg9+nxqtHQK+oMW4OtjZca0RqPglXxguQ==", + "version": "6.24.0", + "resolved": "https://registry.npmjs.org/react-router/-/react-router-6.24.0.tgz", + "integrity": "sha512-sQrgJ5bXk7vbcC4BxQxeNa5UmboFm35we1AFK0VvQaz9g0LzxEIuLOhHIoZ8rnu9BO21ishGeL9no1WB76W/eg==", "requires": { - "@remix-run/router": "1.15.3" + "@remix-run/router": "1.17.0" + }, + "dependencies": { + "@remix-run/router": { + "version": "1.17.0", + "resolved": "https://registry.npmjs.org/@remix-run/router/-/router-1.17.0.tgz", + "integrity": "sha512-2D6XaHEVvkCn682XBnipbJjgZUU7xjLtA4dGJRBVUKpEaDYOZMENZoZjAOSb7qirxt5RupjzZxz4fK2FO+EFPw==" + } } }, "react-router-dom": { @@ -35984,6 +36016,16 @@ "requires": { "@remix-run/router": "1.15.3", "react-router": "6.22.3" + }, + "dependencies": { + "react-router": { + "version": "6.22.3", + "resolved": "https://registry.npmjs.org/react-router/-/react-router-6.22.3.tgz", + "integrity": "sha512-dr2eb3Mj5zK2YISHK++foM9w4eBnO23eKnZEDs7c880P6oKbrjz/Svg9+nxqtHQK+oMW4OtjZca0RqPglXxguQ==", + "requires": { + "@remix-run/router": "1.15.3" + } + } } }, "react-select": { diff --git a/package.json b/package.json index db466cd3..f3d895ec 100644 --- a/package.json +++ b/package.json @@ -135,7 +135,7 @@ "react-intl": "^6.6.2", "react-modal": "^3.16.1", "react-responsive": "^8.2.0", - "react-router": "^6.22.3", + "react-router": "^6.24.0", "react-router-dom": "^6.22.3", "react-swipeable-views": "^0.14.0", "react-table": "^7.8.0",