-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(nodejs): add license parser to pnpm analyser (#7036)
Co-authored-by: DmitriyLewen <[email protected]>
- Loading branch information
1 parent
266d9b1
commit 03ac93d
Showing
13 changed files
with
507 additions
and
60 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
108 changes: 108 additions & 0 deletions
108
...tdata/fixtures/repo/pnpm/node_modules/.pnpm/[email protected]/node_modules/jquery/package.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
17 changes: 17 additions & 0 deletions
17
...data/fixtures/repo/pnpm/node_modules/.pnpm/[email protected]/node_modules/lodash/package.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -20,14 +20,44 @@ | |
"Target": "pnpm-lock.yaml", | ||
"Class": "lang-pkgs", | ||
"Type": "pnpm", | ||
"Packages": [ | ||
{ | ||
"ID": "[email protected]", | ||
"Name": "jquery", | ||
"Identifier": { | ||
"PURL": "pkg:npm/[email protected]", | ||
"UID": "53ca18565a4b6a47" | ||
}, | ||
"Version": "3.3.9", | ||
"Licenses": [ | ||
"MIT" | ||
], | ||
"Relationship": "direct", | ||
"Layer": {} | ||
}, | ||
{ | ||
"ID": "[email protected]", | ||
"Name": "lodash", | ||
"Identifier": { | ||
"PURL": "pkg:npm/[email protected]", | ||
"UID": "31eadfcf58a6b128" | ||
}, | ||
"Version": "4.17.4", | ||
"Licenses": [ | ||
"MIT" | ||
], | ||
"Relationship": "direct", | ||
"Layer": {} | ||
} | ||
], | ||
"Vulnerabilities": [ | ||
{ | ||
"VulnerabilityID": "CVE-2019-11358", | ||
"PkgID": "[email protected]", | ||
"PkgName": "jquery", | ||
"PkgIdentifier": { | ||
"PURL": "pkg:npm/[email protected]", | ||
"UID": "d002d4ebac4ee286" | ||
"UID": "53ca18565a4b6a47" | ||
}, | ||
"InstalledVersion": "3.3.9", | ||
"FixedVersion": "3.4.0", | ||
|
@@ -160,7 +190,7 @@ | |
"PkgName": "lodash", | ||
"PkgIdentifier": { | ||
"PURL": "pkg:npm/[email protected]", | ||
"UID": "68507e8301071074" | ||
"UID": "31eadfcf58a6b128" | ||
}, | ||
"InstalledVersion": "4.17.4", | ||
"FixedVersion": "4.17.12", | ||
|
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
Oops, something went wrong.