The data contained in this repository can be downloaded to your computer using one of several clients.
Please see the documentation of your version control software client for more information.

Please select the desired protocol below to get the URL.

This URL has Read-Only access.

Statistics
| Branch: | Revision:

main_repo / test / simple / test-net-isip.js @ 6f043940

History | View | Annotate | Download (2.84 KB)

# Date Author Comment
fb6377eb 11/06/2012 10:49 AM Joshua Erickson

net: More accurate IP address validation and IPv6 dotted notation.

  • Added isIP method to make use of inet_pton to cares_wrap.cc
  • Modified net.isIP() to make use of new C++ isIP method.
  • Added new tests to test-net-isip.js.
7b367a93 08/06/2012 04:25 PM Josh Erickson

net: add support for IPv6 addresses ending in ::

Modified net.isIP Ipv6 regex to allow for addresses ending in "::".
Added tests for new IPv6 matching reqex.

d4041591 05/14/2012 10:09 AM rsolomo

net: make isIP() return 0 on empty input

9057d3f1 07/12/2011 04:42 PM Henry Rawas

fix isip test

1018e7d2 07/08/2011 01:36 PM Henry Rawas

isIP test

55048cdf 03/14/2011 08:37 PM Ryan Dahl

Update copyright headers

0ce9cbab 12/05/2010 12:28 PM Oleg Efimov

GJSLint continue

a0159b4b 12/04/2010 06:58 PM Ryan Dahl

Fix global leaks

c8f9728d 09/16/2010 08:27 PM Paul Querna

Move dns.isIP to net.isIP

Add tests and docs.