@f5devcentral/atg-shared-utilities
Advanced tools
Comparing version 0.4.9 to 0.4.10
@@ -15,2 +15,12 @@ # Changelog | ||
## [0.4.10] 2022-10-06 | ||
### Added | ||
### Fixed | ||
- Handle wildcard addresses with route domains in minimizeIP | ||
### Changed | ||
### Removed | ||
## [0.4.9] 2022-10-06 | ||
@@ -17,0 +27,0 @@ ### Added |
{ | ||
"name": "@f5devcentral/atg-shared-utilities", | ||
"version": "0.4.9", | ||
"version": "0.4.10", | ||
"scripts": { | ||
@@ -5,0 +5,0 @@ "lint": "eslint .", |
@@ -44,3 +44,3 @@ /** | ||
if ((ip === undefined) || (ip === '::') || (ip === '') | ||
|| (ip === 'any') || (ip === 'any6')) { | ||
|| (ip.includes('any')) || (ip.includes('any6'))) { | ||
return ip; | ||
@@ -47,0 +47,0 @@ } |
@@ -35,2 +35,5 @@ /** | ||
assert.strictEqual(ipUtil.minimizeIP('any6'), 'any6'); | ||
assert.strictEqual(ipUtil.minimizeIP('any%2222'), 'any%2222'); | ||
assert.strictEqual(ipUtil.minimizeIP('any6%2222'), 'any6%2222'); | ||
assert.strictEqual(ipUtil.minimizeIP('::%2222'), '::%2222'); | ||
}); | ||
@@ -37,0 +40,0 @@ |
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
115097
2354