net: net.isIP() needs scope tests and a review of its type checking
Checklist
-
make -j4 test
(UNIX), orvcbuild test nosign
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines
Affected core subsystem(s)
net
Description of change
The IPv6 family and libuv support '%' notation for zoned scopes, so it should be tested. net.isIP() also has fewer checks before calling into libuv than other wrappers and could be more conservative without breaking castable Objects.