It was very unclear to me that "must not contain leading zeroes" is referring to "non-negative integers" rather than to "A normal version number".
First (correct) interpretation would disallow 1.01.1, second (incorrect) would disallow 0.1.0.
I tried to make it more explicit here.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/semver/semver/pull/282
**Author:** [@zudov](https://github.com/zudov)
**Created:** 11/17/2015
**Status:** 🔄 Open
**Base:** `master` ← **Head:** `patch-1`
---
### 📝 Commits (1)
- [`f642454`](https://github.com/semver/semver/commit/f6424542c4a691cfe9ff012dbf645c56b21c9cde) Make notice about leading zeros clearer
### 📊 Changes
**1 file changed** (+2 additions, -2 deletions)
<details>
<summary>View changed files</summary>
📝 `semver.md` (+2 -2)
</details>
### 📄 Description
It was very unclear to me that "must not contain leading zeroes" is referring to "non-negative integers" rather than to "A normal version number".
First (correct) interpretation would disallow 1.01.1, second (incorrect) would disallow 0.1.0.
I tried to make it more explicit here.
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/semver/semver/pull/282
Author: @zudov
Created: 11/17/2015
Status: 🔄 Open
Base:
master← Head:patch-1📝 Commits (1)
f642454Make notice about leading zeros clearer📊 Changes
1 file changed (+2 additions, -2 deletions)
View changed files
📝
semver.md(+2 -2)📄 Description
It was very unclear to me that "must not contain leading zeroes" is referring to "non-negative integers" rather than to "A normal version number".
First (correct) interpretation would disallow 1.01.1, second (incorrect) would disallow 0.1.0.
I tried to make it more explicit here.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.