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>
This commit is contained in:
Tim Reichen 2023-12-14 04:38:57 +01:00 committed by GitHub
parent 49efcbdeb6
commit 45c8201a70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,6 +7,7 @@ import { compare } from "./compare.ts";
* `1` and `-1` are inverted.
*
* Sorts in descending order if passed to `Array.sort()`,
* @deprecated (will be removed in 0.212.0) Use {@linkcode compare} instead.
*/
export function rcompare(
s0: SemVer,