othiym23 / cls-middleware

Connect & Restify middleware to bind routes to continuation-local storage
https://npmjs.org/package/cls-middleware
20 stars 10 forks source link

continuation-local-storage should be a peer dependency, not a dependency #10

Open osher opened 7 years ago

osher commented 7 years ago

let the project determine the version, as long as it befits your dependency policy.

AFAIK - the way to do that is using peerDependencies, and not dependencies. Classical case IMHO

ljinke commented 6 years ago

👍 , should use 'cls-hooked' for node 8+.