pub fn normalize_pretty(input: &str) -> Result<String, UnsupportedVersion>Expand description
Composer’s “pretty -> normalized” normalisation (VersionParser::normalize),
for the subset met in locks: numeric versions (-> 4 components + canonical
suffix), dev-* branches (unchanged) and numeric branches N.x-dev
(x -> 9999999, padded to 4 components).
Parity held by tests/oracle_normalize.rs.