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

Ensure empty string & spaces are parsed as string when parseNumber: true #195

Merged
merged 1 commit into from
Jul 26, 2019
Merged

Conversation

yaodingyd
Copy link
Contributor

fix #194

@sindresorhus sindresorhus changed the title Parsing empty string and spaces as string when parseNumber is true Ensure empty string and spaces are parsed as string when parseNumber is true Jul 26, 2019
@sindresorhus sindresorhus changed the title Ensure empty string and spaces are parsed as string when parseNumber is true Ensure empty string & spaces are parsed as string when parseNumber: true Jul 26, 2019
@sindresorhus sindresorhus merged commit 504c29b into sindresorhus:master Jul 26, 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.

parse with option parseNumbers: true cause unexpected behavior
2 participants