indutny / indutny/node-ip

isV4Format

Open
#81 2 comments 3 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.5k
Forks
228
PR merge metrics
No merged PRs in 30d

Description

isV4Format('1.1.1.256') returned "true".
isV4Format('1.1.1.257') returned "true".

It seems intentional that did not handle exceptions.. right?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the isV4Format entry point and reproduce the examples from the issue, especially addresses with final octets 256 and 257. Check the existing tests or validation logic around IPv4 octets; done means these invalid addresses are rejected and the behavior is covered by a regression test.

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
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.