Skip to content

Instantly share code, notes, and snippets.

@nolanlawson
Last active October 16, 2022 02:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nolanlawson/201fd03a6f44827153b8ded608ff5f5b to your computer and use it in GitHub Desktop.
Save nolanlawson/201fd03a6f44827153b8ded608ff5f5b to your computer and use it in GitHub Desktop.
exit-hook repro 3.1.0
node_modules

repro of failing test case for exit-hook

#!/usr/bin/env node
import exitHook from 'exit-hook'
exitHook(() => {
})
{
"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=="
}
}
}
{
"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