Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] ip.isPrivate mocha test fail #107

Open
loynoir opened this issue Feb 26, 2021 · 0 comments
Open

[BUG] ip.isPrivate mocha test fail #107

loynoir opened this issue Feb 26, 2021 · 0 comments

Comments

@loynoir
Copy link

loynoir commented Feb 26, 2021

BUG

mocha test fail.
ip.isPrivate return wrong result.

Repodruce

ip=require('./node_modules/ip')
ip.isPrivate(ip.address('private', 'IPV6'))

Expected

true

Behavior

false

Versions

Package version: 1.1.5
Runtime: nodejs v14.16.0 and v10.19.0 both fail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant