From 031448db0af94d987d4625777098124109a1e7fc Mon Sep 17 00:00:00 2001 From: Honjes Date: Wed, 11 Nov 2020 15:50:16 +0100 Subject: [PATCH] Update technologies.json - removing js detection for sweetAlert - adding scripts that can be detected for sweetalert and sweetalert2 --- src/technologies.json | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/src/technologies.json b/src/technologies.json index ab4b43b3b..64764140d 100644 --- a/src/technologies.json +++ b/src/technologies.json @@ -13748,10 +13748,10 @@ ], "html": "]+?href=\"[^\"]+sweet-alert(?:\\.min)?\\.css", "icon": "SweetAlert.png", - "js": { - "swal": "" - }, - "scripts": "sweet-alert(?:\\.min)?\\.js", + "scripts": [ + "sweet-alert(?:\\.min)?\\.js", + "sweetalert/([\\d.]+)/sweetalert(?:\\.min)\\.js" + ], "website": "https://t4t5.github.io/sweetalert/" }, "SweetAlert2": { @@ -13764,7 +13764,12 @@ "js": { "Sweetalert2": "" }, - "scripts": "sweetalert2(?:\\.all)?(?:\\.min)?\\.js", + "scripts": [ + "sweetalert2(?:\\.all)?(?:\\.min)?\\.js", + "/npm/sweetalert2@([\\d.]+)\\;version:\\1", + "sweetalert2@([\\d.]+)/dist/sweetalert2(?:\\.all)(?:\\.min)\\.js", + "limonte-sweetalert2/([\\d.]+)/sweetalert2(?:\\.all)(?:\\.min)\\.js" + ], "website": "https://sweetalert2.github.io/" }, "Swell": {