Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecation warnings caused by node-byline dependency #7

Closed
mistic opened this issue Dec 6, 2018 · 7 comments
Closed

Deprecation warnings caused by node-byline dependency #7

mistic opened this issue Dec 6, 2018 · 7 comments

Comments

@mistic
Copy link

mistic commented Dec 6, 2018

@rmg @sam-github On node 10 I'm having deprecation warnings using strong-log-transformer due to it's node-byline dependency usage of the node Buffer api. I've already opened a PR against node-byline (jahewson/node-byline#53) in order to fix those problems, but the library seems to be very unmaintained so far, so I don't think if the PR will ever get merged and released.

In case that happens it might be a good idea try to replace this node-byline with other with the same needed features.

@rmg
Copy link
Member

rmg commented Dec 8, 2018

@mistic thanks for the heads up. I'll see what I can find.

@rmg
Copy link
Member

rmg commented Dec 12, 2018

@mistic are you using strong-log-transformer directly? Or is it pulled in by something you use? Just trying to get a feel for how best to make sure #8 doesn't break anything.

@mistic
Copy link
Author

mistic commented Dec 13, 2018

@rmg
Copy link
Member

rmg commented Dec 13, 2018

Cool, thanks for the link. After I posted I did a little searching and was happy to see several uses outside of the original strong-supervisor usage.

It looks like your usage pattern is the most common one. I'll add some ANSI escape codes to some tests to make sure that colourizing things is treated as first-class usage.

@mistic
Copy link
Author

mistic commented Dec 13, 2018

@rmg thank you very much for taking care of this!

@rmg rmg closed this as completed in 430807f Dec 14, 2018
@rmg
Copy link
Member

rmg commented Dec 14, 2018

@mistic published as strong-log-transformer@2.1.0 with only the additional tests and the byline replacement to keep things conservative.

@mistic
Copy link
Author

mistic commented Dec 14, 2018

@rmg thank you very much for the quick fix on this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants