Skip to content

Version 4.0.0

Compare
Choose a tag to compare
@jaydenseric jaydenseric released this 11 Dec 00:34
· 62 commits to master since this release

Major

  • The updated kleur dependency causes subtle differences in which environments get colored console output.

Minor

  • Added runtime argument type checks for various private and public functions.
  • Improved console output for coverage-node CLI errors.

Patch

  • Updated dependencies.
  • Also test Node.js v15 in GitHub Actions CI.
  • Simplified the GitHub Actions CI config with the npm install-test command.
  • Removed npm-debug.log from the .gitignore file as npm v4.2.0+ doesn’t create it in the current working directory.
  • Removed an extra space character from the coverage-node CLI error message when coverage is enabled.
  • Use the FORCE_COLOR environment variable in tests to ensure output is colorized.
  • Use a new snapshot-assertion dev dependency to snapshot test CLI output.
  • Replaced the stripStackTraces test helper with a smarter replaceStackTraces helper that allows tests to detect a missing stack trace.
  • Use spawnSync from the Node.js child_process API instead of the execFilePromise helper in tests.
  • Added more coverage-node CLI tests.
  • Improved internal JSDoc.
  • Updated SLOC and install size related documentation.