From 57dd084ea96468ade24293184b93abf04bf2387f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9as=20Lundgren?= Date: Sat, 23 May 2020 11:31:01 +0200 Subject: [PATCH] Improve Alpine.js detection --- src/apps.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/apps.json b/src/apps.json index f1e05f66e..c92252c05 100644 --- a/src/apps.json +++ b/src/apps.json @@ -83,8 +83,14 @@ "cats": [ 12 ], - "html": "<[^>]+x-data[^<]+", + "html": "<[^>]+[^\\w-]x-data[^\\w-][^<]+\\;confidence:75", + "js": { + "Alpine.version": "^(.+)$\\;version:\\1" + }, "icon": "Alpine.js.png", + "script": [ + "/alpine(?:\\.min)?\\.js" + ], "website": "https://github.com/alpinejs/alpine" }, "AOLserver": {