diff --git a/package-lock.json b/package-lock.json index a84cb2ea400..138d056bd10 100644 --- a/package-lock.json +++ b/package-lock.json @@ -61,7 +61,7 @@ "react-photoswipe-gallery": "4.0.0", "react-qr-code": "2.2.0", "react-redux": "8.1.3", - "react-router": "5.3.4", + "react-router": "8.1.0", "react-router-dom": "5.3.4", "react-super-responsive-table": "6.0.2", "react-textarea-autosize": "8.5.9", @@ -6783,6 +6783,12 @@ "url": "https://opencollective.com/express" } }, + "node_modules/cookie-es": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/cookie-es/-/cookie-es-3.1.1.tgz", + "integrity": "sha512-UaXxwISYJPTr9hwQxMFYZ7kNhSXboMXP+Z3TRX6f1/NyaGPfuNUZOWP1pUEb75B2HjfklIYLVRfWiFZJyC6Npg==", + "license": "MIT" + }, "node_modules/cookie-signature": { "version": "1.2.2", "license": "MIT", @@ -10458,6 +10464,8 @@ }, "node_modules/isarray": { "version": "0.0.1", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", + "integrity": "sha512-D2S+3GLxWH+uhrNEcoh/fnmYeP8E8/zHl644d/jdA0g2uyXvy3sb0qxotE+ne0LtccHknQzWwZEzhak7oJ0COQ==", "license": "MIT" }, "node_modules/isexe": { @@ -13485,6 +13493,8 @@ }, "node_modules/path-to-regexp": { "version": "1.9.0", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-1.9.0.tgz", + "integrity": "sha512-xIp7/apCFJuUHdDLWe8O1HIkb0kQrOMb/0u6FXQjemHn/ii5LrIzU6bdECnsiTF/GjZkMEKg1xdiZwNqDYlZ6g==", "license": "MIT", "dependencies": { "isarray": "0.0.1" @@ -14897,16 +14907,35 @@ "license": "MIT" }, "node_modules/react-router": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/react-router/-/react-router-8.1.0.tgz", + "integrity": "sha512-Mdfi61uObuvWNN9OhChOC0HV6YWOIfKRzEWOvCHRSuQg8IM+Nv10edaM/2HE8ZixBpUTdQbruyWqC3sDkkh9vw==", + "license": "MIT", + "dependencies": { + "cookie-es": "^3.1.1" + }, + "engines": { + "node": ">=22.22.0" + }, + "peerDependencies": { + "react": ">=19.2.7", + "react-dom": ">=19.2.7" + }, + "peerDependenciesMeta": { + "react-dom": { + "optional": true + } + } + }, + "node_modules/react-router-dom": { "version": "5.3.4", "license": "MIT", "dependencies": { "@babel/runtime": "^7.12.13", "history": "^4.9.0", - "hoist-non-react-statics": "^3.1.0", "loose-envify": "^1.3.1", - "path-to-regexp": "^1.7.0", "prop-types": "^15.6.2", - "react-is": "^16.6.0", + "react-router": "5.3.4", "tiny-invariant": "^1.0.2", "tiny-warning": "^1.0.0" }, @@ -14914,15 +14943,25 @@ "react": ">=15" } }, - "node_modules/react-router-dom": { + "node_modules/react-router-dom/node_modules/react-is": { + "version": "16.13.1", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", + "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==", + "license": "MIT" + }, + "node_modules/react-router-dom/node_modules/react-router": { "version": "5.3.4", + "resolved": "https://registry.npmjs.org/react-router/-/react-router-5.3.4.tgz", + "integrity": "sha512-Ys9K+ppnJah3QuaRiLxk+jDWOR1MekYQrlytiXxC1RyfbdsZkS5pvKAzCCr031xHixZwpnsYNT5xysdFHQaYsA==", "license": "MIT", "dependencies": { "@babel/runtime": "^7.12.13", "history": "^4.9.0", + "hoist-non-react-statics": "^3.1.0", "loose-envify": "^1.3.1", + "path-to-regexp": "^1.7.0", "prop-types": "^15.6.2", - "react-router": "5.3.4", + "react-is": "^16.6.0", "tiny-invariant": "^1.0.2", "tiny-warning": "^1.0.0" }, @@ -14930,10 +14969,6 @@ "react": ">=15" } }, - "node_modules/react-router/node_modules/react-is": { - "version": "16.13.1", - "license": "MIT" - }, "node_modules/react-side-effect": { "version": "2.1.2", "license": "MIT", diff --git a/package.json b/package.json index 230774e07fd..d7402ef2dbd 100644 --- a/package.json +++ b/package.json @@ -213,7 +213,7 @@ "react-photoswipe-gallery": "4.0.0", "react-qr-code": "2.2.0", "react-redux": "8.1.3", - "react-router": "5.3.4", + "react-router": "8.1.0", "react-router-dom": "5.3.4", "react-super-responsive-table": "6.0.2", "react-textarea-autosize": "8.5.9",