Skip to content

Commit

Permalink
docs: clarify comment about obsolete prefixes (npm#749)
Browse files Browse the repository at this point in the history
Adds an explanation why the "=" and "v" prefixes should not be used
anymore.

---------

Co-authored-by: Jordan Harband <[email protected]>
  • Loading branch information
mbtools and ljharb authored Dec 4, 2024
1 parent 145c554 commit 868d4bb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,8 @@ A "version" is described by the `v2.0.0` specification found at
<https://semver.org/>.
A leading `"="` or `"v"` character is stripped off and ignored.
Support for stripping a leading "v" is kept for compatibility with `v1.0.0` of the SemVer
specification but should not be used anymore.
## Ranges
Expand Down

0 comments on commit 868d4bb

Please sign in to comment.