v1.5.0v1.4.0
Reading changes from the repo…
IPv4.prototype.toNormalizedString
, providing symmetry with the existing IPv6 method. This makes it easier for users to convert IPv4 addresses into a consistent string format. ipaddr.subnetMatch
function to accept mixed IPv4 and IPv6 range lists, improving flexibility for users working with diverse IP address formats. prefixLengthFromSubnetMask
for IPv6, allowing users to derive prefix lengths from subnet masks, similar to the existing functionality for IPv4. subnetMatch
logic, ensuring that the comparison is made between the return values of the .kind()
method rather than the functions themselves. This improves the accuracy of subnet matching. subnetMaskFromPrefixLength(32)
method to correctly handle the maximum prefix length for IPv4 addresses, ensuring users get accurate subnet masks for all prefix lengths.