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

Add replacer for bigint on json formatter #84

Merged
merged 2 commits into from
Mar 27, 2019

Conversation

adrianhopebailie
Copy link
Contributor

The native bigint type has been available in major browsers and NodeJS for some time now however JSON.stringify requires a custom replacer or it will throw

json.js Show resolved Hide resolved
json.js Show resolved Hide resolved
@DABH
Copy link
Contributor

DABH commented Mar 11, 2019

Thanks! This seems reasonable, I left a couple small questions/comments but this feels like it could go into the next release.

Copy link
Contributor

@DABH DABH left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for waiting on this, I re-read the changes and LGTM. This should be able to go out in the next release.

@DABH DABH merged commit 432d7a8 into winstonjs:master Mar 27, 2019
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.

2 participants