pub fn parse_spec(spec: &str) -> ParsedSpecExpand description
Parse a spec string into its ecosystem-tagged form.
Mirrors parseSpec in spec.ts: the ecosystem is everything before the
first :; a spec with no : is unknown with an empty ecosystem.