feat(IsFQDN): Add a test that asserts numeric chars in tld are rejected by default. by aalekhpatel07 · Pull Request #2222 · validatorjs/validator.js
feat(isFQDN): Add a test that asserts numeric chars in tlds are rejected by default.
Add a test that cements the default behaviour of isFQDN of rejecting tld with numeric data, and also that valiation can be relaxed by passing {allow_numeric_tld: true}
Checklist
- PR contains only changes related; no stray files, etc.
- README updated (where applicable)
- Tests written (where applicable)
- References provided in PR (where applicable)