diff --git a/package.json b/package.json index e1cfd5adf4..d0fa112799 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "eslint-config-prettier": "9.1.0", "eslint-plugin-prettier": "4.2.1", "eslint-plugin-react": "7.36.1", - "eslint-plugin-react-hooks": "4.6.2", + "eslint-plugin-react-hooks": "5.0.0", "husky": "9.1.7", "lerna": "5.6.2", "lint-staged": "15.2.10", @@ -63,6 +63,6 @@ "truncate-eth-address": "1.0.2" }, "resolutions": { - "@types/react": "^17.0.0" + "@types/react": "^18.0.0" } } diff --git a/packages/web/package.json b/packages/web/package.json index 1d77c0fa69..55f507fe70 100644 --- a/packages/web/package.json +++ b/packages/web/package.json @@ -86,7 +86,7 @@ "@types/body-parser": "1.19.5", "@types/faker": "6.6.11", "@types/ramda": "0.30.2", - "@types/react": "17.0.82", + "@types/react": "18.3.12", "@types/react-dom": "18.3.0", "@types/string-hash": "1.1.1", "@types/styled-components": "5.1.34", diff --git a/yarn.lock b/yarn.lock index a80d5aaca0..0f3b4352fd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3986,13 +3986,12 @@ dependencies: "@types/react" "*" -"@types/react@*", "@types/react@17.0.82", "@types/react@^17.0.0": - version "17.0.82" - resolved "https://registry.yarnpkg.com/@types/react/-/react-17.0.82.tgz#eb84c38ee1023cd61be1b909fde083ac83fc163f" - integrity sha512-wTW8Lu/PARGPFE8tOZqCvprOKg5sen/2uS03yKn2xbCDFP9oLncm7vMDQ2+dEQXHVIXrOpW6u72xUXEXO0ypSw== +"@types/react@*", "@types/react@18.3.12", "@types/react@^18.0.0": + version "18.3.12" + resolved "https://registry.yarnpkg.com/@types/react/-/react-18.3.12.tgz#99419f182ccd69151813b7ee24b792fe08774f60" + integrity sha512-D2wOSq/d6Agt28q7rSI3jhU7G6aiuzljDGZ2hTZHIkrTLUI+AF3WMeKkEZ9nN2fkBAlcktT6vcZjDFiIhMYEQw== dependencies: "@types/prop-types" "*" - "@types/scheduler" "^0.16" csstype "^3.0.2" "@types/readable-stream@^4.0.0": @@ -4022,11 +4021,6 @@ resolved "https://registry.yarnpkg.com/@types/retry/-/retry-0.12.0.tgz#2b35eccfcee7d38cd72ad99232fbd58bffb3c84d" integrity sha512-wWKOClTTiizcZhXnPY4wikVAwmdYHp8q6DmC+EJUzAMsycb7HB32Kh9RN4+0gExjmPmZSAQjgURXIGATPegAvA== -"@types/scheduler@^0.16": - version "0.16.8" - resolved "https://registry.yarnpkg.com/@types/scheduler/-/scheduler-0.16.8.tgz#ce5ace04cfeabe7ef87c0091e50752e36707deff" - integrity sha512-WZLiwShhwLRmeV6zH+GkbOFT6Z6VklCItrDioxUnv+u4Ll+8vKeFySoFyK/0ctcRpOmwAicELfmys1sDc/Rw+A== - "@types/secp256k1@^4.0.1": version "4.0.6" resolved "https://registry.yarnpkg.com/@types/secp256k1/-/secp256k1-4.0.6.tgz#d60ba2349a51c2cbc5e816dcd831a42029d376bf" @@ -8876,7 +8870,12 @@ eslint-plugin-prettier@4.2.1: dependencies: prettier-linter-helpers "^1.0.0" -eslint-plugin-react-hooks@4.6.2, "eslint-plugin-react-hooks@^4.5.0 || 5.0.0-canary-7118f5dd7-20230705": +eslint-plugin-react-hooks@5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-5.0.0.tgz#72e2eefbac4b694f5324154619fee44f5f60f101" + integrity sha512-hIOwI+5hYGpJEc4uPRmz2ulCjAGD/N13Lukkh8cLV0i2IRk/bdZDYjgLVHj+U9Z704kLIdIO6iueGvxNur0sgw== + +"eslint-plugin-react-hooks@^4.5.0 || 5.0.0-canary-7118f5dd7-20230705": version "4.6.2" resolved "https://registry.yarnpkg.com/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.6.2.tgz#c829eb06c0e6f484b3fbb85a97e57784f328c596" integrity sha512-QzliNJq4GinDBcD8gPB5v0wh6g8q3SUi6EFF0x8N/BL9PoVs0atuGc47ozMRyOWAKdwaZ5OnbOEa3WR+dSGKuQ==