PackageTrack

npm · #3815

when-exit

2.1.536M downloads/mofabiospampinato/when-exit

Execute a function right before the process, or the browser's tab, is about to exit.

Release timeline

8 releases since 2022
20222023202420252026

Releases

  1. 2.1.528 Oct 2025
    Release notes

    This project publishes no release notes. Between v2.1.4 and v2.1.5 there were 2 commits, 2 of them substantive:

    • Updated list of signals to match signal-exit
    • Bumped version to 2.1.5
  2. 2.1.412 Jan 2025
    Release notes

    This project publishes no release notes. Between v2.1.3 and v2.1.4 there were 4 commits, 4 of them substantive:

    • Avoiding publishing unnecessary files to NPM
    • Updated package.json
    • Readme: simplified
    • Bumped version to 2.1.4
  3. 2.1.330 Jun 2024
    Release notes

    This project publishes no release notes. Between v2.1.2 and v2.1.3 there were 2 commits, 2 of them substantive:

    • Fixed an issue where process.once can sometimes throw
    • Bumped version to 2.1.3
  4. 2.1.29 Dec 2023
    Release notes

    This project publishes no release notes. Between v2.1.1 and v2.1.2 there were 3 commits, 3 of them substantive:

    • Simplified .gitignore
    • Avoiding triggering unsupported signals under Windows
    • Bumped version to 2.1.2
  5. 2.1.13 Aug 2023
    Release notes

    This project publishes no release notes. Between v2.1.0 and v2.1.1 there were 5 commits, 5 of them substantive:

    • Lowercased readme file
    • Lowercased license file
    • Updated dev dependencies
    • Minor tweaks
    • Bumped version to 2.1.1
  6. 2.1.015 Feb 2023
    Release notes

    This project publishes no release notes. Between v2.0.0 and v2.1.0 there were 4 commits, 4 of them substantive:

    • Updated dependencies
    • Ensuring process is imported explicitly
    • Added support for the browser too, making this module isomorphic
    • Bumped version to 2.1.0
  7. 2.0.06 Apr 2022
    Release notes

    This project publishes no release notes. Between v1.0.0 and v2.0.0 there were 2 commits, 2 of them substantive:

    • Switched to ESM
    • Bumped version to 2.0.0
  8. 1.0.08 Feb 2022

    Nothing published for this version