Open
Description
I created this issue to track breakages that prevent unflagging type stripping in Node.js v22.
In October Node.js v22 will transition to maintainance so it means it will not be possible to backport.
Since type stripping is already enabled in Node.js v24, these libraries are not compatible with it and they eventually need to fix this issue.
The breaking change stems from libraries assuming the internal require.extensions['.ts']
is registered by ts-node
while in Node >23 is registered by Type Stripping.
- 🐛 Bug: Node.js v23 testing with .ts files mochajs/mocha#5314
- webpack.config.ts is not compatible with Node.js v24 webpack/webpack.js.org#7629
- Rechoir is incompatible with Node.js v24 gulpjs/rechoir#49
- [BUG] Don't rely on require.extentions node-config/node-config#787
Let's try to track all the libraries affect and try to fix them before Node.js v22 goes maintainance.
(If you know a library that breaks drop a comment) @nodejs/typescript
Metadata
Metadata
Assignees
Labels
No labels