Releases
v6.0.0
Major
Updated Node.js support to ^12.22.0 || ^14.17.0 || >= 16.0.0
.
Updated dependencies, some of which require newer Node.js versions than previously supported.
Public modules are now individually listed in the package files
and exports
fields.
Removed ./package
from the package exports
field; the full package.json
filename must be used in a require
path.
Removed the package main index module; deep imports must be used.
Shortened public module deep import paths, removing the /public/
.
Implemented TypeScript types via JSDoc comments.
Patch
Simplified package scripts.
Check TypeScript types via a new package types
script.
Fixed various type related issues.
Also run GitHub Actions CI with Node.js v17, and drop v15.
Removed the jsdoc-md
dev dependency and the related package scripts, replacing the readme “API” section with a manually written “Exports” section.
Fixed snapshot tests for the Node.js v17.0.0+ behavior of adding the Node.js version after trace for errors that cause the process to exit.
Reorganized the test file structure.
Renamed imports in the test index module.
Added CliError
class tests.
Runtime type check CLiError
constructor arguments.
Simplified runtime type error messages.
Configured Prettier option singleQuote
to the default, false
.
Added a license.md
MIT License file.
Readme tweaks.
You can’t perform that action at this time.