diff --git a/package-lock.json b/package-lock.json index 0ac341fa00..b112ac2503 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,7 +16,7 @@ "moment-range": "^3.1.1", "qs": "^6.13.1", "react-daterange-picker": "^2.0.1", - "react-router-dom": "^5.3.4", + "react-router-dom": "^7.1.0", "recursive-copy": "^2.0.14", "tachyons": "^4.12.0" }, @@ -1945,6 +1945,7 @@ }, "node_modules/@babel/runtime": { "version": "7.24.7", + "dev": true, "license": "MIT", "dependencies": { "regenerator-runtime": "^0.14.0" @@ -5096,6 +5097,11 @@ "@types/node": "*" } }, + "node_modules/@types/cookie": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/@types/cookie/-/cookie-0.6.0.tgz", + "integrity": "sha512-4Kh9a6B2bQciAhf7FSuMRRkUWecJgJu9nPnx3yzpsfXX/c50REIqpHY4C82bXP90qrLtXtkDxTZosYO3UpOwlA==" + }, "node_modules/@types/eslint": { "version": "8.56.10", "dev": true, @@ -13430,20 +13436,9 @@ "dev": true, "license": "MIT" }, - "node_modules/history": { - "version": "4.9.0", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.1.2", - "loose-envify": "^1.2.0", - "resolve-pathname": "^2.2.0", - "tiny-invariant": "^1.0.2", - "tiny-warning": "^1.0.0", - "value-equal": "^0.4.0" - } - }, "node_modules/hoist-non-react-statics": { "version": "3.3.2", + "dev": true, "license": "BSD-3-Clause", "dependencies": { "react-is": "^16.7.0" @@ -13451,6 +13446,7 @@ }, "node_modules/hoist-non-react-statics/node_modules/react-is": { "version": "16.13.1", + "dev": true, "license": "MIT" }, "node_modules/homedir-polyfill": { @@ -21029,17 +21025,6 @@ "dev": true, "license": "MIT" }, - "node_modules/path-to-regexp": { - "version": "1.7.0", - "license": "MIT", - "dependencies": { - "isarray": "0.0.1" - } - }, - "node_modules/path-to-regexp/node_modules/isarray": { - "version": "0.0.1", - "license": "MIT" - }, "node_modules/path-type": { "version": "4.0.0", "dev": true, @@ -22534,42 +22519,50 @@ } }, "node_modules/react-router": { - "version": "5.3.4", - "license": "MIT", + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/react-router/-/react-router-7.1.0.tgz", + "integrity": "sha512-VcFhWqkNIcojDRYaUO8qV0Jib52s9ULpCp3nkBbmrvtoCVFRp6tmk3tJ2w9BZauVctA1YRnJlFYDn9iJRuCpGA==", "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", - "tiny-invariant": "^1.0.2", - "tiny-warning": "^1.0.0" + "@types/cookie": "^0.6.0", + "cookie": "^1.0.1", + "set-cookie-parser": "^2.6.0", + "turbo-stream": "2.4.0" + }, + "engines": { + "node": ">=20.0.0" }, "peerDependencies": { - "react": ">=15" + "react": ">=18", + "react-dom": ">=18" + }, + "peerDependenciesMeta": { + "react-dom": { + "optional": true + } } }, "node_modules/react-router-dom": { - "version": "5.3.4", - "license": "MIT", + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/react-router-dom/-/react-router-dom-7.1.0.tgz", + "integrity": "sha512-F4/nYBC9e4s0/ZjxM8GkZ9a68DpX76LN1a9W9mfPl2GfbDJ9/vzJro6MThNR5qGBH6KkgcK1BziyEzXhHV46Xw==", "dependencies": { - "@babel/runtime": "^7.12.13", - "history": "^4.9.0", - "loose-envify": "^1.3.1", - "prop-types": "^15.6.2", - "react-router": "5.3.4", - "tiny-invariant": "^1.0.2", - "tiny-warning": "^1.0.0" + "react-router": "7.1.0" + }, + "engines": { + "node": ">=20.0.0" }, "peerDependencies": { - "react": ">=15" + "react": ">=18", + "react-dom": ">=18" } }, - "node_modules/react-router/node_modules/react-is": { - "version": "16.13.1", - "license": "MIT" + "node_modules/react-router/node_modules/cookie": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-1.0.2.tgz", + "integrity": "sha512-9Kr/j4O16ISv8zBBhJoi4bXOYNTkFLOqSL3UDB0njXxCXNezjeyVrJyGOWtgfs/q2km1gwBcfH8q1yEGoMYunA==", + "engines": { + "node": ">=18" + } }, "node_modules/react-style-singleton": { "version": "2.2.1", @@ -22851,6 +22844,7 @@ }, "node_modules/regenerator-runtime": { "version": "0.14.1", + "dev": true, "license": "MIT" }, "node_modules/regenerator-transform": { @@ -23046,10 +23040,6 @@ "node": ">=8" } }, - "node_modules/resolve-pathname": { - "version": "2.2.0", - "license": "MIT" - }, "node_modules/resolve.exports": { "version": "2.0.2", "dev": true, @@ -23869,6 +23859,11 @@ "dev": true, "license": "ISC" }, + "node_modules/set-cookie-parser": { + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/set-cookie-parser/-/set-cookie-parser-2.7.1.tgz", + "integrity": "sha512-IOc8uWeOZgnb3ptbCURJWNjWUPcO3ZnTTdzsurqERrP6nPyv+paC55vJM0LpOlT2ne+Ix+9+CRG1MNLlyZ4GjQ==" + }, "node_modules/set-function-length": { "version": "1.2.2", "license": "MIT", @@ -25703,14 +25698,6 @@ "dev": true, "license": "MIT" }, - "node_modules/tiny-invariant": { - "version": "1.3.3", - "license": "MIT" - }, - "node_modules/tiny-warning": { - "version": "1.0.3", - "license": "MIT" - }, "node_modules/tmp": { "version": "0.0.33", "dev": true, @@ -25953,6 +25940,11 @@ "dev": true, "license": "0BSD" }, + "node_modules/turbo-stream": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/turbo-stream/-/turbo-stream-2.4.0.tgz", + "integrity": "sha512-FHncC10WpBd2eOmGwpmQsWLDoK4cqsA/UT/GqNoaKOQnT8uzhtCbg3EoUDMvqpOSAI0S26mr0rkjzbOO6S3v1g==" + }, "node_modules/type": { "version": "2.7.3", "license": "ISC" @@ -26496,10 +26488,6 @@ "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, - "node_modules/value-equal": { - "version": "0.4.0", - "license": "MIT" - }, "node_modules/vary": { "version": "1.1.2", "dev": true, diff --git a/package.json b/package.json index ad3d94027d..5db1685156 100644 --- a/package.json +++ b/package.json @@ -58,7 +58,7 @@ "moment-range": "^3.1.1", "qs": "^6.13.1", "react-daterange-picker": "^2.0.1", - "react-router-dom": "^5.3.4", + "react-router-dom": "^7.1.0", "recursive-copy": "^2.0.14", "tachyons": "^4.12.0" }