indutny / indutny/node-ip

isV6Format() returns true for IPv4 addresses

Open
#67 2 comments 7 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
1.5k
Forks
228
PR merge metrics
No merged PRs in 30d

Description

Hi,

isV6Format() returns true for non IPv6 mapped IPv4 adresses:

console.log(require('ip').isV6Format('8.8.8.8')); //true

Using Version 1.1.4 on Node v7.3.0

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the isV6Format() entry point and reproduce the reported result with 8.8.8.8 on the supported Node.js setup. Done means non-IPv6 IPv4 addresses are rejected while IPv6-format inputs continue to be recognized correctly; no specific file or test is named in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
networking
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.