Skip to content

Releases: SBoudrias/Inquirer.js

@inquirer/[email protected]

28 Jul 20:15
Compare
Choose a tag to compare

All custom errors thrown from inquirer now includes a name attribute reflecting the error class. When checking if an error comes from inquirer AND using a bundler (like tsup, rollup, etc), instanceof might not work as you expect it to. So instead, it is recommend to follow this example:

- if (error instanceof ExitPromptError) {
+ if (error.name === 'ExitPromptError') {

[email protected]

28 Jul 20:11
Compare
Choose a tag to compare
  • Fix broken backward compatibility issues with v9. Choice objects without value should default to use name as the value. Note: Please don't rely on this weird behaviour, but we fixed it since it was an unintended breaking change.

@inquirer/[email protected]

22 Jul 20:32
Compare
Choose a tag to compare

Fix issue where vim/emacs keybindings would conflict with the search term input when typing letters used to navigate through the list.

@inquirer/[email protected]

22 Jul 20:31
Compare
Choose a tag to compare

Fix issue where typing would disallow the following

search({
    ...,
    source: async (term: string = '') => {
        ...
    },
});

[email protected]

21 Jul 20:31
Compare
Choose a tag to compare
  • Adds the new { type: 'search' } prompt.

@inquirer/[email protected]

@inquirer/[email protected]

21 Jul 20:30
Compare
Choose a tag to compare

First release on a brand new search prompt! See documentation

@inquirer/[email protected]

21 Jul 20:31
Compare
Choose a tag to compare
  • Now includes a search prompt. import { search } from @inquirer/prompts

@inquirer/[email protected]

@inquirer/[email protected]