Skip to content

Commit 7965358

Browse files
logaretmclaude
andauthored
fix(tests): pin tsx to 4.21.0 in hono-4 E2E test (#20892)
tsx 4.21.1, published today, introduced a regression where its ESM loader transforms `.json` files into ESM output. This breaks `@fastify/otel`, which does a CJS `require('./package.json')` and gets `var name="@fastify/otel"...` instead of valid JSON, crashing the hono-4 (node) E2E test. Pinning tsx to 4.21.0 avoids the regression. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 6c501b8 commit 7965358

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dev-packages/e2e-tests/test-applications/hono-4/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"@playwright/test": "~1.56.0",
2424
"@cloudflare/workers-types": "^4.20240725.0",
2525
"@sentry-internal/test-utils": "link:../../../test-utils",
26-
"tsx": "^4.20.3",
26+
"tsx": "4.21.0",
2727
"typescript": "^5.5.2",
2828
"wrangler": "^4.61.0"
2929
},

0 commit comments

Comments
 (0)