Closed matt-phylum closed 3 weeks ago
Raised https://github.com/package-url/packageurl-js/pull/62 to fix this
Cannot reproduce bug given the example above: https://github.com/package-url/packageurl-js/pull/62#issuecomment-2115067509
This is still reproducible with the given example.
Ah, my bad. @matt-phylum you are correct.
Fixed in master branch.
The PURL test suite contains the PURL
pkg://maven/org.apache.commons/io
which is supposed to parse as a namespace oforg.apache.commons
and a name ofio
, but packageurl-js parses it as having no namespace. The namespace just disappears. It doesn't become part of the name.