v3.0.0
- 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
- Update to
- Use
c8instead ofnyc.
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:- Use ESM yourself. (preferred)
Useimport foo from 'foo'instead ofconst foo = require('foo')to import the package. - If the package is used in an async context, you could use
await import(…)from CommonJS instead ofrequire(…). - 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.
- Use ESM yourself. (preferred)