From cb1ca1d5480a6c07c12ac31ba5f2071ed530c4ed Mon Sep 17 00:00:00 2001 From: isaacs Date: Sun, 7 Nov 2021 16:15:58 -0800 Subject: [PATCH] docs: clarify * range behavior Fix: https://github.com/npm/node-semver/issues/329 --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9bef045a..df54e7a0 100644 --- a/README.md +++ b/README.md @@ -264,7 +264,9 @@ provided tuple parts. Any of `X`, `x`, or `*` may be used to "stand in" for one of the numeric values in the `[major, minor, patch]` tuple. -* `*` := `>=0.0.0` (Any version satisfies) +* `*` := `>=0.0.0` (Any non-prerelease version satisfies, unless + `includePrerelease` is specified, in which case any version at all + satisfies) * `1.x` := `>=1.0.0 <2.0.0-0` (Matching major version) * `1.2.x` := `>=1.2.0 <1.3.0-0` (Matching major and minor versions)