`1.0.1-a` vs `1.0.0`
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 124
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Description
a.mjs
```js
import semver from "semver";
import semiver from "semiver";
console.log(semver.compare("1.0.1-a", "1.0.0"));
console.log(semiver("1.0.1-a", "1.0.0"));
```
prints:
```
1
-1
```
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Run the reproduction in a.mjs first and compare semiver's result with semver's result for these two versions. Then trace the comparison logic involved in prerelease-versus-release ordering. Done means semiver handles this comparison consistently with the demonstrated semver behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100