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

Handle all possible NaN in parsers and return undefined instead #154

Merged
merged 1 commit into from
Sep 21, 2023

Conversation

encX
Copy link
Collaborator

@encX encX commented Sep 20, 2023

NaN is a valid number type and it's passed down to output where it get serialized as null which is unexpected.

This PR replaces NaN with undefined.

@encX encX merged commit fbfd9d9 into main Sep 21, 2023
@encX encX deleted the handle-nan branch September 21, 2023 04:53
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