packageurl-js icon indicating copy to clipboard operation
packageurl-js copied to clipboard

Package types are case sensitive

Open matt-phylum opened this issue 2 years ago • 1 comments

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:

  1. Code that is looking for pypi PURLs won't see them.
  2. The pypi-specific name normalization rules that packageurl-js implements for pypi are not applied, so the package name comes out as Django_package instead of the expected django-package.

matt-phylum avatar Nov 08 '23 16:11 matt-phylum

@matt-phylum I see you've opened a few issues. Thank you! Do you have bandwidth for opening PRs too? That would be helpful.

jdalton avatar Apr 25 '24 16:04 jdalton

Fixed in master branch.

jdalton avatar Aug 13 '24 16:08 jdalton

v2.0.0 has been published 🎉

jdalton avatar Aug 18 '24 01:08 jdalton