Skip to content

Releases: sindresorhus/exit-hook

v4.0.0

31 Aug 11:18
Compare
Choose a tag to compare

Breaking

  • Require Node.js 18 (#33) 46baeec
  • Rename minimumWait option to wait (#33) 46baeec

    The amount of time in milliseconds that the onExit function is expected to take. When multiple async handlers are registered, the longest wait time will be used.

v3.2.0...v4.0.0

v3.2.0

20 Jan 10:30
Compare
Choose a tag to compare

v3.1.4...v3.2.0

v3.1.4

09 Dec 01:40
Compare
Choose a tag to compare
  • Fix asyncExitHook API documentation and example (#28) 7b1545c

v3.1.3...v3.1.4

v3.1.3

08 Dec 11:50
Compare
Choose a tag to compare
  • Fix Node.js 12 compatibility a07d684

v3.1.2...v3.1.3

v3.1.2

22 Oct 09:14
Compare
Choose a tag to compare
  • Treat the natural Node.js process termination as exit code 0 (#24) 69881e7

v3.1.1...v3.1.2

v3.1.1

16 Oct 09:05
Compare
Choose a tag to compare

v3.1.0...v3.1.1

v3.1.0

23 Aug 08:53
Compare
Choose a tag to compare

v3.0.0...v3.1.0

v3.0.0

27 Aug 19:14
Compare
Choose a tag to compare

Breaking

v2.2.1...v3.0.0

v2.2.1

27 Feb 13:01
Compare
Choose a tag to compare
  • Ensure listeners are registered only once (#16) 27afecb

v2.2.0...v2.2.1

v2.2.0

16 Apr 17:20
Compare
Choose a tag to compare

v2.1.0...v2.2.0