Jeff-Lewis / cls-hooked

cls-hooked : CLS using AsynWrap or async_hooks instead of async-listener for node 4.7+
BSD 2-Clause "Simplified" License
759 stars 89 forks source link

Add stack-chain Dependency #69

Open Stuart-Wilcox opened 2 years ago

Stuart-Wilcox commented 2 years ago

See issue #64 - undeclared dependency on stack-chain is causing failures when in a strict environment. This works in non-strict environments due to package hoisting, so stack-chain is being resolved from some other package's dependencies, which is not an ideal situation, because if that package removes its dependency on stack-chain in the future and we use that version then we no longer have it for ourselves.

stack-chain is required in context-legacy.js var stackChain = require('stack-chain');

but it is not included in package.json dependencies dependencies