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@10.1.0
Adds the new { type: 'search' } prompt.
inquirer@10.0.3
Fix: Re-added missing short on select and checkbox prompt.
Fix: Remove type requiring a close method on prompt class instances (it wasn't required.)
inquirer@10.0.0
Re-implemented with Typescript.
Adding CJS support (now inquirer is publishes a dual-build CJS/ESM.)
Custom prompts now should be implemented with @inquirer/core. Custom prompts built on inquirer@9.x.x 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@9.3.5
Fix issue with plugins relying on internal inquirer packages file structure.
inquirer@9.3.1
Fix risk of prototype injection.
inquirer@9.3.0
Replace chalk with picolors (in 9.3.2 went to 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@9.2.22
editor prompt: Fixed compatibility issue between default and waitUserInput options. #1405
inquirer@9.2.18
On windows, we will now use unicode characters whenever possible
inquirer@9.2.9
Modified lodash imports to help with tree-shaking
Replace unmaintained through dependency (only affect users of the old bottom bar)
inquirer@9.1.4
Fix issue with the default value disappearing from prompt.
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') {
</tr></table>
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps inquirer from 8.2.6 to 10.1.4.
Release notes
Sourced from inquirer's releases.
... (truncated)
Commits
f881e68
Publishcef9382
Feat(@inquirer/rawlist
) Add support for choice.short property884a9e7
Chore: Run tsc first and cache on vercel before running tsc dependant jobs7a061f1
Publish4cfc4eb
Chore Use husky to run tests on prepush129afbe
Chore bump dev-dependencies8818c91
Fix tests884ae04
Feat(@inquirer/*) All inquirer errors now define a name property6dfebd9
Fix(inquirer): Handle choices without value property (backward compat with v9)2a40d8a
PublishDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show