-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: error "Cannot read properties of undefined (reading 'url')" when…
… mapping metadata.externalReferences (#115) * fix: error "Cannot read properties of undefined (reading 'url')" when mapping metadata.externalReferences * generated js Co-authored-by: David J. M. Karlsen <[email protected]> Co-authored-by: Kjetil Oen <[email protected]>
- Loading branch information
1 parent
97cc244
commit e9e55c8
Showing
6 changed files
with
23 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,9 @@ | |
"vendor": "Awesome Vendor", | ||
"name": "Awesome Tool", | ||
"version": "9.1.2", | ||
"externalReferences" : [ | ||
{ "url" : "https://awesome.com", "type" : "example" } | ||
], | ||
"hashes": [ | ||
{ | ||
"alg": "SHA-1", | ||
|
@@ -141,6 +144,7 @@ | |
} | ||
}, | ||
{ | ||
"bom-ref": "pkg:npm/acme/[email protected]", | ||
"type": "library", | ||
"supplier": { | ||
"name": "Example, Inc.", | ||
|
@@ -170,7 +174,7 @@ | |
{ | ||
"ref": "pkg:npm/acme/[email protected]", | ||
"dependsOn": [ | ||
"pkg:npm/acme/component@1.0.0" | ||
"pkg:npm/acme/mylibrary@1.0.0" | ||
] | ||
} | ||
] | ||
|
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
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
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