fix: use word-boundary regex for BRANDS detection; add Apache2 and HAProxy icons

- Switch BRANDS pass from text.includes(kw) to pre-compiled word-boundary
  regex (same (?<![a-z0-9])...(?![a-z0-9]) pattern as AUTO_SI) — fixes
  false positive where "php" matched the "hp" keyword
- Add Apache to BRANDS with aliases apache, apache2, httpd (AUTO_SI regex
  excluded apache2 because the trailing digit broke the boundary)
- Add custom ICON_HAPROXY (H-shaped path, #1489C8) — HAProxy is absent
  from simple-icons

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-23 08:15:26 +02:00
parent 1906e619b9
commit f622351983
2 changed files with 18 additions and 3 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "network-topology",
"version": "1.1.1",
"version": "1.1.2",
"scripts": {
"dev": "vite",
"build": "vite build",