You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
can you add the programmatic apis to the suggested replacements? most usage is require('source-map-support').install() / import 'source-map-support/register' from inside the program, and the native equivalent of that is:
findSourceMap is a different thing (returns the parsed map, doesn't touch stack traces), fine to list but it shouldn't sit next to the flag as if it did the same job
gaps worth a line in the entry:
native skips node_modules by default since 22.14. source-map-support never did. library authors shipping compiled code need nodeModules: true or their consumers' traces won't be mapped
environment: 'browser' has no native equivalent, this is node only retrieveSourceMap / retrieveFile hooks have no native equivalent
for @cspotcode/source-map-support the entry should say it ships with ts-node and goes away when ts-node does, rather than suggest swapping it manually.
Activity
dreyfus92 commentedon Aug 27, 2026
can you add the programmatic apis to the suggested replacements? most usage is
require('source-map-support').install()/import 'source-map-support/register'from inside the program, and the native equivalent of that is:findSourceMapis a different thing (returns the parsed map, doesn't touch stack traces), fine to list but it shouldn't sit next to the flag as if it did the same jobgaps worth a line in the entry:
node_modulesby default since 22.14.source-map-supportnever did. library authors shipping compiled code need nodeModules: true or their consumers' traces won't be mappedretrieveSourceMap/retrieveFilehooks have no native equivalentfor
@cspotcode/source-map-supportthe entry should say it ships withts-nodeand goes away whents-nodedoes, rather than suggest swapping it manually.gameroman commentedon Aug 27, 2026
Updated issue description 👍