Comparing version 1.1.1 to 1.1.2
@@ -21,3 +21,3 @@ 'use strict' | ||
Error.stackTraceLimit = Infinity | ||
const asyncHook = asyncHooks.createHook({ init, before, after }) | ||
const asyncHook = asyncHooks.createHook({ init, before, after, destroy }) | ||
const dispatchCallback = (dt, stack) => setImmediate(callback, dt, stack) | ||
@@ -59,2 +59,5 @@ | ||
} | ||
} | ||
function destroy (asyncId) { | ||
cache.delete(asyncId) | ||
@@ -61,0 +64,0 @@ } |
{ | ||
"name": "blocked-at", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "Detects node eventloop block and reports where it started", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12304
16
195