Skip to content

v3.0.0

Choose a tag to compare

@mrcgrtz mrcgrtz released this 07 May 16:51
· 248 commits to main since this release
7aff234
  • Update dependencies:
    • Update to ansi-escapes@5.0.0
    • Update to chalk@4.1.1
    • Update to log-symbols@5.0.0
    • Update to string-width@5.0.0
    • Update to ava@3.15.0
    • Update to strip-ansi@7.0.0
    • Update to xo@0.39.1
  • Use c8 instead of nyc.

Breaking Changes

  • Require Node.js 14 or newer.

  • This package is now pure ESM. It cannot be require()'d from CommonJS. This means you have the following choices:

    1. Use ESM yourself. (preferred)
      Use import foo from 'foo' instead of const foo = require('foo') to import the package.
    2. If the package is used in an async context, you could use await import(…) from CommonJS instead of require(…).
    3. If you cannot move to ESM yet, do not upgrade to this version.

    I would strongly recommend moving to ESM. ESM can still import CommonJS packages, but CommonJS packages cannot import ESM packages synchronously.

    ESM is natively supported by Node.js 12 and later.

    Please note: My repos are not the place to ask ESM support questions.