Packages

@inquirer/prompts

8.8.0 · 10 Nov 2026MIT66.3M / weekRepositoryHomepagenpmAtom feed

Your version

8.6.0

19 Aug 2026Where it was published

8.8.0 is the newest release of 8.x.

In short

1 breaking1 new3 fixed10 internal

  • Breaking

    Note: This release depends on @inquirer/core@^12.0.0, which contains a breaking change to the useState setter type (it now accepts a reducer function).

Release note

The section about @inquirer/prompts of a note shared by several packages.

@inquirer/prompts@8.6.0

The all-in-one prompts package, re-exporting every individual prompt at its latest version.

Highlights

This release rides on @inquirer/core@12.0.0, which makes the useState setter accept a reducer/updater function. It also brings a new initialValue option to search, plus fixes for number, confirm, and editor.

What's new

  • @inquirer/search — new initialValue?: string option to pre-fill the search input

What's fixed

Included prompts

Note: This release depends on @inquirer/core@^12.0.0, which contains a breaking change to the useState setter type (it now accepts a reducer function). See the @inquirer/core@12.0.0 release notes for details.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.