Comparing version 2.0.4 to 2.0.5
@@ -33,2 +33,4 @@ "use strict"; | ||
return this.findActivatedNode(hi.triggerHook); | ||
// TODO: prettier adds this unusual semicolon | ||
// tslint:disable-next-line semicolon | ||
}; | ||
@@ -53,3 +55,10 @@ this.initMap(); | ||
} | ||
this.idHookMap.set(id, { id, type, triggerId, oriTriggerId, triggerHook, activated: false }); | ||
this.idHookMap.set(id, { | ||
id, | ||
type, | ||
triggerId, | ||
oriTriggerId, | ||
triggerHook, | ||
activated: false, | ||
}); | ||
// this.debugId('init', id); | ||
@@ -97,3 +106,3 @@ }, | ||
} | ||
} | ||
}, | ||
}; | ||
@@ -100,0 +109,0 @@ this.hookInstance = asyncHooks.createHook(this.hookFuncs); |
{ | ||
"name": "asyncctx", | ||
"version": "2.0.4", | ||
"version": "2.0.5", | ||
"description": "an asynchronous execution context for TypeScript/JavaScript", | ||
@@ -38,3 +38,4 @@ "main": "./index.js", | ||
] | ||
} | ||
}, | ||
"dependencies": {} | ||
} |
@@ -55,3 +55,3 @@ [![npm version](https://badge.fury.io/js/asyncctx.svg)](https://badge.fury.io/js/asyncctx) | ||
| -------- | --------------------------------------------------------------------------------------- | | ||
| 2.0.3-4 | maintenance release | | ||
| 2.0.3-5 | maintenance release | | ||
| 2.0.2 | fixed loosing context; thanks to Pasi Tuominen | | ||
@@ -58,0 +58,0 @@ | 2.0.1 | maintenance release | |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
48057
380