Open
Description
Describe the bug
A clear and concise description of what the bug is.
The isURL
method always returns false, regardless what the input string is. Also ignores the config
object.
Examples
function checkIfUrlIsValid(url) {
isURL(url)
}
checkIfUrlIsValid('www.index.hu') --> false
checkIfUrlIsValid('index.hu') --> false
checkIfUrlIsValid('https://www.index.hu') --> false
checkIfUrlIsValid('google.com') --> false
Additional context
Validator.js version: 13.1.1
Node.js version: node/12.8.1
OS platform: macOS