diff --git a/web/modules/custom/react_tools/tools/package-lock.json b/web/modules/custom/react_tools/tools/package-lock.json index 74f4c09cd..3d4f7aaab 100644 --- a/web/modules/custom/react_tools/tools/package-lock.json +++ b/web/modules/custom/react_tools/tools/package-lock.json @@ -34,7 +34,7 @@ "eslint-plugin-import": "2.22.1", "eslint-plugin-jsx-a11y": "6.4.1", "eslint-plugin-react": "7.22.0", - "eslint-plugin-react-hooks": "^1.7.0", + "eslint-plugin-react-hooks": "^4.2.0", "file-loader": "6.2.0", "fs-extra": "9.1.0", "html-webpack-plugin": "4.5.2", @@ -10915,9 +10915,15 @@ } }, "node_modules/eslint-plugin-react-hooks": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-1.7.0.tgz", - "integrity": "sha512-iXTCFcOmlWvw4+TOE8CLWj6yX1GwzT0Y6cUfHHZqWnSk144VmVIRcVGtUAzrLES7C798lmvnt02C7rxaOX1HNA==" + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.2.0.tgz", + "integrity": "sha512-623WEiZJqxR7VdxFCKLI6d6LLpwJkGPYKODnkH3D7WpOG5KM8yWueBd8TLsNAetEJNF5iJmolaAKO3F8yzyVBQ==", + "engines": { + "node": ">=10" + }, + "peerDependencies": { + "eslint": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0" + } }, "node_modules/eslint-plugin-react/node_modules/doctrine": { "version": "2.1.0", @@ -40591,9 +40597,10 @@ } }, "eslint-plugin-react-hooks": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-1.7.0.tgz", - "integrity": "sha512-iXTCFcOmlWvw4+TOE8CLWj6yX1GwzT0Y6cUfHHZqWnSk144VmVIRcVGtUAzrLES7C798lmvnt02C7rxaOX1HNA==" + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.2.0.tgz", + "integrity": "sha512-623WEiZJqxR7VdxFCKLI6d6LLpwJkGPYKODnkH3D7WpOG5KM8yWueBd8TLsNAetEJNF5iJmolaAKO3F8yzyVBQ==", + "requires": {} }, "eslint-scope": { "version": "4.0.3", diff --git a/web/modules/custom/react_tools/tools/package.json b/web/modules/custom/react_tools/tools/package.json index 019fbf070..cfe17413e 100644 --- a/web/modules/custom/react_tools/tools/package.json +++ b/web/modules/custom/react_tools/tools/package.json @@ -29,7 +29,7 @@ "eslint-plugin-import": "2.22.1", "eslint-plugin-jsx-a11y": "6.4.1", "eslint-plugin-react": "7.22.0", - "eslint-plugin-react-hooks": "^1.7.0", + "eslint-plugin-react-hooks": "^4.2.0", "file-loader": "6.2.0", "fs-extra": "9.1.0", "html-webpack-plugin": "4.5.2",