Releases: SBoudrias/Inquirer.js
Releases · SBoudrias/Inquirer.js
@inquirer/core@9.0.10
- Fix a memory leak in the core. A warning would appear once the same prompt is repeated > 10 times.
The fix is released in all other packages through a patch version.
@inquirer/core@9.0.9
- Improve rendering performance (should reduce appearance of screen flickering)
The improvement is released in all other packages through a patch version.
@inquirer/core@9.0.8
- Fix issue where hooks cleanup would wait until all timeouts resolve before triggering. Now hooks cleanup functions are run immediately when the user press
ctrl+c
or send other exit signals.
@inquirer/number@1.0.7
- Fix support for decimal numbers
@inquirer/core@9.0.7
- Enforce
useEffect
cleanup functions should only run once.
@inquirer/rawlist@2.2.0
- Add support for
short
property on rawlist choices.
@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 = '') => {
...
},
});