listr2 supports only modern
node.js environments, since it is mostly intended for CLI applications, but can be used as a task list in any application.
cjsmodules for now.
- You need a supported
node.jsversion, end-of-life versions are deprecated and not supported.
Supporting Multiple Node Module Structures
At some point, the support for
cjs will be dropped in favor of keeping up with the
node.js ecosystem. This will of course be done through a major release.
But now also taking into hand my current situation of depending on mostly
cjs only libraries, I do want to keep the
cjs version as everything slowly migrates to
Given the latest changes on
ts-jest allowed us to move everything in the repository to
esm. This enabled the repository starting from version
>= 6 to use dynamic imports for anything that is using an
esm module. So from that version and upward, everything should be up to date with the upstream of the dependencies. So keeping the
cjs version does not hinder us from updating the given packages.