Releases: SBoudrias/Inquirer.js
Releases · SBoudrias/Inquirer.js
[email protected]
- Replace
chalk
with(in 9.3.2 went topicolors
yoctocolors
to stay with Sindre's packages and reduce amount of provenance.) - Drop many dependencies in favour of native functions when possible.
No impact expected, but it's a large changes in dependencies. Let us know if you run into any issues upgrading!
@inquirer/[email protected]
- Replace
chalk
with(in 5.1.0 went topicolors
yoctocolors
to stay with Sindre's packages and reduce amount of provenance.) - TS 5.5 (no impact expected on package users)
@inquirer/[email protected]
- Fix whitespace inconsistencies #1411
@inquirer/[email protected]
- Performance improvements to
usePrefix()
when switched to loading mode. There's now a little delay of 300ms before displaying the loader to avoid flickering when fast validation occurs.
[email protected]
editor
prompt: Fixed compatibility issue betweendefault
andwaitUserInput
options. #1405
@inquirer/[email protected]
makeTheme
now performs deep merges of the theme objects.
@inquirer/[email protected]
- [Typescript]
useState
doesn't require a default value anymore; in which case it'll default toundefined
- [Typescript]
useRef
doesn't require a default value anymore; in which case it'll default toundefined
Examples:
const [value, setValue] = useState<number>();
// value: number | undefined;
const [value, setValue] = useState<number>(1);
// value: number;
@inquirer/[email protected]
- Fix: breaking change wrongly removed the
Separator
export.
[email protected]
- On windows, we will now use unicode characters whenever possible
@inquirer/[email protected]
- Help tip behaviors are now customizable through theme options.