Skip to content

Commit a58bf1f

Browse files
Upgrade dev dependencies: prettier v3, eslint-plugin-react-hooks v7
- prettier: ^2.3.2 → ^3.0.0 - eslint-plugin-react-hooks: ^4.2.0 → ^7.0.0 - playwright.config.ts: tighten snapshot threshold from 2% → 1% Dev tooling only — no runtime or visual impact. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 2abdb92 commit a58bf1f

3 files changed

Lines changed: 43 additions & 10 deletions

File tree

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@
6464
"eslint-plugin-import": "2.32.0",
6565
"eslint-plugin-jsx-a11y": "^6.4.1",
6666
"eslint-plugin-react": "7.37.5",
67-
"eslint-plugin-react-hooks": "^4.2.0",
67+
"eslint-plugin-react-hooks": "^7.0.0",
6868
"gatsby-remark-code-titles": "^1.1.0",
69-
"prettier": "^2.3.2",
69+
"prettier": "^3.0.0",
7070
"typescript": "^5"
7171
},
7272
"repository": {

playwright.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export default defineConfig({
4343

4444
expect: {
4545
toHaveScreenshot: {
46-
maxDiffPixelRatio: 0.02, // Allow 2% pixels diff ratio
46+
maxDiffPixelRatio: 0.01, // Allow 1% pixels diff ratio
4747
},
4848
},
4949

yarn.lock

Lines changed: 40 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
json5 "^2.2.3"
9090
semver "^6.3.1"
9191

92-
"@babel/core@^7.20.12":
92+
"@babel/core@^7.20.12", "@babel/core@^7.24.4":
9393
version "7.29.0"
9494
resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.29.0.tgz#5286ad785df7f79d656e88ce86e650d16ca5f322"
9595
integrity sha512-CGOfOJqWjg2qW/Mb6zNsDm+u5vFQ8DxXfbM09z69p5Z6+mE1ikP2jUXw+j42Pf1XTYED2Rni5f95npYeuwMDQA==
@@ -426,7 +426,7 @@
426426
dependencies:
427427
"@babel/types" "^7.26.3"
428428

429-
"@babel/parser@^7.20.13", "@babel/parser@^7.28.6", "@babel/parser@^7.29.0":
429+
"@babel/parser@^7.20.13", "@babel/parser@^7.24.4", "@babel/parser@^7.28.6", "@babel/parser@^7.29.0":
430430
version "7.29.2"
431431
resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.29.2.tgz#58bd50b9a7951d134988a1ae177a35ef9a703ba1"
432432
integrity sha512-4GgRzy/+fsBa72/RZVJmGKPmZu9Byn8o4MoLpmNe1m8ZfYnz5emHLQz3U4gLud6Zwl0RZIcgiLD7Uq7ySFuDLA==
@@ -5650,11 +5650,22 @@ eslint-plugin-jsx-a11y@^6.4.1, eslint-plugin-jsx-a11y@^6.8.0:
56505650
safe-regex-test "^1.0.3"
56515651
string.prototype.includes "^2.0.1"
56525652

5653-
eslint-plugin-react-hooks@^4.2.0, eslint-plugin-react-hooks@^4.6.0:
5653+
eslint-plugin-react-hooks@^4.6.0:
56545654
version "4.6.2"
56555655
resolved "https://registry.yarnpkg.com/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.6.2.tgz#c829eb06c0e6f484b3fbb85a97e57784f328c596"
56565656
integrity sha512-QzliNJq4GinDBcD8gPB5v0wh6g8q3SUi6EFF0x8N/BL9PoVs0atuGc47ozMRyOWAKdwaZ5OnbOEa3WR+dSGKuQ==
56575657

5658+
eslint-plugin-react-hooks@^7.0.0:
5659+
version "7.0.1"
5660+
resolved "https://registry.yarnpkg.com/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-7.0.1.tgz#66e258db58ece50723ef20cc159f8aa908219169"
5661+
integrity sha512-O0d0m04evaNzEPoSW+59Mezf8Qt0InfgGIBJnpC0h3NH/WjUAR7BIKUfysC6todmtiZ/A0oUVS8Gce0WhBrHsA==
5662+
dependencies:
5663+
"@babel/core" "^7.24.4"
5664+
"@babel/parser" "^7.24.4"
5665+
hermes-parser "^0.25.1"
5666+
zod "^3.25.0 || ^4.0.0"
5667+
zod-validation-error "^3.5.0 || ^4.0.0"
5668+
56585669
eslint-plugin-react@7.37.5, eslint-plugin-react@^7.32.2:
56595670
version "7.37.5"
56605671
resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.37.5.tgz#2975511472bdda1b272b34d779335c9b0e877065"
@@ -7373,6 +7384,18 @@ header-case@^2.0.4:
73737384
capital-case "^1.0.4"
73747385
tslib "^2.0.3"
73757386

7387+
hermes-estree@0.25.1:
7388+
version "0.25.1"
7389+
resolved "https://registry.yarnpkg.com/hermes-estree/-/hermes-estree-0.25.1.tgz#6aeec17d1983b4eabf69721f3aa3eb705b17f480"
7390+
integrity sha512-0wUoCcLp+5Ev5pDW2OriHC2MJCbwLwuRx+gAqMTOkGKJJiBCLjtrvy4PWUGn6MIVefecRpzoOZ/UV6iGdOr+Cw==
7391+
7392+
hermes-parser@^0.25.1:
7393+
version "0.25.1"
7394+
resolved "https://registry.yarnpkg.com/hermes-parser/-/hermes-parser-0.25.1.tgz#5be0e487b2090886c62bd8a11724cd766d5f54d1"
7395+
integrity sha512-6pEjquH3rqaI6cYAXYPcz9MS4rY6R4ngRgrgfDshRptUZIc3lw0MCIJIGDj9++mfySOuPTHB4nrSW99BCvOPIA==
7396+
dependencies:
7397+
hermes-estree "0.25.1"
7398+
73767399
hoist-non-react-statics@^3.0.0, hoist-non-react-statics@^3.3.0:
73777400
version "3.3.2"
73787401
resolved "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz#ece0acaf71d62c2969c2ec59feff42a4b1a85b45"
@@ -10192,10 +10215,10 @@ prelude-ls@^1.2.1:
1019210215
resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.2.1.tgz#debc6489d7a6e6b0e7611888cec880337d316396"
1019310216
integrity sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==
1019410217

10195-
prettier@^2.3.2:
10196-
version "2.8.8"
10197-
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.8.tgz#e8c5d7e98a4305ffe3de2e1fc4aca1a71c28b1da"
10198-
integrity sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==
10218+
prettier@^3.0.0:
10219+
version "3.8.1"
10220+
resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.8.1.tgz#edf48977cf991558f4fcbd8a3ba6015ba2a3a173"
10221+
integrity sha512-UOnG6LftzbdaHZcKoPFtOcCKztrQ57WkHDeRD9t/PTQtmT0NHSeWWepj6pS0z/N7+08BHFDQVUrfmfMRcZwbMg==
1019910222

1020010223
pretty-bytes@^5.1.0, pretty-bytes@^5.6.0:
1020110224
version "5.6.0"
@@ -13014,6 +13037,16 @@ yurnalist@^2.1.0:
1301413037
read "^1.0.7"
1301513038
strip-ansi "^5.2.0"
1301613039

13040+
"zod-validation-error@^3.5.0 || ^4.0.0":
13041+
version "4.0.2"
13042+
resolved "https://registry.yarnpkg.com/zod-validation-error/-/zod-validation-error-4.0.2.tgz#bc605eba49ce0fcd598c127fee1c236be3f22918"
13043+
integrity sha512-Q6/nZLe6jxuU80qb/4uJ4t5v2VEZ44lzQjPDhYJNztRQ4wyWc6VF3D3Kb/fAuPetZQnhS3hnajCf9CsWesghLQ==
13044+
13045+
"zod@^3.25.0 || ^4.0.0":
13046+
version "4.3.6"
13047+
resolved "https://registry.yarnpkg.com/zod/-/zod-4.3.6.tgz#89c56e0aa7d2b05107d894412227087885ab112a"
13048+
integrity sha512-rftlrkhHZOcjDwkGlnUtZZkvaPHCsDATp4pGpuOOMDaTdDDXF91wuVDJoWoPsKX/3YPQ5fHuF3STjcYyKr+Qhg==
13049+
1301713050
zwitch@^1.0.0:
1301813051
version "1.0.5"
1301913052
resolved "https://registry.yarnpkg.com/zwitch/-/zwitch-1.0.5.tgz#d11d7381ffed16b742f6af7b3f223d5cd9fe9920"

0 commit comments

Comments
 (0)