From a03077dcf8c4d01e933a0c4d4c1eb7be08fb6f4d Mon Sep 17 00:00:00 2001 From: Elbert Alias <77259+AliasIO@users.noreply.github.com> Date: Mon, 27 Feb 2023 11:57:35 +1100 Subject: [PATCH] Truncate extended output for arrays --- src/drivers/npm/driver.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drivers/npm/driver.js b/src/drivers/npm/driver.js index 2ff328d06..c4a4c5b8c 100644 --- a/src/drivers/npm/driver.js +++ b/src/drivers/npm/driver.js @@ -1145,7 +1145,7 @@ class Site { patterns[name].push({ type, regex: regex.source, - value: value.length <= 250 ? value : null, + value: String(value).length <= 250 ? value : null, match: match.length <= 250 ? match : null, confidence, version,