diff --git a/packages/graphql/package.json b/packages/graphql/package.json index 4edceb736c..454b6a532e 100644 --- a/packages/graphql/package.json +++ b/packages/graphql/package.json @@ -29,14 +29,14 @@ "react": "^16.8.0 || ^17.0.0", "react-dom": "^16.8.0 || ^17.0.0", "react-helmet-async": "^1.0.4", - "react-router-dom": "^5.1.0" + "react-router-dom": "^5.1.0 || ^6.0.0" }, "devDependencies": { "@apollo/client": "3.4.17", "react": "^17.0.2", "react-dom": "^17.0.2", "react-helmet-async": "^1.0.9", - "react-router-dom": "^5.2.0" + "react-router-dom": "^6.0.0" }, "homepage": "https://github.com/xing/hops/tree/master/packages/graphql#readme", "gitHead": "015197ee2f876911d9fa781cac1777ebed405015" diff --git a/packages/hops/package.json b/packages/hops/package.json index f9a69b50c3..f81eb25ed0 100644 --- a/packages/hops/package.json +++ b/packages/hops/package.json @@ -42,7 +42,7 @@ "react": "^16.8.0 || ^17.0.0", "react-dom": "^16.8.0 || ^17.0.0", "react-helmet-async": "^1.0.4", - "react-router-dom": "^5.1.0" + "react-router-dom": "^5.1.0 || ^6.0.0" }, "devDependencies": { "@types/react": "*", @@ -50,7 +50,7 @@ "react": "^17.0.2", "react-dom": "^17.0.2", "react-helmet-async": "^1.0.9", - "react-router-dom": "^5.2.0" + "react-router-dom": "^6.0.0" }, "gitHead": "015197ee2f876911d9fa781cac1777ebed405015" } diff --git a/packages/jest-preset/package.json b/packages/jest-preset/package.json index 7e2797d57a..142036fbd4 100644 --- a/packages/jest-preset/package.json +++ b/packages/jest-preset/package.json @@ -43,7 +43,7 @@ "react": "^16.8.0 || ^17.0.0", "react-dom": "^16.8.0 || ^17.0.0", "react-helmet-async": "^1.0.4", - "react-router-dom": "^5.1.0", + "react-router-dom": "^5.1.0 || ^6.0.0", "ts-jest": "^26.0.0 || ^27.0.3" }, "peerDependenciesMeta": { @@ -60,7 +60,7 @@ "react": "^17.0.2", "react-dom": "^17.0.2", "react-helmet-async": "^1.0.9", - "react-router-dom": "^5.2.0", + "react-router-dom": "^6.0.0", "ts-jest": "^27.0.0" }, "homepage": "https://github.com/xing/hops/tree/master/packages/jest-preset#readme", diff --git a/packages/react-apollo/package.json b/packages/react-apollo/package.json index 897de90c8f..95557450ce 100644 --- a/packages/react-apollo/package.json +++ b/packages/react-apollo/package.json @@ -38,13 +38,13 @@ "react": "^16.8.0 || ^17.0.0", "react-dom": "^16.8.0 || ^17.0.0", "react-helmet-async": "^1.0.4", - "react-router-dom": "^5.1.0" + "react-router-dom": "^5.1.0 || ^6.0.0" }, "devDependencies": { "react": "^17.0.2", "react-dom": "^17.0.2", "react-helmet-async": "^1.0.9", - "react-router-dom": "^5.2.0" + "react-router-dom": "^6.0.0" }, "homepage": "https://github.com/xing/hops/tree/master/packages/graphql#readme", "gitHead": "015197ee2f876911d9fa781cac1777ebed405015" diff --git a/packages/react/package.json b/packages/react/package.json index e7dbe3b2ca..89bfb0c252 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -44,13 +44,13 @@ "react": "^16.8.0 || ^17.0.0", "react-dom": "^16.8.0 || ^17.0.0", "react-helmet-async": "^1.0.4", - "react-router-dom": "^5.1.0" + "react-router-dom": "^5.1.0 || ^6.0.0" }, "devDependencies": { "react": "^17.0.2", "react-dom": "^17.0.2", "react-helmet-async": "^1.0.9", - "react-router-dom": "^5.2.0" + "react-router-dom": "^6.0.0" }, "homepage": "https://github.com/xing/hops/tree/master/packages/react#readme", "gitHead": "015197ee2f876911d9fa781cac1777ebed405015" diff --git a/packages/redux/package.json b/packages/redux/package.json index 4b69c1e075..20c3d7a3a5 100644 --- a/packages/redux/package.json +++ b/packages/redux/package.json @@ -31,14 +31,14 @@ "peerDependencies": { "react": "^16.8.0 || ^17.0.0", "react-redux": "^7.1.0", - "react-router-dom": "^5.1.0", + "react-router-dom": "^5.1.0 || ^6.0.0", "redux": "^4.0.0", "redux-thunk": "^2.3.0" }, "devDependencies": { "react": "^17.0.2", "react-redux": "^7.2.4", - "react-router-dom": "^5.2.0", + "react-router-dom": "^6.0.0", "redux": "^4.0.4", "redux-thunk": "^2.3.0" }, diff --git a/packages/template-graphql/package.json b/packages/template-graphql/package.json index 32941c72f7..d7192110c2 100644 --- a/packages/template-graphql/package.json +++ b/packages/template-graphql/package.json @@ -22,7 +22,7 @@ "react": "^17.0.1", "react-dom": "^17.0.1", "react-helmet-async": "^1.0.4", - "react-router-dom": "^5.1.2" + "react-router-dom": "^6.0.0" }, "devDependencies": { "hops-msw": "16.0.0-nightly.3", diff --git a/packages/template-react/package.json b/packages/template-react/package.json index 62669fc8d8..834d62aa59 100644 --- a/packages/template-react/package.json +++ b/packages/template-react/package.json @@ -16,7 +16,7 @@ "react": "^17.0.1", "react-dom": "^17.0.1", "react-helmet-async": "^1.0.4", - "react-router-dom": "^5.1.2" + "react-router-dom": "^6.0.0" }, "devDependencies": { "jest": "^27.0.0", diff --git a/packages/template-redux/package.json b/packages/template-redux/package.json index 1e69200f11..2d84d7b732 100644 --- a/packages/template-redux/package.json +++ b/packages/template-redux/package.json @@ -18,7 +18,7 @@ "react-dom": "^17.0.1", "react-helmet-async": "^1.0.4", "react-redux": "^7.1.1", - "react-router-dom": "^5.1.2", + "react-router-dom": "^6.0.0", "redux": "^4.0.4", "redux-thunk": "^2.3.0" }, diff --git a/yarn.lock b/yarn.lock index 2c32f5968a..f1324cb45c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1001,7 +1001,7 @@ "@babel/plugin-transform-react-jsx-development" "^7.16.7" "@babel/plugin-transform-react-pure-annotations" "^7.16.7" -"@babel/runtime@^7.1.2", "@babel/runtime@^7.12.1", "@babel/runtime@^7.12.13", "@babel/runtime@^7.12.5", "@babel/runtime@^7.15.4", "@babel/runtime@^7.6.2", "@babel/runtime@^7.8.4", "@babel/runtime@^7.9.2": +"@babel/runtime@^7.1.2", "@babel/runtime@^7.12.5", "@babel/runtime@^7.15.4", "@babel/runtime@^7.6.2", "@babel/runtime@^7.7.6", "@babel/runtime@^7.8.4", "@babel/runtime@^7.9.2": version "7.17.2" resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.17.2.tgz#66f68591605e59da47523c631416b18508779941" integrity sha512-hzeyJyMA1YGdJTuWU0e/j4wKXrU4OMFvY2MSlaI9B7VQb0r5cxTE3EAIS2Q7Tn2RIcDkRvTA/v2JsAEhxe99uw== @@ -6955,7 +6955,7 @@ highlight.js@^10.7.1: resolved "https://registry.yarnpkg.com/highlight.js/-/highlight.js-10.7.3.tgz#697272e3991356e40c3cac566a74eef681756531" integrity sha512-tzcUFauisWKNHaRkN4Wjl/ZA07gENAjFl3J/c480dprkGTg5EQstgaNFqBfUqCq54kZRIEcreTsAgF/m2quD7A== -history@^4.10.1, history@^4.9.0: +history@^4.10.1: version "4.10.1" resolved "https://registry.yarnpkg.com/history/-/history-4.10.1.tgz#33371a65e3a83b267434e2b3f3b1b4c58aad4cf3" integrity sha512-36nwAD620w12kuzPAsyINPWJqlNbij+hpK1k9XRloDtym8mxzGYl2c17LnV6IAGB2Dmg4tEa7G7DlawS0+qjew== @@ -6967,7 +6967,14 @@ history@^4.10.1, history@^4.9.0: tiny-warning "^1.0.0" value-equal "^1.0.1" -hoist-non-react-statics@^3.0.0, hoist-non-react-statics@^3.1.0, hoist-non-react-statics@^3.3.0, hoist-non-react-statics@^3.3.2: +history@^5.2.0: + version "5.3.0" + resolved "https://registry.yarnpkg.com/history/-/history-5.3.0.tgz#1548abaa245ba47992f063a0783db91ef201c73b" + integrity sha512-ZqaKwjjrAYUYfLG+htGaIIZ4nioX2L70ZUMIFysS3xvBsSG4x/n1V6TXV3N8ZYNuFGlDirFg32T7B6WOUPDYcQ== + dependencies: + "@babel/runtime" "^7.7.6" + +hoist-non-react-statics@^3.0.0, hoist-non-react-statics@^3.3.0, hoist-non-react-statics@^3.3.2: version "3.3.2" resolved "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz#ece0acaf71d62c2969c2ec59feff42a4b1a85b45" integrity sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw== @@ -7613,11 +7620,6 @@ is-windows@^1.0.1, is-windows@^1.0.2: resolved "https://registry.yarnpkg.com/is-windows/-/is-windows-1.0.2.tgz#d1850eb9791ecd18e6182ce12a30f396634bb19d" integrity sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA== -isarray@0.0.1: - version "0.0.1" - resolved "https://registry.yarnpkg.com/isarray/-/isarray-0.0.1.tgz#8a18acfca9a8f4177e09abfc6038939b05d1eedf" - integrity sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8= - isarray@1.0.0, isarray@^1.0.0, isarray@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" @@ -8720,7 +8722,7 @@ longest@^2.0.1: resolved "https://registry.yarnpkg.com/longest/-/longest-2.0.1.tgz#781e183296aa94f6d4d916dc335d0d17aefa23f8" integrity sha1-eB4YMpaqlPbU2RbcM10NF676I/g= -loose-envify@^1.0.0, loose-envify@^1.1.0, loose-envify@^1.2.0, loose-envify@^1.3.1, loose-envify@^1.4.0: +loose-envify@^1.0.0, loose-envify@^1.1.0, loose-envify@^1.2.0, loose-envify@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf" integrity sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q== @@ -8959,14 +8961,6 @@ min-indent@^1.0.0: resolved "https://registry.yarnpkg.com/min-indent/-/min-indent-1.0.1.tgz#a63f681673b30571fbe8bc25686ae746eefa9869" integrity sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg== -mini-create-react-context@^0.4.0: - version "0.4.1" - resolved "https://registry.yarnpkg.com/mini-create-react-context/-/mini-create-react-context-0.4.1.tgz#072171561bfdc922da08a60c2197a497cc2d1d5e" - integrity sha512-YWCYEmd5CQeHGSAKrYvXgmzzkrvssZcuuQDDeqkT+PziKGMgE+0MCCtcKbROzocGBG1meBLl2FotlRwf4gAzbQ== - dependencies: - "@babel/runtime" "^7.12.1" - tiny-warning "^1.0.3" - mini-css-extract-plugin@^2.0.0: version "2.5.3" resolved "https://registry.yarnpkg.com/mini-css-extract-plugin/-/mini-css-extract-plugin-2.5.3.tgz#c5c79f9b22ce9b4f164e9492267358dbe35376d9" @@ -9967,13 +9961,6 @@ path-to-regexp@0.1.7: resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-0.1.7.tgz#df604178005f522f15eb4490e7247a1bfaa67f8c" integrity sha1-32BBeABfUi8V60SQ5yR6G/qmf4w= -path-to-regexp@^1.7.0: - version "1.8.0" - resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-1.8.0.tgz#887b3ba9d84393e87a0a0b9f4cb756198b53548a" - integrity sha512-n43JRhlUKUAlibEJhPeir1ncUID16QnEjNpwzNdO3Lm4ywrBpBZ5oLD0I6br9evr1Y9JTqwRtAh7JLoOzAQdVA== - dependencies: - isarray "0.0.1" - path-type@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/path-type/-/path-type-3.0.0.tgz#cef31dc8e0a1a3bb0d105c0cd97cf3bf47f4e36f" @@ -10644,7 +10631,7 @@ promzard@^0.3.0: dependencies: read "1" -prop-types@^15.6.2, prop-types@^15.7.2: +prop-types@^15.7.2: version "15.8.1" resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.8.1.tgz#67d87bf1a694f48435cf332c24af10214a3140b5" integrity sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg== @@ -10831,7 +10818,7 @@ react-helmet-async@^1.0.4, react-helmet-async@^1.0.9: resolved "https://registry.yarnpkg.com/react-is/-/react-is-17.0.2.tgz#e691d4a8e9c789365655539ab372762b0efb54f0" integrity sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w== -react-is@^16.13.1, react-is@^16.6.0, react-is@^16.7.0: +react-is@^16.13.1, react-is@^16.7.0: version "16.13.1" resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.13.1.tgz#789729a4dc36de2999dc156dd6c1d9c18cea56a4" integrity sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ== @@ -10853,34 +10840,20 @@ react-refresh@^0.11.0: resolved "https://registry.yarnpkg.com/react-refresh/-/react-refresh-0.11.0.tgz#77198b944733f0f1f1a90e791de4541f9f074046" integrity sha512-F27qZr8uUqwhWZboondsPx8tnC3Ct3SxZA3V5WyEvujRyyNv0VYPhoBg1gZ8/MV5tubQp76Trw8lTv9hzRBa+A== -react-router-dom@^5.1.2, react-router-dom@^5.2.0: - version "5.3.0" - resolved "https://registry.yarnpkg.com/react-router-dom/-/react-router-dom-5.3.0.tgz#da1bfb535a0e89a712a93b97dd76f47ad1f32363" - integrity sha512-ObVBLjUZsphUUMVycibxgMdh5jJ1e3o+KpAZBVeHcNQZ4W+uUGGWsokurzlF4YOldQYRQL4y6yFRWM4m3svmuQ== - dependencies: - "@babel/runtime" "^7.12.13" - history "^4.9.0" - loose-envify "^1.3.1" - prop-types "^15.6.2" - react-router "5.2.1" - tiny-invariant "^1.0.2" - tiny-warning "^1.0.0" +react-router-dom@^6.0.0: + version "6.2.1" + resolved "https://registry.yarnpkg.com/react-router-dom/-/react-router-dom-6.2.1.tgz#32ec81829152fbb8a7b045bf593a22eadf019bec" + integrity sha512-I6Zax+/TH/cZMDpj3/4Fl2eaNdcvoxxHoH1tYOREsQ22OKDYofGebrNm6CTPUcvLvZm63NL/vzCYdjf9CUhqmA== + dependencies: + history "^5.2.0" + react-router "6.2.1" -react-router@5.2.1: - version "5.2.1" - resolved "https://registry.yarnpkg.com/react-router/-/react-router-5.2.1.tgz#4d2e4e9d5ae9425091845b8dbc6d9d276239774d" - integrity sha512-lIboRiOtDLFdg1VTemMwud9vRVuOCZmUIT/7lUoZiSpPODiiH1UQlfXy+vPLC/7IWdFYnhRwAyNqA/+I7wnvKQ== - dependencies: - "@babel/runtime" "^7.12.13" - history "^4.9.0" - hoist-non-react-statics "^3.1.0" - loose-envify "^1.3.1" - mini-create-react-context "^0.4.0" - 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" +react-router@6.2.1: + version "6.2.1" + resolved "https://registry.yarnpkg.com/react-router/-/react-router-6.2.1.tgz#be2a97a6006ce1d9123c28934e604faef51448a3" + integrity sha512-2fG0udBtxou9lXtK97eJeET2ki5//UWfQSl1rlJ7quwe6jrktK9FCCc8dQb5QY6jAv3jua8bBQRhhDOM/kVRsg== + dependencies: + history "^5.2.0" react-shallow-renderer@^16.13.1: version "16.14.1" @@ -12373,7 +12346,7 @@ tiny-invariant@^1.0.2: resolved "https://registry.yarnpkg.com/tiny-invariant/-/tiny-invariant-1.2.0.tgz#a1141f86b672a9148c72e978a19a73b9b94a15a9" integrity sha512-1Uhn/aqw5C6RI4KejVeTg6mIS7IqxnLJ8Mv2tV5rTc0qWobay7pDUz6Wi392Cnc8ak1H0F2cjoRzb2/AW4+Fvg== -tiny-warning@^1.0.0, tiny-warning@^1.0.3: +tiny-warning@^1.0.0: version "1.0.3" resolved "https://registry.yarnpkg.com/tiny-warning/-/tiny-warning-1.0.3.tgz#94a30db453df4c643d0fd566060d60a875d84754" integrity sha512-lBN9zLN/oAf68o3zNXYrdCt1kP8WsiGW8Oo2ka41b2IM5JL/S1CTyX1rW0mb/zSuJun0ZUrDxx4sqvYS2FWzPA==