var validator = require("validator")
validator.isIP('::2:3:4:5:6:7:8'); // Returns false, should be true
Some other reading in other projects and on the web confirms this should be a valid IPv6 address:
If I find time to address it I can try to fix it, but am not sure when that will be. 🙂
Describe the bug
::2:3:4:5:6:7:8is marked as an invalid IPv6 address. It should be marked as valid.Examples
Tested code at https://runkit.com/embed/2beeyq38q1ya
Additional context
Validator.js version:
13.5.2Node.js version:
15.11.0OS platform: Ubuntu
Some other reading in other projects and on the web confirms this should be a valid IPv6 address:
If I find time to address it I can try to fix it, but am not sure when that will be. 🙂