indutny / indutny/node-ip

Throw error if method doesn't support IPv6

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

Description

There are a number of methods which does not support IPv6 (e.g. `toLong`). It would be a good idea to throw an error instead of silently getting invalid data.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the methods that do not support IPv6, including `toLong`, and inspect how they currently handle IPv6 input. Confirm the existing behavior, then ensure unsupported methods report an error rather than returning invalid data; done means IPv6 cases no longer silently produce invalid results.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
networking
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.