Skip to content

Commit 2160af9

Browse files
Update dependency eslint-plugin-react-hooks to v7 (#11099)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 3811cac commit 2160af9

File tree

2 files changed

+106
-75
lines changed

2 files changed

+106
-75
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@
203203
"eslint-plugin-import": "2.32.0",
204204
"eslint-plugin-jsx-a11y": "6.10.2",
205205
"eslint-plugin-react": "7.37.5",
206-
"eslint-plugin-react-hooks": "5.2.0",
206+
"eslint-plugin-react-hooks": "7.0.1",
207207
"globals": "^16.0.0",
208208
"husky": "9.1.7",
209209
"jsdom": "^26.0.0",

yarn.lock

Lines changed: 105 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -264,16 +264,6 @@ __metadata:
264264
languageName: node
265265
linkType: hard
266266

267-
"@ampproject/remapping@npm:^2.2.0":
268-
version: 2.3.0
269-
resolution: "@ampproject/remapping@npm:2.3.0"
270-
dependencies:
271-
"@jridgewell/gen-mapping": "npm:^0.3.5"
272-
"@jridgewell/trace-mapping": "npm:^0.3.24"
273-
checksum: 10c0/81d63cca5443e0f0c72ae18b544cc28c7c0ec2cea46e7cb888bb0e0f411a1191d0d6b7af798d54e30777d8d1488b2ec0732aac2be342d3d7d3ffd271c6f489ed
274-
languageName: node
275-
linkType: hard
276-
277267
"@apollo/client@npm:3.14.0":
278268
version: 3.14.0
279269
resolution: "@apollo/client@npm:3.14.0"
@@ -361,7 +351,7 @@ __metadata:
361351
languageName: node
362352
linkType: hard
363353

364-
"@babel/code-frame@npm:^7.0.0, @babel/code-frame@npm:^7.10.4, @babel/code-frame@npm:^7.26.0, @babel/code-frame@npm:^7.27.1":
354+
"@babel/code-frame@npm:^7.0.0, @babel/code-frame@npm:^7.10.4, @babel/code-frame@npm:^7.27.1":
365355
version: 7.27.1
366356
resolution: "@babel/code-frame@npm:7.27.1"
367357
dependencies:
@@ -372,46 +362,46 @@ __metadata:
372362
languageName: node
373363
linkType: hard
374364

375-
"@babel/compat-data@npm:^7.20.5, @babel/compat-data@npm:^7.22.6, @babel/compat-data@npm:^7.25.9, @babel/compat-data@npm:^7.26.0":
376-
version: 7.26.2
377-
resolution: "@babel/compat-data@npm:7.26.2"
378-
checksum: 10c0/c9b5f3724828d17f728a778f9d66c19b55c018d0d76de6d731178cca64f182c22b71400a73bf2b65dcc4fcfe52b630088a94d5902911b54206aa90e3ffe07d12
365+
"@babel/compat-data@npm:^7.20.5, @babel/compat-data@npm:^7.22.6, @babel/compat-data@npm:^7.26.0, @babel/compat-data@npm:^7.27.2":
366+
version: 7.28.5
367+
resolution: "@babel/compat-data@npm:7.28.5"
368+
checksum: 10c0/702a25de73087b0eba325c1d10979eed7c9b6662677386ba7b5aa6eace0fc0676f78343bae080a0176ae26f58bd5535d73b9d0fbb547fef377692e8b249353a7
379369
languageName: node
380370
linkType: hard
381371

382-
"@babel/core@npm:^7.14.0, @babel/core@npm:^7.21.3, @babel/core@npm:^7.22.9, @babel/core@npm:^7.25.9":
383-
version: 7.26.0
384-
resolution: "@babel/core@npm:7.26.0"
372+
"@babel/core@npm:^7.14.0, @babel/core@npm:^7.21.3, @babel/core@npm:^7.22.9, @babel/core@npm:^7.24.4, @babel/core@npm:^7.25.9":
373+
version: 7.28.5
374+
resolution: "@babel/core@npm:7.28.5"
385375
dependencies:
386-
"@ampproject/remapping": "npm:^2.2.0"
387-
"@babel/code-frame": "npm:^7.26.0"
388-
"@babel/generator": "npm:^7.26.0"
389-
"@babel/helper-compilation-targets": "npm:^7.25.9"
390-
"@babel/helper-module-transforms": "npm:^7.26.0"
391-
"@babel/helpers": "npm:^7.26.0"
392-
"@babel/parser": "npm:^7.26.0"
393-
"@babel/template": "npm:^7.25.9"
394-
"@babel/traverse": "npm:^7.25.9"
395-
"@babel/types": "npm:^7.26.0"
376+
"@babel/code-frame": "npm:^7.27.1"
377+
"@babel/generator": "npm:^7.28.5"
378+
"@babel/helper-compilation-targets": "npm:^7.27.2"
379+
"@babel/helper-module-transforms": "npm:^7.28.3"
380+
"@babel/helpers": "npm:^7.28.4"
381+
"@babel/parser": "npm:^7.28.5"
382+
"@babel/template": "npm:^7.27.2"
383+
"@babel/traverse": "npm:^7.28.5"
384+
"@babel/types": "npm:^7.28.5"
385+
"@jridgewell/remapping": "npm:^2.3.5"
396386
convert-source-map: "npm:^2.0.0"
397387
debug: "npm:^4.1.0"
398388
gensync: "npm:^1.0.0-beta.2"
399389
json5: "npm:^2.2.3"
400390
semver: "npm:^6.3.1"
401-
checksum: 10c0/91de73a7ff5c4049fbc747930aa039300e4d2670c2a91f5aa622f1b4868600fc89b01b6278385fbcd46f9574186fa3d9b376a9e7538e50f8d118ec13cfbcb63e
391+
checksum: 10c0/535f82238027621da6bdffbdbe896ebad3558b311d6f8abc680637a9859b96edbf929ab010757055381570b29cf66c4a295b5618318d27a4273c0e2033925e72
402392
languageName: node
403393
linkType: hard
404394

405-
"@babel/generator@npm:^7.14.0, @babel/generator@npm:^7.18.13, @babel/generator@npm:^7.25.9, @babel/generator@npm:^7.26.0, @babel/generator@npm:^7.28.3":
406-
version: 7.28.3
407-
resolution: "@babel/generator@npm:7.28.3"
395+
"@babel/generator@npm:^7.14.0, @babel/generator@npm:^7.18.13, @babel/generator@npm:^7.25.9, @babel/generator@npm:^7.28.5":
396+
version: 7.28.5
397+
resolution: "@babel/generator@npm:7.28.5"
408398
dependencies:
409-
"@babel/parser": "npm:^7.28.3"
410-
"@babel/types": "npm:^7.28.2"
399+
"@babel/parser": "npm:^7.28.5"
400+
"@babel/types": "npm:^7.28.5"
411401
"@jridgewell/gen-mapping": "npm:^0.3.12"
412402
"@jridgewell/trace-mapping": "npm:^0.3.28"
413403
jsesc: "npm:^3.0.2"
414-
checksum: 10c0/0ff58bcf04f8803dcc29479b547b43b9b0b828ec1ee0668e92d79f9e90f388c28589056637c5ff2fd7bcf8d153c990d29c448d449d852bf9d1bc64753ca462bc
404+
checksum: 10c0/9f219fe1d5431b6919f1a5c60db8d5d34fe546c0d8f5a8511b32f847569234ffc8032beb9e7404649a143f54e15224ecb53a3d11b6bb85c3203e573d91fca752
415405
languageName: node
416406
linkType: hard
417407

@@ -434,16 +424,16 @@ __metadata:
434424
languageName: node
435425
linkType: hard
436426

437-
"@babel/helper-compilation-targets@npm:^7.20.7, @babel/helper-compilation-targets@npm:^7.22.6, @babel/helper-compilation-targets@npm:^7.25.9":
438-
version: 7.25.9
439-
resolution: "@babel/helper-compilation-targets@npm:7.25.9"
427+
"@babel/helper-compilation-targets@npm:^7.20.7, @babel/helper-compilation-targets@npm:^7.22.6, @babel/helper-compilation-targets@npm:^7.25.9, @babel/helper-compilation-targets@npm:^7.27.2":
428+
version: 7.27.2
429+
resolution: "@babel/helper-compilation-targets@npm:7.27.2"
440430
dependencies:
441-
"@babel/compat-data": "npm:^7.25.9"
442-
"@babel/helper-validator-option": "npm:^7.25.9"
431+
"@babel/compat-data": "npm:^7.27.2"
432+
"@babel/helper-validator-option": "npm:^7.27.1"
443433
browserslist: "npm:^4.24.0"
444434
lru-cache: "npm:^5.1.1"
445435
semver: "npm:^6.3.1"
446-
checksum: 10c0/a6b26a1e4222e69ef8e62ee19374308f060b007828bc11c65025ecc9e814aba21ff2175d6d3f8bf53c863edd728ee8f94ba7870f8f90a37d39552ad9933a8aaa
436+
checksum: 10c0/f338fa00dcfea931804a7c55d1a1c81b6f0a09787e528ec580d5c21b3ecb3913f6cb0f361368973ce953b824d910d3ac3e8a8ee15192710d3563826447193ad1
447437
languageName: node
448438
linkType: hard
449439

@@ -509,7 +499,7 @@ __metadata:
509499
languageName: node
510500
linkType: hard
511501

512-
"@babel/helper-module-imports@npm:^7.16.7, @babel/helper-module-imports@npm:^7.25.9":
502+
"@babel/helper-module-imports@npm:^7.16.7, @babel/helper-module-imports@npm:^7.25.9, @babel/helper-module-imports@npm:^7.27.1":
513503
version: 7.27.1
514504
resolution: "@babel/helper-module-imports@npm:7.27.1"
515505
dependencies:
@@ -519,16 +509,16 @@ __metadata:
519509
languageName: node
520510
linkType: hard
521511

522-
"@babel/helper-module-transforms@npm:^7.25.9, @babel/helper-module-transforms@npm:^7.26.0":
523-
version: 7.26.0
524-
resolution: "@babel/helper-module-transforms@npm:7.26.0"
512+
"@babel/helper-module-transforms@npm:^7.25.9, @babel/helper-module-transforms@npm:^7.28.3":
513+
version: 7.28.3
514+
resolution: "@babel/helper-module-transforms@npm:7.28.3"
525515
dependencies:
526-
"@babel/helper-module-imports": "npm:^7.25.9"
527-
"@babel/helper-validator-identifier": "npm:^7.25.9"
528-
"@babel/traverse": "npm:^7.25.9"
516+
"@babel/helper-module-imports": "npm:^7.27.1"
517+
"@babel/helper-validator-identifier": "npm:^7.27.1"
518+
"@babel/traverse": "npm:^7.28.3"
529519
peerDependencies:
530520
"@babel/core": ^7.0.0
531-
checksum: 10c0/ee111b68a5933481d76633dad9cdab30c41df4479f0e5e1cc4756dc9447c1afd2c9473b5ba006362e35b17f4ebddd5fca090233bef8dfc84dca9d9127e56ec3a
521+
checksum: 10c0/549be62515a6d50cd4cfefcab1b005c47f89bd9135a22d602ee6a5e3a01f27571868ada10b75b033569f24dc4a2bb8d04bfa05ee75c16da7ade2d0db1437fcdb
532522
languageName: node
533523
linkType: hard
534524

@@ -608,10 +598,10 @@ __metadata:
608598
languageName: node
609599
linkType: hard
610600

611-
"@babel/helper-validator-option@npm:^7.25.9":
612-
version: 7.25.9
613-
resolution: "@babel/helper-validator-option@npm:7.25.9"
614-
checksum: 10c0/27fb195d14c7dcb07f14e58fe77c44eea19a6a40a74472ec05c441478fa0bb49fa1c32b2d64be7a38870ee48ef6601bdebe98d512f0253aea0b39756c4014f3e
601+
"@babel/helper-validator-option@npm:^7.25.9, @babel/helper-validator-option@npm:^7.27.1":
602+
version: 7.27.1
603+
resolution: "@babel/helper-validator-option@npm:7.27.1"
604+
checksum: 10c0/6fec5f006eba40001a20f26b1ef5dbbda377b7b68c8ad518c05baa9af3f396e780bdfded24c4eef95d14bb7b8fd56192a6ed38d5d439b97d10efc5f1a191d148
615605
languageName: node
616606
linkType: hard
617607

@@ -626,17 +616,17 @@ __metadata:
626616
languageName: node
627617
linkType: hard
628618

629-
"@babel/helpers@npm:^7.26.0":
630-
version: 7.26.0
631-
resolution: "@babel/helpers@npm:7.26.0"
619+
"@babel/helpers@npm:^7.28.4":
620+
version: 7.28.4
621+
resolution: "@babel/helpers@npm:7.28.4"
632622
dependencies:
633-
"@babel/template": "npm:^7.25.9"
634-
"@babel/types": "npm:^7.26.0"
635-
checksum: 10c0/343333cced6946fe46617690a1d0789346960910225ce359021a88a60a65bc0d791f0c5d240c0ed46cf8cc63b5fd7df52734ff14e43b9c32feae2b61b1647097
623+
"@babel/template": "npm:^7.27.2"
624+
"@babel/types": "npm:^7.28.4"
625+
checksum: 10c0/aaa5fb8098926dfed5f223adf2c5e4c7fbba4b911b73dfec2d7d3083f8ba694d201a206db673da2d9b3ae8c01793e795767654558c450c8c14b4c2175b4fcb44
636626
languageName: node
637627
linkType: hard
638628

639-
"@babel/parser@npm:^7.14.0, @babel/parser@npm:^7.16.8, @babel/parser@npm:^7.26.0, @babel/parser@npm:^7.27.2, @babel/parser@npm:^7.28.3, @babel/parser@npm:^7.28.5":
629+
"@babel/parser@npm:^7.14.0, @babel/parser@npm:^7.16.8, @babel/parser@npm:^7.24.4, @babel/parser@npm:^7.27.2, @babel/parser@npm:^7.28.5":
640630
version: 7.28.5
641631
resolution: "@babel/parser@npm:7.28.5"
642632
dependencies:
@@ -1685,22 +1675,22 @@ __metadata:
16851675
languageName: node
16861676
linkType: hard
16871677

1688-
"@babel/traverse@npm:^7.14.0, @babel/traverse@npm:^7.16.8, @babel/traverse@npm:^7.25.9, @babel/traverse@npm:^7.27.1":
1689-
version: 7.28.3
1690-
resolution: "@babel/traverse@npm:7.28.3"
1678+
"@babel/traverse@npm:^7.14.0, @babel/traverse@npm:^7.16.8, @babel/traverse@npm:^7.25.9, @babel/traverse@npm:^7.27.1, @babel/traverse@npm:^7.28.3, @babel/traverse@npm:^7.28.5":
1679+
version: 7.28.5
1680+
resolution: "@babel/traverse@npm:7.28.5"
16911681
dependencies:
16921682
"@babel/code-frame": "npm:^7.27.1"
1693-
"@babel/generator": "npm:^7.28.3"
1683+
"@babel/generator": "npm:^7.28.5"
16941684
"@babel/helper-globals": "npm:^7.28.0"
1695-
"@babel/parser": "npm:^7.28.3"
1685+
"@babel/parser": "npm:^7.28.5"
16961686
"@babel/template": "npm:^7.27.2"
1697-
"@babel/types": "npm:^7.28.2"
1687+
"@babel/types": "npm:^7.28.5"
16981688
debug: "npm:^4.3.1"
1699-
checksum: 10c0/26e95b29a46925b7b41255e03185b7e65b2c4987e14bbee7bbf95867fb19c69181f301bbe1c7b201d4fe0cce6aa0cbea0282dad74b3a0fef3d9058f6c76fdcb3
1689+
checksum: 10c0/f6c4a595993ae2b73f2d4cd9c062f2e232174d293edd4abe1d715bd6281da8d99e47c65857e8d0917d9384c65972f4acdebc6749a7c40a8fcc38b3c7fb3e706f
17001690
languageName: node
17011691
linkType: hard
17021692

1703-
"@babel/types@npm:^7.0.0, @babel/types@npm:^7.16.8, @babel/types@npm:^7.18.13, @babel/types@npm:^7.21.3, @babel/types@npm:^7.25.9, @babel/types@npm:^7.26.0, @babel/types@npm:^7.27.1, @babel/types@npm:^7.28.2, @babel/types@npm:^7.28.5, @babel/types@npm:^7.4.4":
1693+
"@babel/types@npm:^7.0.0, @babel/types@npm:^7.16.8, @babel/types@npm:^7.18.13, @babel/types@npm:^7.21.3, @babel/types@npm:^7.25.9, @babel/types@npm:^7.27.1, @babel/types@npm:^7.28.4, @babel/types@npm:^7.28.5, @babel/types@npm:^7.4.4":
17041694
version: 7.28.5
17051695
resolution: "@babel/types@npm:7.28.5"
17061696
dependencies:
@@ -5125,6 +5115,16 @@ __metadata:
51255115
languageName: node
51265116
linkType: hard
51275117

5118+
"@jridgewell/remapping@npm:^2.3.5":
5119+
version: 2.3.5
5120+
resolution: "@jridgewell/remapping@npm:2.3.5"
5121+
dependencies:
5122+
"@jridgewell/gen-mapping": "npm:^0.3.5"
5123+
"@jridgewell/trace-mapping": "npm:^0.3.24"
5124+
checksum: 10c0/3de494219ffeb2c5c38711d0d7bb128097edf91893090a2dbc8ee0b55d092bb7347b1fd0f478486c5eab010e855c73927b1666f2107516d472d24a73017d1194
5125+
languageName: node
5126+
linkType: hard
5127+
51285128
"@jridgewell/resolve-uri@npm:^3.0.3, @jridgewell/resolve-uri@npm:^3.1.0":
51295129
version: 3.1.1
51305130
resolution: "@jridgewell/resolve-uri@npm:3.1.1"
@@ -12682,12 +12682,18 @@ __metadata:
1268212682
languageName: node
1268312683
linkType: hard
1268412684

12685-
"eslint-plugin-react-hooks@npm:5.2.0":
12686-
version: 5.2.0
12687-
resolution: "eslint-plugin-react-hooks@npm:5.2.0"
12685+
"eslint-plugin-react-hooks@npm:7.0.1":
12686+
version: 7.0.1
12687+
resolution: "eslint-plugin-react-hooks@npm:7.0.1"
12688+
dependencies:
12689+
"@babel/core": "npm:^7.24.4"
12690+
"@babel/parser": "npm:^7.24.4"
12691+
hermes-parser: "npm:^0.25.1"
12692+
zod: "npm:^3.25.0 || ^4.0.0"
12693+
zod-validation-error: "npm:^3.5.0 || ^4.0.0"
1268812694
peerDependencies:
1268912695
eslint: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0
12690-
checksum: 10c0/1c8d50fa5984c6dea32470651807d2922cc3934cf3425e78f84a24c2dfd972e7f019bee84aefb27e0cf2c13fea0ac1d4473267727408feeb1c56333ca1489385
12696+
checksum: 10c0/1e711d1a9d1fa9cfc51fa1572500656577201199c70c795c6a27adfc1df39e5c598f69aab6aa91117753d23cc1f11388579a2bed14921cf9a4efe60ae8618496
1269112697
languageName: node
1269212698
linkType: hard
1269312699

@@ -14357,6 +14363,22 @@ __metadata:
1435714363
languageName: node
1435814364
linkType: hard
1435914365

14366+
"hermes-estree@npm:0.25.1":
14367+
version: 0.25.1
14368+
resolution: "hermes-estree@npm:0.25.1"
14369+
checksum: 10c0/48be3b2fa37a0cbc77a112a89096fa212f25d06de92781b163d67853d210a8a5c3784fac23d7d48335058f7ed283115c87b4332c2a2abaaccc76d0ead1a282ac
14370+
languageName: node
14371+
linkType: hard
14372+
14373+
"hermes-parser@npm:^0.25.1":
14374+
version: 0.25.1
14375+
resolution: "hermes-parser@npm:0.25.1"
14376+
dependencies:
14377+
hermes-estree: "npm:0.25.1"
14378+
checksum: 10c0/3abaa4c6f1bcc25273f267297a89a4904963ea29af19b8e4f6eabe04f1c2c7e9abd7bfc4730ddb1d58f2ea04b6fee74053d8bddb5656ec6ebf6c79cc8d14202c
14379+
languageName: node
14380+
linkType: hard
14381+
1436014382
"hey-listen@npm:^1.0.8":
1436114383
version: 1.0.8
1436214384
resolution: "hey-listen@npm:1.0.8"
@@ -21722,7 +21744,7 @@ __metadata:
2172221744
eslint-plugin-import: "npm:2.32.0"
2172321745
eslint-plugin-jsx-a11y: "npm:6.10.2"
2172421746
eslint-plugin-react: "npm:7.37.5"
21725-
eslint-plugin-react-hooks: "npm:5.2.0"
21747+
eslint-plugin-react-hooks: "npm:7.0.1"
2172621748
events: "npm:3.3.0"
2172721749
fast-diff: "npm:1.3.0"
2172821750
file-saver: "npm:2.0.5"
@@ -25573,14 +25595,23 @@ __metadata:
2557325595
languageName: node
2557425596
linkType: hard
2557525597

25598+
"zod-validation-error@npm:^3.5.0 || ^4.0.0":
25599+
version: 4.0.2
25600+
resolution: "zod-validation-error@npm:4.0.2"
25601+
peerDependencies:
25602+
zod: ^3.25.0 || ^4.0.0
25603+
checksum: 10c0/0ccfec48c46de1be440b719cd02044d4abb89ed0e14c13e637cd55bf29102f67ccdba373f25def0fc7130e5f15025be4d557a7edcc95d5a3811599aade689e1b
25604+
languageName: node
25605+
linkType: hard
25606+
2557625607
"zod@npm:3.22.3":
2557725608
version: 3.22.3
2557825609
resolution: "zod@npm:3.22.3"
2557925610
checksum: 10c0/cb4b24aed7dec98552eb9042e88cbd645455bf2830e5704174d2da96f554dabad4630e3b4f6623e1b6562b9eaa43535a37b7f2011f29b8d8e9eabe1ddf3b656b
2558025611
languageName: node
2558125612
linkType: hard
2558225613

25583-
"zod@npm:^4.1.8":
25614+
"zod@npm:^3.25.0 || ^4.0.0, zod@npm:^4.1.8":
2558425615
version: 4.1.12
2558525616
resolution: "zod@npm:4.1.12"
2558625617
checksum: 10c0/b64c1feb19e99d77075261eaf613e0b2be4dfcd3551eff65ad8b4f2a079b61e379854d066f7d447491fcf193f45babd8095551a9d47973d30b46b6d8e2c46774

0 commit comments

Comments
 (0)