packageurl-js
Advanced tools
Comparing version 0.0.6 to 0.0.7
@@ -0,1 +1,6 @@ | ||
# 0.0.7 | ||
### Bug Fixes | ||
* Keep license texts in comment headers, even after minification [#27](https://github.com/package-url/packageurl-js/issues/27) | ||
* Fix a bug in golang purls that was adding additional slashes to the string [#30](https://github.com/package-url/packageurl-js/issues/30) | ||
# 0.0.6 | ||
@@ -2,0 +7,0 @@ ### Bug Fixes |
@@ -1,2 +0,2 @@ | ||
/* | ||
/*! | ||
Copyright (c) the purl authors | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
/* | ||
/*! | ||
Copyright (c) the purl authors | ||
@@ -3,0 +3,0 @@ |
{ | ||
"name": "packageurl-js", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "JavaScript library to parse and build \"purl\" aka. package URLs. This is a microlibrary implementing the purl spec at https://github.com/package-url", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -1,2 +0,2 @@ | ||
/* | ||
/*! | ||
Copyright (c) the purl authors | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
/* | ||
/*! | ||
Copyright (c) the purl authors | ||
@@ -73,4 +73,4 @@ | ||
encodeURIComponent(this.namespace) | ||
.replace('%3A', ':') | ||
.replace('%2F', '/') | ||
.replace(/%3A/g, ':') | ||
.replace(/%2F/g, '/') | ||
); | ||
@@ -77,0 +77,0 @@ purl.push('/'); |
@@ -63,2 +63,14 @@ [ | ||
{ | ||
"description": "valid go purl with namespace that has more than one forward slash", | ||
"purl": "pkg:golang/github.com/cncf/xds/go@v0.0.0-20210922020428-25de7278fc84", | ||
"canonical_purl": "pkg:golang/github.com/cncf/xds/go@v0.0.0-20210922020428-25de7278fc84", | ||
"type": "golang", | ||
"namespace": "github.com/cncf/xds", | ||
"name": "go", | ||
"version": "v0.0.0-20210922020428-25de7278fc84", | ||
"qualifiers": null, | ||
"subpath": null, | ||
"is_invalid": false | ||
}, | ||
{ | ||
"description": "bitbucket namespace and name should be lowercased", | ||
@@ -65,0 +77,0 @@ "purl": "pkg:bitbucket/birKenfeld/pyGments-main@244fd47e07d1014f0aed9c", |
@@ -1,2 +0,2 @@ | ||
/* | ||
/*! | ||
Copyright (c) the purl authors | ||
@@ -3,0 +3,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
32706
707