mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 20:20:49 +00:00
Fix type check issues
This commit is contained in:
parent
3d98bb5084
commit
a2fb94d0f0
8 changed files with 60 additions and 4 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue