You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When parsing and stringifying back a JSON starting with a block comment and a new line, the new line is removed.
It doesn't happen with a JSON starting with an inline comment.
Tell us about your environment
Node Version: 15.3.0
comment-json Version 4.1.0
Please show your use case / code slices / code link that could reproduce the issue
When parsing and stringifying back a JSON starting with a block comment and a new line, the new line is removed.
It doesn't happen with a JSON starting with an inline comment.
Tell us about your environment
Please show your use case / code slices / code link that could reproduce the issue
What did you expect to happen?
Example on StackBlitz
The text was updated successfully, but these errors were encountered: