Releases: SBoudrias/Inquirer.js
Releases · SBoudrias/Inquirer.js
@inquirer/core@9.0.6
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') {
inquirer@10.1.2
- Fix broken backward compatibility issues with v9.
Choice
objects withoutvalue
should default to usename
as the value. Note: Please don't rely on this weird behaviour, but we fixed it since it was an unintended breaking change.
@inquirer/search@1.0.2
Fix issue where vim/emacs keybindings would conflict with the search term input when typing letters used to navigate through the list.
@inquirer/search@1.0.1
Fix issue where typing would disallow the following
search({
...,
source: async (term: string = '') => {
...
},
});
inquirer@10.1.0
- Adds the new
{ type: 'search' }
prompt.
@inquirer/select@2.4.2
@inquirer/search@1.0.0
First release on a brand new search prompt! See documentation
@inquirer/prompts@5.3.0
- Now includes a
search
prompt.import { search } from @inquirer/prompts