diff options
author | Forrest L Norvell <forrest@npmjs.com> | 2014-12-25 14:08:41 +0300 |
---|---|---|
committer | Forrest L Norvell <forrest@npmjs.com> | 2014-12-25 14:16:04 +0300 |
commit | 030f3c7450b8ce124a19073bfbae0948a0a1a02c (patch) | |
tree | 32cb9034c929d2a84e647f2fd26012dcd4ee34b5 /node_modules/semver/README.md | |
parent | 9b9de06a99893b40aa23f0335726dec6df7979db (diff) |
semver@4.2.0
Support for diffing two versions by type of release delta.
Diffstat (limited to 'node_modules/semver/README.md')
-rw-r--r-- | node_modules/semver/README.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/node_modules/semver/README.md b/node_modules/semver/README.md index 5e2862f1a..1ec808954 100644 --- a/node_modules/semver/README.md +++ b/node_modules/semver/README.md @@ -267,6 +267,9 @@ strings that they parse. `v2` is greater. Sorts in ascending order if passed to `Array.sort()`. * `rcompare(v1, v2)`: The reverse of compare. Sorts an array of versions in descending order when passed to `Array.sort()`. +* `diff(v1, v2)`: Returns difference between two versions by the release type + (`major`, `premajor`, `minor`, `preminor`, `patch`, `prepatch`, or `prerelease`), + or null if the versions are the same. ### Ranges |