Skip to content

Conversation

@timmywil
Copy link
Member

Remove the workaround for the exit-hook issue where gracefulExit( 1 ) was not exiting with the right signal. The issue has been resolved in exit-hook v5.0.1.
See sindresorhus/exit-hook#42

@timmywil timmywil requested a review from mgol November 20, 2025 15:07
Copy link
Member

@mgol mgol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just please make sure you run npm install using npm embedded with the latest minor+patch of Node.js 24 without generating lockfile changes. Something changed in the lockfile generation with regards to the peer: true fields and now that we mostly test on Node 24, it'd be good to not get into the dirty state by installing deps with npm in latest Node 24.

@timmywil
Copy link
Member Author

timmywil commented Nov 20, 2025

I noticed that in other projects as well. The peer: true changes seem to be intended. I did use the npm included with latest Node 24.x.

Remove the workaround for the exit-hook issue where
gracefulExit( 1 ) was not exiting with the right signal.
The issue has been resolved in exit-hook v5.0.1.
See sindresorhus/exit-hook#42
@timmywil timmywil merged commit 690c41b into main Nov 20, 2025
7 checks passed
@timmywil timmywil deleted the exit-code branch November 20, 2025 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants