From 1a563ab793b99c662de6223735cc9a420b1467cc Mon Sep 17 00:00:00 2001 From: Roy Ivy III Date: Sun, 9 Oct 2022 14:37:13 -0500 Subject: [PATCH] fix(deno): specify import versions (avoids Deno warnings) --- deno/async.ts | 2 +- deno/sync.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deno/async.ts b/deno/async.ts index 78046cb..3dce5c8 100644 --- a/deno/async.ts +++ b/deno/async.ts @@ -1,4 +1,4 @@ -import { dirname, resolve } from 'https://deno.land/std/path/mod.ts' +import { dirname, resolve } from 'https://deno.land/std@0.159.0/path/mod.ts' type Promisable = T | Promise; export type Callback = (directory: string, files: string[]) => Promisable diff --git a/deno/sync.ts b/deno/sync.ts index 4e1190b..e8cec85 100644 --- a/deno/sync.ts +++ b/deno/sync.ts @@ -1,4 +1,4 @@ -import { dirname, resolve } from 'https://deno.land/std/path/mod.ts' +import { dirname, resolve } from 'https://deno.land/std@0.159.0/path/mod.ts' export type Callback = (directory: string, files: string[]) => string | false | void;