diff --git a/examples/react-babel/package.json b/examples/react-babel/package.json index 6041ef49..1ca2b310 100644 --- a/examples/react-babel/package.json +++ b/examples/react-babel/package.json @@ -43,7 +43,7 @@ "@types/scheduler": "^0.26.0", "@vitejs/plugin-react": "^5.0.4", "eslint": "^9.37.0", - "eslint-plugin-react-hooks": "^6.1.1", + "eslint-plugin-react-hooks": "^7.0.0", "eslint-plugin-react-refresh": "^0.4.23", "globals": "^16.4.0", "typescript": "~5.9.3", diff --git a/examples/react-swc/package.json b/examples/react-swc/package.json index cc57ef8c..285e8f74 100644 --- a/examples/react-swc/package.json +++ b/examples/react-swc/package.json @@ -26,7 +26,7 @@ "@vanilla-extract/vite-plugin": "^5.1.1", "@vitejs/plugin-react-swc": "^4.1.0", "eslint": "^9.37.0", - "eslint-plugin-react-hooks": "^6.1.1", + "eslint-plugin-react-hooks": "^7.0.0", "eslint-plugin-react-refresh": "^0.4.23", "globals": "^16.4.0", "typescript": "^5.9.3", diff --git a/yarn.lock b/yarn.lock index 588dbc25..95cbad93 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3336,17 +3336,18 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-react-hooks@npm:^6.1.1": - version: 6.1.1 - resolution: "eslint-plugin-react-hooks@npm:6.1.1" +"eslint-plugin-react-hooks@npm:^7.0.0": + version: 7.0.0 + resolution: "eslint-plugin-react-hooks@npm:7.0.0" dependencies: "@babel/core": "npm:^7.24.4" "@babel/parser": "npm:^7.24.4" + hermes-parser: "npm:^0.25.1" zod: "npm:^3.22.4 || ^4.0.0" zod-validation-error: "npm:^3.0.3 || ^4.0.0" peerDependencies: eslint: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0 - checksum: 10/dcd74dbff0f18ba5aa1d36f0e414628f99c25f14e5bd7ce8205d719dd488adca7530d15ea429ffbc94b09ab6d499160a2e3d2a9a9d9a72f9d517c79e6b472ba6 + checksum: 10/756ad90ec6390bafa8037f86ab72d98af55c25e13b69e15bdac634724c8af7a87eb6993b643665e930d67635d52c8aa55b0e7a1d47e3c4e42a3b66950b2069fb languageName: node linkType: hard @@ -4054,6 +4055,22 @@ __metadata: languageName: node linkType: hard +"hermes-estree@npm:0.25.1": + version: 0.25.1 + resolution: "hermes-estree@npm:0.25.1" + checksum: 10/7b1eca98b264a25632064cffa5771360d30cf452e77db1e191f9913ee45cf78c292b2dbca707e92fb71b0870abb97e94b506a5ab80abd96ba237fee169b601fe + languageName: node + linkType: hard + +"hermes-parser@npm:^0.25.1": + version: 0.25.1 + resolution: "hermes-parser@npm:0.25.1" + dependencies: + hermes-estree: "npm:0.25.1" + checksum: 10/805efc05691420f236654349872c70731121791fa54de521c7ee51059eae34f84dd19f22ee846741dcb60372f8fb5335719b96b4ecb010d2aed7d872f2eff9cc + languageName: node + linkType: hard + "hosted-git-info@npm:^2.1.4": version: 2.8.9 resolution: "hosted-git-info@npm:2.8.9" @@ -5460,7 +5477,7 @@ __metadata: deep-object-diff: "npm:^1.1.9" deepmerge: "npm:^4.3.1" eslint: "npm:^9.37.0" - eslint-plugin-react-hooks: "npm:^6.1.1" + eslint-plugin-react-hooks: "npm:^7.0.0" eslint-plugin-react-refresh: "npm:^0.4.23" globals: "npm:^16.4.0" lru-cache: "npm:^11.2.2" @@ -5516,7 +5533,7 @@ __metadata: "@vanilla-extract/vite-plugin": "npm:^5.1.1" "@vitejs/plugin-react-swc": "npm:^4.1.0" eslint: "npm:^9.37.0" - eslint-plugin-react-hooks: "npm:^6.1.1" + eslint-plugin-react-hooks: "npm:^7.0.0" eslint-plugin-react-refresh: "npm:^0.4.23" globals: "npm:^16.4.0" react: "npm:^19.2.0"