whitequark / ipaddr.js

IP address manipulation library in JavaScript
MIT License
576 stars 92 forks source link

Update ipaddr.js #153

Closed mihai-buha closed 3 years ago

mihai-buha commented 3 years ago

Fix some unit tests when parsing inaccurate IPv4-mapped IPv6 CIDRs outside of the IPv4 CIDR range into IPv6 Examples: 0:0:0:0:0:0:0:0%2 0:0:0:0:0:0:0:0%eth0 0:0:0:0:0:0:0:0%2 0:0:0:0:0:0:0:0%eth0 0:0:0:0:0:0:0:0%2 ffed:0:0:0:0:0:0:0%eth0 0:0:0:0:0:0:0:0%2 ffed:0:0:0:0:0:0:0%eth0 0:0:0:0:0:0:0:0%2 0:0:0:0:0:0:0:0%eth0