entropic-dev/ds

semver crate parsing feature parity with node-semver

Open

#37 创建于 2019年12月8日

在 GitHub 查看
 (11 评论) (0 反应) (1 负责人)Rust (6 fork)github user discovery
good first issuehelp wanted

仓库指标

Star
 (53 star)
PR 合并指标
 (PR 指标待抓取)

描述

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?

贡献者指南