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

Updates winston to version 3. #2

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

barslev
Copy link

@barslev barslev commented Mar 16, 2020

A review of the code indicates that no other parts are affected by the breaking changes in the library update.

@yocontra
Copy link
Member

@barslev Winston 3 does introduce a number of breaking changes which is why we haven't upgraded it yet

@barslev
Copy link
Author

barslev commented Mar 17, 2020

@contra Thanks for your reply. I have went through all the breaking changes in winston and all the applicable ones should be covered by the pull request. I noticed that you previously reverted back from winston 3 to winston 2 due to pretty printing issues (42bf1e). The breaking change that you did not take into account was that winston removed formatting options from winston.transports.Console. The call to convertOptionsToWinstonV3 handles this breaking change.

@yocontra
Copy link
Member

@barslev Out of curiosity, are you using @stae/logger in a project?

@barslev
Copy link
Author

barslev commented Mar 18, 2020

@contra No, I'm not. This pull request is part of a research project about updating npm dependencies.

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 this pull request may close these issues.

None yet

2 participants