From 52d3892cf6ca5bce8834a76f82ef4325b5ce0ab0 Mon Sep 17 00:00:00 2001 From: Noah Halstead Date: Mon, 7 Dec 2020 22:46:58 -0500 Subject: [PATCH] Updated wappalyzer.js JSDocs --- src/wappalyzer.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/wappalyzer.js b/src/wappalyzer.js index 9f69ea21a..ac55b1c1e 100644 --- a/src/wappalyzer.js +++ b/src/wappalyzer.js @@ -86,6 +86,7 @@ const Wappalyzer = { /** * Resolve promises for version of technology. * @param {Promise} resolved + * @param match */ resolveVersion({ version, regex }, match) { let resolved = version @@ -230,7 +231,7 @@ const Wappalyzer = { /** * Extract technologies from data collected. - * @param {*object} data + * @param {object} data */ setTechnologies(data) { const transform = Wappalyzer.transformPatterns @@ -312,6 +313,7 @@ const Wappalyzer = { /** * Transform patterns for internal use. * @param {string|array} patterns + * @param {boolean} caseSensitive */ transformPatterns(patterns, caseSensitive = false) { if (!patterns) { @@ -425,7 +427,7 @@ const Wappalyzer = { /** * * @param {Object} technology - * @param {String} type + * @param {string} types * @param {Array} items */ analyzeManyToMany(technology, types, items = {}) {