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
Correct, that has been the case for an extremely long time and node does not offer alternatives. Unless you're referring to ESM loaders, in which case yes, we have one of those. See #1007
Although it is deprecated, experience shows that it is also stable, and has been that way for years. If you're concerned that this deprecation is a risk, don't worry. All the evidence suggests that this API surface is not going anywhere.
If you're curious about this topic, you may want to check node's issue tracker, since it's possible that users have requested a non-deprecated API surface to replace this one. The node folks might have some thoughts on why they opted to keep this stable, deprecated API surface instead of creating a replacement. You can also dig deeper into our issue tracker since this has already been asked here.
This project works via
require.extensions
: docs, code. However, the Node docs say thatrequire.extensions
is deprecated.Does this project have a path forward towards using a non-deprecated approach?
The text was updated successfully, but these errors were encountered: