mirror of
https://github.com/apache/cordova-android.git
synced 2026-04-23 00:00:09 +08:00
updated cordoova-common to 1.4.0
This commit is contained in:
+4
@@ -4,6 +4,8 @@ semver(1) -- The semantic versioner for npm
|
||||
## Usage
|
||||
|
||||
$ npm install semver
|
||||
$ node
|
||||
var semver = require('semver')
|
||||
|
||||
semver.valid('1.2.3') // '1.2.3'
|
||||
semver.valid('a.b.c') // null
|
||||
@@ -325,6 +327,8 @@ strings that they parse.
|
||||
range.
|
||||
* `maxSatisfying(versions, range)`: Return the highest version in the list
|
||||
that satisfies the range, or `null` if none of them do.
|
||||
* `minSatisfying(versions, range)`: Return the lowest version in the list
|
||||
that satisfies the range, or `null` if none of them do.
|
||||
* `gtr(version, range)`: Return `true` if version is greater than all the
|
||||
versions possible in the range.
|
||||
* `ltr(version, range)`: Return `true` if version is less than all the
|
||||
|
||||
Reference in New Issue
Block a user