New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

cli-kit

Package Overview
Dependencies
Maintainers
1
Versions
107
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cli-kit - npm Package Versions

1
11

1.6.2

Diff

Changelog

Source

v1.6.2 (Aug 11, 2020)

  • fix(cli): Only show help on errors caused by parsing and validation, not command execution.
cb1kenobi
published 1.6.1 •

Changelog

Source

v1.6.1 (Aug 5, 2020)

  • fix(cli): Fixed regression introduced in v1.6.0 that broke missing argument validation.
  • fix(argument): Added missing argument callback and hint.
  • chore: Updated dev dependencies.
cb1kenobi
published 1.6.0 •

Changelog

Source

v1.6.0 (Aug 3, 2020)

  • feat(help): Added CLI instanced styles to help template rendering.
  • fix(terminal): Only wire up keypress on stdin when added to Terminal and not if some other logic listens on stdin.
  • fix(parser): Moved missing required argument validation from parser to CLI to allow option callbacks such as --version to work properly.
  • chore: Updated dependencies.
cb1kenobi
published 1.5.2 •

Changelog

Source

v1.5.2 (Jul 24, 2020)

  • fix(terminal): Fixed bug where keypress event listeners were not properly being wired up to stdin resulting in the listener not being removed after being fired once.
cb1kenobi
published 1.5.1 •

Changelog

Source

v1.5.1 (Jul 23, 2020)

  • fix(context): Fixed circular reference introduced when fixing the generateHelp hook event in v1.3.0 when generated JSON object is stringified.
cb1kenobi
published 1.5.0 •

Changelog

Source

v1.5.0 (Jul 23, 2020)

  • feat(cli): Added showHelp flag on thrown errors to override showHelpOnError. Defaults to true. This still requires help to be enabled.
  • feat(debug): Added error style for help template and server mode error handling.
  • fix(cli): Removed duplicate error logging when server mode execution throws exception.
  • fix(help): Allow non-Error objects to be thrown and rendered on the help screen.
  • chore(dep): Replaced fast-levenshtein with fastest-levenshtein.
cb1kenobi
published 1.4.0 •

Changelog

Source

v1.4.0 (Jul 21, 2020)

  • feat(cli): Added support for user-defined in styles passed into the CLI constructor as well as the exec() method.
  • feat(template): Added subheading style.
  • fix(template): Properly escape tildes in templates with nested expressions.
  • fix(help): Fixed option heading and subheading styling where the trailing : wasn't styled and whitespace was being trimmed.
  • fix(help): Fixed option format to use proper required indicators.
  • fix(cli): Fixed rendering of errors to debug log when server connection executes a command that throws an exception.
cb1kenobi
published 1.3.0 •

Changelog

Source

v1.3.0 (Jul 21, 2020)

  • feat(cli): Added exec hook event.
  • feat(context): Added ctx property to generateHelp hook event.
  • fix(parser): Fixed bug in server mode where parse hook event was being omitted from the cloned context which is not accessible instead of the originating CLI instance.
  • fix(cli): Fixed issue with server mode execution where a context would be deeply cloned, however Command and Extension objects were passed by reference.
  • chore: Updated dependencies.
cb1kenobi
published 1.2.4 •

Changelog

Source

v1.2.4 (Jun 24, 2020)

  • fix(cli): Server-side output streams extend TTY WriteStream to improve compatibility with packages that check isTTY and terminal helper functions such as cursorTo() and clearLine().
  • chore: Updated dev dependencies.
cb1kenobi
published 1.2.3 •

Changelog

Source

v1.2.3 (Jun 19, 2020)

  • feat(cli): Added timeout option to CLI.connect() with default of 5 seconds.
  • fix(cli): CLI.connect() now waits for terminal resize handshake to complete before resolving.
  • fix(cli): Set the remote terminal size on the stdout/stderr streams.
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