diff --git a/package.json b/package.json index f44ccbf..881ed8e 100644 --- a/package.json +++ b/package.json @@ -42,8 +42,8 @@ "@types/jest-when": "^3", "@types/lodash": "^4.17.13", "@types/node": "^20", - "@types/react": "^18", - "@types/react-dom": "^18.3.0", + "@types/react": "^19.0.0", + "@types/react-dom": "^19.0.0", "@typescript-eslint/eslint-plugin": "^8.13.0", "@typescript-eslint/typescript-estree": "^8.13.0", "eslint": "^8", @@ -55,7 +55,7 @@ "eslint-plugin-jest": "^28.6.0", "eslint-plugin-mdx": "^3.0.0", "eslint-plugin-react": "^7.34.3", - "eslint-plugin-react-hooks": "^4.6.2", + "eslint-plugin-react-hooks": "^5.0.0", "eslint-plugin-styled-components-a11y": "^2.1.35", "eslint-plugin-testing-library": "^6.2.0", "jest": "^29.7.0", diff --git a/yarn.lock b/yarn.lock index 3e5b0cb..4c1f270 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2244,19 +2244,19 @@ __metadata: languageName: node linkType: hard -"@types/prop-types@npm:*, @types/prop-types@npm:^15.7.14, @types/prop-types@npm:^15.7.3": +"@types/prop-types@npm:^15.7.14, @types/prop-types@npm:^15.7.3": version: 15.7.14 resolution: "@types/prop-types@npm:15.7.14" checksum: 10c0/1ec775160bfab90b67a782d735952158c7e702ca4502968aa82565bd8e452c2de8601c8dfe349733073c31179116cf7340710160d3836aa8a1ef76d1532893b1 languageName: node linkType: hard -"@types/react-dom@npm:^18.3.0": - version: 18.3.5 - resolution: "@types/react-dom@npm:18.3.5" +"@types/react-dom@npm:^19.0.0": + version: 19.0.2 + resolution: "@types/react-dom@npm:19.0.2" peerDependencies: - "@types/react": ^18.0.0 - checksum: 10c0/b163d35a6b32a79f5782574a7aeb12a31a647e248792bf437e6d596e2676961c394c5e3c6e91d1ce44ae90441dbaf93158efb4f051c0d61e2612f1cb04ce4faa + "@types/react": ^19.0.0 + checksum: 10c0/3d0c7b78dbe8df64ea769f30af990a5950173a8321c745fe11094d765423f7964c3519dca6e7cd36b4be6521c8efc690bdd3b79b327b229dd1e9d5a8bad677dd languageName: node linkType: hard @@ -2269,13 +2269,12 @@ __metadata: languageName: node linkType: hard -"@types/react@npm:^18": - version: 18.3.17 - resolution: "@types/react@npm:18.3.17" +"@types/react@npm:^19.0.0": + version: 19.0.2 + resolution: "@types/react@npm:19.0.2" dependencies: - "@types/prop-types": "npm:*" csstype: "npm:^3.0.2" - checksum: 10c0/475191e9cd0ab5bef35cc1868295d6526cd78b25c1bb816f0747a1e92261688305f81c0e29aff52e6ea70397f133e34c399dc936cb5072f1acf465d9daacc0da + checksum: 10c0/8992f39701fcf1bf893ef8f94a56196445667baf08fe4f6050a14e229a17aad3265ad3efc01595ff3b4d5d5c69da885f9aa4ff80f164a613018734efcff1eb8f languageName: node linkType: hard @@ -4437,15 +4436,6 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-react-hooks@npm:^4.6.2": - version: 4.6.2 - resolution: "eslint-plugin-react-hooks@npm:4.6.2" - peerDependencies: - eslint: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 - checksum: 10c0/4844e58c929bc05157fb70ba1e462e34f1f4abcbc8dd5bbe5b04513d33e2699effb8bca668297976ceea8e7ebee4e8fc29b9af9d131bcef52886feaa2308b2cc - languageName: node - linkType: hard - "eslint-plugin-react-hooks@npm:^5.0.0": version: 5.1.0 resolution: "eslint-plugin-react-hooks@npm:5.1.0" @@ -9659,8 +9649,8 @@ __metadata: "@types/jest-when": "npm:^3" "@types/lodash": "npm:^4.17.13" "@types/node": "npm:^20" - "@types/react": "npm:^18" - "@types/react-dom": "npm:^18.3.0" + "@types/react": "npm:^19.0.0" + "@types/react-dom": "npm:^19.0.0" "@typescript-eslint/eslint-plugin": "npm:^8.13.0" "@typescript-eslint/typescript-estree": "npm:^8.13.0" axios: "npm:^1.7.7" @@ -9673,7 +9663,7 @@ __metadata: eslint-plugin-jest: "npm:^28.6.0" eslint-plugin-mdx: "npm:^3.0.0" eslint-plugin-react: "npm:^7.34.3" - eslint-plugin-react-hooks: "npm:^4.6.2" + eslint-plugin-react-hooks: "npm:^5.0.0" eslint-plugin-styled-components-a11y: "npm:^2.1.35" eslint-plugin-testing-library: "npm:^6.2.0" jest: "npm:^29.7.0"