privatenumber / tsx

⚡️ TypeScript Execute | The easiest way to run TypeScript in Node.js
https://tsx.is
MIT License
8.61k stars 132 forks source link

[Regression] ERROR: Transforming JavaScript decorators to the configured target environment ("node21.3.0") is not supported yet #582

Closed TomChv closed 3 weeks ago

TomChv commented 3 weeks ago

Acknowledgements

Minimal reproduction URL

https://github.com/TomChv/tsx-repro-regression-decorator-error

Problem & expected behavior (under 200 words)

v4.13.1 (and all versions above v4.13.0) broke the decorators transpilation.

Transforming JavaScript decorators to the configured target environment ("node21.3.0") is not supported yet

I tested with node v21.3.0 and v22.2.0.

Everything went great before that so I assume it's a regression. You'll find all the details in my reproduction repository.

I also read the issue https://github.com/privatenumber/tsx/issues/393 but I think my problem is different because everything was fine before the version ugprade. And I'm not able to comment on it because it's locked.

Bugs are expected to be fixed by those affected by it

Compensating engineering work financially will speed up resolution

privatenumber commented 3 weeks ago

:tada: This issue has been resolved in v4.13.3

If you appreciate this project, please consider supporting this project by sponsoring :heart: :pray: