| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Codecov ReportAll modified and coverable lines are covered by tests ✅ Additional details and impacted files @@ Coverage Diff @@
## main #55150 +/- ##
==========================================
- Coverage 88.23% 88.18% -0.05%
==========================================
Files 651 649 -2
Lines 183902 183327 -575
Branches 35855 35686 -169
==========================================
- Hits 162269 161672 -597
- Misses 14926 15024 +98
+ Partials 6707 6631 -76
|
Sorry, something went wrong.
|
From what I remember, almost all places that use/expose trace labels are susceptible to this issue, I don't remember exactly the places but I think could be something worthy to take a double look. Fixing this implementation also fixes the console.time implementation, so if you want to include a test there too, could be useful. |
Sorry, something went wrong.
Do you have an example? Naive testing (node -e 'console.time(`test"`);console.timeEnd(`test"`)') doesn't show the issue. |
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
|
@aduh95 node --trace-event-categories -e 'console.time(`test"`);console.timeEnd(`test"`)' The generated logs are in json, and the json file is broken. Edit2: I'm okay with adding tests in another PR (since the CI of this PR is already green) |
Sorry, something went wrong.
PR-URL: #55150 Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br>
PR-URL: nodejs#55150 Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br>
|
Tentatively backport in #56927 to reduce conflicts. Though this is not very essential and might get dropped. |
Sorry, something went wrong.
|
Backing it out from #56927 to avoid introducing surface for regressions. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Currently, we generate invalid JSON if the specifier contains ", this can be addressed by escaping all double quotes like this PR is doing.