From a2c0c01ac732a7539f0143a6d07efacb16a212c4 Mon Sep 17 00:00:00 2001 From: Zef Hemel Date: Thu, 15 Jan 2026 09:27:06 +0100 Subject: [PATCH] preact upgrade --- client/components/top_bar.tsx | 4 +--- deno.json | 4 ++-- deno.lock | 13 ++++--------- 3 files changed, 7 insertions(+), 14 deletions(-) diff --git a/client/components/top_bar.tsx b/client/components/top_bar.tsx index 2a7f62c0..e6326f8c 100644 --- a/client/components/top_bar.tsx +++ b/client/components/top_bar.tsx @@ -4,12 +4,10 @@ import type { } from "@codemirror/autocomplete"; import type { ComponentChildren, FunctionalComponent } from "preact"; import type { Notification } from "@silverbulletmd/silverbullet/type/client"; -import type { FeatherProps } from "preact-feather/types"; -import type { IconBaseProps } from "react-icons/types"; import { MiniEditor } from "./mini_editor.tsx"; export type ActionButton = { - icon: FunctionalComponent; + icon: FunctionalComponent; description: string; class?: string; callback: () => void; diff --git a/deno.json b/deno.json index a0acb2e8..5ede141e 100644 --- a/deno.json +++ b/deno.json @@ -36,7 +36,7 @@ "compilerOptions": { "lib": ["dom", "dom.iterable", "dom.asynciterable", "deno.ns"], "jsx": "react-jsx", - "jsxImportSource": "npm:preact@10.26.4" + "jsxImportSource": "npm:preact@10.28.2" }, "exports": { "./syscall": "./plug-api/syscall.ts", @@ -128,7 +128,7 @@ "idb": "npm:idb@8.0.3", "js-yaml": "npm:js-yaml@4.1.0", "mimetypes": "https://deno.land/x/mimetypes@v1.0.0/mod.ts", - "preact": "npm:preact@10.26.9", + "preact": "npm:preact@10.28.2", "preact-feather": "npm:preact-feather@4.2.1", "preact-feather/types": "npm:preact-feather@4.2.1/dist/types", "react-icons/md": "https://deno.land/x/react_icons_md@1.0.9/mod.ts", diff --git a/deno.lock b/deno.lock index 900612fc..e4f92454 100644 --- a/deno.lock +++ b/deno.lock @@ -64,8 +64,7 @@ "npm:js-yaml@4.1.0": "4.1.0", "npm:preact-feather@4.2.1": "4.2.1_preact@10.23.1", "npm:preact@10.23.1": "10.23.1", - "npm:preact@10.26.4": "10.26.4", - "npm:preact@10.26.9": "10.26.9", + "npm:preact@10.28.2": "10.28.2", "npm:style-mod@4.1.2": "4.1.2", "npm:turndown@7.2.0": "7.2.0" }, @@ -473,11 +472,8 @@ "preact@10.23.1": { "integrity": "sha512-O5UdRsNh4vdZaTieWe3XOgSpdMAmkIYBCT3VhQDlKrzyCm8lUYsk0fmVEvoQQifoOjFRTaHZO69ylrzTW2BH+A==" }, - "preact@10.26.4": { - "integrity": "sha512-KJhO7LBFTjP71d83trW+Ilnjbo+ySsaAgCfXOXUlmGzJ4ygYPWmysm77yg4emwfmoz3b22yvH5IsVFHbhUaH5w==" - }, - "preact@10.26.9": { - "integrity": "sha512-SSjF9vcnF27mJK1XyFMNJzFd5u3pQiATFqoaDy03XuN00u4ziveVVEGt5RKJrDR8MHE/wJo9Nnad56RLzS2RMA==" + "preact@10.28.2": { + "integrity": "sha512-lbteaWGzGHdlIuiJ0l2Jq454m6kcpI1zNje6d8MlGAFlYvP2GO4ibnat7P74Esfz4sPTdM6UxtTwh/d3pwM9JA==" }, "require-from-string@2.0.2": { "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==" @@ -703,8 +699,7 @@ "npm:idb@8.0.3", "npm:js-yaml@4.1.0", "npm:preact-feather@4.2.1", - "npm:preact@10.26.4", - "npm:preact@10.26.9", + "npm:preact@10.28.2", "npm:style-mod@4.1.2", "npm:turndown@7.2.0" ]