Closed lirantal closed 1 year ago
Patch coverage: 100.00%
and project coverage change: +0.01%
:tada:
Comparison is base (
c7817c6
) 97.83% compared to head (3294cb1
) 97.85%. Report is 1 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
I can't see a new version for lockfile-lint
, only for lockfile-lint-api
...
Correct, because the change was only on the API level and the lockfile-lint package will resolve to the latest minor version when you install it (if you already have it installed with a lockfile when require a lockfile-lint-api update).
Description
Fix #112 - when packages are used from registries outside of the public ones (like artifactory and such) then they may include a different URL convention to locate the package name.
This PR fixes lockfile-lint showing an error because it is actually unable to match the package name to the URL. The fix is to skip these cases.
In the future we may treat this different, such as by allowing to specify a flag like package-name-url-prefixes where you can write https://checkmarx.jfrog.io/artifactory/api/npm/team-npm/ so that we parse everything after that to compare the package name for a match
Types of changes
Related Issue
112