Skip to content

Version 2.0.0

Compare
Choose a tag to compare
@jaydenseric jaydenseric released this 13 Apr 08:52
· 60 commits to master since this release

Major

  • Added a package exports field and a lib/index.mjs file to support native ESM in Node.js.
  • Added package sideEffects and module fields for bundlers such as Webpack.
  • Undocumented internal helpers are now private, and can no longer be imported from packages outside this package.
  • Updated the package engines.node field to 10 - 12 || >= 13.7 to reflect the package exports related breaking changes.

Patch

  • Updated dev dependencies.
  • Added a new hard-rejection dev dependency to ensure unhandled rejections in tests exit the process with an error.
  • Improved the package prepare:prettier and test:prettier scripts.
  • Configured Prettier option semi to the default, true.
  • Reorganized the test files.
  • Simplified test/index.js.
  • Ensure GitHub Actions run on pull request.