Skip to content

Version 3.0.0

Choose a tag to compare

@jaydenseric jaydenseric released this 03 May 02:32
· 29 commits to master since this release

Major

  • Updated Node.js version support to ^12.20 || >= 14.13.
  • Updated dev dependencies, some of which require newer Node.js versions than were previously supported.
  • Added a package exports field.
  • Added a package sideEffects field.
  • The tests are now ESM in an .mjs file instead of CJS in a .js file.

Patch

  • Updated dev dependencies.
  • Updated GitHub Actions CI config:
    • Also run on pull request.
    • Updated actions/checkout to v2.
    • Updated actions/setup-node to v2.
    • Run with Node.js v12, v14, v15, v16.
    • Use the simpler npm install-test command.
    • Don’t specify the CI environment variable as it’s set by default.
  • Updated the package scripts:
    • Simpler JSDoc related scripts now that jsdoc-md v10 automatically generates a Prettier formatted readme.
    • Added a test:jsdoc script that checks the readme API docs are up to date with the source JSDoc.
    • Simpler test:prettier script arguments.
  • Configured Prettier option semi to the default, true.
  • Removed npm-debug.log from the .gitignore file as npm v4.2.0+ doesn’t create it in the current working directory.
  • Updated the EditorConfig.
  • Removed the readme “Support” section.
  • Added the .js file extension to a prismjs require path.
  • Always use regex u mode.
  • Readme tweaks.