Skip to content

Unflagging Type Stripping in Node.js v22 #37

Open
@marco-ippolito

Description

@marco-ippolito

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.

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions