From 0b69af2931dc76f055f5c2a02964ceaeb1d84636 Mon Sep 17 00:00:00 2001 From: niclaz <83479948+niclaz@users.noreply.github.com> Date: Sat, 31 Aug 2024 03:47:03 +0200 Subject: [PATCH] bump of std version to 0.224.0 in img-opt.js --- utils/img-opt.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/utils/img-opt.js b/utils/img-opt.js index 1db1aa0..8539e8a 100644 --- a/utils/img-opt.js +++ b/utils/img-opt.js @@ -1,6 +1,6 @@ import { run } from "https://deno.land/x/run_simple/mod.ts"; -import { join } from "https://deno.land/std@0.208.0/path/mod.ts"; -import { emptyDir } from "https://deno.land/std@0.196.0/fs/empty_dir.ts"; +import { join } from "https://deno.land/std@0.224.0/path/mod.ts"; +import { emptyDir } from "https://deno.land/std@0.224.0/fs/empty_dir.ts"; async function optimizeDir (dir, sizes) { await emptyDir(join(dir, 'thumbs')) @@ -37,4 +37,4 @@ const eventSizes = { '128px': { width: 128 }, '360px': { width: 360 }, '640px': await optimizeDir('./src/events/_images/2023', eventSizes) await optimizeDir('./src/events/_images/2024', eventSizes) -//console.log(await run('ls')) \ No newline at end of file +//console.log(await run('ls'))