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:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user