indutny / indutny/node-ip

Breaking changes - isPrivate and isPublic now throws

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

Description

Breaking change should be mentioned in changes please somewhere.

Now it throws when it is invalid and needs to be handled in try catch for example.

Throws -> `invalid ipv4 address`

We have handled it, but bumps in dependabot can be tricky for someone so just mentioning it here for others.

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the repository's changelog or release-notes file; the issue does not name a specific documentation file. Document that isPrivate and isPublic can throw "invalid ipv4 address" and require try/catch handling, then verify the breaking behavior is clearly called out for dependabot upgrades.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
networking
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.