Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: remove @* logic so we hit the fast path
This @* logic is not helpful here, because snyk-module already returns '*' for unrecognised versions. It is incorrect, because we don't append the start for scoped packages, as we are incorrectly checking for an @. i.e. @snyk/foo matches, and it shouldn't. It also stops us hitting the new fast-path in snyk-module.
- Loading branch information