Update npm packages
Add --dump-dimensions option to rsx:debug for layout debugging Mark framework publish 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
11
node_modules/ipaddr.js/lib/ipaddr.js
generated
vendored
Executable file → Normal file
11
node_modules/ipaddr.js/lib/ipaddr.js
generated
vendored
Executable file → Normal file
@@ -365,6 +365,17 @@
|
||||
}
|
||||
};
|
||||
|
||||
// Checks if a given string is a full four-part IPv4 Address with CIDR prefix.
|
||||
ipaddr.IPv4.isValidCIDRFourPartDecimal = function (string) {
|
||||
const match = string.match(/^(.+)\/(\d+)$/);
|
||||
|
||||
if (!ipaddr.IPv4.isValidCIDR(string) || !match) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return ipaddr.IPv4.isValidFourPartDecimal(match[1]);
|
||||
};
|
||||
|
||||
// A utility function to return network address given the IPv4 interface and prefix length in CIDR notation
|
||||
ipaddr.IPv4.networkAddressFromCIDR = function (string) {
|
||||
let cidr, i, ipInterfaceOctets, octets, subnetMaskOctets;
|
||||
|
||||
Reference in New Issue
Block a user