Last active
October 16, 2022 02:21
-
-
Save nolanlawson/201fd03a6f44827153b8ded608ff5f5b to your computer and use it in GitHub Desktop.
exit-hook repro 3.1.0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
import exitHook from 'exit-hook' | |
exitHook(() => { | |
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "minimal-repro-exit-hook", | |
"version": "1.0.0", | |
"lockfileVersion": 2, | |
"requires": true, | |
"packages": { | |
"": { | |
"name": "minimal-repro-exit-hook", | |
"version": "1.0.0", | |
"dependencies": { | |
"exit-hook": "3.1.0" | |
} | |
}, | |
"node_modules/exit-hook": { | |
"version": "3.1.0", | |
"resolved": "https://registry.npmjs.org/exit-hook/-/exit-hook-3.1.0.tgz", | |
"integrity": "sha512-KiF9SiLZsKhSutx4V9sG2InYb0v1+2sfKlGD18et8/aGg2m4ij6MJbUHy/cnqJf4ncE7rWjqchE2SNIi4Lgg4A==", | |
"engines": { | |
"node": "^12.20.0 || ^14.13.1 || >=16.0.0" | |
}, | |
"funding": { | |
"url": "https://github.com/sponsors/sindresorhus" | |
} | |
} | |
}, | |
"dependencies": { | |
"exit-hook": { | |
"version": "3.1.0", | |
"resolved": "https://registry.npmjs.org/exit-hook/-/exit-hook-3.1.0.tgz", | |
"integrity": "sha512-KiF9SiLZsKhSutx4V9sG2InYb0v1+2sfKlGD18et8/aGg2m4ij6MJbUHy/cnqJf4ncE7rWjqchE2SNIi4Lgg4A==" | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "minimal-repro-exit-hook", | |
"version": "1.0.0", | |
"main": "index.js", | |
"type": "module", | |
"scripts": {}, | |
"dependencies": { | |
"exit-hook": "3.1.0" | |
}, | |
"volta": { | |
"node": "16.18.0", | |
"npm": "8.19.2" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment