Changelog

#30
Support maxDomainSegments
#26
Capture domain in relative uris
4.0.0
breaking changes
#24
Only support node 12
#20
"a@a.com/asd" is invalid email
#18
Error on email
#16
Add faster version of decodeURIComponent()
#15
Relocate joi uri and ip validation regex
#14
Error codes in a separate file. Closes #13
#13
Export errors codes to allow translation
3.0.0
breaking changes
#12
Add types
#11
Drop node 8 support
#21
Backport #20
#19
Backport #18
#9
Update tlds
#8
Ensure Buffer presence before using it
#7
Re-implement #4, #6
#6
Revert Url hack
#5
Make tlds optional
#4
Replace punycode dep with URL hack
#1
Support option to allow longer email addresses