Skip to content

Commit

Permalink
Document includePrerelease flag more
Browse files Browse the repository at this point in the history
Include it in the section on Prerelease Tags in the range description
section.
  • Loading branch information
isaacs committed Oct 16, 2018
1 parent c529221 commit a462bec
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,13 @@ the user is indicating that they are aware of the risk. However, it
is still not appropriate to assume that they have opted into taking a
similar risk on the *next* set of prerelease versions.
Note that this behavior can be suppressed (treating all prerelease
versions as if they were normal versions, for the purpose of range
matching) by setting the `includePrerelease` flag on the options
object to any
[functions](https://github.com/npm/node-semver#functions) that do
range matching.
#### Prerelease Identifiers
The method `.inc` takes an additional `identifier` string argument that
Expand Down

0 comments on commit a462bec

Please sign in to comment.