Comparing version 1.1.2 to 1.1.3
@@ -43,2 +43,4 @@ "use strict"; | ||
return _this.findActivatedNode(hi.triggerHook); | ||
// TODO: prettier adds this unusual semicolon | ||
// tslint:disable-next-line semicolon | ||
}; | ||
@@ -63,3 +65,10 @@ this.initMap(); | ||
} | ||
_this.idHookMap.set(id, { id: id, type: type, triggerId: triggerId, oriTriggerId: oriTriggerId, triggerHook: triggerHook, activated: false }); | ||
_this.idHookMap.set(id, { | ||
id: id, | ||
type: type, | ||
triggerId: triggerId, | ||
oriTriggerId: oriTriggerId, | ||
triggerHook: triggerHook, | ||
activated: false, | ||
}); | ||
// this.debugId('init', id); | ||
@@ -107,3 +116,3 @@ }, | ||
} | ||
} | ||
}, | ||
}; | ||
@@ -110,0 +119,0 @@ this.hookInstance = asyncHooks.createHook(this.hookFuncs); |
@@ -41,3 +41,3 @@ "use strict"; | ||
} | ||
} | ||
}, | ||
}; | ||
@@ -44,0 +44,0 @@ asyncHook.addHooks(this.internalHooks); |
{ | ||
"name": "asyncctx", | ||
"version": "1.1.02", | ||
"version": "1.1.3", | ||
"description": "an asynchronous execution context for TypeScript/JavaScript", | ||
@@ -29,4 +29,4 @@ "main": "./index.js", | ||
"dependencies": { | ||
"stack-chain": "^2.0.0", | ||
"semver": "^5.6.0" | ||
"semver": "^5.6.0", | ||
"stack-chain": "^2.0.0" | ||
}, | ||
@@ -33,0 +33,0 @@ "typescript": { |
@@ -53,17 +53,17 @@ [](https://badge.fury.io/js/asyncctx) | ||
| Release | Notes | | ||
| --------- | --------------------------------------------------------------------------------------- | | ||
| 1.1.02 | maintenance release | | ||
| 1.1.01 | fixed loosing context; thanks to Pasi Tuominen | | ||
| 2.0.00 | targeting es6; dropped support for nodejs < v8 | | ||
| | please use asyncctx@<2.0 for nodejs v4 - v11 support | | ||
| 1.1.00 | fixed support for nodes < v8 | | ||
| 1.0.05-10 | maintenance release | | ||
| 1.0.04 | node 10 | | ||
| 1.0.03 | node 9 | | ||
| 1.0.02 | maintenance release | | ||
| 1.0.01 | added support for older nodejs versions (4,6,7) using internal copy of async-hook@1.7.1 | | ||
| 1.0.00 | is now based on 'async_hooks' (a built-in nodejs v8.0 module) | | ||
| 0.0.06 | maintenance releases | | ||
| 0.0.05 | async-hook 1.7.1 | | ||
| 0.0.01-04 | initial version | | ||
| Release | Notes | | ||
| -------- | --------------------------------------------------------------------------------------- | | ||
| 1.1.2-3 | maintenance release | | ||
| 1.1.1 | fixed loosing context; thanks to Pasi Tuominen | | ||
| 2.0.0 | targeting es6; dropped support for nodejs < v8 | | ||
| | please use asyncctx@<2.0 for nodejs v4 - v11 support | | ||
| 1.1.0 | fixed support for nodes < v8 | | ||
| 1.0.5-10 | maintenance release | | ||
| 1.0.4 | node 10 | | ||
| 1.0.3 | node 9 | | ||
| 1.0.2 | maintenance release | | ||
| 1.0.1 | added support for older nodejs versions (4,6,7) using internal copy of async-hook@1.7.1 | | ||
| 1.0.0 | is now based on 'async_hooks' (a built-in nodejs v8.0 module) | | ||
| 0.0.6 | maintenance releases | | ||
| 0.0.5 | async-hook 1.7.1 | | ||
| 0.0.1-4 | initial version | |
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
Sorry, the diff of this file is not supported yet
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
111686
2542
7