Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(semver): move breaking versions #4372

Merged
merged 1 commit into from
Feb 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion semver/gtr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { greaterThan } from "./greater_than.ts";

/**
* Checks to see if the version is greater than all possible versions of the range.
* @deprecated (will be removed after 0.217.0) See
* @deprecated (will be removed in 0.219.0) See
* {@link https://github.com/denoland/deno_std/issues/4273 | deno_std#4273}
* for details.
*/
Expand Down
2 changes: 1 addition & 1 deletion semver/ltr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { rangeMin } from "./range_min.ts";

/**
* Less than range comparison
* @deprecated (will be removed after 0.217.0) See
* @deprecated (will be removed in 0.219.0) See
* {@link https://github.com/denoland/deno_std/issues/4273 | deno_std#4273}
* for details.
*/
Expand Down
2 changes: 1 addition & 1 deletion semver/reverse_sort.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { compare } from "./compare.ts";

/**
* Sorts a list of semantic versions in descending order.
* @deprecated (will be removed after 0.217.0) Use `versions.sort((a, b) => compare(b, a))` instead.
* @deprecated (will be removed in 0.219.0) Use `versions.sort((a, b) => compare(b, a))` instead.
*/
export function reverseSort(
versions: SemVer[],
Expand Down
2 changes: 1 addition & 1 deletion semver/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export type Operator = typeof OPERATORS[number];
export interface Comparator extends SemVer {
operator?: Operator;
/**
* @deprecated (will be removed after 0.217.0) {@linkcode Comparator} extends {@linkcode SemVer}. Use `major`, `minor`, `patch`, `prerelease`, and `build` properties instead.
* @deprecated (will be removed in 0.219.0) {@linkcode Comparator} extends {@linkcode SemVer}. Use `major`, `minor`, `patch`, `prerelease`, and `build` properties instead.
*/
semver?: SemVer;
}
Expand Down