From 1426f71f3b979723b7095fb50388d89b957e8c35 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 20 Nov 2024 12:17:47 +0000 Subject: [PATCH] fix: upgrade react-router from 6.1.1 to 6.27.0 Snyk has created this PR to upgrade react-router from 6.1.1 to 6.27.0. See this package in npm: react-router See this project in Snyk: https://app.snyk.io/org/himanshuchandola/project/89f7e8b7-a085-43bd-b0f5-2520715ebe13?utm_source=github&utm_medium=referral&page=upgrade-pr --- package-lock.json | 58 +++++++++++++++++++++++++++++++++++++++-------- package.json | 2 +- 2 files changed, 50 insertions(+), 10 deletions(-) diff --git a/package-lock.json b/package-lock.json index 0ed5494..b16ee45 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,7 +15,7 @@ "copy-text-to-clipboard": "3.0.1", "react": "^17.0.2", "react-dom": "^17.0.2", - "react-router": "^6.0.2", + "react-router": "^6.27.0", "react-router-dom": "^6.1.1", "react-scripts": "4.0.3", "web-vitals": "2.1.2" @@ -2696,6 +2696,15 @@ "node": ">= 8" } }, + "node_modules/@remix-run/router": { + "version": "1.20.0", + "resolved": "https://registry.npmjs.org/@remix-run/router/-/router-1.20.0.tgz", + "integrity": "sha512-mUnk8rPJBI9loFDZ+YzPGdeniYK+FTmRD1TMCz7ev2SNIozyKKpnGgsxO34u6Z4z/t0ITuu7voi/AshfsGsgFg==", + "license": "MIT", + "engines": { + "node": ">=14.0.0" + } + }, "node_modules/@rollup/plugin-node-resolve": { "version": "7.1.3", "resolved": "https://registry.npmjs.org/@rollup/plugin-node-resolve/-/plugin-node-resolve-7.1.3.tgz", @@ -16469,11 +16478,15 @@ } }, "node_modules/react-router": { - "version": "6.1.1", - "resolved": "https://registry.npmjs.org/react-router/-/react-router-6.1.1.tgz", - "integrity": "sha512-55o96RiDZmC0uD17DPqVmzzfdNd2Dc+EjkYvMAmHl43du/GItaTdFr5WwjTryNWPXZ+OOVQxQhwAX25UwxpHtw==", + "version": "6.27.0", + "resolved": "https://registry.npmjs.org/react-router/-/react-router-6.27.0.tgz", + "integrity": "sha512-YA+HGZXz4jaAkVoYBE98VQl+nVzI+cVI2Oj/06F5ZM+0u3TgedN9Y9kmMRo2mnkSK2nCpNQn0DVob4HCsY/WLw==", + "license": "MIT", "dependencies": { - "history": "^5.1.0" + "@remix-run/router": "1.20.0" + }, + "engines": { + "node": ">=14.0.0" }, "peerDependencies": { "react": ">=16.8" @@ -16492,6 +16505,18 @@ "react-dom": ">=16.8" } }, + "node_modules/react-router-dom/node_modules/react-router": { + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/react-router/-/react-router-6.1.1.tgz", + "integrity": "sha512-55o96RiDZmC0uD17DPqVmzzfdNd2Dc+EjkYvMAmHl43du/GItaTdFr5WwjTryNWPXZ+OOVQxQhwAX25UwxpHtw==", + "license": "MIT", + "dependencies": { + "history": "^5.1.0" + }, + "peerDependencies": { + "react": ">=16.8" + } + }, "node_modules/react-scripts": { "version": "4.0.3", "resolved": "https://registry.npmjs.org/react-scripts/-/react-scripts-4.0.3.tgz", @@ -23590,6 +23615,11 @@ } } }, + "@remix-run/router": { + "version": "1.20.0", + "resolved": "https://registry.npmjs.org/@remix-run/router/-/router-1.20.0.tgz", + "integrity": "sha512-mUnk8rPJBI9loFDZ+YzPGdeniYK+FTmRD1TMCz7ev2SNIozyKKpnGgsxO34u6Z4z/t0ITuu7voi/AshfsGsgFg==" + }, "@rollup/plugin-node-resolve": { "version": "7.1.3", "resolved": "https://registry.npmjs.org/@rollup/plugin-node-resolve/-/plugin-node-resolve-7.1.3.tgz", @@ -34183,11 +34213,11 @@ "integrity": "sha512-X8jZHc7nCMjaCqoU+V2I0cOhNW+QMBwSUkeXnTi8IPe6zaRWfn60ZzvFDZqWPfmSJfjub7dDW1SP0jaHWLu/hg==" }, "react-router": { - "version": "6.1.1", - "resolved": "https://registry.npmjs.org/react-router/-/react-router-6.1.1.tgz", - "integrity": "sha512-55o96RiDZmC0uD17DPqVmzzfdNd2Dc+EjkYvMAmHl43du/GItaTdFr5WwjTryNWPXZ+OOVQxQhwAX25UwxpHtw==", + "version": "6.27.0", + "resolved": "https://registry.npmjs.org/react-router/-/react-router-6.27.0.tgz", + "integrity": "sha512-YA+HGZXz4jaAkVoYBE98VQl+nVzI+cVI2Oj/06F5ZM+0u3TgedN9Y9kmMRo2mnkSK2nCpNQn0DVob4HCsY/WLw==", "requires": { - "history": "^5.1.0" + "@remix-run/router": "1.20.0" } }, "react-router-dom": { @@ -34197,6 +34227,16 @@ "requires": { "history": "^5.1.0", "react-router": "6.1.1" + }, + "dependencies": { + "react-router": { + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/react-router/-/react-router-6.1.1.tgz", + "integrity": "sha512-55o96RiDZmC0uD17DPqVmzzfdNd2Dc+EjkYvMAmHl43du/GItaTdFr5WwjTryNWPXZ+OOVQxQhwAX25UwxpHtw==", + "requires": { + "history": "^5.1.0" + } + } } }, "react-scripts": { diff --git a/package.json b/package.json index 8591e9e..e365c39 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "copy-text-to-clipboard": "3.0.1", "react": "^17.0.2", "react-dom": "^17.0.2", - "react-router": "^6.0.2", + "react-router": "^6.27.0", "react-router-dom": "^6.1.1", "react-scripts": "4.0.3", "web-vitals": "2.1.2"