// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
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.
 * @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, range) {
  return greaterThan(version, rangeMax(range));
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImh0dHBzOi8vZGVuby5sYW5kL3N0ZEAwLjIxNy4wL3NlbXZlci9ndHIudHMiXSwic291cmNlc0NvbnRlbnQiOlsiLy8gQ29weXJpZ2h0IDIwMTgtMjAyNCB0aGUgRGVubyBhdXRob3JzLiBBbGwgcmlnaHRzIHJlc2VydmVkLiBNSVQgbGljZW5zZS5cbmltcG9ydCB0eXBlIHsgUmFuZ2UsIFNlbVZlciB9IGZyb20gXCIuL3R5cGVzLnRzXCI7XG5pbXBvcnQgeyByYW5nZU1heCB9IGZyb20gXCIuL3JhbmdlX21heC50c1wiO1xuaW1wb3J0IHsgZ3JlYXRlclRoYW4gfSBmcm9tIFwiLi9ncmVhdGVyX3RoYW4udHNcIjtcblxuLyoqXG4gKiBDaGVja3MgdG8gc2VlIGlmIHRoZSB2ZXJzaW9uIGlzIGdyZWF0ZXIgdGhhbiBhbGwgcG9zc2libGUgdmVyc2lvbnMgb2YgdGhlIHJhbmdlLlxuICogQGRlcHJlY2F0ZWQgKHdpbGwgYmUgcmVtb3ZlZCBhZnRlciAwLjIxNy4wKSBTZWVcbiAqIHtAbGluayBodHRwczovL2dpdGh1Yi5jb20vZGVub2xhbmQvZGVub19zdGQvaXNzdWVzLzQyNzMgfCBkZW5vX3N0ZCM0MjczfVxuICogZm9yIGRldGFpbHMuXG4gKi9cbmV4cG9ydCBmdW5jdGlvbiBndHIoXG4gIHZlcnNpb246IFNlbVZlcixcbiAgcmFuZ2U6IFJhbmdlLFxuKTogYm9vbGVhbiB7XG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