-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lib/advisories: add advisoryDetails field (and parse it)
Add the `advisoryDetails :: Text` field, which reflects the OSV `details` field. It is intended to be CommonMark content. When parsing, use a nasty hack to get the source range of the TOML header, so that we can drop it and store the remainder of the input as the `advisoryDetails`.
- Loading branch information
1 parent
ccd084b
commit 5d63dd6
Showing
3 changed files
with
69 additions
and
2 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