diff --git a/package.json b/package.json index 26a7bba6b7..e970672faa 100644 --- a/package.json +++ b/package.json @@ -104,7 +104,7 @@ "eslint-plugin-jsx-a11y": "6.10.2", "eslint-plugin-prettier": "5.5.5", "eslint-plugin-react": "7.37.5", - "eslint-plugin-react-hooks": "6.1.1", + "eslint-plugin-react-hooks": "7.1.1", "gatsby-source-filesystem": "5.16.0", "globals": "17.4.0", "happy-dom": "20.8.9", diff --git a/yarn.lock b/yarn.lock index e0e59667a7..9bc0f1ffca 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8480,17 +8480,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.1.1": + version: 7.1.1 + resolution: "eslint-plugin-react-hooks@npm:7.1.1" dependencies: "@babel/core": "npm:^7.24.4" "@babel/parser": "npm:^7.24.4" - zod: "npm:^3.22.4 || ^4.0.0" - zod-validation-error: "npm:^3.0.3 || ^4.0.0" + hermes-parser: "npm:^0.25.1" + zod: "npm:^3.25.0 || ^4.0.0" + zod-validation-error: "npm:^3.5.0 || ^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: 10c0/579be053bc89c995a6c03996f9ee3f6bac88946b4b1c8b891b42f981e7c05a9c5de46324bbd2a33199855c0a602820c0e3eeb7f840730301b77a9ba3dc7a0ae2 + eslint: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0 || ^10.0.0 + checksum: 10c0/cee8454915d71ac5d70a0d8f4f260e76eaf45fcd4162747dd4282b792ee5616d187351dabe6cdcff9040c79d0cec625635c4fd0777276be119efa88ebe058525 languageName: node linkType: hard @@ -11158,6 +11159,22 @@ __metadata: languageName: node linkType: hard +"hermes-estree@npm:0.25.1": + version: 0.25.1 + resolution: "hermes-estree@npm:0.25.1" + checksum: 10c0/48be3b2fa37a0cbc77a112a89096fa212f25d06de92781b163d67853d210a8a5c3784fac23d7d48335058f7ed283115c87b4332c2a2abaaccc76d0ead1a282ac + 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: 10c0/3abaa4c6f1bcc25273f267297a89a4904963ea29af19b8e4f6eabe04f1c2c7e9abd7bfc4730ddb1d58f2ea04b6fee74053d8bddb5656ec6ebf6c79cc8d14202c + languageName: node + linkType: hard + "hookified@npm:^1.14.0, hookified@npm:^1.15.0, hookified@npm:^1.15.1": version: 1.15.1 resolution: "hookified@npm:1.15.1" @@ -19940,7 +19957,7 @@ __metadata: eslint-plugin-jsx-a11y: "npm:6.10.2" eslint-plugin-prettier: "npm:5.5.5" eslint-plugin-react: "npm:7.37.5" - eslint-plugin-react-hooks: "npm:6.1.1" + eslint-plugin-react-hooks: "npm:7.1.1" express: "npm:5.2.1" gatsby: "npm:5.16.1" gatsby-plugin-catch-links: "npm:5.16.0" @@ -20417,7 +20434,7 @@ __metadata: languageName: node linkType: hard -"zod-validation-error@npm:^3.0.3 || ^4.0.0": +"zod-validation-error@npm:^3.5.0 || ^4.0.0": version: 4.0.2 resolution: "zod-validation-error@npm:4.0.2" peerDependencies: @@ -20426,10 +20443,10 @@ __metadata: languageName: node linkType: hard -"zod@npm:^3.22.4 || ^4.0.0": - version: 4.3.6 - resolution: "zod@npm:4.3.6" - checksum: 10c0/860d25a81ab41d33aa25f8d0d07b091a04acb426e605f396227a796e9e800c44723ed96d0f53a512b57be3d1520f45bf69c0cb3b378a232a00787a2609625307 +"zod@npm:^3.25.0 || ^4.0.0": + version: 4.4.2 + resolution: "zod@npm:4.4.2" + checksum: 10c0/aa5097464c41cf22d715cbc29873ae6feaaf56e687b81d140458d7c01201e7b9de1ee46c8567b5458ee3c0068b8a82b2652535b5d39589fcb5562d861c83ded3 languageName: node linkType: hard