Comparing version 5.0.4 to 5.0.5
@@ -15,7 +15,12 @@ /** | ||
/** | ||
Test if `input` is a IPv4 or IPv6 CIDR. | ||
declare const _default: { | ||
/** | ||
Test if `input` is a IPv4 or IPv6 CIDR. | ||
@returns Either `4`, `6` (indicating the IP version) or `0` if the string is not a CIDR. | ||
*/ | ||
export default function isCidr(str: string): 6 | 4 | 0; | ||
@returns Either `4`, `6` (indicating the IP version) or `0` if the string is not a CIDR. | ||
*/ | ||
(str: string): 6 | 4 | 0, | ||
v4: typeof v4; | ||
v6: typeof v6; | ||
}; | ||
export default _default; |
{ | ||
"name": "is-cidr", | ||
"version": "5.0.4", | ||
"version": "5.0.5", | ||
"description": "Check if a string is an IP address in CIDR notation", | ||
@@ -5,0 +5,0 @@ "author": "silverwind <me@silverwind.io>", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3117
27