We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
includePrerelease
1 parent c529221 commit a462becCopy full SHA for a462bec
README.md
@@ -137,6 +137,13 @@ the user is indicating that they are aware of the risk. However, it
137
is still not appropriate to assume that they have opted into taking a
138
similar risk on the *next* set of prerelease versions.
139
140
+Note that this behavior can be suppressed (treating all prerelease
141
+versions as if they were normal versions, for the purpose of range
142
+matching) by setting the `includePrerelease` flag on the options
143
+object to any
144
+[functions](https://github.com/npm/node-semver#functions) that do
145
+range matching.
146
+
147
#### Prerelease Identifiers
148
149
The method `.inc` takes an additional `identifier` string argument that
0 commit comments