From a2e98acd9963b1e443c166b0077cc2f14f3f4a8f Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 27 Aug 2025 20:46:05 +0000 Subject: [PATCH] chore(deps): update react monorepo --- demos/demo-site/package.json | 8 +- demos/edge-demo-site/package.json | 8 +- demos/vite-edge/package.json | 10 +- demos/vite-functions/package.json | 10 +- packages/remix-adapter/package.json | 8 +- packages/remix-edge-adapter/package.json | 8 +- .../vite-plugin-react-router/package.json | 8 +- pnpm-lock.yaml | 294 ++++++++++-------- .../fixtures/classic-edge-site/package.json | 8 +- .../classic-serverless-site/package.json | 8 +- tests/e2e/fixtures/edge-site/package.json | 10 +- .../package.json | 8 +- .../fixtures/hydrogen-vite-site/package.json | 8 +- .../react-router-serverless-site/package.json | 8 +- .../e2e/fixtures/serverless-site/package.json | 10 +- 15 files changed, 217 insertions(+), 197 deletions(-) diff --git a/demos/demo-site/package.json b/demos/demo-site/package.json index 9327fff5..a56b9473 100644 --- a/demos/demo-site/package.json +++ b/demos/demo-site/package.json @@ -27,15 +27,15 @@ "@remix-run/css-bundle": "^2.9.2", "@remix-run/node": "^2.9.2", "@remix-run/react": "^2.9.2", - "react": "^18.2.0", - "react-dom": "^18.2.0" + "react": "^19.0.0", + "react-dom": "^19.0.0" }, "devDependencies": { "@remix-run/dev": "^2.9.2", "@remix-run/eslint-config": "^2.9.2", "@remix-run/serve": "^2.9.2", - "@types/react": "^18.0.27", - "@types/react-dom": "^18.0.10", + "@types/react": "^19.0.0", + "@types/react-dom": "^19.0.0", "eslint": "^8.32.0", "typescript": "^5.2.2" } diff --git a/demos/edge-demo-site/package.json b/demos/edge-demo-site/package.json index 5a74684e..ceb891bb 100644 --- a/demos/edge-demo-site/package.json +++ b/demos/edge-demo-site/package.json @@ -28,15 +28,15 @@ "@remix-run/css-bundle": "^2.9.2", "@remix-run/react": "^2.9.2", "cross-env": "^7.0.3", - "react": "^18.2.0", - "react-dom": "^18.2.0" + "react": "^19.0.0", + "react-dom": "^19.0.0" }, "devDependencies": { "@remix-run/dev": "^2.9.2", "@remix-run/eslint-config": "^2.9.2", "@remix-run/serve": "^2.9.2", - "@types/react": "^18.0.27", - "@types/react-dom": "^18.0.10", + "@types/react": "^19.0.0", + "@types/react-dom": "^19.0.0", "eslint": "^8.32.0", "typescript": "^5.0.0" } diff --git a/demos/vite-edge/package.json b/demos/vite-edge/package.json index cb824a84..ba7c88b8 100644 --- a/demos/vite-edge/package.json +++ b/demos/vite-edge/package.json @@ -17,14 +17,14 @@ "@remix-run/react": "^2.16.4", "@remix-run/serve": "^2.16.4", "isbot": "^5.0.0", - "react": "^18.2.0", - "react-dom": "^18.2.0" + "react": "^19.0.0", + "react-dom": "^19.0.0" }, "devDependencies": { "@netlify/functions": "^3.1.9", "@remix-run/dev": "^2.16.4", - "@types/react": "^18.2.20", - "@types/react-dom": "^18.2.7", + "@types/react": "^19.0.0", + "@types/react-dom": "^19.0.0", "@typescript-eslint/eslint-plugin": "^7.0.0", "eslint": "^8.38.0", "eslint-config-prettier": "^9.0.0", @@ -32,7 +32,7 @@ "eslint-plugin-import": "^2.28.1", "eslint-plugin-jsx-a11y": "^6.7.1", "eslint-plugin-react": "^7.33.2", - "eslint-plugin-react-hooks": "^4.6.0", + "eslint-plugin-react-hooks": "^5.0.0", "typescript": "^5.1.6", "vite": "^6.2.5", "vite-tsconfig-paths": "^5.1.4" diff --git a/demos/vite-functions/package.json b/demos/vite-functions/package.json index 048778ce..a199ed46 100644 --- a/demos/vite-functions/package.json +++ b/demos/vite-functions/package.json @@ -16,13 +16,13 @@ "@remix-run/react": "^2.16.4", "@remix-run/serve": "^2.16.4", "isbot": "^5.0.0", - "react": "^18.2.0", - "react-dom": "^18.2.0" + "react": "^19.0.0", + "react-dom": "^19.0.0" }, "devDependencies": { "@remix-run/dev": "^2.16.4", - "@types/react": "^18.2.20", - "@types/react-dom": "^18.2.7", + "@types/react": "^19.0.0", + "@types/react-dom": "^19.0.0", "@typescript-eslint/eslint-plugin": "^7.0.0", "eslint": "^8.38.0", "eslint-config-prettier": "^9.0.0", @@ -30,7 +30,7 @@ "eslint-plugin-import": "^2.28.1", "eslint-plugin-jsx-a11y": "^6.7.1", "eslint-plugin-react": "^7.33.2", - "eslint-plugin-react-hooks": "^4.6.0", + "eslint-plugin-react-hooks": "^5.0.0", "typescript": "^5.1.6", "vite": "^6.2.5", "vite-tsconfig-paths": "^5.1.4" diff --git a/packages/remix-adapter/package.json b/packages/remix-adapter/package.json index 2d649081..f97a48cd 100644 --- a/packages/remix-adapter/package.json +++ b/packages/remix-adapter/package.json @@ -65,10 +65,10 @@ "@netlify/functions": "^3.1.9", "@remix-run/dev": "^2.16.4", "@remix-run/react": "^2.16.4", - "@types/react": "^18.0.27", - "@types/react-dom": "^18.0.10", - "react": "^18.2.0", - "react-dom": "^18.2.0", + "@types/react": "^19.0.0", + "@types/react-dom": "^19.0.0", + "react": "^19.0.0", + "react-dom": "^19.0.0", "tsup": "^8.0.2", "vite": "^6.2.5" }, diff --git a/packages/remix-edge-adapter/package.json b/packages/remix-edge-adapter/package.json index 0dbfbcdc..02e99e74 100644 --- a/packages/remix-edge-adapter/package.json +++ b/packages/remix-edge-adapter/package.json @@ -67,10 +67,10 @@ }, "devDependencies": { "@remix-run/react": "^2.16.4", - "@types/react": "^18.0.27", - "@types/react-dom": "^18.0.10", - "react": "^18.2.0", - "react-dom": "^18.2.0", + "@types/react": "^19.0.0", + "@types/react-dom": "^19.0.0", + "react": "^19.0.0", + "react-dom": "^19.0.0", "tsup": "^8.0.2", "vite": "^6.2.5" }, diff --git a/packages/vite-plugin-react-router/package.json b/packages/vite-plugin-react-router/package.json index 74d2a6f4..d873ce33 100644 --- a/packages/vite-plugin-react-router/package.json +++ b/packages/vite-plugin-react-router/package.json @@ -51,10 +51,10 @@ }, "devDependencies": { "@netlify/functions": "^3.1.9", - "@types/react": "^18.0.27", - "@types/react-dom": "^18.0.10", - "react": "^18.2.0", - "react-dom": "^18.2.0", + "@types/react": "^19.0.0", + "@types/react-dom": "^19.0.0", + "react": "^19.0.0", + "react-dom": "^19.0.0", "tsup": "^8.0.2", "vite": "^6.2.5" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c3bc177c..4b9c4bb0 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -92,29 +92,29 @@ importers: version: 2.16.6(typescript@5.7.3) '@remix-run/react': specifier: ^2.9.2 - version: 2.16.6(react-dom@18.3.1)(react@18.3.1)(typescript@5.7.3) + version: 2.16.6(react-dom@19.1.1)(react@19.1.1)(typescript@5.7.3) react: - specifier: ^18.2.0 - version: 18.3.1 + specifier: ^19.0.0 + version: 19.1.1 react-dom: - specifier: ^18.2.0 - version: 18.3.1(react@18.3.1) + specifier: ^19.0.0 + version: 19.1.1(react@19.1.1) devDependencies: '@remix-run/dev': specifier: ^2.9.2 version: 2.16.6(@remix-run/react@2.16.6)(@remix-run/serve@2.16.6)(@types/node@20.17.30)(ts-node@10.9.2)(typescript@5.7.3)(vite@6.2.7) '@remix-run/eslint-config': specifier: ^2.9.2 - version: 2.16.6(eslint@8.57.1)(react@18.3.1)(typescript@5.7.3) + version: 2.16.6(eslint@8.57.1)(react@19.1.1)(typescript@5.7.3) '@remix-run/serve': specifier: ^2.9.2 version: 2.16.6(typescript@5.7.3) '@types/react': - specifier: ^18.0.27 - version: 18.3.20 + specifier: ^19.0.0 + version: 19.1.12 '@types/react-dom': - specifier: ^18.0.10 - version: 18.3.6(@types/react@18.3.20) + specifier: ^19.0.0 + version: 19.1.8(@types/react@19.1.12) eslint: specifier: ^8.32.0 version: 8.57.1 @@ -138,32 +138,32 @@ importers: version: 2.16.6 '@remix-run/react': specifier: ^2.9.2 - version: 2.16.6(react-dom@18.3.1)(react@18.3.1)(typescript@5.7.3) + version: 2.16.6(react-dom@19.1.1)(react@19.1.1)(typescript@5.7.3) cross-env: specifier: ^7.0.3 version: 7.0.3 react: - specifier: ^18.2.0 - version: 18.3.1 + specifier: ^19.0.0 + version: 19.1.1 react-dom: - specifier: ^18.2.0 - version: 18.3.1(react@18.3.1) + specifier: ^19.0.0 + version: 19.1.1(react@19.1.1) devDependencies: '@remix-run/dev': specifier: ^2.9.2 version: 2.16.6(@remix-run/react@2.16.6)(@remix-run/serve@2.16.6)(@types/node@20.17.30)(ts-node@10.9.2)(typescript@5.7.3)(vite@6.2.7) '@remix-run/eslint-config': specifier: ^2.9.2 - version: 2.16.6(eslint@8.57.1)(react@18.3.1)(typescript@5.7.3) + version: 2.16.6(eslint@8.57.1)(react@19.1.1)(typescript@5.7.3) '@remix-run/serve': specifier: ^2.9.2 version: 2.16.6(typescript@5.7.3) '@types/react': - specifier: ^18.0.27 - version: 18.3.20 + specifier: ^19.0.0 + version: 19.1.12 '@types/react-dom': - specifier: ^18.0.10 - version: 18.3.6(@types/react@18.3.20) + specifier: ^19.0.0 + version: 19.1.8(@types/react@19.1.12) eslint: specifier: ^8.32.0 version: 8.57.1 @@ -184,7 +184,7 @@ importers: version: 2.16.6(typescript@5.7.3) '@remix-run/react': specifier: ^2.16.4 - version: 2.16.6(react-dom@18.3.1)(react@18.3.1)(typescript@5.7.3) + version: 2.16.6(react-dom@19.1.1)(react@19.1.1)(typescript@5.7.3) '@remix-run/serve': specifier: ^2.16.4 version: 2.16.6(typescript@5.7.3) @@ -192,11 +192,11 @@ importers: specifier: ^5.0.0 version: 5.1.25 react: - specifier: ^18.2.0 - version: 18.3.1 + specifier: ^19.0.0 + version: 19.1.1 react-dom: - specifier: ^18.2.0 - version: 18.3.1(react@18.3.1) + specifier: ^19.0.0 + version: 19.1.1(react@19.1.1) devDependencies: '@netlify/functions': specifier: ^3.1.9 @@ -205,11 +205,11 @@ importers: specifier: ^2.16.4 version: 2.16.6(@remix-run/react@2.16.6)(@remix-run/serve@2.16.6)(@types/node@20.17.30)(ts-node@10.9.2)(typescript@5.7.3)(vite@6.2.7) '@types/react': - specifier: ^18.2.20 - version: 18.3.20 + specifier: ^19.0.0 + version: 19.1.12 '@types/react-dom': - specifier: ^18.2.7 - version: 18.3.6(@types/react@18.3.20) + specifier: ^19.0.0 + version: 19.1.8(@types/react@19.1.12) '@typescript-eslint/eslint-plugin': specifier: ^7.0.0 version: 7.18.0(@typescript-eslint/parser@7.18.0)(eslint@8.57.1)(typescript@5.7.3) @@ -232,8 +232,8 @@ importers: specifier: ^7.33.2 version: 7.37.5(eslint@8.57.1) eslint-plugin-react-hooks: - specifier: ^4.6.0 - version: 4.6.2(eslint@8.57.1) + specifier: ^5.0.0 + version: 5.2.0(eslint@8.57.1) typescript: specifier: ^5.1.6 version: 5.7.3 @@ -254,7 +254,7 @@ importers: version: 2.16.6(typescript@5.7.3) '@remix-run/react': specifier: ^2.16.4 - version: 2.16.6(react-dom@18.3.1)(react@18.3.1)(typescript@5.7.3) + version: 2.16.6(react-dom@19.1.1)(react@19.1.1)(typescript@5.7.3) '@remix-run/serve': specifier: ^2.16.4 version: 2.16.6(typescript@5.7.3) @@ -262,21 +262,21 @@ importers: specifier: ^5.0.0 version: 5.1.25 react: - specifier: ^18.2.0 - version: 18.3.1 + specifier: ^19.0.0 + version: 19.1.1 react-dom: - specifier: ^18.2.0 - version: 18.3.1(react@18.3.1) + specifier: ^19.0.0 + version: 19.1.1(react@19.1.1) devDependencies: '@remix-run/dev': specifier: ^2.16.4 version: 2.16.6(@remix-run/react@2.16.6)(@remix-run/serve@2.16.6)(@types/node@20.17.30)(ts-node@10.9.2)(typescript@5.7.3)(vite@6.2.7) '@types/react': - specifier: ^18.2.20 - version: 18.3.20 + specifier: ^19.0.0 + version: 19.1.12 '@types/react-dom': - specifier: ^18.2.7 - version: 18.3.6(@types/react@18.3.20) + specifier: ^19.0.0 + version: 19.1.8(@types/react@19.1.12) '@typescript-eslint/eslint-plugin': specifier: ^7.0.0 version: 7.18.0(@typescript-eslint/parser@7.18.0)(eslint@8.57.1)(typescript@5.7.3) @@ -299,8 +299,8 @@ importers: specifier: ^7.33.2 version: 7.37.5(eslint@8.57.1) eslint-plugin-react-hooks: - specifier: ^4.6.0 - version: 4.6.2(eslint@8.57.1) + specifier: ^5.0.0 + version: 5.2.0(eslint@8.57.1) typescript: specifier: ^5.1.6 version: 5.7.3 @@ -328,19 +328,19 @@ importers: version: 2.16.6(@remix-run/react@2.16.6)(@types/node@20.17.30)(ts-node@10.9.2)(typescript@5.8.3)(vite@6.2.7) '@remix-run/react': specifier: ^2.16.4 - version: 2.16.6(react-dom@18.3.1)(react@18.3.1)(typescript@5.8.3) + version: 2.16.6(react-dom@19.1.1)(react@19.1.1)(typescript@5.8.3) '@types/react': - specifier: ^18.0.27 - version: 18.3.20 + specifier: ^19.0.0 + version: 19.1.12 '@types/react-dom': - specifier: ^18.0.10 - version: 18.3.6(@types/react@18.3.20) + specifier: ^19.0.0 + version: 19.1.8(@types/react@19.1.12) react: - specifier: ^18.2.0 - version: 18.3.1 + specifier: ^19.0.0 + version: 19.1.1 react-dom: - specifier: ^18.2.0 - version: 18.3.1(react@18.3.1) + specifier: ^19.0.0 + version: 19.1.1(react@19.1.1) tsup: specifier: ^8.0.2 version: 8.4.0(postcss@8.5.3)(typescript@5.8.3) @@ -365,19 +365,19 @@ importers: devDependencies: '@remix-run/react': specifier: ^2.16.4 - version: 2.16.6(react-dom@18.3.1)(react@18.3.1)(typescript@5.7.3) + version: 2.16.6(react-dom@19.1.1)(react@19.1.1)(typescript@5.7.3) '@types/react': - specifier: ^18.0.27 - version: 18.3.20 + specifier: ^19.0.0 + version: 19.1.12 '@types/react-dom': - specifier: ^18.0.10 - version: 18.3.6(@types/react@18.3.20) + specifier: ^19.0.0 + version: 19.1.8(@types/react@19.1.12) react: - specifier: ^18.2.0 - version: 18.3.1 + specifier: ^19.0.0 + version: 19.1.1 react-dom: - specifier: ^18.2.0 - version: 18.3.1(react@18.3.1) + specifier: ^19.0.0 + version: 19.1.1(react@19.1.1) tsup: specifier: ^8.0.2 version: 8.4.0(postcss@8.5.3)(typescript@5.7.3) @@ -404,23 +404,23 @@ importers: version: 5.1.25 react-router: specifier: ^7.0.1 - version: 7.6.1(react-dom@18.3.1)(react@18.3.1) + version: 7.6.1(react-dom@19.1.1)(react@19.1.1) devDependencies: '@netlify/functions': specifier: ^3.1.9 version: 3.1.9 '@types/react': - specifier: ^18.0.27 - version: 18.3.20 + specifier: ^19.0.0 + version: 19.1.12 '@types/react-dom': - specifier: ^18.0.10 - version: 18.3.6(@types/react@18.3.20) + specifier: ^19.0.0 + version: 19.1.8(@types/react@19.1.12) react: - specifier: ^18.2.0 - version: 18.3.1 + specifier: ^19.0.0 + version: 19.1.1 react-dom: - specifier: ^18.2.0 - version: 18.3.1(react@18.3.1) + specifier: ^19.0.0 + version: 19.1.1(react@19.1.1) tsup: specifier: ^8.0.2 version: 8.4.0(postcss@8.5.4)(typescript@5.8.3) @@ -1290,7 +1290,6 @@ packages: cpu: [ppc64] os: [aix] requiresBuild: true - dev: true optional: true /@esbuild/aix-ppc64@0.21.5: @@ -1349,7 +1348,6 @@ packages: cpu: [arm64] os: [android] requiresBuild: true - dev: true optional: true /@esbuild/android-arm64@0.21.5: @@ -1408,7 +1406,6 @@ packages: cpu: [arm] os: [android] requiresBuild: true - dev: true optional: true /@esbuild/android-arm@0.21.5: @@ -1467,7 +1464,6 @@ packages: cpu: [x64] os: [android] requiresBuild: true - dev: true optional: true /@esbuild/android-x64@0.21.5: @@ -1526,7 +1522,6 @@ packages: cpu: [arm64] os: [darwin] requiresBuild: true - dev: true optional: true /@esbuild/darwin-arm64@0.21.5: @@ -1585,7 +1580,6 @@ packages: cpu: [x64] os: [darwin] requiresBuild: true - dev: true optional: true /@esbuild/darwin-x64@0.21.5: @@ -1644,7 +1638,6 @@ packages: cpu: [arm64] os: [freebsd] requiresBuild: true - dev: true optional: true /@esbuild/freebsd-arm64@0.21.5: @@ -1703,7 +1696,6 @@ packages: cpu: [x64] os: [freebsd] requiresBuild: true - dev: true optional: true /@esbuild/freebsd-x64@0.21.5: @@ -1762,7 +1754,6 @@ packages: cpu: [arm64] os: [linux] requiresBuild: true - dev: true optional: true /@esbuild/linux-arm64@0.21.5: @@ -1821,7 +1812,6 @@ packages: cpu: [arm] os: [linux] requiresBuild: true - dev: true optional: true /@esbuild/linux-arm@0.21.5: @@ -1880,7 +1870,6 @@ packages: cpu: [ia32] os: [linux] requiresBuild: true - dev: true optional: true /@esbuild/linux-ia32@0.21.5: @@ -1939,7 +1928,6 @@ packages: cpu: [loong64] os: [linux] requiresBuild: true - dev: true optional: true /@esbuild/linux-loong64@0.21.5: @@ -1998,7 +1986,6 @@ packages: cpu: [mips64el] os: [linux] requiresBuild: true - dev: true optional: true /@esbuild/linux-mips64el@0.21.5: @@ -2057,7 +2044,6 @@ packages: cpu: [ppc64] os: [linux] requiresBuild: true - dev: true optional: true /@esbuild/linux-ppc64@0.21.5: @@ -2116,7 +2102,6 @@ packages: cpu: [riscv64] os: [linux] requiresBuild: true - dev: true optional: true /@esbuild/linux-riscv64@0.21.5: @@ -2175,7 +2160,6 @@ packages: cpu: [s390x] os: [linux] requiresBuild: true - dev: true optional: true /@esbuild/linux-s390x@0.21.5: @@ -2234,7 +2218,6 @@ packages: cpu: [x64] os: [linux] requiresBuild: true - dev: true optional: true /@esbuild/linux-x64@0.21.5: @@ -2327,7 +2310,6 @@ packages: cpu: [x64] os: [netbsd] requiresBuild: true - dev: true optional: true /@esbuild/netbsd-x64@0.21.5: @@ -2420,7 +2402,6 @@ packages: cpu: [x64] os: [openbsd] requiresBuild: true - dev: true optional: true /@esbuild/openbsd-x64@0.21.5: @@ -2479,7 +2460,6 @@ packages: cpu: [x64] os: [sunos] requiresBuild: true - dev: true optional: true /@esbuild/sunos-x64@0.21.5: @@ -2538,7 +2518,6 @@ packages: cpu: [arm64] os: [win32] requiresBuild: true - dev: true optional: true /@esbuild/win32-arm64@0.21.5: @@ -2597,7 +2576,6 @@ packages: cpu: [ia32] os: [win32] requiresBuild: true - dev: true optional: true /@esbuild/win32-ia32@0.21.5: @@ -2656,7 +2634,6 @@ packages: cpu: [x64] os: [win32] requiresBuild: true - dev: true optional: true /@esbuild/win32-x64@0.21.5: @@ -3969,7 +3946,7 @@ packages: optional: true dependencies: '@mjackson/node-fetch-server': 0.2.0 - react-router: 7.6.1(react-dom@18.3.1)(react@18.3.1) + react-router: 7.6.1(react-dom@19.1.1)(react@19.1.1) source-map-support: 0.5.21 stream-slice: 0.1.2 typescript: 5.8.3 @@ -4012,7 +3989,7 @@ packages: '@mdx-js/mdx': 2.3.0 '@npmcli/package-json': 4.0.1 '@remix-run/node': 2.16.6(typescript@5.7.3) - '@remix-run/react': 2.16.6(react-dom@18.3.1)(react@18.3.1)(typescript@5.7.3) + '@remix-run/react': 2.16.6(react-dom@19.1.1)(react@19.1.1)(typescript@5.7.3) '@remix-run/router': 1.23.0 '@remix-run/serve': 2.16.6(typescript@5.7.3) '@remix-run/server-runtime': 2.16.6(typescript@5.7.3) @@ -4111,7 +4088,7 @@ packages: '@mdx-js/mdx': 2.3.0 '@npmcli/package-json': 4.0.1 '@remix-run/node': 2.16.6(typescript@5.8.3) - '@remix-run/react': 2.16.6(react-dom@18.3.1)(react@18.3.1)(typescript@5.8.3) + '@remix-run/react': 2.16.6(react-dom@19.1.1)(react@19.1.1)(typescript@5.8.3) '@remix-run/router': 1.23.0 '@remix-run/server-runtime': 2.16.6(typescript@5.8.3) '@types/mdx': 2.0.13 @@ -4216,6 +4193,43 @@ packages: - supports-color dev: true + /@remix-run/eslint-config@2.16.6(eslint@8.57.1)(react@19.1.1)(typescript@5.7.3): + resolution: {integrity: sha512-bHS0dsiyhQ0XYWWbOFyHYzQHVofEBKM/1ir9KujrOXMpDJQCu2ou6k531HSFw7LQfxCVWcJtu+IeByImGJk91g==} + engines: {node: '>=18.0.0'} + peerDependencies: + eslint: ^8.0.0 + react: ^18.0.0 + typescript: ^5.1.0 + peerDependenciesMeta: + typescript: + optional: true + dependencies: + '@babel/core': 7.27.1 + '@babel/eslint-parser': 7.27.1(@babel/core@7.27.1)(eslint@8.57.1) + '@babel/preset-react': 7.27.1(@babel/core@7.27.1) + '@rushstack/eslint-patch': 1.11.0 + '@typescript-eslint/eslint-plugin': 5.62.0(@typescript-eslint/parser@5.62.0)(eslint@8.57.1)(typescript@5.7.3) + '@typescript-eslint/parser': 5.62.0(eslint@8.57.1)(typescript@5.7.3) + eslint: 8.57.1 + eslint-import-resolver-node: 0.3.7 + eslint-import-resolver-typescript: 3.10.1(eslint-plugin-import@2.31.0)(eslint@8.57.1) + eslint-plugin-import: 2.31.0(@typescript-eslint/parser@5.62.0)(eslint-import-resolver-typescript@3.10.1)(eslint@8.57.1) + eslint-plugin-jest: 26.9.0(@typescript-eslint/eslint-plugin@5.62.0)(eslint@8.57.1)(typescript@5.7.3) + eslint-plugin-jest-dom: 4.0.3(eslint@8.57.1) + eslint-plugin-jsx-a11y: 6.10.2(eslint@8.57.1) + eslint-plugin-node: 11.1.0(eslint@8.57.1) + eslint-plugin-react: 7.37.5(eslint@8.57.1) + eslint-plugin-react-hooks: 4.6.2(eslint@8.57.1) + eslint-plugin-testing-library: 5.11.1(eslint@8.57.1)(typescript@5.7.3) + react: 19.1.1 + typescript: 5.7.3 + transitivePeerDependencies: + - eslint-import-resolver-webpack + - eslint-plugin-import-x + - jest + - supports-color + dev: true + /@remix-run/express@2.16.6(express@4.21.2)(typescript@5.7.3): resolution: {integrity: sha512-TqtSg9Q3oCQwOXMUuErwiV/ydBrCRHpNaWiPN67K0X9VnUfmE6M2VTudaSm9f6n97MJaX5WFmNaTTHxMq74waw==} engines: {node: '>=18.0.0'} @@ -4266,7 +4280,7 @@ packages: typescript: 5.8.3 undici: 6.21.2 - /@remix-run/react@2.16.6(react-dom@18.3.1)(react@18.3.1)(typescript@5.7.3): + /@remix-run/react@2.16.6(react-dom@19.1.1)(react@19.1.1)(typescript@5.7.3): resolution: {integrity: sha512-9wrv1E6316ptN20U3wPLm3tRhUyv0AUh1OBxq/dGwEJOMp922aQw2HSYwzYBl00blrVnQVLz1hNfVLIUzBEFzw==} engines: {node: '>=18.0.0'} peerDependencies: @@ -4279,14 +4293,14 @@ packages: dependencies: '@remix-run/router': 1.23.0 '@remix-run/server-runtime': 2.16.6(typescript@5.7.3) - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) - react-router: 6.30.0(react@18.3.1) - react-router-dom: 6.30.0(react-dom@18.3.1)(react@18.3.1) + react: 19.1.1 + react-dom: 19.1.1(react@19.1.1) + react-router: 6.30.0(react@19.1.1) + react-router-dom: 6.30.0(react-dom@19.1.1)(react@19.1.1) turbo-stream: 2.4.1 typescript: 5.7.3 - /@remix-run/react@2.16.6(react-dom@18.3.1)(react@18.3.1)(typescript@5.8.3): + /@remix-run/react@2.16.6(react-dom@19.1.1)(react@19.1.1)(typescript@5.8.3): resolution: {integrity: sha512-9wrv1E6316ptN20U3wPLm3tRhUyv0AUh1OBxq/dGwEJOMp922aQw2HSYwzYBl00blrVnQVLz1hNfVLIUzBEFzw==} engines: {node: '>=18.0.0'} peerDependencies: @@ -4299,10 +4313,10 @@ packages: dependencies: '@remix-run/router': 1.23.0 '@remix-run/server-runtime': 2.16.6(typescript@5.8.3) - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) - react-router: 6.30.0(react@18.3.1) - react-router-dom: 6.30.0(react-dom@18.3.1)(react@18.3.1) + react: 19.1.1 + react-dom: 19.1.1(react@19.1.1) + react-router: 6.30.0(react@19.1.1) + react-router-dom: 6.30.0(react-dom@19.1.1)(react@19.1.1) turbo-stream: 2.4.1 typescript: 5.8.3 dev: true @@ -4882,22 +4896,17 @@ packages: /@types/normalize-package-data@2.4.4: resolution: {integrity: sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==} - /@types/prop-types@15.7.14: - resolution: {integrity: sha512-gNMvNH49DJ7OJYv+KAKn0Xp45p8PLl6zo2YnvDIbTd4J6MER2BmWN49TG7n9LvkyihINxeKW8+3bfS2yDC9dzQ==} - dev: true - - /@types/react-dom@18.3.6(@types/react@18.3.20): - resolution: {integrity: sha512-nf22//wEbKXusP6E9pfOCDwFdHAX4u172eaJI4YkDRQEZiorm6KfYnSC2SWLDMVWUOWPERmJnN0ujeAfTBLvrw==} + /@types/react-dom@19.1.8(@types/react@19.1.12): + resolution: {integrity: sha512-xG7xaBMJCpcK0RpN8jDbAACQo54ycO6h4dSSmgv8+fu6ZIAdANkx/WsawASUjVXYfy+J9AbUpRMNNEsXCDfDBQ==} peerDependencies: - '@types/react': ^18.0.0 + '@types/react': ^19.0.0 dependencies: - '@types/react': 18.3.20 + '@types/react': 19.1.12 dev: true - /@types/react@18.3.20: - resolution: {integrity: sha512-IPaCZN7PShZK/3t6Q87pfTkRm6oLTd4vztyoj+cbHUF1g3FfVb2tFIL79uCRKEfv16AhqDMBywP2VW3KIZUvcg==} + /@types/react@19.1.12: + resolution: {integrity: sha512-cMoR+FoAf/Jyq6+Df2/Z41jISvGZZ2eTlnsaJRptmZ76Caldwy1odD4xTr/gNV9VLj0AWgg/nmkevIyUfIIq5w==} dependencies: - '@types/prop-types': 15.7.14 csstype: 3.1.3 dev: true @@ -5413,7 +5422,7 @@ packages: '@babel/plugin-syntax-typescript': 7.27.1(@babel/core@7.27.1) '@vanilla-extract/babel-plugin-debug-ids': 1.2.0 '@vanilla-extract/css': 1.17.1 - esbuild: 0.17.6 + esbuild: 0.19.11 eval: 0.1.8 find-up: 5.0.0 javascript-stringify: 2.1.0 @@ -8108,7 +8117,6 @@ packages: '@esbuild/win32-arm64': 0.19.11 '@esbuild/win32-ia32': 0.19.11 '@esbuild/win32-x64': 0.19.11 - dev: true /esbuild@0.21.5: resolution: {integrity: sha512-mg3OPMV4hXywwpoDxu3Qda5xCKQi+vCTZq8S9J/EpkhB2HzKXq4SNFZE3+NK93JYxc8VMSep+lOUSC/RVKaBqw==} @@ -8774,6 +8782,15 @@ packages: eslint: 8.57.1 dev: true + /eslint-plugin-react-hooks@5.2.0(eslint@8.57.1): + resolution: {integrity: sha512-+f15FfK64YQwZdJNELETdn5ibXEUQmW1DZL6KXhNnc2heoy/sg9VJJeT7n8TlMWouzWqSWavFkIhHyIbIAEapg==} + engines: {node: '>=10'} + peerDependencies: + eslint: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0 + dependencies: + eslint: 8.57.1 + dev: true + /eslint-plugin-react@7.37.5(eslint@8.57.1): resolution: {integrity: sha512-Qteup0SqU15kdocexFNAJMvCJEfa2xUKNV4CC1xsVMrIIqEy3SQ/rqyxCWNzfrd3/ldy6HMlD2e0JDVpDg2qIA==} engines: {node: '>=4'} @@ -11576,6 +11593,7 @@ packages: hasBin: true dependencies: js-tokens: 4.0.0 + dev: true /loupe@3.1.3: resolution: {integrity: sha512-kkIp7XSkP78ZxJEsSxW3712C6teJVoeHHwgo9zJ380de7IYyJ2ISlxojcH2pC5OFLewESmnRi/+XCDIEEVyoug==} @@ -13975,14 +13993,13 @@ packages: strip-json-comments: 2.0.1 dev: true - /react-dom@18.3.1(react@18.3.1): - resolution: {integrity: sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==} + /react-dom@19.1.1(react@19.1.1): + resolution: {integrity: sha512-Dlq/5LAZgF0Gaz6yiqZCf6VCcZs1ghAJyrsu84Q/GT0gV+mCxbfmKNoGRKBYMJ8IEdGPqu49YWXD02GCknEDkw==} peerDependencies: - react: ^18.3.1 + react: ^19.1.1 dependencies: - loose-envify: 1.4.0 - react: 18.3.1 - scheduler: 0.23.2 + react: 19.1.1 + scheduler: 0.26.0 /react-is@16.13.1: resolution: {integrity: sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==} @@ -13996,7 +14013,7 @@ packages: resolution: {integrity: sha512-jCvmsr+1IUSMUyzOkRcvnVbX3ZYC6g9TDrDbFuFmRDq7PD4yaGbLKNQL6k2jnArV8hjYxh7hVhAZB6s9HDGpZA==} engines: {node: '>=0.10.0'} - /react-router-dom@6.30.0(react-dom@18.3.1)(react@18.3.1): + /react-router-dom@6.30.0(react-dom@19.1.1)(react@19.1.1): resolution: {integrity: sha512-x30B78HV5tFk8ex0ITwzC9TTZMua4jGyA9IUlH1JLQYQTFyxr/ZxwOJq7evg1JX1qGVUcvhsmQSKdPncQrjTgA==} engines: {node: '>=14.0.0'} peerDependencies: @@ -14004,20 +14021,20 @@ packages: react-dom: '>=16.8' dependencies: '@remix-run/router': 1.23.0 - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) - react-router: 6.30.0(react@18.3.1) + react: 19.1.1 + react-dom: 19.1.1(react@19.1.1) + react-router: 6.30.0(react@19.1.1) - /react-router@6.30.0(react@18.3.1): + /react-router@6.30.0(react@19.1.1): resolution: {integrity: sha512-D3X8FyH9nBcTSHGdEKurK7r8OYE1kKFn3d/CF+CoxbSHkxU7o37+Uh7eAHRXr6k2tSExXYO++07PeXJtA/dEhQ==} engines: {node: '>=14.0.0'} peerDependencies: react: '>=16.8' dependencies: '@remix-run/router': 1.23.0 - react: 18.3.1 + react: 19.1.1 - /react-router@7.6.1(react-dom@18.3.1)(react@18.3.1): + /react-router@7.6.1(react-dom@19.1.1)(react@19.1.1): resolution: {integrity: sha512-hPJXXxHJZEsPFNVbtATH7+MMX43UDeOauz+EAU4cgqTn7ojdI9qQORqS8Z0qmDlL1TclO/6jLRYUEtbWidtdHQ==} engines: {node: '>=20.0.0'} peerDependencies: @@ -14028,8 +14045,8 @@ packages: optional: true dependencies: cookie: 1.0.2 - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) + react: 19.1.1 + react-dom: 19.1.1(react@19.1.1) set-cookie-parser: 2.7.1 dev: false @@ -14038,6 +14055,11 @@ packages: engines: {node: '>=0.10.0'} dependencies: loose-envify: 1.4.0 + dev: true + + /react@19.1.1: + resolution: {integrity: sha512-w8nqGImo45dmMIfljjMwOGtbmC/mk4CMYhWIicdSflH91J9TyCyczcPFXJzrZ/ZXcgGRFeP6BU0BEJTw6tZdfQ==} + engines: {node: '>=0.10.0'} /read-package-json-fast@3.0.2: resolution: {integrity: sha512-0J+Msgym3vrLOUB3hzQCuZHII0xkNGCtz/HJH9xZshwv9DbDwkw1KaE3gx/e2J5rpEY5rtOy6cyhKOPrkP7FZw==} @@ -14564,10 +14586,8 @@ packages: /safer-buffer@2.1.2: resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==} - /scheduler@0.23.2: - resolution: {integrity: sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==} - dependencies: - loose-envify: 1.4.0 + /scheduler@0.26.0: + resolution: {integrity: sha512-NlHwttCI/l5gCPR3D1nNXtWABUmBwvZpEQiD4IXSbIDq8BzLIK/7Ir5gTFSGZDUu37K5cMNp0hFtzO38sC7gWA==} /secure-json-parse@2.7.0: resolution: {integrity: sha512-6aU+Rwsezw7VR8/nyvKTx8QpWH9FrcYiXXlqC4z5d5XQBDRqtbfsRjnwGyqbi3gddNtWHuEk9OANUotL26qKUw==} diff --git a/tests/e2e/fixtures/classic-edge-site/package.json b/tests/e2e/fixtures/classic-edge-site/package.json index 1d18d14a..39d3f81d 100644 --- a/tests/e2e/fixtures/classic-edge-site/package.json +++ b/tests/e2e/fixtures/classic-edge-site/package.json @@ -27,15 +27,15 @@ "@remix-run/css-bundle": "^2.16.5-pre", "@remix-run/react": "^2.16.5-pre", "cross-env": "^7.0.3", - "react": "^18.2.0", - "react-dom": "^18.2.0" + "react": "^19.0.0", + "react-dom": "^19.0.0" }, "devDependencies": { "@remix-run/dev": "^2.16.5-pre", "@remix-run/eslint-config": "^2.16.5-pre", "@remix-run/serve": "^2.16.5-pre", - "@types/react": "^18.0.27", - "@types/react-dom": "^18.0.10", + "@types/react": "^19.0.0", + "@types/react-dom": "^19.0.0", "eslint": "^8.32.0", "typescript": "^5.0.0" } diff --git a/tests/e2e/fixtures/classic-serverless-site/package.json b/tests/e2e/fixtures/classic-serverless-site/package.json index a160525b..2b4892f9 100644 --- a/tests/e2e/fixtures/classic-serverless-site/package.json +++ b/tests/e2e/fixtures/classic-serverless-site/package.json @@ -26,15 +26,15 @@ "@remix-run/css-bundle": "^2.16.5-pre", "@remix-run/node": "^2.16.5-pre", "@remix-run/react": "^2.16.5-pre", - "react": "^18.2.0", - "react-dom": "^18.2.0" + "react": "^19.0.0", + "react-dom": "^19.0.0" }, "devDependencies": { "@remix-run/dev": "^2.16.5-pre", "@remix-run/eslint-config": "^2.16.5-pre", "@remix-run/serve": "^2.16.5-pre", - "@types/react": "^18.0.27", - "@types/react-dom": "^18.0.10", + "@types/react": "^19.0.0", + "@types/react-dom": "^19.0.0", "eslint": "^8.32.0", "typescript": "^5.2.2" } diff --git a/tests/e2e/fixtures/edge-site/package.json b/tests/e2e/fixtures/edge-site/package.json index 3b6e67ce..25874c0c 100644 --- a/tests/e2e/fixtures/edge-site/package.json +++ b/tests/e2e/fixtures/edge-site/package.json @@ -17,14 +17,14 @@ "@remix-run/react": "^2.16.5-pre", "@remix-run/serve": "^2.16.5-pre", "isbot": "^5.0.0", - "react": "^18.2.0", - "react-dom": "^18.2.0" + "react": "^19.0.0", + "react-dom": "^19.0.0" }, "devDependencies": { "@netlify/functions": "^3.1.9", "@remix-run/dev": "^2.16.5-pre", - "@types/react": "^18.2.20", - "@types/react-dom": "^18.2.7", + "@types/react": "^19.0.0", + "@types/react-dom": "^19.0.0", "@typescript-eslint/eslint-plugin": "^7.0.0", "eslint": "^8.38.0", "eslint-config-prettier": "^9.0.0", @@ -32,7 +32,7 @@ "eslint-plugin-import": "^2.28.1", "eslint-plugin-jsx-a11y": "^6.7.1", "eslint-plugin-react": "^7.33.2", - "eslint-plugin-react-hooks": "^4.6.0", + "eslint-plugin-react-hooks": "^5.0.0", "typescript": "^5.1.6", "vite": "^6.2.5", "vite-tsconfig-paths": "^5.1.4" diff --git a/tests/e2e/fixtures/hydrogen-vite-site-no-entrypoint/package.json b/tests/e2e/fixtures/hydrogen-vite-site-no-entrypoint/package.json index b7d59d43..7cb1c869 100644 --- a/tests/e2e/fixtures/hydrogen-vite-site-no-entrypoint/package.json +++ b/tests/e2e/fixtures/hydrogen-vite-site-no-entrypoint/package.json @@ -21,8 +21,8 @@ "graphql": "^16.6.0", "graphql-tag": "^2.12.6", "isbot": "^5.1.17", - "react": "^18.2.0", - "react-dom": "^18.2.0" + "react": "^19.0.0", + "react-dom": "^19.0.0" }, "devDependencies": { "@graphql-codegen/cli": "^5.0.2", @@ -33,8 +33,8 @@ "@shopify/prettier-config": "^1.1.2", "@total-typescript/ts-reset": "^0.4.2", "@types/eslint": "^8.4.10", - "@types/react": "^18.2.22", - "@types/react-dom": "^18.2.7", + "@types/react": "^19.0.0", + "@types/react-dom": "^19.0.0", "eslint": "^8.20.0", "eslint-plugin-hydrogen": "0.12.2", "prettier": "^2.8.4", diff --git a/tests/e2e/fixtures/hydrogen-vite-site/package.json b/tests/e2e/fixtures/hydrogen-vite-site/package.json index b7d59d43..7cb1c869 100644 --- a/tests/e2e/fixtures/hydrogen-vite-site/package.json +++ b/tests/e2e/fixtures/hydrogen-vite-site/package.json @@ -21,8 +21,8 @@ "graphql": "^16.6.0", "graphql-tag": "^2.12.6", "isbot": "^5.1.17", - "react": "^18.2.0", - "react-dom": "^18.2.0" + "react": "^19.0.0", + "react-dom": "^19.0.0" }, "devDependencies": { "@graphql-codegen/cli": "^5.0.2", @@ -33,8 +33,8 @@ "@shopify/prettier-config": "^1.1.2", "@total-typescript/ts-reset": "^0.4.2", "@types/eslint": "^8.4.10", - "@types/react": "^18.2.22", - "@types/react-dom": "^18.2.7", + "@types/react": "^19.0.0", + "@types/react-dom": "^19.0.0", "eslint": "^8.20.0", "eslint-plugin-hydrogen": "0.12.2", "prettier": "^2.8.4", diff --git a/tests/e2e/fixtures/react-router-serverless-site/package.json b/tests/e2e/fixtures/react-router-serverless-site/package.json index 8b938e55..7417859d 100644 --- a/tests/e2e/fixtures/react-router-serverless-site/package.json +++ b/tests/e2e/fixtures/react-router-serverless-site/package.json @@ -13,8 +13,8 @@ "@react-router/node": "^7.4.1", "@react-router/serve": "^7.4.1", "isbot": "^5.1.17", - "react": "^18.3.1", - "react-dom": "^18.3.1", + "react": "^19.0.0", + "react-dom": "^19.0.0", "react-router": "^7.4.1" }, "devDependencies": { @@ -22,8 +22,8 @@ "@netlify/vite-plugin-react-router": "*", "@react-router/dev": "^7.4.1", "@types/node": "^20", - "@types/react": "^18.3.12", - "@types/react-dom": "^18.3.1", + "@types/react": "^19.0.0", + "@types/react-dom": "^19.0.0", "autoprefixer": "^10.4.20", "postcss": "^8.4.49", "tailwindcss": "^3.4.15", diff --git a/tests/e2e/fixtures/serverless-site/package.json b/tests/e2e/fixtures/serverless-site/package.json index 5f94f3a1..e096ee27 100644 --- a/tests/e2e/fixtures/serverless-site/package.json +++ b/tests/e2e/fixtures/serverless-site/package.json @@ -17,14 +17,14 @@ "@remix-run/react": "^2.16.5-pre", "@remix-run/serve": "^2.16.5-pre", "isbot": "^5.0.0", - "react": "^18.2.0", - "react-dom": "^18.2.0" + "react": "^19.0.0", + "react-dom": "^19.0.0" }, "devDependencies": { "@netlify/functions": "^3.1.9", "@remix-run/dev": "^2.16.5-pre", - "@types/react": "^18.2.20", - "@types/react-dom": "^18.2.7", + "@types/react": "^19.0.0", + "@types/react-dom": "^19.0.0", "@typescript-eslint/eslint-plugin": "^7.0.0", "eslint": "^8.38.0", "eslint-config-prettier": "^9.0.0", @@ -32,7 +32,7 @@ "eslint-plugin-import": "^2.28.1", "eslint-plugin-jsx-a11y": "^6.7.1", "eslint-plugin-react": "^7.33.2", - "eslint-plugin-react-hooks": "^4.6.0", + "eslint-plugin-react-hooks": "^5.0.0", "typescript": "^5.1.6", "vite": "^6.2.5", "vite-tsconfig-paths": "^5.1.4"