Before it's unflagged
Before it is promoted to be stable:
Nice-to-haves:
Bug fixes & changes:
Related features that interoperate with require(esm) and need to be considered when being backported together:
v22.x backport (see a summary of regression analysis in #55217 (comment))
v20.x backport: #56927
Before it's unflagged
__esModuleto required ESM on our end (module: add __esModule to require()'d ESM #52166), or transpilers update themselves to check the result returned byrequire():requireorimport. Something likemodulewhich is recognized by Webpack and Rollup would be good (maybe this doesn't need to block unflagging, but should be done before stablization) module: implement the "module-sync" exports condition #54648require()is actually handling a ESMBefore it is promoted to be stable:
Nice-to-haves:
Bug fixes & changes:
Related features that interoperate with require(esm) and need to be considered when being backported together:
v22.x backport (see a summary of regression analysis in #55217 (comment))
v20.x backport: #56927