tracer: update to newest version of CLS #169
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
In retrospect, I probably should have bumped CLS to 4.0.0, but the bits that changed in
node-newrelic
were using undocumented internals that I originally piggybacked upon to avoid needing 2 async listeners to handle CLS and error tracing. As a workaround, I updated the dependency inpackage.json
so that you won't somehow end up with a version of CLS with the old internal API.continuation-local-storage@3.1.0
includes @groundwater's fix for othiym23/async-listener#19 / othiym23/async-listener#20, which is the main motivator for the upgrade. All tests are passing (although you should probably upgradeCONTRIBUTING.md
to reflect the fact thatboot2docker
is also a dependency for running the integration tests).