-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve support for 3 path segments NPM URLs in url2purl #167
Signed-off-by: tdruez <[email protected]>
- Loading branch information
Showing
4 changed files
with
13 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -88,6 +88,7 @@ | |
"https://registry.npmjs.org/xdg-basedir/-/xdg-basedir-3.0.0.tgz": "pkg:npm/[email protected]", | ||
"https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz": "pkg:npm/[email protected]", | ||
"https://registry.npmjs.org/@theia/plugin-ext/-/plugin-ext-0.9.0-next.007f41ae.tgz": "pkg:npm/%40theia/[email protected]", | ||
"https://registry.npmjs.org/@esbuild/freebsd-arm64/0.21.5": "pkg:npm/%40esbuild/[email protected]", | ||
"https://npmjs.com/package/abbrev": "pkg:npm/abbrev", | ||
"https://npmjs.com/package/accepts/v/1.3.7": "pkg:npm/[email protected]", | ||
"https://npmjs.com/package/@angular/cli": "pkg:npm/%40angular/cli", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,6 +58,7 @@ def test_purl2url_get_repo_url(): | |
"pkg:npm/is-npm": "https://www.npmjs.com/package/is-npm", | ||
"pkg:npm/@clayui/[email protected]": "https://www.npmjs.com/package/@clayui/tooltip/v/3.1.0", | ||
"pkg:npm/%40clayui/[email protected]": "https://www.npmjs.com/package/@clayui/tooltip/v/3.1.0", | ||
"pkg:npm/%40esbuild/[email protected]": "https://www.npmjs.com/package/@esbuild/freebsd-arm64/v/0.21.5", | ||
"pkg:nuget/System.Text.Json": "https://www.nuget.org/packages/System.Text.Json", | ||
"pkg:nuget/[email protected]": "https://www.nuget.org/packages/System.Text.Json/6.0.6", | ||
"pkg:hackage/cli-extras": "https://hackage.haskell.org/package/cli-extras", | ||
|
@@ -81,6 +82,7 @@ def test_purl2url_get_download_url(): | |
"pkg:npm/[email protected]": "https://registry.npmjs.org/is-npm/-/is-npm-1.0.0.tgz", | ||
"pkg:npm/@clayui/[email protected]": "https://registry.npmjs.org/@clayui/tooltip/-/tooltip-3.1.0.tgz", | ||
"pkg:npm/%40clayui/[email protected]": "https://registry.npmjs.org/@clayui/tooltip/-/tooltip-3.1.0.tgz", | ||
"pkg:npm/%40esbuild/[email protected]": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.21.5.tgz", | ||
"pkg:hackage/[email protected]": "https://hackage.haskell.org/package/cli-extras-0.2.0.0/cli-extras-0.2.0.0.tar.gz", | ||
"pkg:nuget/[email protected]": "https://www.nuget.org/api/v2/package/System.Text.Json/6.0.6", | ||
"pkg:github/nexb/[email protected]?version_prefix=v": "https://github.com/nexb/scancode-toolkit/archive/v3.1.1.tar.gz", | ||
|