From 7f0f221ad100d2571241776956ba3017551e1b77 Mon Sep 17 00:00:00 2001 From: Philip Walton Date: Sun, 24 Oct 2021 18:30:34 -0700 Subject: [PATCH] Rename Google Core Web Vitals to web-vitals --- .../images/icons/Google Core Web Vitals.svg | 17 ----------------- .../webextension/images/icons/web-vitals.svg | 11 +++++++++++ src/technologies/g.json | 14 -------------- src/technologies/w.json | 15 +++++++++++++++ 4 files changed, 26 insertions(+), 31 deletions(-) delete mode 100644 src/drivers/webextension/images/icons/Google Core Web Vitals.svg create mode 100644 src/drivers/webextension/images/icons/web-vitals.svg diff --git a/src/drivers/webextension/images/icons/Google Core Web Vitals.svg b/src/drivers/webextension/images/icons/Google Core Web Vitals.svg deleted file mode 100644 index 11ee94816..000000000 --- a/src/drivers/webextension/images/icons/Google Core Web Vitals.svg +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - - - - - diff --git a/src/drivers/webextension/images/icons/web-vitals.svg b/src/drivers/webextension/images/icons/web-vitals.svg new file mode 100644 index 000000000..ca0b7e156 --- /dev/null +++ b/src/drivers/webextension/images/icons/web-vitals.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/src/technologies/g.json b/src/technologies/g.json index b1df999ce..bdbe5e1fa 100644 --- a/src/technologies/g.json +++ b/src/technologies/g.json @@ -906,20 +906,6 @@ }, "website": "http://code.google.com/p/google-code-prettify" }, - "Google Core Web Vitals": { - "cats": [ - 78 - ], - "description": "Google Core Web Vitals is a tiny, modular library for measuring all the web vitals metrics on real users.", - "icon": "Google Core Web Vitals.svg", - "scripts": "(8999999999999[\\s\\S]+1e12[\\s\\S]+(largest-contentful-paint|first-input|layout-shift)|(largest-contentful-paint|first-input|layout-shift)[\\s\\S]+8999999999999[\\s\\S]+1e12)", - "js": { - "webVitals.getCLS": "" - }, - "oss": true, - "scriptSrc": "web-vitals@([\\d.]+)/dist/web-vitals.*\\.js\\;version:\\1", - "website": "https://github.com/GoogleChrome/web-vitals" - }, "Google Font API": { "cats": [ 17 diff --git a/src/technologies/w.json b/src/technologies/w.json index 18a638f6b..5c2addab8 100644 --- a/src/technologies/w.json +++ b/src/technologies/w.json @@ -21,6 +21,21 @@ "scriptSrc": "w3counter\\.com/tracker\\.js", "website": "http://www.w3counter.com" }, + "web-vitals": { + "cats": [ + 59, + 78 + ], + "description": "The web-vitals JavaScript is a tiny, modular library for measuring all the web vitals metrics on real users.", + "icon": "web-vitals.svg", + "scripts": "(8999999999999[\\s\\S]+1e12[\\s\\S]+(largest-contentful-paint|first-input|layout-shift)|(largest-contentful-paint|first-input|layout-shift)[\\s\\S]+8999999999999[\\s\\S]+1e12)", + "js": { + "webVitals": "" + }, + "oss": true, + "scriptSrc": "web-vitals@([\\d.]+)/dist/web-vitals.*\\.js\\;version:\\1", + "website": "https://github.com/GoogleChrome/web-vitals" + }, "WEBDEV": { "cats": [ 20