diff --git a/package-lock.json b/package-lock.json index 636c56d9..3af897de 100644 --- a/package-lock.json +++ b/package-lock.json @@ -24,7 +24,7 @@ "react-localize-redux": "~2.16.0", "react-redux": "~8.1.3", "react-rnd": "^5.1.0", - "react-router": "~4.1.2", + "react-router": "~6.24.0", "react-router-dom": "~4.1.2", "react-select": "~1.2.1", "redux": "~4.2.1", @@ -3333,6 +3333,14 @@ "node": ">=14" } }, + "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==", + "engines": { + "node": ">=14.0.0" + } + }, "node_modules/@sinonjs/commons": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-2.0.0.tgz", @@ -12873,20 +12881,17 @@ } }, "node_modules/react-router": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/react-router/-/react-router-4.1.2.tgz", - "integrity": "sha512-VyM87OP+GkijVkkOXJw39A9fKtFelLoZYYDxtELhpZefjYatxI2SUxZcImo/9Tv52rR9UnNJBPSBpVRQMdvi8A==", + "version": "6.24.0", + "resolved": "https://registry.npmjs.org/react-router/-/react-router-6.24.0.tgz", + "integrity": "sha512-sQrgJ5bXk7vbcC4BxQxeNa5UmboFm35we1AFK0VvQaz9g0LzxEIuLOhHIoZ8rnu9BO21ishGeL9no1WB76W/eg==", "dependencies": { - "history": "^4.6.0", - "hoist-non-react-statics": "^1.2.0", - "invariant": "^2.2.2", - "loose-envify": "^1.3.1", - "path-to-regexp": "^1.5.3", - "prop-types": "^15.5.4", - "warning": "^3.0.0" + "@remix-run/router": "1.17.0" + }, + "engines": { + "node": ">=14.0.0" }, "peerDependencies": { - "react": "^15" + "react": ">=16.8" } }, "node_modules/react-router-dom": { @@ -12959,11 +12964,6 @@ "loose-envify": "^1.0.0" } }, - "node_modules/react-router/node_modules/hoist-non-react-statics": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-1.2.0.tgz", - "integrity": "sha1-qkSM8JhtVcxAdzsXF0t90GbLfPs=" - }, "node_modules/react-select": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/react-select/-/react-select-1.2.1.tgz", @@ -19585,6 +19585,11 @@ "dev": true, "optional": true }, + "@remix-run/router": { + "version": "1.17.0", + "resolved": "https://registry.npmjs.org/@remix-run/router/-/router-1.17.0.tgz", + "integrity": "sha512-2D6XaHEVvkCn682XBnipbJjgZUU7xjLtA4dGJRBVUKpEaDYOZMENZoZjAOSb7qirxt5RupjzZxz4fK2FO+EFPw==" + }, "@sinonjs/commons": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-2.0.0.tgz", @@ -26868,24 +26873,11 @@ } }, "react-router": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/react-router/-/react-router-4.1.2.tgz", - "integrity": "sha512-VyM87OP+GkijVkkOXJw39A9fKtFelLoZYYDxtELhpZefjYatxI2SUxZcImo/9Tv52rR9UnNJBPSBpVRQMdvi8A==", + "version": "6.24.0", + "resolved": "https://registry.npmjs.org/react-router/-/react-router-6.24.0.tgz", + "integrity": "sha512-sQrgJ5bXk7vbcC4BxQxeNa5UmboFm35we1AFK0VvQaz9g0LzxEIuLOhHIoZ8rnu9BO21ishGeL9no1WB76W/eg==", "requires": { - "history": "^4.6.0", - "hoist-non-react-statics": "^1.2.0", - "invariant": "^2.2.2", - "loose-envify": "^1.3.1", - "path-to-regexp": "^1.5.3", - "prop-types": "^15.5.4", - "warning": "^3.0.0" - }, - "dependencies": { - "hoist-non-react-statics": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-1.2.0.tgz", - "integrity": "sha1-qkSM8JhtVcxAdzsXF0t90GbLfPs=" - } + "@remix-run/router": "1.17.0" } }, "react-router-dom": { diff --git a/package.json b/package.json index 6f646c5a..64cf1f06 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ "react-localize-redux": "~2.16.0", "react-redux": "~8.1.3", "react-rnd": "^5.1.0", - "react-router": "~4.1.2", + "react-router": "~6.24.0", "react-router-dom": "~4.1.2", "react-select": "~1.2.1", "redux": "~4.2.1",