Commit 7965358
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
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
0 commit comments