Upgrade deps, fix warnings

This commit is contained in:
Lim Chee Aun 2023-09-29 21:02:09 +08:00
parent 27b0813e49
commit ac14e61b6d
3 changed files with 398 additions and 367 deletions

747
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -12,11 +12,11 @@
"dependencies": {
"@formatjs/intl-localematcher": "~0.4.2",
"@github/text-expander-element": "~2.5.0",
"@iconify-icons/mingcute": "~1.2.7",
"@iconify-icons/mingcute": "~1.2.8",
"@justinribeiro/lite-youtube": "~1.5.0",
"@szhsin/react-menu": "~4.0.3",
"@uidotdev/usehooks": "~2.2.0",
"dayjs": "~1.11.9",
"@uidotdev/usehooks": "~2.3.1",
"dayjs": "~1.11.10",
"dayjs-twitter": "~0.5.0",
"fast-blurhash": "~1.1.2",
"fast-deep-equal": "~3.1.3",
@ -25,9 +25,9 @@
"lz-string": "~1.5.0",
"masto": "~5.11.4",
"mem": "~9.0.2",
"p-retry": "~6.0.0",
"p-retry": "~6.1.0",
"p-throttle": "~5.1.0",
"preact": "~10.17.1",
"preact": "~10.18.0",
"react-hotkeys-hook": "~4.4.1",
"react-intersection-observer": "~9.5.2",
"react-quick-pinch-zoom": "~4.9.0",
@ -44,9 +44,9 @@
"devDependencies": {
"@preact/preset-vite": "~2.5.0",
"@trivago/prettier-plugin-sort-imports": "~4.2.0",
"postcss": "~8.4.29",
"postcss": "~8.4.31",
"postcss-dark-theme-class": "~1.0.0",
"postcss-preset-env": "~9.1.3",
"postcss-preset-env": "~9.1.4",
"twitter-text": "~3.1.0",
"vite": "~4.4.9",
"vite-plugin-generate-file": "~0.0.4",

View file

@ -125,7 +125,7 @@ function Icon({
}, [iconBlock]);
return (
<div
<span
class={`icon ${className}`}
title={title || alt}
style={{
@ -150,7 +150,7 @@ function Icon({
}}
/>
)}
</div>
</span>
);
}