I’m trying to port a reasonable popular node module to ESM and it’s not going well. I’m finding bugs in createRequire() and meanwhile functional differences between require and import might make some idiomatic code patterns not function at all.
the whole commonjs vs modules is there precisely because they chose not to introduce a breaking change.
Typescript has introduced breaking changes but they're not that bad