isV6Format() returns true for IPv4 addresses
Open
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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