Skip to content

Commit

Permalink
deprecation(semver): deprecate compareBuild() (#4088)
Browse files Browse the repository at this point in the history
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
  • Loading branch information
timreichen and kt3k authored Jan 4, 2024
1 parent 4a255d6 commit bd5ddd1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions semver/compare_build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ import {
* @param s0
* @param s1
* @returns
*
* @deprecated (will be removed in 0.213.0) The build metadata should not be used for comparing versions. See https://semver.org/#spec-item-10 for details.
*/
export function compareBuild(
s0: SemVer,
Expand Down

0 comments on commit bd5ddd1

Please sign in to comment.