Skip to content

Commit c8e315a

Browse files
chore: add ecosystem field to package updates (#202)
Signed-off-by: Anto Christopher <93177734+anto-deepsource@users.noreply.github.com>
1 parent 117083a commit c8e315a

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

types/sca.go

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -253,10 +253,11 @@ type FixPath struct {
253253
}
254254

255255
type SCAPackageUpdate struct {
256-
Package string `json:"package"`
257-
From string `json:"from"`
258-
To string `json:"to"`
259-
Risk Risk `json:"risk"`
256+
Package string `json:"package"`
257+
Ecosystem string `json:"ecosystem"`
258+
From string `json:"from"`
259+
To string `json:"to"`
260+
Risk Risk `json:"risk"`
260261
}
261262

262263
type Risk struct {

0 commit comments

Comments
 (0)