diff --git a/semver/gtr.ts b/semver/gtr.ts index cc6c2c9e7130..f4ec3f3ecadd 100644 --- a/semver/gtr.ts +++ b/semver/gtr.ts @@ -3,7 +3,12 @@ import type { Range, SemVer, SemVerRange } from "./types.ts"; import { rangeMax } from "./range_max.ts"; import { greaterThan } from "./greater_than.ts"; -/** Checks to see if the version is greater than all possible versions of the range. */ +/** + * Checks to see if the version is greater than all possible versions of the range. + * @deprecated (will be removed after 0.217.0) See + * {@link https://github.com/denoland/deno_std/issues/4273 | deno_std#4273} + * for details. + */ export function gtr( version: SemVer, range: SemVerRange | Range, diff --git a/semver/ltr.ts b/semver/ltr.ts index 86543c65daed..b076c9ccfcf2 100644 --- a/semver/ltr.ts +++ b/semver/ltr.ts @@ -3,7 +3,12 @@ import type { Range, SemVer, SemVerRange } from "./types.ts"; import { lessThan } from "./less_than.ts"; import { rangeMin } from "./range_min.ts"; -/** Less than range comparison */ +/** + * Less than range comparison + * @deprecated (will be removed after 0.217.0) See + * {@link https://github.com/denoland/deno_std/issues/4273 | deno_std#4273} + * for details. + */ export function ltr( version: SemVer, range: SemVerRange | Range,