Skip to content

Releases: ehmicky/handle-cli-error

v5.0.0

28 Oct 22:14
Compare
Choose a tag to compare

Breaking changes

  • Minimal supported Node.js version is now 18.18.0

v4.0.2

14 May 00:29
Compare
Choose a tag to compare

Dependencies

  • Upgrade internal dependencies

v4.0.1

14 May 00:05
Compare
Choose a tag to compare

Dependencies

  • Upgrade internal dependencies

v4.0.0

13 May 23:27
Compare
Choose a tag to compare

Breaking changes

  • Minimal supported Node.js version is now 16.17.0

v3.1.1

17 Dec 18:37
Compare
Choose a tag to compare

Bug fixes

  • Fix TypeScript types

Release 3.1.0

11 Nov 18:32
Compare
Choose a tag to compare

Features

  • Improve tree-shaking support

Release 3.0.1

06 Nov 19:47
Compare
Choose a tag to compare

Bug fixes

  • Fix handling of errors that do not have any stack trace

Release 3.0.0

16 Oct 13:38
Compare
Choose a tag to compare

Breaking changes

  • Renamed the short option to stack. Its value is inverted.

Before:

handleCliError(error, { short: true })

After:

handleCliError(error, { stack: false })
  • The error's name is now always logged even if stack is false.

Features

  • The colors option has been added to show colors. It defaults to true in terminals.
  • Quoted strings in the error message are now colorized.
  • An icon is now prepended to the error's name. This can be configured using the icon option.
  • The error's icon and name are now logged in red by default. This can be configured using the header option.
  • The props option has been added to hide error properties.

Release 2.5.1

13 Oct 19:58
Compare
Choose a tag to compare

Bug fixes

  • Fix package.json

Release 2.5.0

13 Oct 18:52
Compare
Choose a tag to compare
  • Switch to MIT license