Closed
Description
Affected URL(s)
https://nodejs.org/dist/latest-v20.x/docs/api/esm.html#hooks
Description of the problem

But in the reality nextResolve (and nextLoad) can return Promises, which is highly confusing: as an example, try...catch around 'return nextResolve(...)' will never catch the error if nextResolve returns rejected Promise. The same thing with access to nextResolve(...) result properties.
In both cases await keyword is mandatory to get predictable results.