josieusa
550b13e807
Fix missing depd package
2016-08-03 14:03:36 +02:00
josieusa
7e60a3f649
Implement conditional require of cls-hooked
...
As suggested by @raymondfeng
in strongloop/loopback-context PR #2 comment #236644728
2016-08-02 17:30:49 +02:00
josieusa
518aedc89f
Use cls-hooked instead of continuation-local-storage,
...
as suggested by @raymondfeng
in strongloop/loopback-context PR #1 comment #235931961
2016-07-29 17:49:32 +02:00
Miroslav Bajtoš
71585a2395
fixup! style
2016-07-29 09:39:38 +02:00
Miroslav Bajtoš
1f214bf3ba
Lazy-load CLS module
...
As soon as CLS module is loaded, the instrumentation/patching of
async-listener is fired. This may cause stack overflows due to promise
instrumentation.
By loading CLS module lazily (only when used for real), we avoid
this kind of problems in applications that are not using current-context
at all.
2016-07-29 09:36:34 +02:00
Miroslav Bajtoš
867a7c3616
Rename to loopback-context/LoopBackContext
2016-07-29 09:36:34 +02:00
Miroslav Bajtoš
9bd4afbe7e
Initial implementation
2016-07-29 09:17:04 +02:00
Miroslav Bajtoš
c8daeb5587
Rename to loopback-context
...
Also change the npm version to 1.0.0, so that we don't have to modify
downstream loopback pull request after we make the first release.
2016-07-29 09:16:11 +02:00
Miroslav Bajtoš
63d031422d
Initial commit
2016-07-28 15:11:12 +02:00