import { semver } from "https://deno.land/x/fresh@1.5.4/src/dev/deps.ts";
const { parse } = semver;
Attempt to parse a string as a semantic version, returning either a SemVer
object or throws a TypeError.
Parameters
version: string | SemVer
The version string to parse
Parameters
version: string | SemVer | null