From dbc4db8815e4a9e520d35cf55a12f9b715289329 Mon Sep 17 00:00:00 2001 From: Max Ostapenko <1611259+max-ostapenko@users.noreply.github.com> Date: Sat, 14 Nov 2026 00:04:25 +0100 Subject: [PATCH] fix(technologies): use non-capturing groups in script patterns (part 3) --- src/technologies/u.json | 2 +- src/technologies/w.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/technologies/u.json b/src/technologies/u.json index 1abfbee4a..1ef7f5dc2 100644 --- a/src/technologies/u.json +++ b/src/technologies/u.json @@ -315,7 +315,7 @@ "g_umi.version": "([\\d\\.]+)\\;version:\\1" }, "oss": true, - "scriptSrc": "/umi(\\.[\\w\\d]{8})?\\.js", + "scriptSrc": "/umi(?:\\.[\\w\\d]{8})?\\.js", "website": "https://umijs.org" }, "Umso": { diff --git a/src/technologies/w.json b/src/technologies/w.json index e0aaa538a..9e5c3ce0e 100644 --- a/src/technologies/w.json +++ b/src/technologies/w.json @@ -2484,7 +2484,7 @@ }, "oss": true, "scriptSrc": "web-vitals@([\\d.]+)/dist/web-vitals.*\\.js\\;version:\\1", - "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)", + "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)", "website": "https://github.com/GoogleChrome/web-vitals" }, "webEdition": {