fix(string-utils): detect [0,1] ranged values as numbers#388
Merged
bcoe merged 5 commits intoyargs:masterfrom Jun 20, 2021
Merged
fix(string-utils): detect [0,1] ranged values as numbers#388bcoe merged 5 commits intoyargs:masterfrom
bcoe merged 5 commits intoyargs:masterfrom
Conversation
This was referenced May 30, 2021
453604b to
81b8707
Compare
Contributor
Author
|
@bcoe, could you take a look? |
bcoe
reviewed
Jun 7, 2021
Member
bcoe
left a comment
There was a problem hiding this comment.
Looks good to me, but I would like to test against yargs' suite.
bcoe
approved these changes
Jun 20, 2021
Member
|
@antongolub thank you for the contribution, works great with yargs. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
closes #389
This PR brings back detection regular decimal fractional numbers (0.1, 0.0313) as numbers.
before:
after: