async-hook-domain
Advanced tools
Comparing version 1.1.3 to 2.0.1
@@ -10,5 +10,2 @@ const { executionAsyncId, createHook } = require('async_hooks') | ||
const sms = require('source-map-support') | ||
sms.install({environment:'node', hookRequire: true}) | ||
const domains = new Map() | ||
@@ -60,8 +57,2 @@ | ||
after (id) { | ||
debug('AFTER', id) | ||
if (id === promiseExecutionId) | ||
promiseExecutionId = null | ||
}, | ||
destroy (id) { | ||
@@ -68,0 +59,0 @@ const domain = domains.get(id) |
{ | ||
"name": "async-hook-domain", | ||
"version": "1.1.3", | ||
"version": "2.0.1", | ||
"description": "An implementation of Domain-like error handling, built on async_hooks", | ||
@@ -9,7 +9,5 @@ "main": "index.js", | ||
}, | ||
"dependencies": { | ||
"source-map-support": "^0.5.11" | ||
}, | ||
"devDependencies": { | ||
"tap": "^14.6.6" | ||
"source-map-support": "^0.5.16", | ||
"tap": "^14.10.2" | ||
}, | ||
@@ -28,3 +26,3 @@ "scripts": { | ||
"type": "git", | ||
"url": "git://github.com/isaacs/async-hook-domain.git" | ||
"url": "git://github.com/tapjs/async-hook-domain.git" | ||
}, | ||
@@ -50,3 +48,6 @@ "keywords": [ | ||
"index.js" | ||
] | ||
], | ||
"engines": { | ||
"node": ">=10" | ||
} | ||
} |
@@ -7,2 +7,4 @@ # async-hook-domain | ||
[![Linux Build](https://travis-ci.org/tapjs/async-hook-domain.svg?branch=master)](https://travis-ci.org/tapjs/async-hook-domain) | ||
## USAGE | ||
@@ -9,0 +11,0 @@ |
0
130
13160
2
195
- Removedsource-map-support@^0.5.11
- Removedbuffer-from@1.1.2(transitive)
- Removedsource-map@0.6.1(transitive)
- Removedsource-map-support@0.5.21(transitive)