feat(ghsa): add pub ecosystem (#186)

This commit is contained in:
DmitriyLewen 2023-01-02 18:35:42 +03:00 committed by GitHub
parent 733c29e819
commit 04e0f7ae3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,7 +31,8 @@ var (
Go SecurityAdvisoryEcosystem = "GO"
Rust SecurityAdvisoryEcosystem = "RUST"
Erlang SecurityAdvisoryEcosystem = "ERLANG"
Ecosystems = []SecurityAdvisoryEcosystem{Composer, Maven, Npm, Nuget, Pip, Rubygems, Go, Erlang, Rust}
Pub SecurityAdvisoryEcosystem = "PUB"
Ecosystems = []SecurityAdvisoryEcosystem{Composer, Maven, Npm, Nuget, Pip, Rubygems, Go, Erlang, Rust, Pub}
wait = func(i int) time.Duration {
sleep := math.Pow(float64(i), 2) + float64(utils.RandInt()%10)