Skip to main content

latest_version_or_warn

Function latest_version_or_warn 

Source
fn latest_version_or_warn(body: &Value, direct: bool) -> Option<String>
Expand description

Normalise an npm /latest response body to a version token, WARN + None when it carries none - the same silent-collapse shape as the installed probe’s miss.