phylum-dev / vuln-reach

A library for building tools to determine if vulnerabilities are reachable in a code base.

Home Page:https://phylum.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Panic on packages with uncommon directory structure

andreaphylum opened this issue · comments

There are some packages that don't seem to have the same directory structure as other npm releases.

For example, @types/body-parser has a top-level body-parser directory in lieu of the usual package.

I'm not sure what is the correct way of supporting this, as I could not find a specification, but at the moment these packages will lead to a panic.