Modules like ora@6 and wrap-ansi@8 (and upcoming chalk@5 and boxen@6) have updated to publish pure ESM packages.
The things to do to update this are listed in this gist, but we need to consider how making these upgrades could affect our build as well as dependent modules that we don't control.