Packages

@listr2/prompt-adapter-enquirer

4.4.4 · 9 Nov 2026MIT82.9k / weekRepositorynpmAtom feed

Your version

4.0.0

major14 Jan 2026Where it was published

4.4.4 is the newest release of 4.x.

In short

5 breaking1 faster2 internal

  • Breaking

    deps: This change drops node 20 support since it is reaching end of life.

  • Breaking

    Tiny bug with spinner

  • Breaking

    Update auxilary dependency versions

  • Breaking

    Suppress readline close errors in enquirer adapter for Node.js 22+

  • Breaking

    Node.js 22 and 24 introduced breaking changes to readline behavior that

Release note

@listr2/prompt-adapter-enquirer 4.0.0 (2026-01-14)

Performance Improvements

Breaking changes

  • Breaking

    deps: This change drops node 20 support since it is reaching end of life.

  • Breaking

    Tiny bug with spinner

  • Breaking

    Update auxilary dependency versions

WIP:

Signed-off-by: Cenk Kılıç cenk@kilic.dev

  • Breaking

    Suppress readline close errors in enquirer adapter for Node.js 22+

Node.js 22 and 24 introduced breaking changes to readline behavior that
cause "readline was closed" errors when enquirer attempts to clean up
after cancellation. This is a race condition in enquirer 2.4.1 that
hasn't been fixed upstream (package hasn't been updated in 2 years).

This commit adds error handling to suppress these specific errors while
still allowing the prompt to be properly cancelled and cleaned up.

References:

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.