From bb811c1f8d0bf6752aad84cfb4d97fcd677e1e37 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 1 Nov 2024 22:34:22 +0000 Subject: [PATCH 1/2] chore(deps-dev): bump eslint-plugin-react-hooks from 4.6.2 to 5.0.0 Bumps [eslint-plugin-react-hooks](https://github.com/facebook/react/tree/HEAD/packages/eslint-plugin-react-hooks) from 4.6.2 to 5.0.0. - [Release notes](https://github.com/facebook/react/releases) - [Changelog](https://github.com/facebook/react/blob/main/packages/eslint-plugin-react-hooks/CHANGELOG.md) - [Commits](https://github.com/facebook/react/commits/eslint-plugin-react-hooks@5.0.0/packages/eslint-plugin-react-hooks) --- updated-dependencies: - dependency-name: eslint-plugin-react-hooks dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- package-lock.json | 22 +++++++++++++++++----- package.json | 2 +- 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index afd529896..8aa6d635b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -73,7 +73,7 @@ "eslint": "^8.57.0", "eslint-plugin-jest": "^28.8.3", "eslint-plugin-react": "^7.37.2", - "eslint-plugin-react-hooks": "^4.6.2", + "eslint-plugin-react-hooks": "^5.0.0", "husky": "^9.1.6", "jest": "^29.7.0", "jest-environment-jsdom": "^29.4.3", @@ -10283,6 +10283,17 @@ } } }, + "node_modules/eslint-config-react-app/node_modules/eslint-plugin-react-hooks": { + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.6.2.tgz", + "integrity": "sha512-QzliNJq4GinDBcD8gPB5v0wh6g8q3SUi6EFF0x8N/BL9PoVs0atuGc47ozMRyOWAKdwaZ5OnbOEa3WR+dSGKuQ==", + "engines": { + "node": ">=10" + }, + "peerDependencies": { + "eslint": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0" + } + }, "node_modules/eslint-import-resolver-node": { "version": "0.3.9", "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.9.tgz", @@ -10633,14 +10644,15 @@ } }, "node_modules/eslint-plugin-react-hooks": { - "version": "4.6.2", - "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.6.2.tgz", - "integrity": "sha512-QzliNJq4GinDBcD8gPB5v0wh6g8q3SUi6EFF0x8N/BL9PoVs0atuGc47ozMRyOWAKdwaZ5OnbOEa3WR+dSGKuQ==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-5.0.0.tgz", + "integrity": "sha512-hIOwI+5hYGpJEc4uPRmz2ulCjAGD/N13Lukkh8cLV0i2IRk/bdZDYjgLVHj+U9Z704kLIdIO6iueGvxNur0sgw==", + "dev": true, "engines": { "node": ">=10" }, "peerDependencies": { - "eslint": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0" + "eslint": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0" } }, "node_modules/eslint-plugin-react/node_modules/doctrine": { diff --git a/package.json b/package.json index d492519de..05f980524 100644 --- a/package.json +++ b/package.json @@ -97,7 +97,7 @@ "eslint": "^8.57.0", "eslint-plugin-jest": "^28.8.3", "eslint-plugin-react": "^7.37.2", - "eslint-plugin-react-hooks": "^4.6.2", + "eslint-plugin-react-hooks": "^5.0.0", "husky": "^9.1.6", "jest": "^29.7.0", "jest-environment-jsdom": "^29.4.3", From 6a14727e98a51068850ea9e59752d2669c373e81 Mon Sep 17 00:00:00 2001 From: Anthony Volk Date: Sat, 23 Nov 2024 02:37:18 +0100 Subject: [PATCH 2/2] fix: Remove dupe package --- .eslintrc.json | 2 +- package-lock.json | 15 +-------------- package.json | 1 - 3 files changed, 2 insertions(+), 16 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index 24e5d51a7..623d3da17 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -30,7 +30,7 @@ "ecmaVersion": "latest", "sourceType": "module" }, - "plugins": ["react", "react-hooks", "jest", "jsx-a11y"], + "plugins": ["react", "jest", "jsx-a11y"], "rules": { // suppress errors for missing 'import React' in files "react/react-in-jsx-scope": "off", diff --git a/package-lock.json b/package-lock.json index 8aa6d635b..c7bf749c3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -73,7 +73,6 @@ "eslint": "^8.57.0", "eslint-plugin-jest": "^28.8.3", "eslint-plugin-react": "^7.37.2", - "eslint-plugin-react-hooks": "^5.0.0", "husky": "^9.1.6", "jest": "^29.7.0", "jest-environment-jsdom": "^29.4.3", @@ -86,7 +85,7 @@ "whatwg-fetch": "^3.6.20" }, "engines": { - "node": ">=19.0.0" + "node": ">=22.0.0" } }, "node_modules/@aashutoshrathi/word-wrap": { @@ -10643,18 +10642,6 @@ "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7" } }, - "node_modules/eslint-plugin-react-hooks": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-5.0.0.tgz", - "integrity": "sha512-hIOwI+5hYGpJEc4uPRmz2ulCjAGD/N13Lukkh8cLV0i2IRk/bdZDYjgLVHj+U9Z704kLIdIO6iueGvxNur0sgw==", - "dev": true, - "engines": { - "node": ">=10" - }, - "peerDependencies": { - "eslint": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0" - } - }, "node_modules/eslint-plugin-react/node_modules/doctrine": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz", diff --git a/package.json b/package.json index 05f980524..8a4d3c90e 100644 --- a/package.json +++ b/package.json @@ -97,7 +97,6 @@ "eslint": "^8.57.0", "eslint-plugin-jest": "^28.8.3", "eslint-plugin-react": "^7.37.2", - "eslint-plugin-react-hooks": "^5.0.0", "husky": "^9.1.6", "jest": "^29.7.0", "jest-environment-jsdom": "^29.4.3",