Home
last modified time | relevance | path

Searched refs:isIPv6 (Results 1 – 15 of 15) sorted by relevance

/third_party/node/test/parallel/
Dtest-net-isip.js83 assert.strictEqual(net.isIPv6('127.0.0.1'), false);
84 assert.strictEqual(net.isIPv6('example.com'), false);
85 assert.strictEqual(net.isIPv6('2001:252:0:1::2008:6'), true);
86 assert.strictEqual(net.isIPv6(), false);
87 assert.strictEqual(net.isIPv6(''), false);
88 assert.strictEqual(net.isIPv6(null), false);
89 assert.strictEqual(net.isIPv6(123), false);
90 assert.strictEqual(net.isIPv6(true), false);
91 assert.strictEqual(net.isIPv6({}), false);
92 assert.strictEqual(net.isIPv6({
[all …]
Dtest-net-isipv6.js239 assert.strictEqual(net.isIPv6(ip), true);
243 assert.strictEqual(net.isIPv6(ip), false);
/third_party/node/test/internet/
Dtest-dns-ipv6.js11 const isIPv6 = net.isIPv6; constant
47 assert.ok(isIPv6(res[i]));
86 assert.ok(isIPv6(res.address));
118 assert.ok(isIPv6(res.address));
153 assert.ok(isIPv6(ip));
164 assert.ok(isIPv6(res.address));
186 assert.ok(isIPv6(ip.address),
Dtest-dns-any.js14 const isIPv6 = net.isIPv6; constant
29 assert.ok(isIPv6(r.address));
Dtest-dns.js32 const isIPv6 = net.isIPv6; constant
123 assert.ok(isIPv6(item.address));
614 else if (isIPv6(ip.address))
/third_party/node/lib/internal/
Dnet.js35 function isIPv6(s) { function
41 if (isIPv6(s)) return 6;
66 isIPv6, property
/third_party/node/test/common/
Dreport.js156 assert.strictEqual(net.isIPv6(iface.address), true);
157 assert.strictEqual(net.isIPv6(iface.netmask), true);
/third_party/node/deps/npm/node_modules/socks/build/client/
Dsocksclient.js138 else if (net.isIPv6(options.remoteHost.host)) {
546 else if (net.isIPv6(this._options.destination.host)) {
/third_party/node/lib/
Dnet.js46 isIPv6,
1789 isIPv6: isIPv6, property
/third_party/node/deps/npm/node_modules/ip/test/
Dapi-test.js387 assert.ok(!addr || net.isIPv6(addr));
/third_party/node/doc/api/
Dnet.md1395 ## `net.isIPv6(input)`
/third_party/node/doc/changelogs/
DCHANGELOG_V4.md1125 …s://github.com/nodejs/node/commit/b630be2309)] - **net**: export isIPv4, isIPv6 directly from care…
1919 …github.com/nodejs/node/commit/8648420586)] - **net**: make `isIPv4` and `isIPv6` more efficient (V…
DCHANGELOG_V5.md471 …github.com/nodejs/node/commit/b16f67a0b9)] - **net**: make `isIPv4` and `isIPv6` more efficient (V…
DCHANGELOG_V10.md2143 * [[`4e3f1aef8d`](https://github.com/nodejs/node/commit/4e3f1aef8d)] - **net**: port isIPv6 to JS (…
DCHANGELOG_V6.md4123 …s://github.com/nodejs/node/commit/80ca0630a6)] - **net**: export isIPv4, isIPv6 directly from care…