Skip to content

Update ipaddr.js to 2.4.0#66

Open
vibhor-aggr wants to merge 1 commit into
jshttp:masterfrom
vibhor-aggr:fix/update-ipaddr-js
Open

Update ipaddr.js to 2.4.0#66
vibhor-aggr wants to merge 1 commit into
jshttp:masterfrom
vibhor-aggr:fix/update-ipaddr-js

Conversation

@vibhor-aggr

Copy link
Copy Markdown

Fixes #65.

This updates ipaddr.js from 1.9.1 to the current 2.4.0 release. proxy-addr uses the stable ipaddr.js APIs called out in the issue (isValid, parse, kind, IPv4-mapped conversion, netmask prefix calculation, and match), and the existing test suite passes against 2.4.0.

Because every ipaddr.js 2.x release declares node >= 10, this also updates proxy-addr's engines.node metadata from >= 0.10 to >= 10 so the package metadata matches the dependency floor.

Verification:

  • npm test
  • npm run lint
  • git diff --check
  • local smoke check for IPv4-mapped address parsing and trust matching with ipaddr.js@2.4.0

@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatednpm/​ipaddr.js@​1.9.1 ⏵ 2.4.0100 +1100100 +184100

View full report

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

Successfully merging this pull request may close these issues.

Update ipaddr.js to latest

1 participant