1
0
Fork 0
mirror of https://github.com/mat-1/variance.git synced 2025-08-02 15:26:04 +00:00

upgrade all deps

This commit is contained in:
mat 2025-01-08 01:43:56 +00:00
parent d5950b5b7f
commit 752853a831
4 changed files with 1943 additions and 1766 deletions

View file

@ -19,63 +19,64 @@
"author": "Variance and Cinny contributors",
"license": "AGPL-3.0-only",
"dependencies": {
"@fontsource/atkinson-hyperlegible": "5.0.21",
"@khanacademy/simple-markdown": "0.13.0",
"@fontsource/atkinson-hyperlegible": "5.1.1",
"@khanacademy/simple-markdown": "0.13.13",
"@matrix-org/olm": "^3.2.15",
"@tippyjs/react": "4.2.6",
"@types/dateformat": "^5.0.2",
"@types/dateformat": "^5.0.3",
"blurhash": "2.0.5",
"dateformat": "5.0.3",
"emojibase-data": "15.3.2",
"emojibase-data": "16.0.2",
"file-saver": "2.0.5",
"flux": "4.0.4",
"formik": "2.4.6",
"html-react-parser": "5.1.14",
"katex": "0.16.11",
"linkify-html": "4.1.3",
"linkifyjs": "4.1.3",
"html-react-parser": "5.2.2",
"katex": "0.16.19",
"linkify-html": "4.2.0",
"linkifyjs": "4.2.0",
"matrix-encrypt-attachment": "^1.0.3",
"matrix-js-sdk": "34.9.0",
"matrix-js-sdk": "35.1.0",
"prop-types": "15.8.1",
"react": "18.3.1",
"react": "19.0.0",
"react-autosize-textarea": "7.1.0",
"react-blurhash": "0.3.0",
"react-dnd": "16.0.1",
"react-dnd-html5-backend": "16.0.1",
"react-dom": "18.3.1",
"react-dom": "19.0.0",
"react-google-recaptcha": "3.1.0",
"react-modal": "3.16.1",
"sanitize-html": "2.13.0",
"slate": "0.103.0",
"slate-history": "0.109.0",
"slate-react": "0.109.0",
"react-modal": "3.16.3",
"sanitize-html": "2.14.0",
"slate": "0.112.0",
"slate-dom": "^0.111.0",
"slate-history": "0.110.3",
"slate-react": "0.112.0",
"tippy.js": "6.3.7"
},
"devDependencies": {
"@esbuild-plugins/node-globals-polyfill": "0.2.3",
"@rollup/plugin-inject": "5.0.5",
"@rollup/plugin-wasm": "6.2.2",
"@types/node": "22.5.1",
"@types/react": "18.3.4",
"@types/react-dom": "18.3.0",
"@types/node": "22.10.5",
"@types/react": "19.0.3",
"@types/react-dom": "19.0.2",
"@types/react-modal": "^3.16.3",
"@typescript-eslint/eslint-plugin": "8.3.0",
"@typescript-eslint/parser": "8.3.0",
"@vitejs/plugin-react": "4.3.1",
"@typescript-eslint/eslint-plugin": "8.19.1",
"@typescript-eslint/parser": "8.19.1",
"@vitejs/plugin-react": "4.3.4",
"buffer": "6.0.3",
"eslint": "8",
"eslint": "9.17.0",
"eslint-config-airbnb": "19.0.4",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-jsx-a11y": "6.9.0",
"eslint-plugin-react": "7.35.0",
"eslint-plugin-react-hooks": "4.6.2",
"eslint-plugin-import": "2.31.0",
"eslint-plugin-jsx-a11y": "6.10.2",
"eslint-plugin-react": "7.37.3",
"eslint-plugin-react-hooks": "5.1.0",
"mini-svg-data-uri": "1.4.4",
"prettier": "3.3.3",
"sass": "1.77.8",
"typescript": "5.5.4",
"vite": "5.4.2",
"vite-plugin-static-copy": "1.0.6"
"prettier": "3.4.2",
"sass": "1.83.1",
"typescript": "5.7.2",
"vite": "6.0.7",
"vite-plugin-static-copy": "2.2.0"
},
"packageManager": "yarn@4.4.1"
}

View file

@ -34,11 +34,11 @@ const IconButton = React.forwardRef(
isImage?: boolean;
className?: string;
},
ref: React.Ref<HTMLButtonElement>,
elementRef: React.Ref<HTMLButtonElement>,
) => {
const btn = (
<button
ref={ref}
ref={elementRef}
className={`ic-btn ic-btn-${variant} ${className}`}
onMouseUp={(e) => blurOnBubbling(e, `.ic-btn-${variant}`)}
onClick={onClick}

View file

@ -119,7 +119,7 @@ function SessionInfo({ userId }: { userId: string }) {
return (
<div className="session-info__chips">
{devices === null && <Text variant="b2">Loading sessions...</Text>}
{devices?.length === 0 && <Text variant="b2">No session found.</Text>}
{devices?.length === 0 && <Text variant="b2">No sessions found.</Text>}
{devices !== null &&
devices.map((device) => (
<Chip

3638
yarn.lock

File diff suppressed because it is too large Load diff