cidr-regex
Advanced tools
Comparing version 4.1.0 to 4.1.1
@@ -1,3 +0,2 @@ | ||
import ipRegex from 'ip-regex'; | ||
import ipRegex from "ip-regex"; | ||
const defaultOpts = { exact: false }; | ||
@@ -12,3 +11,6 @@ const v4str = `${ipRegex.v4().source}\\/(3[0-2]|[12]?[0-9])`; | ||
const v6 = cidrRegex.v6 = ({ exact } = defaultOpts) => exact ? v6exact : new RegExp(v6str, "g"); | ||
export { cidrRegex as default, v4, v6 }; | ||
export { | ||
cidrRegex as default, | ||
v4, | ||
v6 | ||
}; |
{ | ||
"name": "cidr-regex", | ||
"version": "4.1.0", | ||
"version": "4.1.1", | ||
"description": "Regular expression for matching IP addresses in CIDR notation", | ||
@@ -30,3 +30,2 @@ "author": "silverwind <me@silverwind.io>", | ||
"eslint-config-silverwind-typescript": "3.2.7", | ||
"tsd": "0.31.0", | ||
"typescript": "5.4.5", | ||
@@ -33,0 +32,0 @@ "typescript-config-silverwind": "4.3.2", |
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
13
30
5569