From 7bc6533a6bb943e0bfc0235e1061ea20c44d18b9 Mon Sep 17 00:00:00 2001 From: "Alexander Nicholson 4584443+DragonStuff@users.noreply.github.com" <4584443+DragonStuff@users.noreply.github.com> Date: Wed, 20 Nov 2024 17:02:24 +0900 Subject: [PATCH] fix: migrate to jsr:@b-fuze/deno-dom --- deno.lock | 23 +++++++++++++---------- src/services/storage.ts | 2 +- 2 files changed, 14 insertions(+), 11 deletions(-) diff --git a/deno.lock b/deno.lock index 242abd5..ab3e684 100644 --- a/deno.lock +++ b/deno.lock @@ -1,14 +1,17 @@ { - "version": "3", - "packages": { - "specifiers": { - "npm:hono": "npm:hono@4.6.10" - }, - "npm": { - "hono@4.6.10": { - "integrity": "sha512-IXXNfRAZEahFnWBhUUlqKEGF9upeE6hZoRZszvNkyAz/CYp+iVbxm3viMvStlagRJohjlBRGOQ7f4jfcV0XMGg==", - "dependencies": {} - } + "version": "4", + "specifiers": { + "jsr:@b-fuze/deno-dom@*": "0.1.48", + "npm:hono@*": "4.6.10" + }, + "jsr": { + "@b-fuze/deno-dom@0.1.48": { + "integrity": "bf5b591aef2e9e9c59adfcbb93a9ecd45bab5b7c8263625beafa5c8f1662e7da" + } + }, + "npm": { + "hono@4.6.10": { + "integrity": "sha512-IXXNfRAZEahFnWBhUUlqKEGF9upeE6hZoRZszvNkyAz/CYp+iVbxm3viMvStlagRJohjlBRGOQ7f4jfcV0XMGg==" } }, "redirects": { diff --git a/src/services/storage.ts b/src/services/storage.ts index 3d033ab..0a349fb 100644 --- a/src/services/storage.ts +++ b/src/services/storage.ts @@ -2,7 +2,7 @@ import { ListObjectsOptions, ListObjectsResult, StorageObject } from "../types/m import { S3, type ListObjectsV2Request } from "https://deno.land/x/aws_api@v0.8.1/services/s3/mod.ts"; import { ApiFactory } from "https://deno.land/x/aws_api@v0.8.1/client/mod.ts"; import { getSignedUrl } from "https://deno.land/x/aws_s3_presign@2.2.1/mod.ts"; -import { DOMParser } from "https://deno.land/x/deno_dom@v0.1.48/deno-dom-wasm.ts"; +import { DOMParser, Element } from "jsr:@b-fuze/deno-dom"; interface Credentials { awsAccessKeyId: string;