Skip to content

Fix number padding (e.g. 00000) and trailing decimal points (e.g. 2.)#2408

Merged
hueniverse merged 2 commits intohapijs:masterfrom
romeupalos:master
Jul 19, 2020
Merged

Fix number padding (e.g. 00000) and trailing decimal points (e.g. 2.)#2408
hueniverse merged 2 commits intohapijs:masterfrom
romeupalos:master

Conversation

@romeupalos
Copy link
Contributor

Closes #2406. Closes #2407.

@romeupalos
Copy link
Contributor Author

Please, let me know if any change in the PR is required. I've added comments with the regular expressions for readability and maintainability. Let me know if I should remove them.

Co-authored-by: Nicolas Morel <nicolas@morel.io>
Co-authored-by: Gil Pedersen <git@gpost.dk>
@hueniverse hueniverse self-assigned this Jul 19, 2020
@hueniverse hueniverse added the bug Bug or defect label Jul 19, 2020
@hueniverse hueniverse added this to the 17.2.0 milestone Jul 19, 2020
@hueniverse hueniverse merged commit 0bbaf3f into hapijs:master Jul 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Bug or defect

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"2." throws number.unsafe "00000" throws number.unsafe

4 participants