Closed aniruth37 closed 3 months ago
@steven-esser Please review this
@matt-phylum please review this
@pombredanne, @steven-esser Can you please review this PR
I cannot reproduce #58 on master branch.
PackageURL.fromString('pkg://maven/org.apache.commons/io')
outputs
{
"type": "maven",
"name": "io",
"namespace": "org.apache.commons",
"version": null,
"qualifiers": null,
"subpath": null
}
Are you sure? That is not the behavior I get on the master branch (commit aa6d185251e3ec4e6fbc80489374c5fede9ccca1).
> PackageURL.fromString('pkg://maven/org.apache.commons/io')
PackageURL {
type: 'maven',
name: 'io',
namespace: null,
version: null,
qualifiers: null,
subpath: null
}
Ah, my bad!
Closing as covered by https://github.com/package-url/packageurl-js/pull/71
pkg://
Fix Description
namespaceComponents