Fix type check issues

This commit is contained in:
Reinier Criel 2025-11-03 07:13:36 -08:00
parent 3d98bb5084
commit a2fb94d0f0
8 changed files with 60 additions and 4 deletions

View file

@ -22,6 +22,7 @@ let cachedMalwareDatabase = null;
* Normalize package name for comparison.
* For Python packages (PEP-503): lowercase and replace _, -, . with -
* For js packages: keep as-is (case-sensitive)
* @param {string} name
*/
function normalizePackageName(name) {
const ecosystem = getEcoSystem();