Closed lseppala closed 2 years ago
Does what it says on the tin.
Previously, we were URL-safe encoding the namespace of the Go package (the github.com/foo of github.com/foo/bar). This is incorrect by the PackageURL spec (https://github.com/package-url/purl-spec/blob/master/PURL-SPECIFICATION.rst).
github.com/foo
github.com/foo/bar
The packageurl-js library does this for us.
packageurl-js
Does what it says on the tin.
Previously, we were URL-safe encoding the namespace of the Go package (the
github.com/foo
ofgithub.com/foo/bar
). This is incorrect by the PackageURL spec (https://github.com/package-url/purl-spec/blob/master/PURL-SPECIFICATION.rst).The
packageurl-js
library does this for us.