Skip to content

Version 4.0.0

Choose a tag to compare

@jaydenseric jaydenseric released this 10 Feb 10:38
· 10 commits to master since this release

Major

  • Updated Node.js support to ^12.22.0 || ^14.17.0 || >= 16.0.0.
  • Updated dev dependencies, some of which require newer Node.js versions than previously supported.
  • Removed ./package from the package exports field; the full package.json filename must be used in a require path.
  • The API is now ESM in .mjs files instead of CJS in .js files, accessible via import but not require.
  • Implemented TypeScript types via JSDoc comments.

Minor

  • Added the main ./fakeTag.mjs module to the package exports field to allow it to be deep imported.

Patch

  • Also run GitHub Actions CI with Node.js v17.
  • Simplified package scripts.
  • Simplified dev dependencies and config for ESLint.
  • Check TypeScript types via a new package types script.
  • Removed the jsdoc-md dev dependency and the related package scripts, replacing the readme “API” section with manually written “Examples” and “Exports” sections.
  • Added esm and mjs keywords to the package keywords field.
  • Improved variable and test names within tests.
  • Configured Prettier option singleQuote to the default, false.
  • Added a license.md MIT License file.
  • Improved documentation.