From 3506d3aea735cb4f78a3545c94769ab6be06736b Mon Sep 17 00:00:00 2001 From: nurbek Date: Sat, 18 Mar 2023 22:33:31 +0600 Subject: [PATCH] Update Font Awesome / font scripts --- src/technologies/f.json | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/src/technologies/f.json b/src/technologies/f.json index a8cb77332..e2d201d92 100644 --- a/src/technologies/f.json +++ b/src/technologies/f.json @@ -1202,12 +1202,23 @@ "attributes": { "href": "/font-awesome/([\\d\\.]+)/css/\\;version:\\1" } + }, + "link[href*='kit-pro.fontawesome.com']": { + "attributes": { + "href": "/kit-pro\\.fontawesome\\.com/releases/v([\\d\\.]+)/\\;version:\\1" + } + }, + "link[href*='awesome']": { + "attributes": { + "href": "(?:([\\d\\.]+)/)?(?:css/)?font-awesome(?:\\.min)?\\.css\\;version:\\1" + } + }, + "link[href*='fontawesome-free']": { + "attributes": { + "href": "/fontawesome-free(?:/|-)([\\d\\.]+)?\\;version:\\1" + } } }, - "html": [ - "]* href=[^>]+(?:([\\d.]+)/)?(?:css/)?font-awesome(?:\\.min)?\\.css\\;version:\\1", - "]* href=[^>]*kit\\-pro\\.fontawesome\\.com/releases/v([0-9.]+)/\\;version:\\1" - ], "icon": "Font Awesome.svg", "js": { "FontAwesomeCdnConfig": "",