unstale

npm / exit-hook

exit-hook

What changed in exit-hook 5, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-18.

2 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

exit-hook 52 changes

Fixes and other changes 2

  • The async exit path flushes stdout and stderr before exiting, helping ensure pending output is written.

    5.1.0release notes

  • Fixes gracefulExit() so it honors explicit exit codes.

    5.0.1release notes