From b61b0dbc25fa9e8237148f613e54ef0ef288740e Mon Sep 17 00:00:00 2001 From: Yusuke Tanaka Date: Tue, 29 Oct 2024 15:57:45 +0900 Subject: [PATCH] fix: bump @deno/cache-dir to 0.13.2 (#192) --- js/mod.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/mod.ts b/js/mod.ts index 00a74f4..fd6b73c 100644 --- a/js/mod.ts +++ b/js/mod.ts @@ -41,7 +41,7 @@ import { type CacheSetting, createCache, type FetchCacher, -} from "jsr:@deno/cache-dir@0.8"; +} from "jsr:@deno/cache-dir@0.13.2"; /** The output of the {@linkcode bundle} function. */ export interface BundleEmit { @@ -329,6 +329,8 @@ async function processImportMapInput( } case "external": throw new Error("External import maps are not supported."); + case "redirect": + throw new Error("Redirects are not supported for import maps."); default: { const _assertNever: never = data; throw new Error("Unexpected kind.");