Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make sure composer.lock dependency package version is a string (#1325)
composer.lock files may have a dependency package version as a number instead of a string (see: google/osv-scanner#1138). In that case `new PackageURL(...)` throws the following error: Error: Invalid purl: "versions" argument must be a string. Signed-off-by: Maxime Robert <[email protected]>
- Loading branch information