Packages

@inquirer/core

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

Your version

8.1.0

26 Apr 2024Where it was published

8.2.4 is the newest release of 8.x.

In short

2 changed

Release note

  • useState doesn't require a default value anymore; in which case it'll default to undefined

  • useRef doesn't require a default value anymore; in which case it'll default to undefined

Examples:

const [value, setValue] = useState<number>();
// value: number | undefined;

const [value, setValue] = useState<number>(1);
// value: number;

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.