OsvSource class

Implemented types

Constructors

OsvSource(HttpFetcher fetcher, {required Uri base, int batchSize = 1000, int concurrency = 8})

Properties

base → Uri
final
batchSize → int
final
concurrency → int
final
fetcher → HttpFetcher
final
hashCode → int
The hash code for this object.
no setterinherited
name → String
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
query(List<PackageRef> packages) → Future<List<Advisory>>
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

parseOsvVuln(Object? json) → Advisory?

Constants

maxPages → const int
sourceName → const String