Inconsistent behavior of `ip.isPrivate`
Open
- Dominant language
- JavaScript
- Stars
- 1.5k
- Forks
- 228
- PR merge metrics
- No merged PRs in 30d
Description
```js
ip.isEqual('::1', '::0:1') // true
ip.isPrivate('::1') // true
ip.isPrivate('::0:1') // false
```
version: ip 1.1.5
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the examples for isEqual and isPrivate in node-ip, then inspect those entry points to understand why equivalent IPv6 forms differ. Done means the equivalent forms have consistent private-address results, with a regression test covering the reported case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100