Uh oh!
There was an error while loading. Please reload this page.
Deprecate --moduleResolution node10 - #62338
Conversation
TypeScript Bot (typescript-bot)
commented
Aug 26, 2025
Looks like you're introducing a change to the public API surface area. If this includes breaking changes, please document them on our wiki's API Breaking Changes page. Also, please make sure Daniel Rosenwasser (@DanielRosenwasser) and Ryan Cavanaugh (@RyanCavanaugh) are aware of the changes, just as a heads up. |
TypeScript Bot (typescript-bot)
commented
Aug 26, 2025
Thanks for the PR! It looks like you've changed the TSServer protocol in some way. Please ensure that any changes here don't break consumers of the current TSServer API. For some extra review, we'll ping Sheetal Nandi (@sheetalkamat), Matt Bierner (@mjbvz), Kat Marchán (@zkat), and Joaquin Jares (@joj) for you. Feel free to loop in other consumers/maintainers if necessary. |
Kat Marchán (zkat)
commented
Aug 26, 2025
Looks like something you might want to stop pinging me on btw. Hope all is well! ❤️ |
Andrew Branch (andrewbranch)
commented
Aug 26, 2025
Kat Marchán (@zkat) I was just working on that 😄❤️ Same to you! |
Jake Bailey (jakebailey)
commented
Aug 27, 2025
Before we do this we'll need to update DT to support non node10 resolution :( |
Andrew Branch (andrewbranch)
commented
Aug 27, 2025
I'm not sure what you mean; AFAICT nothing in DT relies on |
Andrew Branch (andrewbranch)
commented
Aug 27, 2025
656 of 9071 currently use |
Jake Bailey (jakebailey)
commented
Aug 27, 2025
Yeah, you're right. |
Sheetal Nandi (sheetalkamat)
commented
Aug 28, 2025
I think we also need to change resolution mode in resolveLibrary options ? https://github.com/microsoft/TypeScript/blob/main/src/compiler/moduleNameResolver.ts#L1388C32-L1388C52 |
Andrew Branch (andrewbranch)
commented
Oct 20, 2025
TypeScript Bot (@typescript-bot) cherry-pick this to tsgo-port |
TypeScript Bot (typescript-bot)
commented
Oct 20, 2025
Hey, Andrew Branch (@andrewbranch)! I've created #62637 for you. |
Co-authored-by: Andrew Branch <andrewbranch@users.noreply.github.com> Co-authored-by: Andrew Branch <andrew@wheream.io>
Fixes#62200
moduleResolutionfor--module commonjstobundlernode10behaviornode10