Packages

@clack/core

1.6.0 · 9 Nov 2026MIT48.6M / weekRepositoryHomepagenpmAtom feed

Your version

1.4.2

19 Jun 2026Where it was published

1.6.0 is the newest release of 1.x.

In short

2 fixed

Release note

Patch Changes

  • Fix password prompt resolving to undefined on empty submit. It now normalizes an empty submission to "", matching the text prompt behavior and the documented Promise<string | symbol> return type.

  • Only submit multi-line prompt when double-return happens at end of input.

    Also fixes two minor things:

    • Initial value is used as initial user input for multi-line prompts

    • Cursor is placed at the end when there is initial input

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.