From 6cd87b01831682878ea917141d2bb2eceba4dc8b Mon Sep 17 00:00:00 2001 From: James Martindale <11380394+jkmartindale@users.noreply.github.com> Date: Thu, 12 Aug 2021 01:42:14 -0500 Subject: [PATCH 1/2] Add DataTables version detection --- src/technologies.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/technologies.json b/src/technologies.json index 3da29bb52..ef0963f3f 100644 --- a/src/technologies.json +++ b/src/technologies.json @@ -6008,6 +6008,10 @@ ], "icon": "DataTables.png", "implies": "jQuery", + "js": { + "jQuery.fn.dataTable.version": "^(.+)$\\;version:\\1", + "$.fn.dataTable.version": "^(.+)$\\;version:\\1" + }, "scripts": "dataTables.*\\.js", "website": "http://datatables.net" }, From fcec736927cf3c2145baea986def42d1834fd631 Mon Sep 17 00:00:00 2001 From: James Martindale <11380394+jkmartindale@users.noreply.github.com> Date: Thu, 12 Aug 2021 01:58:52 -0500 Subject: [PATCH 2/2] Add CPE, license, and description to DataTables --- src/technologies.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/technologies.json b/src/technologies.json index ef0963f3f..c4bf2b677 100644 --- a/src/technologies.json +++ b/src/technologies.json @@ -6006,12 +6006,15 @@ "cats": [ 59 ], + "cpe": "cpe:/a:datatables:datatables.net", + "description": "DataTables is a plug-in for the jQuery Javascript library adding advanced features like pagination, instant search, themes, and more to any HTML table.", "icon": "DataTables.png", "implies": "jQuery", "js": { "jQuery.fn.dataTable.version": "^(.+)$\\;version:\\1", "$.fn.dataTable.version": "^(.+)$\\;version:\\1" }, + "oss": true, "scripts": "dataTables.*\\.js", "website": "http://datatables.net" },