Skip to content

v0.16.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 02 Nov 12:37
· 3 commits to main since this release
v0.16.0
63e47c4
  • BREAKING CHANGES: require Node.js 20.0.0 or above

    This allows us to use the built-in Node.js CLI parser and then to remove the Commander.js dependency.
    This reduces the standalone binary size from 77KB to 45KB (42%).

  • Support require(esm) in Node.js v22.10 and above

    This package now has the new exports condition module-sync.
    This allows users of Node.js v22.10 and above to import the ESM version of the package using require.
    This avoids the issues of dual-package hazard.

  • Remove package.json main and module fields

    The main and module fields supplemented by the exports fields.
    exports is supported since Node.js v12.7.0
    Since we require Node.js v20.0.0 or above, we can safely remove main.

    All major bundlers now support exports.
    Hence, we can also remove the module field.