| 1 |
{ |
| 2 |
"_id": "async-hook-domain", |
| 3 |
"_rev": "8-505713ef6c3993d2d74f53a801c86ceb", |
| 4 |
"name": "async-hook-domain", |
| 5 |
"dist-tags": { |
| 6 |
"latest": "2.0.1" |
| 7 |
}, |
| 8 |
"versions": { |
| 9 |
"1.0.0": { |
| 10 |
"name": "async-hook-domain", |
| 11 |
"version": "1.0.0", |
| 12 |
"description": "An implementation of Domain-like error handling, built on async_hooks", |
| 13 |
"main": "index.js", |
| 14 |
"directories": { |
| 15 |
"test": "test" |
| 16 |
}, |
| 17 |
"dependencies": { |
| 18 |
"source-map-support": "^0.5.11" |
| 19 |
}, |
| 20 |
"devDependencies": { |
| 21 |
"tap": "^13.0.0-rc.11" |
| 22 |
}, |
| 23 |
"scripts": { |
| 24 |
"test": "tap test/run.js", |
| 25 |
"snap": "tap test/run.js", |
| 26 |
"preversion": "npm test", |
| 27 |
"postversion": "npm publish", |
| 28 |
"postpublish": "git push origin --all; git push origin --tags" |
| 29 |
}, |
| 30 |
"tap": { |
| 31 |
"check-coverage": true |
| 32 |
}, |
| 33 |
"repository": { |
| 34 |
"type": "git", |
| 35 |
"url": "git://github.com/isaacs/async-hooks-domain.git" |
| 36 |
}, |
| 37 |
"keywords": [ |
| 38 |
"async", |
| 39 |
"hooks", |
| 40 |
"async_hooks", |
| 41 |
"domain", |
| 42 |
"error", |
| 43 |
"handling", |
| 44 |
"handler", |
| 45 |
"uncaughtException", |
| 46 |
"unhandledRejection", |
| 47 |
"catch", |
| 48 |
"promise", |
| 49 |
"execution", |
| 50 |
"context" |
| 51 |
], |
| 52 |
"author": { |
| 53 |
"name": "Isaac Z. Schlueter", |
| 54 |
"email": "[email protected]", |
| 55 |
"url": "https://blog.izs.me" |
| 56 |
}, |
| 57 |
"license": "ISC", |
| 58 |
"gitHead": "720eb859ddde9e524af2daf164f9e8cc610fadda", |
| 59 |
"bugs": { |
| 60 |
"url": "https://github.com/isaacs/async-hooks-domain/issues" |
| 61 |
}, |
| 62 |
"homepage": "https://github.com/isaacs/async-hooks-domain#readme", |
| 63 |
"_id": "[email protected]", |
| 64 |
"_nodeVersion": "11.11.0", |
| 65 |
"_npmVersion": "6.7.0", |
| 66 |
"dist": { |
| 67 |
"integrity": "sha512-a6XQ39q6xWNWB4bwqoSvomo72UefSbgvYPlQe+H6J/oppG3czblcjHN97mPGni6TW6zakkRxw1V7oV3MNYVq3w==", |
| 68 |
"shasum": "fde4838208e1c75970ab14d4fa5854551f7865a5", |
| 69 |
"tarball": "https://registry.npmjs.org/async-hook-domain/-/async-hook-domain-1.0.0.tgz", |
| 70 |
"fileCount": 4, |
| 71 |
"unpackedSize": 9731, |
| 72 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJckebYCRA9TVsSAnZWagAA0KMP/R2F3litkadOfZCQBUgq\nnGGm/rEVYAh95BYYqNQBREvpt8m1GaFfpdxOjeqccnOckek/PCQhXhhPNog6\nFmGTSKnuXgDOcyNfuB47Tp7vINZC+siYyBZk1YChucDI9Aom/tL+o3QqgP9Z\nBQ9CULXRkB2CATDv/NyVXDMKdPn5fpvAS0E0KS7RLwOeNA31vPQJhxF3Mc8A\nUvo4wxT4F1p2pFgB2ulWJ3jOCwPZCejcXIdbu9ob+47JEsKILoRioDCZJyF4\nANtSaGLxSlAvcIezyWA/SvnEpxTLcB+6LZxx/ZwEhs2/YQqLu8ghKYynXT2C\nZF57MudEACVaO5kXx1q3qvXHxnXEBW4wYkQnk1z6jtUKnt3wdCJ+fpnI1781\nVYJ5G9yISnWgL9JM2K2d4AgAzdX1Sx8/8+yapKLMSlxrbF+1oJ5oT76uZ7jV\niz5Oaxfi4CQj61AjOhQffbcgFPgEgRlkTKy+P0DPuURpVNCjFaHI0BoY7J0x\nI4XSS/AdYvAOYVoIw2LSHUgD1PiS036IfZ8yTQzVrgGagKZunNLg3LsjWeFX\nsWO27p/jg6hbJgjIH64tx8Sphoft3yDbkersn752cn1HsNxBeQ2Cql81A5UM\nBDPj4XLwMFL9Rhv1w1Ll4TakwAhVLnKPDUzx7grsv3OnZ1XTS3FHlLVJ+U91\n5Viw\r\n=lYS1\r\n-----END PGP SIGNATURE-----\r\n" |
| 73 |
}, |
| 74 |
"maintainers": [ |
| 75 |
{ |
| 76 |
"name": "isaacs", |
| 77 |
"email": "[email protected]" |
| 78 |
} |
| 79 |
], |
| 80 |
"_npmUser": { |
| 81 |
"name": "isaacs", |
| 82 |
"email": "[email protected]" |
| 83 |
}, |
| 84 |
"_npmOperationalInternal": { |
| 85 |
"host": "s3://npm-registry-packages", |
| 86 |
"tmp": "tmp/async-hook-domain_1.0.0_1553065687877_0.07987284613504464" |
| 87 |
}, |
| 88 |
"_hasShrinkwrap": false |
| 89 |
}, |
| 90 |
"1.0.1": { |
| 91 |
"name": "async-hook-domain", |
| 92 |
"version": "1.0.1", |
| 93 |
"description": "An implementation of Domain-like error handling, built on async_hooks", |
| 94 |
"main": "index.js", |
| 95 |
"directories": { |
| 96 |
"test": "test" |
| 97 |
}, |
| 98 |
"dependencies": { |
| 99 |
"source-map-support": "^0.5.11" |
| 100 |
}, |
| 101 |
"devDependencies": { |
| 102 |
"tap": "^13.0.0-rc.11" |
| 103 |
}, |
| 104 |
"scripts": { |
| 105 |
"test": "tap test/run.js", |
| 106 |
"snap": "tap test/run.js", |
| 107 |
"preversion": "npm test", |
| 108 |
"postversion": "npm publish", |
| 109 |
"postpublish": "git push origin --all; git push origin --tags" |
| 110 |
}, |
| 111 |
"tap": { |
| 112 |
"check-coverage": true |
| 113 |
}, |
| 114 |
"repository": { |
| 115 |
"type": "git", |
| 116 |
"url": "git://github.com/isaacs/async-hook-domain.git" |
| 117 |
}, |
| 118 |
"keywords": [ |
| 119 |
"async", |
| 120 |
"hooks", |
| 121 |
"async_hooks", |
| 122 |
"domain", |
| 123 |
"error", |
| 124 |
"handling", |
| 125 |
"handler", |
| 126 |
"uncaughtException", |
| 127 |
"unhandledRejection", |
| 128 |
"catch", |
| 129 |
"promise", |
| 130 |
"execution", |
| 131 |
"context" |
| 132 |
], |
| 133 |
"author": { |
| 134 |
"name": "Isaac Z. Schlueter", |
| 135 |
"email": "[email protected]", |
| 136 |
"url": "https://blog.izs.me" |
| 137 |
}, |
| 138 |
"license": "ISC", |
| 139 |
"gitHead": "22f9d645db42149ed37718176dfba95fd94164c3", |
| 140 |
"bugs": { |
| 141 |
"url": "https://github.com/isaacs/async-hook-domain/issues" |
| 142 |
}, |
| 143 |
"homepage": "https://github.com/isaacs/async-hook-domain#readme", |
| 144 |
"_id": "[email protected]", |
| 145 |
"_nodeVersion": "11.11.0", |
| 146 |
"_npmVersion": "6.7.0", |
| 147 |
"dist": { |
| 148 |
"integrity": "sha512-KADFRad48UVA0QhGNm9MnBFtcesaoLfqXp//eKI8wuvLESeuWO0UfOhPVDc2kiAy4+rd+Q7ZNA/OwxMw7cgB4Q==", |
| 149 |
"shasum": "e6f3bf211f7c6ffe72050e65f1e7222985478791", |
| 150 |
"tarball": "https://registry.npmjs.org/async-hook-domain/-/async-hook-domain-1.0.1.tgz", |
| 151 |
"fileCount": 4, |
| 152 |
"unpackedSize": 9730, |
| 153 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJckkv/CRA9TVsSAnZWagAA2ygP/A0SK/lxxdNMCCUApDV1\nBFyvoXitvL9Dg+gYk1kdKBcMZqkZOEMHW0Q5d0eOC9s9n57YdWuVGPcrXdv+\nAoQVLZyireC91SSMSRB+e0nnEqxCPBjKk/kIFpG6fvIUucu3PdMnc+6iLMxh\n0cLTLdcFIr12T8n4fn6WDKP8O4sTLB85UaKZNXPhC+0SnvWKwGJ9Deb3U8fo\nLrXJuR64iBvdKLaL/58KXNsYOHamPmkOyfXQ2kUXFr1XVcCfUmRUENw1Xgam\n2+8u5+XtxEoe+k+FNZ9cEMVXTYT9QtFOvNWz+dthRX+e8Umh3aQtFAQ/3unr\nKGNxd3j/RT4QgHdAIoJp6Rdpb6i9eHIXKwuX8OdjYyKISThKRyf2gDreSx+Q\niKlot39g1BhAGTAC00cg7b3k5Z6+Yl9WET0gpFPXkb/zyylPGZXNuVNC12ST\nlAyn2HBoatvqrPLBVH2f1uJUQ4TuO2p6jvKxjNRxeDyNxWKYdeXfVOzBL92d\ndyxMpFa3i3KycWO1gkF5EQhPRjNNoCGc3Yel/xM3x02TSFTami6OYJXNBqjw\nILmcSRTv29rDd3KbWwTlfMb0qDAT60RTh7VAK/5gaUz8qf5AQyylbneNwTHP\ntPHtBHuNZYenSQ0Y2Ux3vdYHFdvbwgg3KGhm4GfkRej0OA7reC2b829IGo7y\nPria\r\n=+nTU\r\n-----END PGP SIGNATURE-----\r\n" |
| 154 |
}, |
| 155 |
"maintainers": [ |
| 156 |
{ |
| 157 |
"name": "isaacs", |
| 158 |
"email": "[email protected]" |
| 159 |
} |
| 160 |
], |
| 161 |
"_npmUser": { |
| 162 |
"name": "isaacs", |
| 163 |
"email": "[email protected]" |
| 164 |
}, |
| 165 |
"_npmOperationalInternal": { |
| 166 |
"host": "s3://npm-registry-packages", |
| 167 |
"tmp": "tmp/async-hook-domain_1.0.1_1553091583108_0.3872279178586491" |
| 168 |
}, |
| 169 |
"_hasShrinkwrap": false |
| 170 |
}, |
| 171 |
"1.1.0": { |
| 172 |
"name": "async-hook-domain", |
| 173 |
"version": "1.1.0", |
| 174 |
"description": "An implementation of Domain-like error handling, built on async_hooks", |
| 175 |
"main": "index.js", |
| 176 |
"directories": { |
| 177 |
"test": "test" |
| 178 |
}, |
| 179 |
"dependencies": { |
| 180 |
"source-map-support": "^0.5.11" |
| 181 |
}, |
| 182 |
"devDependencies": { |
| 183 |
"tap": "^13.0.0-rc.11" |
| 184 |
}, |
| 185 |
"scripts": { |
| 186 |
"test": "tap test/run.js", |
| 187 |
"snap": "tap test/run.js", |
| 188 |
"preversion": "npm test", |
| 189 |
"postversion": "npm publish", |
| 190 |
"postpublish": "git push origin --all; git push origin --tags" |
| 191 |
}, |
| 192 |
"tap": { |
| 193 |
"check-coverage": true |
| 194 |
}, |
| 195 |
"repository": { |
| 196 |
"type": "git", |
| 197 |
"url": "git://github.com/isaacs/async-hook-domain.git" |
| 198 |
}, |
| 199 |
"keywords": [ |
| 200 |
"async", |
| 201 |
"hooks", |
| 202 |
"async_hooks", |
| 203 |
"domain", |
| 204 |
"error", |
| 205 |
"handling", |
| 206 |
"handler", |
| 207 |
"uncaughtException", |
| 208 |
"unhandledRejection", |
| 209 |
"catch", |
| 210 |
"promise", |
| 211 |
"execution", |
| 212 |
"context" |
| 213 |
], |
| 214 |
"author": { |
| 215 |
"name": "Isaac Z. Schlueter", |
| 216 |
"email": "[email protected]", |
| 217 |
"url": "https://blog.izs.me" |
| 218 |
}, |
| 219 |
"license": "ISC", |
| 220 |
"gitHead": "e39e884e2b28f5dcdb1e9b7a65bfaf0f8e8ed901", |
| 221 |
"bugs": { |
| 222 |
"url": "https://github.com/isaacs/async-hook-domain/issues" |
| 223 |
}, |
| 224 |
"homepage": "https://github.com/isaacs/async-hook-domain#readme", |
| 225 |
"_id": "[email protected]", |
| 226 |
"_nodeVersion": "11.11.0", |
| 227 |
"_npmVersion": "6.7.0", |
| 228 |
"dist": { |
| 229 |
"integrity": "sha512-NH7V97d1yCbIanu2oDLyPT2GFNct0esPeJyRfkk8J5hTztHVSQp4UiNfL2O42sCA9XZPU8OgHvzOmt9ewBhVqA==", |
| 230 |
"shasum": "76855e572425c2bd1f7171f989bd40d70f12f9d6", |
| 231 |
"tarball": "https://registry.npmjs.org/async-hook-domain/-/async-hook-domain-1.1.0.tgz", |
| 232 |
"fileCount": 4, |
| 233 |
"unpackedSize": 11058, |
| 234 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcksnCCRA9TVsSAnZWagAA/hsP/jw7TGulupuTWE1mNzl5\n0bWuBAzllZ3vCpqQO+beghpwpGyEztVY/5Z7nOZhGrmTHShe/LhIT4RgZnGQ\nN4hKkP6jzxkv20JVkiKH0JyblyeWw2dcSP9iKvah9JCag7LcAtA56fKy30dd\nf563zNxDcH0p6o+fVisepRt6pjNFR3X+lySOSYVSH2tLcOP4prBU/twtOBC8\nN3brJuDomJkZLy8HWjgLUocvjhO1mDW5kfclS1JzKlOokPMhP5r8mVHmMcms\nfWQwKTyBe6UrE15jlyGWBYGX54fWaEgePMxbt9LZ2Qha7pD1JSQ3uqr4x/W5\npvygGerkkrbTBJGMSb30zxY35GkoC874JQG0YgcqrszVotpgNjSYJbKAdxv/\nxDhz0tEyt8daJE01lCj0PJpWHzGl40O0lsK9HO8EvhCUEnxSHtzMrorG7MHJ\nGuPcvN063tKyp0nxTlay1IsE5ltWUZOqGtg9bD8cRL1WKY+UBUtkOjjj0YIC\n3Z7I8G28y9QXkn80iy2PrIEZf0Y53YQJeLnR0bVQGQAmw2uJ+3tl/J9bIXCD\npRg2sm8F+tMi0tKjqRRvul0EaTRmp+suX5XepGeLHDAXtZJGciboxDOBA4k3\nZ/wZf23lBKNDvQ5NotWdTtZQ5YNOGcz89dcyInrdKBJ+XyqQb7tMKu72Ew1L\nzEGZ\r\n=OVVY\r\n-----END PGP SIGNATURE-----\r\n" |
| 235 |
}, |
| 236 |
"maintainers": [ |
| 237 |
{ |
| 238 |
"name": "isaacs", |
| 239 |
"email": "[email protected]" |
| 240 |
} |
| 241 |
], |
| 242 |
"_npmUser": { |
| 243 |
"name": "isaacs", |
| 244 |
"email": "[email protected]" |
| 245 |
}, |
| 246 |
"_npmOperationalInternal": { |
| 247 |
"host": "s3://npm-registry-packages", |
| 248 |
"tmp": "tmp/async-hook-domain_1.1.0_1553123778145_0.0725395500027961" |
| 249 |
}, |
| 250 |
"_hasShrinkwrap": false |
| 251 |
}, |
| 252 |
"1.1.1": { |
| 253 |
"name": "async-hook-domain", |
| 254 |
"version": "1.1.1", |
| 255 |
"description": "An implementation of Domain-like error handling, built on async_hooks", |
| 256 |
"main": "index.js", |
| 257 |
"directories": { |
| 258 |
"test": "test" |
| 259 |
}, |
| 260 |
"dependencies": { |
| 261 |
"source-map-support": "^0.5.11" |
| 262 |
}, |
| 263 |
"devDependencies": { |
| 264 |
"tap": "^14.6.6" |
| 265 |
}, |
| 266 |
"scripts": { |
| 267 |
"test": "tap --node-arg=test/run.js test/fixtures", |
| 268 |
"snap": "tap --node-arg=test/run.js test/fixtures", |
| 269 |
"preversion": "npm test", |
| 270 |
"postversion": "npm publish", |
| 271 |
"postpublish": "git push origin --follow-tags" |
| 272 |
}, |
| 273 |
"tap": { |
| 274 |
"check-coverage": true |
| 275 |
}, |
| 276 |
"repository": { |
| 277 |
"type": "git", |
| 278 |
"url": "git://github.com/isaacs/async-hook-domain.git" |
| 279 |
}, |
| 280 |
"keywords": [ |
| 281 |
"async", |
| 282 |
"hooks", |
| 283 |
"async_hooks", |
| 284 |
"domain", |
| 285 |
"error", |
| 286 |
"handling", |
| 287 |
"handler", |
| 288 |
"uncaughtException", |
| 289 |
"unhandledRejection", |
| 290 |
"catch", |
| 291 |
"promise", |
| 292 |
"execution", |
| 293 |
"context" |
| 294 |
], |
| 295 |
"author": { |
| 296 |
"name": "Isaac Z. Schlueter", |
| 297 |
"email": "[email protected]", |
| 298 |
"url": "https://blog.izs.me" |
| 299 |
}, |
| 300 |
"license": "ISC", |
| 301 |
"gitHead": "36f779b8c7ccbc9ddbc8e7d376e1081c29a178e8", |
| 302 |
"bugs": { |
| 303 |
"url": "https://github.com/isaacs/async-hook-domain/issues" |
| 304 |
}, |
| 305 |
"homepage": "https://github.com/isaacs/async-hook-domain#readme", |
| 306 |
"_id": "[email protected]", |
| 307 |
"_nodeVersion": "12.8.1", |
| 308 |
"_npmVersion": "6.12.0-next.0", |
| 309 |
"dist": { |
| 310 |
"integrity": "sha512-nHfgkoCbzXqCPEFshW5/LROfUqKcZdOW4mfvR66V7bdSuvvvt+s2CuHVBmJxHfOVFhCJ29xlRqEJxyNQKQsqBg==", |
| 311 |
"shasum": "e8f56d037c624339cc03b9fb875cc444a0350b7d", |
| 312 |
"tarball": "https://registry.npmjs.org/async-hook-domain/-/async-hook-domain-1.1.1.tgz", |
| 313 |
"fileCount": 4, |
| 314 |
"unpackedSize": 13176, |
| 315 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdkQlvCRA9TVsSAnZWagAA4O0P/jpLEdV8/LsDjppmLVMK\nM4+oOkUIEuyQ//PxB/kXOSn3dYEMunkdDNvnWq8trvnnblg1jkxU5Ieij/Jz\njPo1fuenZOWZBr+2NLaWdw3plkAtwnGdVdwEM9toniaQYFap1OjJKF6mjCHS\nqcGQyLvNKRTJzSaokLLgZ4n+Prt09N37JB9qS8vZUh7h4bAx++kiTS3XLPLq\ndast4nWK4958tRnHKMoXkqDxmv4Zwe5cOx3RZiHula9zSHTDHSw21l7jPUa1\nmzfHrlddoB883VBK9pQrZb2y6SE11uH267/yhVtyIXg8ibdklFYwfLxmOf6y\ncip7p9kEL7ZFYdqjul3vlU9PhdHJbjJjeYWqiClHRCMDIpDdOJlXJVkIyGBM\nAMLgL77s9eDJSqFepttobMrKEND142NNM2v8UWnhqXiN/l+LoRN7mi0ftjwW\n7LyRtFsw5wSGFFkQW9s3+rE00lYyuYWs/WH2iS9WttdjgUwcMJFVI+Xs5c/s\n9mC293aPAiNxBgIhmD+kl9XDQ1ZHP0lZaWIMz3orn2Y25tuDnc7k9zdMxaYz\nsEo1qEq24k36JX7fewGLeZhlj1yKcOHqvZCqns+ShbGiAT67q0C/Q+shKBcF\nvsCmLyE5qEn9bE2yrRI0RuhGlMktxxogwoX7B4RcUd1cYCprEgPc728aY7Jt\nmM7E\r\n=IYiI\r\n-----END PGP SIGNATURE-----\r\n" |
| 316 |
}, |
| 317 |
"maintainers": [ |
| 318 |
{ |
| 319 |
"name": "isaacs", |
| 320 |
"email": "[email protected]" |
| 321 |
} |
| 322 |
], |
| 323 |
"_npmUser": { |
| 324 |
"name": "isaacs", |
| 325 |
"email": "[email protected]" |
| 326 |
}, |
| 327 |
"_npmOperationalInternal": { |
| 328 |
"host": "s3://npm-registry-packages", |
| 329 |
"tmp": "tmp/async-hook-domain_1.1.1_1569786222768_0.8479946386706882" |
| 330 |
}, |
| 331 |
"_hasShrinkwrap": false |
| 332 |
}, |
| 333 |
"1.1.2": { |
| 334 |
"name": "async-hook-domain", |
| 335 |
"version": "1.1.2", |
| 336 |
"description": "An implementation of Domain-like error handling, built on async_hooks", |
| 337 |
"main": "index.js", |
| 338 |
"directories": { |
| 339 |
"test": "test" |
| 340 |
}, |
| 341 |
"dependencies": { |
| 342 |
"source-map-support": "^0.5.11" |
| 343 |
}, |
| 344 |
"devDependencies": { |
| 345 |
"tap": "^14.6.6" |
| 346 |
}, |
| 347 |
"scripts": { |
| 348 |
"test": "tap --node-arg=test/run.js test/fixtures", |
| 349 |
"snap": "tap --node-arg=test/run.js test/fixtures", |
| 350 |
"preversion": "npm test", |
| 351 |
"postversion": "npm publish", |
| 352 |
"postpublish": "git push origin --follow-tags" |
| 353 |
}, |
| 354 |
"tap": { |
| 355 |
"check-coverage": true |
| 356 |
}, |
| 357 |
"repository": { |
| 358 |
"type": "git", |
| 359 |
"url": "git://github.com/isaacs/async-hook-domain.git" |
| 360 |
}, |
| 361 |
"keywords": [ |
| 362 |
"async", |
| 363 |
"hooks", |
| 364 |
"async_hooks", |
| 365 |
"domain", |
| 366 |
"error", |
| 367 |
"handling", |
| 368 |
"handler", |
| 369 |
"uncaughtException", |
| 370 |
"unhandledRejection", |
| 371 |
"catch", |
| 372 |
"promise", |
| 373 |
"execution", |
| 374 |
"context" |
| 375 |
], |
| 376 |
"author": { |
| 377 |
"name": "Isaac Z. Schlueter", |
| 378 |
"email": "[email protected]", |
| 379 |
"url": "https://blog.izs.me" |
| 380 |
}, |
| 381 |
"license": "ISC", |
| 382 |
"gitHead": "3fd75a1c94718363907a6a7cd59f1d6f6820832a", |
| 383 |
"bugs": { |
| 384 |
"url": "https://github.com/isaacs/async-hook-domain/issues" |
| 385 |
}, |
| 386 |
"homepage": "https://github.com/isaacs/async-hook-domain#readme", |
| 387 |
"_id": "[email protected]", |
| 388 |
"_nodeVersion": "12.12.0", |
| 389 |
"_npmVersion": "6.12.0", |
| 390 |
"dist": { |
| 391 |
"integrity": "sha512-9bsb+Jo/w18ZhmyCiM9RXA0JCiG7O7bWnQR7T+tsRSj38weS0t4eukAz9/tjeIf1rUbrXyquEaXo9x79dNBNcA==", |
| 392 |
"shasum": "2c5545c24f076ba7e3af26a6bcb3357515497667", |
| 393 |
"tarball": "https://registry.npmjs.org/async-hook-domain/-/async-hook-domain-1.1.2.tgz", |
| 394 |
"fileCount": 4, |
| 395 |
"unpackedSize": 13203, |
| 396 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdpmktCRA9TVsSAnZWagAAT/oP/1VYnXhKt9qVjdT+b5k/\nRq5owcQEzr9mfEgXjoS2D1/M89eWDnOeWKmKukLarcSDQOdsupayvODF3Pjz\nZmRpqeK2zu7v/SmXz5iCgJNEy/crOPFU+RMKRsQxd9yv086TQ9gBHmpxT1pj\njrKuzz26mvZ7MUDgZJedM6Cwc2Fvy08DpB0+SoKKVqAU9OLcKQFLKRKqhdSB\n5LKracuLUPWpp4nskJz0cAwtbmmaBHnS9vUtYFjB39980JK307gpofW7EnMm\nFdN7bu7PFbKf012762jNm66gFnRsjnMZjLVmujK5RzZGXV/14gzQlw2p8FVK\noowSWZtwdXR9MBehgIgPTRVQpsEsWtCCOuSBN5h9KrMdcR1Cmsg+leMfpW2+\ngDD1ypq4ETEcPu00ws7ieEK31g2E3+3KanhBORJ5Wl9xnRPN8f9OMHs2n7NP\nTb8E9sxdt62YCQ/ignFqDoNqvdgFw8aetlE5fJVSxClWOu8/9OSH4PqYnd2O\nybYLSkmj/TnIZp/IIqX3bfHxmqDXpxTEsn3rkBbPZwivIvBzDvTfBE8rzbzi\nD3+mhLsEC0sY5r45TGAEMbuAvPlD++aCpaI15jpgrsYKkKMkW3YmLI4OYbKi\n/mye+teQX6e4TFcmOok1STzLrTLws9LjIy2oQuhHgX/zMnkpZSpLxmna4TLG\nLkrl\r\n=4Cc9\r\n-----END PGP SIGNATURE-----\r\n" |
| 397 |
}, |
| 398 |
"maintainers": [ |
| 399 |
{ |
| 400 |
"name": "isaacs", |
| 401 |
"email": "[email protected]" |
| 402 |
} |
| 403 |
], |
| 404 |
"_npmUser": { |
| 405 |
"name": "isaacs", |
| 406 |
"email": "[email protected]" |
| 407 |
}, |
| 408 |
"_npmOperationalInternal": { |
| 409 |
"host": "s3://npm-registry-packages", |
| 410 |
"tmp": "tmp/async-hook-domain_1.1.2_1571186988520_0.3029677832938493" |
| 411 |
}, |
| 412 |
"_hasShrinkwrap": false |
| 413 |
}, |
| 414 |
"1.1.3": { |
| 415 |
"name": "async-hook-domain", |
| 416 |
"version": "1.1.3", |
| 417 |
"description": "An implementation of Domain-like error handling, built on async_hooks", |
| 418 |
"main": "index.js", |
| 419 |
"directories": { |
| 420 |
"test": "test" |
| 421 |
}, |
| 422 |
"dependencies": { |
| 423 |
"source-map-support": "^0.5.11" |
| 424 |
}, |
| 425 |
"devDependencies": { |
| 426 |
"tap": "^14.6.6" |
| 427 |
}, |
| 428 |
"scripts": { |
| 429 |
"test": "tap --node-arg=test/run.js test/fixtures", |
| 430 |
"snap": "tap --node-arg=test/run.js test/fixtures", |
| 431 |
"preversion": "npm test", |
| 432 |
"postversion": "npm publish", |
| 433 |
"postpublish": "git push origin --follow-tags" |
| 434 |
}, |
| 435 |
"tap": { |
| 436 |
"check-coverage": true |
| 437 |
}, |
| 438 |
"repository": { |
| 439 |
"type": "git", |
| 440 |
"url": "git://github.com/isaacs/async-hook-domain.git" |
| 441 |
}, |
| 442 |
"keywords": [ |
| 443 |
"async", |
| 444 |
"hooks", |
| 445 |
"async_hooks", |
| 446 |
"domain", |
| 447 |
"error", |
| 448 |
"handling", |
| 449 |
"handler", |
| 450 |
"uncaughtException", |
| 451 |
"unhandledRejection", |
| 452 |
"catch", |
| 453 |
"promise", |
| 454 |
"execution", |
| 455 |
"context" |
| 456 |
], |
| 457 |
"author": { |
| 458 |
"name": "Isaac Z. Schlueter", |
| 459 |
"email": "[email protected]", |
| 460 |
"url": "https://blog.izs.me" |
| 461 |
}, |
| 462 |
"license": "ISC", |
| 463 |
"gitHead": "8bd131194b675be4d49c8a7d15475097ba9adeef", |
| 464 |
"bugs": { |
| 465 |
"url": "https://github.com/isaacs/async-hook-domain/issues" |
| 466 |
}, |
| 467 |
"homepage": "https://github.com/isaacs/async-hook-domain#readme", |
| 468 |
"_id": "[email protected]", |
| 469 |
"_nodeVersion": "12.12.0", |
| 470 |
"_npmVersion": "6.12.0", |
| 471 |
"dist": { |
| 472 |
"integrity": "sha512-ZovMxSbADV3+biB7oR1GL5lGyptI24alp0LWHlmz1OFc5oL47pz3EiIF6nXOkDW7yLqih4NtsiYduzdDW0i+Wg==", |
| 473 |
"shasum": "f4f531b8ee8206b1ea1825fe3825e015c66f44d0", |
| 474 |
"tarball": "https://registry.npmjs.org/async-hook-domain/-/async-hook-domain-1.1.3.tgz", |
| 475 |
"fileCount": 4, |
| 476 |
"unpackedSize": 13222, |
| 477 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdpmlmCRA9TVsSAnZWagAAWN4QAIGmJJgTWEh5GhT1QZjd\nYNzXnZm3GhGQxlWA+Mtlfbl7K9HNM8Qhk0QY5gZrjD09/DSYRI/bax/dyzUb\nOCs6rk2WvvCJ/sd1Fxxx6SQURUpMHOeX9g9oJ44E1W1b86/tbsMAZ2HocaJC\nvUNsWw6cPLmZRsd6wWAuN1tx/F8U+mTxH8yg+jhepwvbtICqVjCwHBu47dvM\n3BxQqG6cCR7QthxG2irHD3K8lN5r7eWiua8bL82TGhT5dUXxKygS7AInuAdU\n1sMuclg4XnlNkazmXwwi7GuArrBy1FEwJk/raczqBBUQC/Lmqq9S5eUxo7U9\nPbef2DD19eEBhSYVkQu3XrcIRWnZ2ADwvWWvubJGhiPlPt/vxIkp0cVsnlE0\nZL4GjY8IscyD+XhNeNcGxEs7yTJDfEcyb/kvbvz01xlI1Fx9rDT0OgT03RqY\nLQRHSNCTE7y/60ZOh0ZXlEqkug/y0QR0/KgjOJyrlum2ATtBvuVF4jnyt6jn\nz9QSirBPJ+9LTQx+GuDaU673stuKm/2ZTiEeVuJ/ZrjyJsqMsH7gHd4rG0/Z\n0XvaY2b7i87KLjWdk00Vj7F5J0mRdD5BmHPv0ycn92VP6gGGZs/4A3X5BSGm\nZhkz2+xEoalIyId/KrnzHCQR+m63uurpnJ/aCXrVWEfasvHiFOZIaMzfSPhN\n+YTx\r\n=31A7\r\n-----END PGP SIGNATURE-----\r\n" |
| 478 |
}, |
| 479 |
"maintainers": [ |
| 480 |
{ |
| 481 |
"name": "isaacs", |
| 482 |
"email": "[email protected]" |
| 483 |
} |
| 484 |
], |
| 485 |
"_npmUser": { |
| 486 |
"name": "isaacs", |
| 487 |
"email": "[email protected]" |
| 488 |
}, |
| 489 |
"_npmOperationalInternal": { |
| 490 |
"host": "s3://npm-registry-packages", |
| 491 |
"tmp": "tmp/async-hook-domain_1.1.3_1571187046176_0.234358338138414" |
| 492 |
}, |
| 493 |
"_hasShrinkwrap": false |
| 494 |
}, |
| 495 |
"2.0.1": { |
| 496 |
"name": "async-hook-domain", |
| 497 |
"version": "2.0.1", |
| 498 |
"description": "An implementation of Domain-like error handling, built on async_hooks", |
| 499 |
"main": "index.js", |
| 500 |
"directories": { |
| 501 |
"test": "test" |
| 502 |
}, |
| 503 |
"devDependencies": { |
| 504 |
"source-map-support": "^0.5.16", |
| 505 |
"tap": "^14.10.2" |
| 506 |
}, |
| 507 |
"scripts": { |
| 508 |
"test": "tap --node-arg=test/run.js test/fixtures", |
| 509 |
"snap": "tap --node-arg=test/run.js test/fixtures", |
| 510 |
"preversion": "npm test", |
| 511 |
"postversion": "npm publish", |
| 512 |
"postpublish": "git push origin --follow-tags" |
| 513 |
}, |
| 514 |
"tap": { |
| 515 |
"check-coverage": true |
| 516 |
}, |
| 517 |
"repository": { |
| 518 |
"type": "git", |
| 519 |
"url": "git://github.com/tapjs/async-hook-domain.git" |
| 520 |
}, |
| 521 |
"keywords": [ |
| 522 |
"async", |
| 523 |
"hooks", |
| 524 |
"async_hooks", |
| 525 |
"domain", |
| 526 |
"error", |
| 527 |
"handling", |
| 528 |
"handler", |
| 529 |
"uncaughtException", |
| 530 |
"unhandledRejection", |
| 531 |
"catch", |
| 532 |
"promise", |
| 533 |
"execution", |
| 534 |
"context" |
| 535 |
], |
| 536 |
"author": { |
| 537 |
"name": "Isaac Z. Schlueter", |
| 538 |
"email": "[email protected]", |
| 539 |
"url": "https://blog.izs.me" |
| 540 |
}, |
| 541 |
"license": "ISC", |
| 542 |
"engines": { |
| 543 |
"node": ">=10" |
| 544 |
}, |
| 545 |
"gitHead": "010db04cfc9185a81f95d63a1e947dd82e7c4877", |
| 546 |
"bugs": { |
| 547 |
"url": "https://github.com/tapjs/async-hook-domain/issues" |
| 548 |
}, |
| 549 |
"homepage": "https://github.com/tapjs/async-hook-domain#readme", |
| 550 |
"_id": "[email protected]", |
| 551 |
"_nodeVersion": "13.3.0", |
| 552 |
"_npmVersion": "6.13.4", |
| 553 |
"dist": { |
| 554 |
"integrity": "sha512-6mTfx94ihRvLTFNvToIzjV/x84IhSNJhP13DDE1won25inefPBRx0DZAx74OMyXaGsmzFVsc9psDArfXomrSZA==", |
| 555 |
"shasum": "92eb9fbb9988caa956fdc7947e6659078ff3c232", |
| 556 |
"tarball": "https://registry.npmjs.org/async-hook-domain/-/async-hook-domain-2.0.1.tgz", |
| 557 |
"fileCount": 4, |
| 558 |
"unpackedSize": 13160, |
| 559 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd8zJvCRA9TVsSAnZWagAApu8P/iV3Q7Ygej9+nCSnwqKU\n6CH5Ypph8gURnC7KUzP1srGAj8917HzQJF0qm3UC8U2HgGLoiqa6xjSXkWmT\nLN5hxgN982b9z3qJcEspgPEkl0C9bH/EwAY+M+naT4ntbpMrjucLWKk6F6aN\nxy49Ml7PohPqpzev8rbChhV8bZwmOfey2Mv75KP2Xv/oFQEWcTfefkoBfNG1\n4fLttejFNaVwNC/J5JOFrJoFVJufFH21j3botWjUyuDayF8Ry24fERpSn/Xf\nU/T8KOpZWioCgjqitUJoWs4k8T7GgvlhZI2N9gMAIHJeqCUT18IJoMvbhIAf\nYkM3JzP/0bIE50/5M27z9oZHsRoXijsyXFulzuMV0pk9o0g8nUeYg2y0CptH\nTyn9iYG1V7PbyWRIFn2ZGrcmnHpQM9H3vQoU0xn3YbdsM9Ou9NV3srOEeMnv\nWfNF9V2zZ+H0FG0lDm1ahwKTrscnU8noh2N5zgCL1yLxuRHakgfKzMSUsISg\nDHHnKqYBFp/qOo+EY0CxnnE2uvKFSnnagwKpZZbRZvhrf82p6Ce5nMoiQDhZ\n1/2cM4m59qaN2wVxUI7kRehVnsnxSowSjlu0H+VZ6JTazuo7gyz52ASr/wto\nkVWgYStXtDNhah8sXeGlnh1Wmu/T0tD4ev/zzoIRkT/iDEd3JHKY55BHCQxQ\nAiJd\r\n=hf/B\r\n-----END PGP SIGNATURE-----\r\n" |
| 560 |
}, |
| 561 |
"maintainers": [ |
| 562 |
{ |
| 563 |
"name": "isaacs", |
| 564 |
"email": "[email protected]" |
| 565 |
} |
| 566 |
], |
| 567 |
"_npmUser": { |
| 568 |
"name": "isaacs", |
| 569 |
"email": "[email protected]" |
| 570 |
}, |
| 571 |
"_npmOperationalInternal": { |
| 572 |
"host": "s3://npm-registry-packages", |
| 573 |
"tmp": "tmp/async-hook-domain_2.0.1_1576219247462_0.6652233696904759" |
| 574 |
}, |
| 575 |
"_hasShrinkwrap": false |
| 576 |
} |
| 577 |
}, |
| 578 |
"time": { |
| 579 |
"created": "2019-03-20T07:08:07.876Z", |
| 580 |
"1.0.0": "2019-03-20T07:08:08.009Z", |
| 581 |
"modified": "2019-12-13T06:40:49.973Z", |
| 582 |
"1.0.1": "2019-03-20T14:19:43.327Z", |
| 583 |
"1.1.0": "2019-03-20T23:16:18.297Z", |
| 584 |
"1.1.1": "2019-09-29T19:43:42.882Z", |
| 585 |
"1.1.2": "2019-10-16T00:49:48.644Z", |
| 586 |
"1.1.3": "2019-10-16T00:50:46.299Z", |
| 587 |
"2.0.0": "2019-12-13T06:28:43.961Z", |
| 588 |
"2.0.1": "2019-12-13T06:40:47.585Z" |
| 589 |
}, |
| 590 |
"maintainers": [ |
| 591 |
{ |
| 592 |
"name": "isaacs", |
| 593 |
"email": "[email protected]" |
| 594 |
} |
| 595 |
], |
| 596 |
"description": "An implementation of Domain-like error handling, built on async_hooks", |
| 597 |
"homepage": "https://github.com/tapjs/async-hook-domain#readme", |
| 598 |
"keywords": [ |
| 599 |
"async", |
| 600 |
"hooks", |
| 601 |
"async_hooks", |
| 602 |
"domain", |
| 603 |
"error", |
| 604 |
"handling", |
| 605 |
"handler", |
| 606 |
"uncaughtException", |
| 607 |
"unhandledRejection", |
| 608 |
"catch", |
| 609 |
"promise", |
| 610 |
"execution", |
| 611 |
"context" |
| 612 |
], |
| 613 |
"repository": { |
| 614 |
"type": "git", |
| 615 |
"url": "git://github.com/tapjs/async-hook-domain.git" |
| 616 |
}, |
| 617 |
"author": { |
| 618 |
"name": "Isaac Z. Schlueter", |
| 619 |
"email": "[email protected]", |
| 620 |
"url": "https://blog.izs.me" |
| 621 |
}, |
| 622 |
"bugs": { |
| 623 |
"url": "https://github.com/tapjs/async-hook-domain/issues" |
| 624 |
}, |
| 625 |
"license": "ISC", |
| 626 |
"readme": "# async-hook-domain\n\nAn implementation of the error-handling properties of the (deprecated) `domain`\nnode core module, re-implemented on top of\n[`async_hooks`](https://nodejs.org/api/async_hooks.html).\n\n[](https://travis-ci.org/tapjs/async-hook-domain)\n\n## USAGE\n\n```js\nconst Domain = require('async-hook-domain')\n\n// instantiating a Domain attaches it to the current async execution\n// context, and all child contexts that come off of it. You don't have\n// to call d.enter() or d.run(cb), just instantiate and it's done.\n// Pass an error-handling function to the constructor. This function\n// will be called whenever there is an uncaught exception or an\n// unhandled Promise rejection.\n\nconst d = new Domain(er => {\n console.log('caught an error', er)\n // if you re-throw, it's not going to be caught, and will probably\n // cause the process to crash.\n})\n\nsetTimeout(() => {\n throw new Error('this is caught by the domain a few lines up')\n})\n\nprocess.nextTick(() => {\n const d2 = new Domain(er => {\n console.log('any contexts spawned from this nextTick are caught here', er)\n // only catch one error. The next one will go to the parent\n d2.destroy()\n })\n fs.readFile('does not exist', (er, data) => {\n if (er)\n throw er\n })\n fs.readFile('also does not exist', (er, data) => {\n if (er)\n throw er\n })\n})\n\n// Adding a new domain here in the same context as the d above will\n// take over for this current context, as well as any that are created\n// from now on. But it won't affect the setTimeout above, because that\n// async context was created before this domain existed.\nconst d3 = new Domain(er => console.log('d3', er))\n\n// Unhandled promise rejections are handled, too.\nPromise.reject(new Error('this will be handled by d3'))\n\n// since a Promise rejection is an async hop, if we destroyed it right\n// now, it would not be there to catch the Promise.reject event.\nsetTimeout(() => {\n // destroying d3 makes it like it never happened, so this will\n // be handled by the parent domain we created at the outset.\n d3.destroy()\n throw new Error('this will be handled by the parent')\n})\n\n// When all domains are destroyed either manually or by virtue of their\n// async execution contexts being completed, or if no domain is active\n// for the current execution context, then it reverts back to normal\n// operation, with all event handlers removed and everything cleaned up.\nsetTimeout(() => {\n d.destroy()\n throw new Error('this crashes the process like normal')\n}, 500) // time for the other contexts to wrap up\n```\n\nIf you want to limit a Domain to a narrower scope, you can use node's\n[`AsyncResource`](https://nodejs.org/api/async_hooks.html#async_hooks_class_asyncresource)\nclass, and instantiate the domain within its `runInAsyncScope(cb)` method.\nFrom then on, the domain will only be active when running from that Async\nResource's scope.\n\n## API\n\n### `process.env.ASYNC_HOOK_DOMAIN_DEBUG = '1'`\n\nSet the `ASYNC_HOOK_DOMAIN_DEBUG` environment variable to `'1'` to print a lot\nof debugging information to stderr.\n\n### const d = new Domain(errorHandlerFunction(error, type))\n\nCreate a new Domain and assign it to the current execution context and all\nchild contexts that the current one triggers.\n\nThe handler function is called with two arguments. The first is the error that\nwas thrown or the rejection value of the rejected Promise. The second is\neither `'uncaughtException'` or `'unhandledRejection'`, depending on the type\nof event that raised the error.\n\n### d.parent Domain\n\nIf a Domain is already assigned to the current context on creation, then the\ncurrent Domain set as the new Domain's `parent`. On destruction, any of a\nDomain's still-active execution contexts are assigned to its parent.\n\n### d.onerror Function\n\nThe `errorHandlerFunction` passed into the constructor. Called when an\nuncaughtException or unhandledRejection occurs in the scope of the Domain.\n\nIf this function throws, then the domain will be destroyed, and the thrown\nerror will be raised. If the domain doesn't have a parent, then this will\nlikely crash the process entirely.\n\n### d.destroyed Boolean\n\nSet to `true` if the domain is destroyed.\n\n### d.ids Set\n\nA set of the `executionAsyncId` values corresponding to the execution contexts\nfor which this Domain handles errors.\n\n### d.destroy() Function\n\nCall to destroy the domain. This removes it from the system entirely,\nassigning any outstanding ids to its parent, if it has one, or leaving them\nuncovered if not.\n\nThis is called implicitly when the domain's last covered execution context is\ndestroyed, since at that point, the domain is unreachable anyway.\n", |
| 627 |
"readmeFilename": "README.md" |
| 628 |
} |