Navigation Menu

Skip to content
This repository has been archived by the owner on Sep 13, 2022. It is now read-only.

Fix xorshift related deprection warning (resolves #422) #442

Merged
merged 1 commit into from Aug 19, 2020
Merged

Fix xorshift related deprection warning (resolves #422) #442

merged 1 commit into from Aug 19, 2020

Conversation

oliversalzburg
Copy link
Contributor

@oliversalzburg oliversalzburg commented Aug 19, 2020

Which problem is this PR solving?

Resolves #422

When applications that use this module start with recent Node versions, a deprecation warning relating to Buffer is emitted. This is caused by the xorshift dependency.

There may be other deprecated Buffer usages, but only the first one will be logged. So I'm starting here.

Short description of the changes

I upgraded xorshift to the lastest version, which doesn't make use of Buffer at all (and also doesn't rely on new dependencies for compatibility).

Fixes #422

Signed-off-by: Oliver Salzburg <oliver.salzburg@gmail.com>
@codecov
Copy link

codecov bot commented Aug 19, 2020

Codecov Report

Merging #442 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #442   +/-   ##
=======================================
  Coverage   98.72%   98.72%           
=======================================
  Files          50       50           
  Lines        2035     2035           
  Branches      383      383           
=======================================
  Hits         2009     2009           
  Misses         26       26           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0654582...8bb47d0. Read the comment docs.

@oliversalzburg oliversalzburg marked this pull request as ready for review August 19, 2020 08:57
@oliversalzburg oliversalzburg changed the title Fix xorshift related deprection warning Fix xorshift related deprection warning (#422) Aug 19, 2020
@oliversalzburg oliversalzburg changed the title Fix xorshift related deprection warning (#422) Fix xorshift related deprection warning (resolves #422) Aug 19, 2020
Copy link
Member

@yurishkuro yurishkuro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

@yurishkuro yurishkuro merged commit d567fc1 into jaegertracing:master Aug 19, 2020
@oliversalzburg oliversalzburg deleted the fix/dependencies branch August 19, 2020 20:57
slaveofcode pushed a commit to slaveofcode/jaeger-client-node that referenced this pull request Oct 27, 2020
Fixes jaegertracing#422

Signed-off-by: Oliver Salzburg <oliver.salzburg@gmail.com>
Signed-off-by: Kresna <slaveofcode@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Outdated xorshift dependency causes deprecation warning
2 participants