packageurl-python
packageurl-python copied to clipboard
Verify package type and correct test data
This is a fix for https://github.com/package-url/packageurl-python/issues/155
- Added the known_purl_type based on the spec
- Added code to validate the package type
- Corrected test data as
pkg:rubygemsandpkg:alpineare invalid