Packages

@inquirer/core

12.1.1 · 22 Nov 2026MIT101.8M / weekRepositoryHomepagenpmAtom feed

Your version

4.0.0

major27 Aug 2023Where it was published

4.1.0 is the newest release of 4.x.

Release note

Major rewrite of the core to rely on node's async hooks for better isolation of each prompts. Relying on this means each prompt context is fully isolated (previously it would rely on the module level context.)

We expect this update to be transparent to most. Though some custom event handlers within useEffect could stop working. If you find any issues there, first please let us know - there might be thing to improve internally to make it transparent. The manual fix will likely be to explicitly define events callback as an AsyncResource.

Let us know how this works for you!

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.