Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

handle-cli-error

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

handle-cli-error - npm Package Versions

23

5.0.0

Diff

ehmicky
published 4.0.2 •

Changelog

Source

4.0.2

Dependencies

  • Upgrade internal dependencies
ehmicky
published 4.0.1 •

Changelog

Source

4.0.1

Dependencies

  • Upgrade internal dependencies
ehmicky
published 4.0.0 •

Changelog

Source

4.0.0

Breaking changes

  • Minimal supported Node.js version is now 16.17.0
ehmicky
published 3.1.1 •

Changelog

Source

3.1.1

Bug fixes

  • Fix TypeScript types
ehmicky
published 3.1.0 •

Changelog

Source

3.1.0

Features

  • Improve tree-shaking support
ehmicky
published 3.0.1 •

Changelog

Source

3.0.1

Bug fixes

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

Changelog

Source

3.0.0

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.
ehmicky
published 2.5.1 •

Changelog

Source

2.5.1

Bug fixes

  • Fix package.json
ehmicky
published 2.5.0 •

Changelog

Source

2.5.0

  • Switch to MIT license
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc