Inquirer.js

A collection of common interactive command line user interfaces.

MIT License

Downloads
263.1M
Stars
19.4K
Committers
229

Bot releases are hidden (Show)

Inquirer.js - Inquirer v7.2.0

Published by LitoMore over 4 years ago

Enhancement

  • 039a55c7ec04d95887bdeb9b164cc634f26beb57 #923 Only import used lodash methods. (@merceyz)

Bug Fix

  • a1171d25cdb48c147b405e3173828a8de2dc735b #918 Fix @inquirer/confirm formatted output value. (@rbardini)
  • 1bf6413b71e94b52a68ba9a4d331ea67453e3390 Fix engines field for Node.js 8. (@LitoMore)
Inquirer.js -

Published by SBoudrias over 4 years ago

Errors when running in non-TTY environment are now marked and catchable.

Inquirer.js -

Published by SBoudrias almost 5 years ago

Revert broken fix done in 7.0.2

Inquirer.js -

Published by SBoudrias almost 5 years ago

Work around bug affecting Windows user with Node 10 (#767) (Reverted in v7.0.3)

Inquirer.js -

Published by SBoudrias about 5 years ago

  • Drop support for Node 6.
Inquirer.js -

Published by SBoudrias over 5 years ago

Bug Fix

  • Fix memory leak with some event listeners not being cleaned up after a prompting session.
Inquirer.js -

Published by SBoudrias about 6 years ago

  • Highlight the whole hovered row on the checkbox prompt
  • Any keypress will remove the default value on input prompt
Inquirer.js -

Published by SBoudrias about 6 years ago

  • Pressing backspace on an empty input prompt now clears the default value.
Inquirer.js -

Published by SBoudrias over 6 years ago

Breaking

  • Update to Rx.js v6

New features

  • New prompt type number.
  • transformer option now receive { isFinal } as a flag to allow transforming the final answer differently.
  • Use name as default message if message isn't provided.
  • Hide default values for password prompt.
Inquirer.js -

Published by SBoudrias over 6 years ago

Now passing the answers hash in the transformer function arguments.

Inquirer.js -

Published by SBoudrias over 6 years ago

  • Added a transformer option to the input prompt allowing you to modify the displayed user input. (Useful to modify colors as user type, etc)
Inquirer.js -

Published by SBoudrias over 6 years ago

  • Fix bug with the editor prompt.
Inquirer.js -

Published by SBoudrias almost 7 years ago

Breaking: Upgrade to RxJS v5 which updates a bunch of Reactive interface method names.

For people not using the Reactive interface directly, this new major release should just work out of the box.

Inquirer.js -

Published by SBoudrias almost 7 years ago

Improve Windows rendering to properly match terminal size

Inquirer.js -

Published by SBoudrias almost 7 years ago

  • Update dependency to fix a LGPL license issue.
Inquirer.js -

Published by SBoudrias almost 7 years ago

Breaking

The core codebase went through a major es5 to 6 refactor. As such, we're dropping support for Node 4.

This change will likely require changes to the community Plugins as es6 classes are enforcing more restriction (like constructor can only be invoked with new).

New features / Bug fixes

  • list, expand and rawlist prompts now accepts the value as default (previously it would only accept the choice index).
  • The pagination now properly handles multiline choices.
  • Fix bug where invalid default choices would break the UI.
Inquirer.js -

Published by SBoudrias about 7 years ago

  • Added prefix and suffix options to question object to allow you to edit the ? prefix or add a custom suffix.
Inquirer.js -

Published by SBoudrias about 7 years ago

  • Fix bug where user input prompt containing ANSI code would offset the cursor.
Inquirer.js -

Published by SBoudrias about 7 years ago

  • Fix BottomBar with multi-line content.
Inquirer.js -

Published by SBoudrias about 7 years ago

  • Fix: gracefully exit process on SIGINT (stopped calling process.exit() directly)