Releases: SBoudrias/Inquirer.js
Releases · SBoudrias/Inquirer.js
[email protected]
- Re-implemented with Typescript.
- Adding CJS support (now
inquirer
is publishes a dual-build CJS/ESM.) - All core prompts are now coming from
@inquirer/prompt
. - Custom prompts now should be implemented with
@inquirer/core
. Custom prompts built on[email protected]
will keep working, but should plan a migration. inquirer.ui.BottomBar
is deleted.
My expectation is that this release should be a drop-in replacement for people using inquirer.prompt()
and built-ins 🤞🏻. Please open an issue on Github if you run into issues migrating; it's a large rewrite and there might be a few sharp edges to cut! Hope you'll like this new release.
@inquirer/[email protected]
- Added
required
option.
@inquirer/[email protected]
- Now includes a new
number
prompt.
@inquirer/[email protected]
First release of our brand new number prompt.
@inquirer/[email protected]
- Small breaking change:
type InquirerReadline
is now part of the@inquirer/type
library and should be imported from there if needed.
[email protected]
- Fix risk of prototype injection.
[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.