-
Notifications
You must be signed in to change notification settings - Fork 885
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
Remove log version #623
Remove log version #623
Conversation
@@ -209,7 +209,7 @@ function prettifierMetaWrapper (pretty, dest) { | |||
if (lastLogger.hasOwnProperty(parsedChindingsSym)) { | |||
chindings = lastLogger[parsedChindingsSym] | |||
} else { | |||
chindings = JSON.parse('{"v":1' + lastLogger[chindingsSym] + '}') | |||
chindings = JSON.parse('{' + lastLogger[chindingsSym].substr(1) + '}') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure about that line
I think I’ll just have to find time to cut a new major of pino-pretty sooner than I planned. |
Work started in pinojs/pino-pretty#58 |
@thomasthiebaud try your branch with |
@jsumners Works like a charm |
Cool. It’ll probably be next weekend before I can get back to it. |
to finish this off we'll need to
|
Conflicts resolved. Coverage seems to be back to normal too |
ok this is part of major, it looks like it might be time to start a v6 branch |
Let me know when you have one, I'll change the PR accordingly |
|
@jsumners Done |
What is remaining before this PR can be merged? |
We'll land this when we decide to cut v6 later this year. |
|
hey there! do you know when this change will be released? thanks! |
Later this year
Il giorno lun 12 ago 2019 alle 11:33 Jonatas Baldin <
notifications@github.com> ha scritto:
… hey there!
do you know when this change will be released?
thanks!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#623?email_source=notifications&email_token=AAAMXYYBVWH2CHF4OHTHVYLQEEU7BA5CNFSM4HCPAZ22YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4CAKOI#issuecomment-520357177>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAAMXY7K6HCZY45NFV5OFV3QEEU7BANCNFSM4HCPAZ2Q>
.
|
Version logger field was removed in pinojs#623 but some places were missed.
Version logger field was removed in #623 but some places were missed.
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Fixes #620
Removing
v1
breaks a test inpretty.test.js
. To fix it I have to updatepino-pretty
. I wanted to do so, but it seems there is a circular dependency when running testspino
->pino-pretty
->pino
.How do you usually handle update both packages at the same time?
How should
pino-pretty
handle it? Removing this checkseems to be the easiest way, but then
pino-pretty
will print logs not coming frompino
like that