From fcef2c7306a3538dbe7b000340e92681f201beb4 Mon Sep 17 00:00:00 2001 From: JPeer264 Date: Fri, 16 Oct 2026 13:26:51 +0200 Subject: [PATCH] test(nextjs): Use React 19.3.1 in the vinext e2e variants vinext 1.2.1 requires react, react-dom and react-server-dom-webpack 19.3.1 or later for App Router builds, because 19.3.0 shares typed-array buffers across Flight chunks. The vinext build script installed react@19.3.0, so the build failed. Co-Authored-By: Claude Opus 5.5 --- .../e2e-tests/test-applications/nextjs-16/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-packages/e2e-tests/test-applications/nextjs-16/package.json b/dev-packages/e2e-tests/test-applications/nextjs-16/package.json index 0415c053a37e..d2fbc3a64a15 100644 --- a/dev-packages/e2e-tests/test-applications/nextjs-16/package.json +++ b/dev-packages/e2e-tests/test-applications/nextjs-16/package.json @@ -24,7 +24,7 @@ "test:build:cloudflare": "pnpm install && opennextjs-cloudflare build --config wrangler.opennext.jsonc", "test:build-latest:cloudflare": "pnpm install && pnpm add next@16.3 && opennextjs-cloudflare build --config wrangler.opennext.jsonc", "start:cloudflare": "opennextjs-cloudflare preview --config wrangler.opennext.jsonc --var \"E2E_TEST_DSN:$E2E_TEST_DSN\"", - "test:build:vinext": "pnpm install && pnpm add react@19.3.0 react-dom@19.3.0 && npm pkg set type=module && vinext build", + "test:build:vinext": "pnpm install && pnpm add react@19.3.1 react-dom@19.3.1 && npm pkg set type=module && vinext build", "test:assert:vinext": "VINEXT=1 pnpm test:prod" }, "//": "Pin `ioredis` to 5.10.1: it's the last version before the driver publishes its own native diagnostics channels; orchestrion's config covers `ioredis <5.11.0`.", @@ -57,7 +57,7 @@ "eslint-config-next": "^16", "@vitejs/plugin-react": "^6.1.1", "@vitejs/plugin-rsc": "^0.5.35", - "react-server-dom-webpack": "^19.3.0", + "react-server-dom-webpack": "^19.3.1", "typescript": "^5", "vinext": "^1.0.1", "vite": "^8.3.0",