From d94f831af11b5dc974213728566524a3f1da121b Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Wed, 1 May 2024 16:45:47 -0500 Subject: [PATCH 1/2] Bump zod to v3.23.5 --- deno.json | 2 +- deno.lock | 9 +++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/deno.json b/deno.json index ca05ab0..3708be3 100644 --- a/deno.json +++ b/deno.json @@ -51,7 +51,7 @@ "type-fest": "npm:type-fest@^4.3.0", "unfurl": "npm:unfurl.js@^6.4.0", "uuid62": "npm:uuid62@^1.0.2", - "zod": "npm:zod@^3.23.4", + "zod": "npm:zod@^3.23.5", "~/fixtures/": "./fixtures/" }, "lint": { diff --git a/deno.lock b/deno.lock index 554ca0b..c3ea4d4 100644 --- a/deno.lock +++ b/deno.lock @@ -62,7 +62,8 @@ "npm:uuid62@^1.0.2": "npm:uuid62@1.0.2", "npm:websocket-ts@^2.1.5": "npm:websocket-ts@2.1.5", "npm:zod@^3.21.0": "npm:zod@3.23.4", - "npm:zod@^3.23.4": "npm:zod@3.23.4" + "npm:zod@^3.23.4": "npm:zod@3.23.4", + "npm:zod@^3.23.5": "npm:zod@3.23.5" }, "jsr": { "@bradenmacdonald/s3-lite-client@0.7.4": { @@ -1279,6 +1280,10 @@ "zod@3.23.4": { "integrity": "sha512-/AtWOKbBgjzEYYQRNfoGKHObgfAZag6qUJX1VbHo2PRBgS+wfWagEY2mizjfyAPcGesrJOcx/wcl0L9WnVrHFw==", "dependencies": {} + }, + "zod@3.23.5": { + "integrity": "sha512-fkwiq0VIQTksNNA131rDOsVJcns0pfVUjHzLrNBiF/O/Xxb5lQyEXkhZWcJ7npWsYlvs+h0jFWXXy4X46Em1JA==", + "dependencies": {} } } }, @@ -1618,7 +1623,7 @@ "npm:type-fest@^4.3.0", "npm:unfurl.js@^6.4.0", "npm:uuid62@^1.0.2", - "npm:zod@^3.23.4" + "npm:zod@^3.23.5" ] } } From 984695391a407aef7ef3757d4376889f93bd7398 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Wed, 1 May 2024 16:59:15 -0500 Subject: [PATCH 2/2] unfurl -> unfurl.js --- deno.json | 2 +- src/utils/unfurl.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deno.json b/deno.json index 3708be3..494c311 100644 --- a/deno.json +++ b/deno.json @@ -49,7 +49,7 @@ "tldts": "npm:tldts@^6.0.14", "tseep": "npm:tseep@^1.2.1", "type-fest": "npm:type-fest@^4.3.0", - "unfurl": "npm:unfurl.js@^6.4.0", + "unfurl.js": "npm:unfurl.js@^6.4.0", "uuid62": "npm:uuid62@^1.0.2", "zod": "npm:zod@^3.23.5", "~/fixtures/": "./fixtures/" diff --git a/src/utils/unfurl.ts b/src/utils/unfurl.ts index 22c69b1..b028be5 100644 --- a/src/utils/unfurl.ts +++ b/src/utils/unfurl.ts @@ -1,6 +1,6 @@ import TTLCache from '@isaacs/ttlcache'; import Debug from '@soapbox/stickynotes/debug'; -import { unfurl } from 'unfurl'; +import { unfurl } from 'unfurl.js'; import { sanitizeHtml } from '@/deps.ts'; import { Time } from '@/utils/time.ts';