From 8b55b171b12e3ff9420ac21a979d01fa63fa92e2 Mon Sep 17 00:00:00 2001 From: Berun Date: Thu, 10 Sep 2020 11:34:00 +0200 Subject: [PATCH 1/2] Adding fontawesome Detection Adding detection for the new kit.fontawesome link and script --- src/technologies.json | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/technologies.json b/src/technologies.json index 6806d9a7c..4b78aab98 100644 --- a/src/technologies.json +++ b/src/technologies.json @@ -4319,10 +4319,14 @@ ], "html": [ "]* href=[^>]+(?:([\\d.]+)/)?(?:css/)?font-awesome(?:\\.min)?\\.css\\;version:\\1", - "]* href=[^>]*?(?:F|f)o(?:n|r)t-?(?:A|a)wesome(?:[^>]*?([0-9a-fA-F]{7,40}|[\\d]+(?:.[\\d]+(?:.[\\d]+)?)?)|)\\;version:\\1" + "]* href=[^>]*?(?:F|f)o(?:n|r)t-?(?:A|a)wesome(?:[^>]*?([0-9a-fA-F]{7,40}|[\\d]+(?:.[\\d]+(?:.[\\d]+)?)?)|)\\;version:\\1", + "]* href=[^>]*kit\\-pro\\.fontawesome\\.com/releases/v([0-9.]+)/\\;version:\\1" ], "icon": "font-awesome.svg", - "scripts": "(?:F|f)o(?:n|r)t-?(?:A|a)wesome(?:.*?([0-9a-fA-F]{7,40}|[\\d]+(?:.[\\d]+(?:.[\\d]+)?)?)|)\\;version:\\1", + "scripts": [ + "(?:F|f)o(?:n|r)t-?(?:A|a)wesome(?:.*?([0-9a-fA-F]{7,40}|[\\d]+(?:.[\\d]+(?:.[\\d]+)?)?)|)\\;version:\\1", + "kit\\.fontawesome\\.com/([0-9a-z]+).js" + ], "website": "https://fontawesome.com/" }, "Fork CMS": { From c3877d3d4348b283208649d89f8c8999edfed315 Mon Sep 17 00:00:00 2001 From: Berun Date: Thu, 10 Sep 2020 11:48:45 +0200 Subject: [PATCH 2/2] Update technologies.json removing the version detection because of false positives --- src/technologies.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/technologies.json b/src/technologies.json index 4b78aab98..3fec14fc3 100644 --- a/src/technologies.json +++ b/src/technologies.json @@ -4324,7 +4324,7 @@ ], "icon": "font-awesome.svg", "scripts": [ - "(?:F|f)o(?:n|r)t-?(?:A|a)wesome(?:.*?([0-9a-fA-F]{7,40}|[\\d]+(?:.[\\d]+(?:.[\\d]+)?)?)|)\\;version:\\1", + "(?:F|f)o(?:n|r)t-?(?:A|a)wesome(?:.*?([0-9a-fA-F]{7,40}|[\\d]+(?:.[\\d]+(?:.[\\d]+)?)?)|)", "kit\\.fontawesome\\.com/([0-9a-z]+).js" ], "website": "https://fontawesome.com/"