From 0f1d30fb09c09812d0c84422b00f4c41648f43db Mon Sep 17 00:00:00 2001 From: Abdelrahman Awad Date: Thu, 14 May 2026 17:02:01 -0400 Subject: [PATCH] fix(tests): pin tsx to 4.21.0 in hono-4 E2E test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit tsx 4.21.1 (published 2026-05-14) introduced a regression where its ESM loader transforms .json files to ESM output. This breaks CJS require() calls — specifically @fastify/otel's `require('./package.json')` gets the ESM-transformed content instead of valid JSON, crashing the Node test variant. Co-Authored-By: Claude Opus 4.6 --- dev-packages/e2e-tests/test-applications/hono-4/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-packages/e2e-tests/test-applications/hono-4/package.json b/dev-packages/e2e-tests/test-applications/hono-4/package.json index b4b1a901e95e..2cec8fc563bb 100644 --- a/dev-packages/e2e-tests/test-applications/hono-4/package.json +++ b/dev-packages/e2e-tests/test-applications/hono-4/package.json @@ -23,7 +23,7 @@ "@playwright/test": "~1.56.0", "@cloudflare/workers-types": "^4.20240725.0", "@sentry-internal/test-utils": "link:../../../test-utils", - "tsx": "^4.20.3", + "tsx": "4.21.0", "typescript": "^5.5.2", "wrangler": "^4.61.0" },