fix: update dependency recommendations (#2320)

closes https://github.com/denoland/fresh/issues/2319

The issue is because `imports.ts` wasn't changed before releasing. I
thought I would go through and bump some other versions as well. This
handles everything except the esbuild stuff and `tests/`.
This commit is contained in:
Reed von Redwitz
2024-02-19 10:33:04 +01:00
committed by GitHub
parent bf0e33eda1
commit 82c75f85e9
69 changed files with 198 additions and 186 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
import { colors, join, lt, semverParse } from "./deps.ts";
import { colors, join, lessThan, semverParse } from "./deps.ts";
export interface CheckFile {
last_checked: string;
@@ -118,7 +118,7 @@ export async function updateCheck(
if (
(!checkFile.last_shown ||
Date.now() >= new Date(checkFile.last_shown).getTime() + interval) &&
lt(currentVersion, latestVersion)
lessThan(currentVersion, latestVersion)
) {
checkFile.last_shown = new Date().toISOString();