diff --git a/package-lock.json b/package-lock.json index 9392843..b165361 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2879,9 +2879,9 @@ } }, "eslint-plugin-react-hooks": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-2.3.0.tgz", - "integrity": "sha512-gLKCa52G4ee7uXzdLiorca7JIQZPPXRAQDXV83J4bUEeUuc5pIEyZYAZ45Xnxe5IuupxEqHS+hUhSLIimK1EMw==", + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.2.0.tgz", + "integrity": "sha512-623WEiZJqxR7VdxFCKLI6d6LLpwJkGPYKODnkH3D7WpOG5KM8yWueBd8TLsNAetEJNF5iJmolaAKO3F8yzyVBQ==", "dev": true }, "eslint-plugin-security": { @@ -9517,14 +9517,13 @@ } }, "react": { - "version": "16.12.0", - "resolved": "https://registry.npmjs.org/react/-/react-16.12.0.tgz", - "integrity": "sha512-fglqy3k5E+81pA8s+7K0/T3DBCF0ZDOher1elBFzF7O6arXJgzyu/FW+COxFvAWXJoJN9KIZbT2LXlukwphYTA==", + "version": "17.0.2", + "resolved": "https://registry.npmjs.org/react/-/react-17.0.2.tgz", + "integrity": "sha512-gnhPt75i/dq/z3/6q/0asP78D0u592D5L1pd7M8P+dck6Fu/jJeL6iVVK23fptSUZj8Vjf++7wXA8UNclGQcbA==", "dev": true, "requires": { "loose-envify": "^1.1.0", - "object-assign": "^4.1.1", - "prop-types": "^15.6.2" + "object-assign": "^4.1.1" } }, "react-is": { diff --git a/package.json b/package.json index fd37d5c..8a9d7db 100644 --- a/package.json +++ b/package.json @@ -32,11 +32,11 @@ }, "homepage": "https://github.com/eclass/useSideEffect#readme", "peerDependencies": { - "react": "16.12.0", - "react-dom": "16.12.0" + "react": "17.0.2", + "react-dom": "17.0.2" }, "devDependencies": { - "react": "16.12.0", + "react": "17.0.2", "@commitlint/cli": "8.2.0", "@commitlint/config-conventional": "8.2.0", "@eclass/eslint-config": "1.3.0", @@ -53,7 +53,7 @@ "eslint-plugin-node": "10.0.0", "eslint-plugin-promise": "4.2.1", "eslint-plugin-react": "7.17.0", - "eslint-plugin-react-hooks": "2.3.0", + "eslint-plugin-react-hooks": "4.2.0", "eslint-plugin-security": "1.4.0", "eslint-plugin-sonarjs": "0.5.0", "eslint-plugin-standard": "4.0.1",