Version 3.0.0
Major
- Updated Node.js support from v8.5+ to v10+.
- Updated dev dependencies, some of which require newer Node.js versions that v8.5.
Minor
- Added a package
module
field. - Setup GitHub Sponsors funding:
- Added
.github/funding.yml
to display a sponsor button in GitHub. - Added a
package.json
funding
field to enable npm CLI funding features.
- Added
Patch
- Removed the now redundant
eslint-plugin-import-order-alphabetical
dev dependency. - Stop using
husky
andlint-staged
. - Replaced the
tap
dev dependency withtest-director
andcoverage-node
, and refactored tests accordingly. - Added a new
babel-plugin-transform-require-extensions
dev dependency and ensured ESM import specifiers in both source and published.mjs
files contain file names with extensions, which are mandatory in the final Node.js ESM implementation. Published CJS.js
files now also have file extensions inrequire
paths. - Updated the package description and keywords.
- Updated code examples to use CJS instead of ESM.
- Removed
package-lock.json
from.gitignore
and.prettierignore
as it’s disabled in.npmrc
anyway. - Use strict mode for scripts.
- Use GitHub Actions instead of Travis for CI.
- Use jsDelivr for the readme logo instead of RawGit as they are shutting down.