diff --git a/package.json b/package.json index 5387a96..29777a3 100644 --- a/package.json +++ b/package.json @@ -71,7 +71,7 @@ "eslint": "8.57.1", "eslint-config-mitodl": "^2.0.0", "eslint-plugin-react": "^7.37.1", - "eslint-plugin-react-hooks": "^4.6.2", + "eslint-plugin-react-hooks": "^5.0.0", "jest": "^29.0.3", "jest-environment-jsdom": "^29.7.0", "next": "^14.2.7", @@ -86,7 +86,7 @@ "peerDependencies": { "@types/history": "^4.9", "next": "^14.2.7", - "react": "^16.13.1", + "react": "^18.0.0", "react-router": "^6.22.2" }, "peerDependenciesMeta": { diff --git a/yarn.lock b/yarn.lock index 6b67ad5..e7ac109 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2389,10 +2389,10 @@ eslint-config-mitodl@^2.0.0: "@typescript-eslint/parser" "^7.0.1" eslint-config-google "^0.14.0" -eslint-plugin-react-hooks@^4.6.2: - 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== +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@^7.37.1: version "7.37.2"