Skip to content

Commit 45c8201

Browse files
timreicheniuioiua
andauthored
deprecation(semver): deprecate rcompare() (#3958)
* initial commit * Update semver/rcompare.ts Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com> --------- Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
1 parent 49efcbd commit 45c8201

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

semver/rcompare.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import { compare } from "./compare.ts";
77
* `1` and `-1` are inverted.
88
*
99
* Sorts in descending order if passed to `Array.sort()`,
10+
* @deprecated (will be removed in 0.212.0) Use {@linkcode compare} instead.
1011
*/
1112
export function rcompare(
1213
s0: SemVer,

0 commit comments

Comments
 (0)