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 -

Published by SBoudrias over 1 year ago

Now includes a stricter answer parser. Prior to this change, the prompt would default to Yes on almost any input.

Inquirer.js -

Published by SBoudrias over 1 year ago

Rewrote how raw input is handled. This shouldn't cause issue for most, but if you had specific or uncommon use of the testing framework, this could be a breaking change.

Inquirer.js -

Published by SBoudrias about 2 years ago

Fix issue with the default value disappearing from prompt.

Inquirer.js -

Published by SBoudrias over 2 years ago

Inquirer is now a native Node ECMAScript module. This will require your Node runtime to support es modules, and your app to be an es module. Node documentation over here: https://nodejs.org/api/esm.html#modules-ecmascript-modules

If you cannot migrate, please remember you can keep using the v8.x release line until you're ready.

Inquirer.js -

Published by SBoudrias over 2 years ago

  • Fix line wrapping with using with terminal links
  • Fix number prompt not working with negative numbers
Inquirer.js -

Published by SBoudrias over 2 years ago

Fix bugs with the rawlist

Inquirer.js -

Published by SBoudrias over 2 years ago

  • Fix bug when using both arrow keys and number keys on the rawList prompt.
  • Dependencies bump
Inquirer.js -

Published by SBoudrias about 3 years ago

  • checkbox prompt: Update the help message to be more complete. And the help message is now shown until a selection is made.
Inquirer.js -

Published by SBoudrias about 3 years ago

Fix older Node version compatibility issue.

Inquirer.js -

Published by SBoudrias about 3 years ago

  • Fix an error being thrown inside the rawlist prompt
Inquirer.js -

Published by SBoudrias about 3 years ago

Bug Fixes

  • Fix password prompt appearing when doing async filtering/validation
  • User being prompted a question even though it was answered when using nested answer object format.
  • Fix extra space appearing when using custom prefix.

And bump of all dependencies.

Inquirer.js -

Published by SBoudrias over 3 years ago

  • Fix bug on rawList prompt
  • Bump dependencies
Inquirer.js -

Published by SBoudrias over 3 years ago

Fix: Number prompt default behavior.

Inquirer.js -

Published by SBoudrias over 3 years ago

New features

  • Now display a loading spinner while asynchronously filtering or validating data.
  • inquirer.prompt() now accept a shorthand object syntax instead of an array with named prompts:
const { foo, bar } = await inquirer.prompt({
  foo: {
    message: '...',
    default: '...',
  },
  bar: {
    default: '...',
  }
}):
Inquirer.js -

Published by SBoudrias over 3 years ago

Fixes

  • Fix issue with duplicate keys in expand prompt not being caught if casing didn't match
  • Fix rawlist prompt ignoring short option
  • Rollback dependencies migrated to ESM causing issue for some users

And lastly general dependency upgrade (to non-ESM versions)

Inquirer.js -

Published by SBoudrias over 3 years ago

  • Drop support for Node 10 (through dependencies)
  • Add postfix option to the editor prompt to allow easily turning on proper syntax highlighting
Inquirer.js -

Published by SBoudrias about 4 years ago

  • Fix to release the readline on errors
  • Security patch (lodash)
Inquirer.js -

Published by SBoudrias over 4 years ago

Fix the loop: false option in the checkbox prompt.

Inquirer.js -

Published by SBoudrias over 4 years ago

  • Fix the loop: false option in the list prompt.
Inquirer.js -

Published by SBoudrias over 4 years ago

  • New option loop (boolean) for list type prompts. This prevents the list from looping when reaching the top or bottom of the selection.
  • Bug fix: multi line list type prompts
  • Core: Bumped dependencies