Home
last modified time | relevance | path

Searched refs:isIPv4 (Results 1 – 17 of 17) sorted by relevance

/third_party/node/test/parallel/
Dtest-net-isip.js68 assert.strictEqual(net.isIPv4('127.0.0.1'), true);
69 assert.strictEqual(net.isIPv4('example.com'), false);
70 assert.strictEqual(net.isIPv4('2001:252:0:1::2008:6'), false);
71 assert.strictEqual(net.isIPv4(), false);
72 assert.strictEqual(net.isIPv4(''), false);
73 assert.strictEqual(net.isIPv4(null), false);
74 assert.strictEqual(net.isIPv4(123), false);
75 assert.strictEqual(net.isIPv4(true), false);
76 assert.strictEqual(net.isIPv4({}), false);
77 assert.strictEqual(net.isIPv4({
[all …]
Dtest-net-isipv4.js41 assert.strictEqual(net.isIPv4(ip), true);
45 assert.strictEqual(net.isIPv4(ip), false);
/third_party/node/test/internet/
Dtest-dns-ipv4.js10 const isIPv4 = net.isIPv4; constant
47 assert.ok(isIPv4(res[i]));
87 assert.ok(net.isIPv4(res.address));
105 assert.ok(net.isIPv4(res.address));
123 assert.ok(net.isIPv4(res.address));
141 assert.ok(net.isIPv4(res.address));
199 assert.ok(isIPv4(ip.address));
Dtest-dns-any.js13 const isIPv4 = net.isIPv4; constant
24 assert.ok(isIPv4(r.address));
Dtest-dns.js31 const isIPv4 = net.isIPv4; constant
95 assert.ok(isIPv4(item.address));
612 if (isIPv4(ip.address))
/third_party/node/lib/internal/
Dnet.js31 function isIPv4(s) { function
46 if (isIPv4(s)) return 4;
72 isIPv4, property
/third_party/node/test/common/
Dreport.js154 assert.strictEqual(net.isIPv4(iface.address), true);
155 assert.strictEqual(net.isIPv4(iface.netmask), true);
/third_party/node/deps/npm/node_modules/socks/build/client/
Dsocksclient.js162 if (net.isIPv4(options.remoteHost.host)) {
403 if (net.isIPv4(this.options.destination.host)) {
611 if (net.isIPv4(this.options.destination.host)) {
/third_party/node/lib/
Dnet.js50 isIPv4,
2333 isIPv4: isIPv4, property
/third_party/node/doc/api/
Dnet.md1696 ## `net.isIPv4(input)`
1709 net.isIPv4('127.0.0.1'); // returns true
1710 net.isIPv4('127.000.000.001'); // returns false
1711 net.isIPv4('127.0.0.1/24'); // returns false
1712 net.isIPv4('fhqwhgads'); // returns false
/third_party/node/doc/changelogs/
DCHANGELOG_V4.md1142 * \[[`b630be2309`](https://github.com/nodejs/node/commit/b630be2309)] - **net**: export isIPv4, isI…
1945 * \[[`8648420586`](https://github.com/nodejs/node/commit/8648420586)] - **net**: make `isIPv4` and …
DCHANGELOG_V17.md1043 …om/nodejs/node/commit/b353ded677)] - **doc**: expand entries for isIP(), isIPv4(), and isIPv6() (R…
DCHANGELOG_V5.md480 * \[[`b16f67a0b9`](https://github.com/nodejs/node/commit/b16f67a0b9)] - **net**: make `isIPv4` and …
DCHANGELOG_V16.md454 …om/nodejs/node/commit/084decdcf8)] - **doc**: expand entries for isIP(), isIPv4(), and isIPv6() (R…
DCHANGELOG_V10.md4805 * \[[`742ae6141c`](https://github.com/nodejs/node/commit/742ae6141c)] - **lib,src**: port isIPv4() …
DCHANGELOG_V6.md4164 * \[[`80ca0630a6`](https://github.com/nodejs/node/commit/80ca0630a6)] - **net**: export isIPv4, isI…
/third_party/node/deps/corepack/dist/lib/
Dcorepack.cjs8308 if (net.isIPv4(options.remoteHost.host)) {
8505 if (net.isIPv4(this.options.destination.host)) {
8683 if (net.isIPv4(this.options.destination.host)) {