Skip to content

Function: parseVersion()

parseVersion(__namedParameters): string | undefined

Parse the deepest, highest version from stdout, falling back to stderr only when stdout contains no version. Supports one to three numeric components and common suffixes such as rc1, .post1, and -dev.2.

BinVersionOutput

string | undefined