diff --git a/package.json b/package.json index 02c75f8..b1896a1 100644 --- a/package.json +++ b/package.json @@ -61,7 +61,7 @@ "eslint-plugin-import": "^2.31.0", "eslint-plugin-jsonc": "^2.16.0", "eslint-plugin-react": "^7.35.0", - "eslint-plugin-react-hooks": "^4.6.2", + "eslint-plugin-react-hooks": "^5.0.0", "eslint-plugin-react-refresh": "^0.4.9", "eslint-plugin-regexp": "^2.6.0", "eslint-plugin-svelte": "^2.43.0", diff --git a/packages/playground/package.json b/packages/playground/package.json index bd99baf..d237475 100644 --- a/packages/playground/package.json +++ b/packages/playground/package.json @@ -14,8 +14,8 @@ "vue": "https://pkg.pr.new/vuejs/vue-vapor/vue@3f6ce96" }, "devDependencies": { - "@types/react": "^18.3.3", - "@types/react-dom": "^18.3.0", + "@types/react": "^19.0.0", + "@types/react-dom": "^19.0.0", "@vitejs/plugin-vue": "https://pkg.pr.new/@vitejs/plugin-vue@481bcd4", "@vue/compiler-core": "https://pkg.pr.new/vuejs/vue-vapor/@vue/compiler-core@3f6ce96", "@vue/compiler-dom": "https://pkg.pr.new/vuejs/vue-vapor/@vue/compiler-dom@3f6ce96", @@ -29,8 +29,8 @@ "@vue/runtime-vapor": "https://pkg.pr.new/vuejs/vue-vapor/@vue/runtime-vapor@3f6ce96", "@vue/shared": "https://pkg.pr.new/vuejs/vue-vapor/@vue/shared@3f6ce96", "@vue/vapor": "https://pkg.pr.new/vuejs/vue-vapor/@vue/vapor@3f6ce96", - "react": "^18.3.1", - "react-dom": "^18.3.1", + "react": "^19.0.0", + "react-dom": "^19.0.0", "unplugin-react-vapor": "workspace:*", "unplugin-svelte-vapor": "workspace:*", "vite": "catalog:", diff --git a/packages/react-vapor-hooks/package.json b/packages/react-vapor-hooks/package.json index ad00aa9..02a618d 100644 --- a/packages/react-vapor-hooks/package.json +++ b/packages/react-vapor-hooks/package.json @@ -48,8 +48,8 @@ "vue": "https://pkg.pr.new/vuejs/vue-vapor/vue@3f6ce96" }, "devDependencies": { - "@types/react": "^18.3.3", - "@types/react-dom": "^18.3.0", + "@types/react": "^19.0.0", + "@types/react-dom": "^19.0.0", "tsdown": "catalog:" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d14781f..3da1a2f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -54,7 +54,7 @@ importers: version: 6.2.1 '@kazupon/eslint-config': specifier: ^0.18.0 - version: 0.18.0(n4rhzwahy6ql36d7ctfcjqodk4) + version: 0.18.0(xejhzyjxfz3qqufla47skdu2te) '@kazupon/prettier-config': specifier: ^0.1.1 version: 0.1.1 @@ -80,8 +80,8 @@ importers: specifier: ^7.35.0 version: 7.37.2(eslint@9.11.0(jiti@2.4.0)) eslint-plugin-react-hooks: - specifier: ^4.6.2 - version: 4.6.2(eslint@9.11.0(jiti@2.4.0)) + specifier: ^5.0.0 + version: 5.1.0(eslint@9.11.0(jiti@2.4.0)) eslint-plugin-react-refresh: specifier: ^0.4.9 version: 0.4.14(eslint@9.11.0(jiti@2.4.0)) @@ -211,11 +211,11 @@ importers: version: https://pkg.pr.new/vuejs/vue-vapor/vue@3f6ce96(typescript@5.7.2) devDependencies: '@types/react': - specifier: ^18.3.3 - version: 18.3.12 + specifier: ^19.0.0 + version: 19.0.1 '@types/react-dom': - specifier: ^18.3.0 - version: 18.3.1 + specifier: ^19.0.0 + version: 19.0.1 '@vitejs/plugin-vue': specifier: https://pkg.pr.new/@vitejs/plugin-vue@481bcd4 version: https://pkg.pr.new/@vitejs/plugin-vue@481bcd4(vite@6.0.1(@types/node@22.10.0)(jiti@2.4.0)(terser@5.36.0)(tsx@4.19.2)(yaml@2.6.0))(vue@https://pkg.pr.new/vuejs/vue-vapor/vue@3f6ce96(typescript@5.7.2)) @@ -256,11 +256,11 @@ importers: specifier: https://pkg.pr.new/vuejs/vue-vapor/@vue/vapor@3f6ce96 version: https://pkg.pr.new/vuejs/vue-vapor/@vue/vapor@3f6ce96 react: - specifier: ^18.3.1 - version: 18.3.1 + specifier: ^19.0.0 + version: 19.0.0 react-dom: - specifier: ^18.3.1 - version: 18.3.1(react@18.3.1) + specifier: ^19.0.0 + version: 19.0.0(react@19.0.0) unplugin-react-vapor: specifier: workspace:* version: link:../unplugin-react @@ -281,11 +281,11 @@ importers: version: https://pkg.pr.new/vuejs/vue-vapor/vue@3f6ce96(typescript@5.7.2) devDependencies: '@types/react': - specifier: ^18.3.3 - version: 18.3.12 + specifier: ^19.0.0 + version: 19.0.1 '@types/react-dom': - specifier: ^18.3.0 - version: 18.3.1 + specifier: ^19.0.0 + version: 19.0.1 tsdown: specifier: 'catalog:' version: 0.3.1(rollup@4.27.2)(typescript@5.7.2) @@ -1870,14 +1870,11 @@ packages: '@types/normalize-package-data@2.4.4': resolution: {integrity: sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==} - '@types/prop-types@15.7.13': - resolution: {integrity: sha512-hCZTSvwbzWGvhqxp/RqVqwU999pBf2vp7hzIjiYOsl8wqOmUxkQ6ddw1cV3l8811+kdUFus/q4d1Y3E3SyEifA==} + '@types/react-dom@19.0.1': + resolution: {integrity: sha512-hljHij7MpWPKF6u5vojuyfV0YA4YURsQG7KT6SzV0Zs2BXAtgdTxG6A229Ub/xiWV4w/7JL8fi6aAyjshH4meA==} - '@types/react-dom@18.3.1': - resolution: {integrity: sha512-qW1Mfv8taImTthu4KoXgDfLuk4bydU6Q/TkADnDWWHwi4NX4BR+LWfTp2sVmTqRrsHvyDDTelgelxJ+SsejKKQ==} - - '@types/react@18.3.12': - resolution: {integrity: sha512-D2wOSq/d6Agt28q7rSI3jhU7G6aiuzljDGZ2hTZHIkrTLUI+AF3WMeKkEZ9nN2fkBAlcktT6vcZjDFiIhMYEQw==} + '@types/react@19.0.1': + resolution: {integrity: sha512-YW6614BDhqbpR5KtUYzTA+zlA7nayzJRA9ljz9CQoxthR0sDisYZLuvSMsil36t4EH/uAt8T52Xb4sVw17G+SQ==} '@types/resolve@1.20.2': resolution: {integrity: sha512-60BCwRFOZCQhDncwQdxxeOEEkbc5dIMccYLwbxsS4TUNeVECQ/pBJ0j09mrHOl/JJvpRPGwO9SvE4nR2Nb/a4Q==} @@ -2954,11 +2951,11 @@ packages: peerDependencies: eslint: '>=6.0.0' - eslint-plugin-react-hooks@4.6.2: - resolution: {integrity: sha512-QzliNJq4GinDBcD8gPB5v0wh6g8q3SUi6EFF0x8N/BL9PoVs0atuGc47ozMRyOWAKdwaZ5OnbOEa3WR+dSGKuQ==} + eslint-plugin-react-hooks@5.1.0: + resolution: {integrity: sha512-mpJRtPgHN2tNAvZ35AMfqeB3Xqeo273QxrHJsbBEPWODRM4r0yB6jfoROqKEYrOn27UtRPpcpHc2UqyBSuUNTw==} engines: {node: '>=10'} peerDependencies: - eslint: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 + eslint: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0 eslint-plugin-react-refresh@0.4.14: resolution: {integrity: sha512-aXvzCTK7ZBv1e7fahFuR3Z/fyQQSIQ711yPgYRj+Oj64tyTgO4iQIDmYXDBqvSWQ/FA4OSCsXOStlF+noU0/NA==} @@ -4609,16 +4606,16 @@ packages: resolution: {integrity: sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==} hasBin: true - react-dom@18.3.1: - resolution: {integrity: sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==} + react-dom@19.0.0: + resolution: {integrity: sha512-4GV5sHFG0e/0AD4X+ySy6UJd3jVl1iNsNHdpad0qhABJ11twS3TTBnseqsKurKcsNqCEFeGL3uLpVChpIO3QfQ==} peerDependencies: - react: ^18.3.1 + react: ^19.0.0 react-is@16.13.1: resolution: {integrity: sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==} - react@18.3.1: - resolution: {integrity: sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==} + react@19.0.0: + resolution: {integrity: sha512-V8AVnmPIICiWpGfm6GLzCR/W5FXLchHop40W4nXBmdlEceh16rCN8O8LNWm5bh5XUX91fh7KpA+W0TgMKmgTpQ==} engines: {node: '>=0.10.0'} read-package-json-fast@4.0.0: @@ -4775,8 +4772,8 @@ packages: resolution: {integrity: sha512-xAg7SOnEhrm5zI3puOOKyy1OMcMlIJZYNJY7xLBwSze0UjhPLnWfj2GF2EpT0jmzaJKIWKHLsaSSajf35bcYnA==} engines: {node: '>=v12.22.7'} - scheduler@0.23.2: - resolution: {integrity: sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==} + scheduler@0.25.0: + resolution: {integrity: sha512-xFVuu11jh+xcO7JOAGJNOXld8/TcEHK/4CituBUeUb5hqxJLj9YuemAEuvm9gQ/+pgXYfbQuqAkiYu+u7YEsNA==} schema-utils@3.3.0: resolution: {integrity: sha512-pN/yOAvcC+5rQ5nERGuwrjLlYvLTbCibnZ1I7B1LaiAz9BRBlE9GMgE/eqV30P7aJQUf7Ddimy/RsbYO/GrVGg==} @@ -6305,7 +6302,7 @@ snapshots: string-argv: 0.3.2 type-detect: 4.1.0 - '@kazupon/eslint-config@0.18.0(n4rhzwahy6ql36d7ctfcjqodk4)': + '@kazupon/eslint-config@0.18.0(xejhzyjxfz3qqufla47skdu2te)': dependencies: '@eslint-community/eslint-plugin-eslint-comments': 4.4.1(eslint@9.11.0(jiti@2.4.0)) '@eslint/js': 9.15.0 @@ -6319,7 +6316,7 @@ snapshots: eslint-plugin-import: 2.31.0(@typescript-eslint/parser@8.16.0(eslint@9.11.0(jiti@2.4.0))(typescript@5.6.2))(eslint-import-resolver-typescript@3.6.3)(eslint@9.11.0(jiti@2.4.0)) eslint-plugin-jsonc: 2.18.1(eslint@9.11.0(jiti@2.4.0)) eslint-plugin-react: 7.37.2(eslint@9.11.0(jiti@2.4.0)) - eslint-plugin-react-hooks: 4.6.2(eslint@9.11.0(jiti@2.4.0)) + eslint-plugin-react-hooks: 5.1.0(eslint@9.11.0(jiti@2.4.0)) eslint-plugin-react-refresh: 0.4.14(eslint@9.11.0(jiti@2.4.0)) eslint-plugin-regexp: 2.7.0(eslint@9.11.0(jiti@2.4.0)) eslint-plugin-svelte: 2.46.0(eslint@9.11.0(jiti@2.4.0))(svelte@4.2.18(patch_hash=c5c6vdjhqpc47quhpp6vmkfhii)) @@ -6751,15 +6748,12 @@ snapshots: '@types/normalize-package-data@2.4.4': {} - '@types/prop-types@15.7.13': {} - - '@types/react-dom@18.3.1': + '@types/react-dom@19.0.1': dependencies: - '@types/react': 18.3.12 + '@types/react': 19.0.1 - '@types/react@18.3.12': + '@types/react@19.0.1': dependencies: - '@types/prop-types': 15.7.13 csstype: 3.1.3 '@types/resolve@1.20.2': {} @@ -8192,7 +8186,7 @@ snapshots: transitivePeerDependencies: - '@eslint/json' - eslint-plugin-react-hooks@4.6.2(eslint@9.11.0(jiti@2.4.0)): + eslint-plugin-react-hooks@5.1.0(eslint@9.11.0(jiti@2.4.0)): dependencies: eslint: 9.11.0(jiti@2.4.0) @@ -10079,17 +10073,14 @@ snapshots: minimist: 1.2.8 strip-json-comments: 2.0.1 - react-dom@18.3.1(react@18.3.1): + react-dom@19.0.0(react@19.0.0): dependencies: - loose-envify: 1.4.0 - react: 18.3.1 - scheduler: 0.23.2 + react: 19.0.0 + scheduler: 0.25.0 react-is@16.13.1: {} - react@18.3.1: - dependencies: - loose-envify: 1.4.0 + react@19.0.0: {} read-package-json-fast@4.0.0: dependencies: @@ -10281,9 +10272,7 @@ snapshots: dependencies: xmlchars: 2.2.0 - scheduler@0.23.2: - dependencies: - loose-envify: 1.4.0 + scheduler@0.25.0: {} schema-utils@3.3.0: dependencies: