From 96ae5374322a4dca398666744ddd63319f6c52d5 Mon Sep 17 00:00:00 2001 From: "Anders K. Madsen" Date: Fri, 12 Jun 2020 08:09:33 +0200 Subject: [PATCH] Fix overly broad Angular detection Was triggered on "rectangular[several KiB of minified script].js" Now requires a word boundary before "angular" and allows max. 32 characters between that and ".js" --- src/apps.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps.json b/src/apps.json index 0a96aef4e..4595c727e 100644 --- a/src/apps.json +++ b/src/apps.json @@ -808,7 +808,7 @@ "script": [ "angular[.-]([\\d.]*\\d)[^/]*\\.js\\;version:\\1", "/([\\d.]+(?:-?rc[.\\d]*)*)/angular(?:\\.min)?\\.js\\;version:\\1", - "angular.*\\.js" + "\\bangular.{0,32}\\.js" ], "website": "https://angularjs.org" },