entropic-dev/ds

semver crate parsing feature parity with node-semver

Open

#37 aperta il 8 dic 2019

Vedi su GitHub
 (11 commenti) (0 reazioni) (1 assegnatario)Rust (6 fork)github user discovery
good first issuehelp wanted

Metriche repository

Star
 (53 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Currently, there's a number of open issues in the semver crate that involve bringing it to feature parity with node-semver. We need this because of the sorts of things we'll run into in the wild. This issue is a tracking issue for that work -- it's likely we'll need to do it ourselves if we want it done because dev on the crate seems stalled.

Off the top of my head, these are the missing features:

  1. "loose" parsing, which involves handling garbage in semver strings. Because it's actually needed. This is an extra option in node-semver but it's used throughout NPM and the ecosystem has come to rely on it.
  2. Space-separated range specifiers. This is supported by semver-parser but semver hasn't been updated to use it.
  3. Or (||)-separated ranges
  4. Other stuff?

Guida contributor