preact upgrade

This commit is contained in:
Zef Hemel
2026-01-15 09:27:06 +01:00
parent 840e0c5fea
commit a2c0c01ac7
3 changed files with 7 additions and 14 deletions
+1 -3
View File
@@ -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<FeatherProps | IconBaseProps>;
icon: FunctionalComponent<any>;
description: string;
class?: string;
callback: () => void;
+2 -2
View File
@@ -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",
Generated
+4 -9
View File
@@ -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"
]