packageurl-js
packageurl-js copied to clipboard
Package types are case sensitive
The PURL test suite contains a PURL pkg:PYPI/[email protected]. packageurl-js parses this as type PYPI instead of the expected pypi.
This causes two problems:
- Code that is looking for
pypiPURLs won't see them. - The pypi-specific name normalization rules that packageurl-js implements for
pypiare not applied, so the package name comes out asDjango_packageinstead of the expecteddjango-package.
@matt-phylum I see you've opened a few issues. Thank you! Do you have bandwidth for opening PRs too? That would be helpful.
Fixed in master branch.
v2.0.0 has been published 🎉