From 5898f72563d9b6074d919b413159cb0bfa5a99e9 Mon Sep 17 00:00:00 2001 From: Pouria Delfanazari Date: Mon, 22 Jan 2024 19:31:53 -0800 Subject: [PATCH] Clean up, update atproto --- package-lock.json | 139 +++++++++++++----- package.json | 6 +- src/app/(site)/about/page.tsx | 17 +-- .../contentDisplay/feedPost/FeedPost.tsx | 2 +- .../contentDisplay/threadPost/ThreadPost.tsx | 3 +- src/styles/globals.css | 2 +- 6 files changed, 109 insertions(+), 60 deletions(-) diff --git a/package-lock.json b/package-lock.json index 20824c2e..e2945b5a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,7 +8,7 @@ "name": "ouranos", "version": "0.5.0", "dependencies": { - "@atproto/api": "^0.8.0", + "@atproto/api": "^0.9.2", "@emoji-mart/data": "^1.1.2", "@emoji-mart/react": "^1.1.1", "@radix-ui/react-dialog": "^1.0.5", @@ -17,7 +17,7 @@ "@radix-ui/react-radio-group": "^1.1.3", "@radix-ui/react-switch": "^1.0.3", "@radix-ui/react-toggle-group": "^1.0.4", - "@tanstack/react-query": "^5.17.15", + "@tanstack/react-query": "^5.17.19", "@tiptap/extension-character-count": "^2.1.16", "@tiptap/extension-link": "^2.1.16", "@tiptap/extension-mention": "^2.1.16", @@ -27,7 +27,7 @@ "@tiptap/starter-kit": "^2.1.16", "@tiptap/suggestion": "^2.1.16", "@vercel/analytics": "^1.1.2", - "@vercel/speed-insights": "^1.0.5", + "@vercel/speed-insights": "^1.0.7", "browser-image-compression": "^2.0.2", "emoji-mart": "^5.5.2", "jwt-decode": "^4.0.0", @@ -85,6 +85,7 @@ "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.2.1.tgz", "integrity": "sha512-lFMjJTrFL3j7L9yBxwYfCq2k6qqwHyzuUl/XBnif78PWTJYyL/dfowQHWE3sp6U6ZzqWiiIZnpTMO96zhkjwtg==", "optional": true, + "peer": true, "dependencies": { "@jridgewell/gen-mapping": "^0.3.0", "@jridgewell/trace-mapping": "^0.3.9" @@ -94,9 +95,9 @@ } }, "node_modules/@atproto/api": { - "version": "0.8.0", - "resolved": "https://registry.npmjs.org/@atproto/api/-/api-0.8.0.tgz", - "integrity": "sha512-FgPOoij/PAEa0YoLKqj5NFYBvysdyb13gtS2XpJOdIvUZ2KehMlTrtj7g0AR78pRfME2jJjIgmAw6qpmSsjSTw==", + "version": "0.9.2", + "resolved": "https://registry.npmjs.org/@atproto/api/-/api-0.9.2.tgz", + "integrity": "sha512-Z1dJM3BER8XsXjw6b6WtbFB1/sf/JXHIGR6tmuOB1AZ1/CLAmBpRN/OAZYz3GD0EHnkzlnjOh9B6FJVfdLKXUQ==", "dependencies": { "@atproto/common-web": "^0.2.3", "@atproto/lexicon": "^0.3.1", @@ -153,6 +154,7 @@ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.23.6.tgz", "integrity": "sha512-Z2uID7YJ7oNvAI20O9X0bblw7Qqs8Q2hFy0R9tAfnfLkp5MW0UH9eUvnDSnFwKZ0AvgS1ucqR4KzvVHgnke1VQ==", "optional": true, + "peer": true, "bin": { "parser": "bin/babel-parser.js" }, @@ -607,6 +609,7 @@ "resolved": "https://registry.npmjs.org/@fastify/busboy/-/busboy-2.1.0.tgz", "integrity": "sha512-+KpH+QxZU7O4675t3mnkQKcZZg56u+K/Ct2K+N2AZYNVK8kyeo/bI18tI8aPm3tvNNRyTWfj6s5tnGNlcbQRsA==", "optional": true, + "peer": true, "engines": { "node": ">=14" } @@ -1441,7 +1444,8 @@ "version": "1.0.0-next.24", "resolved": "https://registry.npmjs.org/@polka/url/-/url-1.0.0-next.24.tgz", "integrity": "sha512-2LuNTFBIO0m7kKIQvvPHN6UE63VjpmL9rnEEaOOaiSPbZK+zUOYIzBAWcED+3XYzhYsd/0mD57VdxAEqqV52CQ==", - "optional": true + "optional": true, + "peer": true }, "node_modules/@popperjs/core": { "version": "2.11.8", @@ -2242,6 +2246,7 @@ "integrity": "sha512-0DzVXfU4h+tChFvoc8C61IqErCyskD4ydSIDjpKS2lYlEzIYrtYrY7juSqACFxqcvZAnOEXvSY+zZ8br0+ZMMg==", "hasInstallScript": true, "optional": true, + "peer": true, "dependencies": { "@sveltejs/vite-plugin-svelte": "^2.5.0", "@types/cookie": "^0.5.1", @@ -2273,6 +2278,7 @@ "resolved": "https://registry.npmjs.org/@sveltejs/vite-plugin-svelte/-/vite-plugin-svelte-2.5.3.tgz", "integrity": "sha512-erhNtXxE5/6xGZz/M9eXsmI7Pxa6MS7jyTy06zN3Ck++ldrppOnOlJwHHTsMC7DHDQdgUp4NAc4cDNQ9eGdB/w==", "optional": true, + "peer": true, "dependencies": { "@sveltejs/vite-plugin-svelte-inspector": "^1.0.4", "debug": "^4.3.4", @@ -2295,6 +2301,7 @@ "resolved": "https://registry.npmjs.org/@sveltejs/vite-plugin-svelte-inspector/-/vite-plugin-svelte-inspector-1.0.4.tgz", "integrity": "sha512-zjiuZ3yydBtwpF3bj0kQNV0YXe+iKE545QGZVTaylW3eAzFr+pJ/cwK8lZEaRp4JtaJXhD5DyWAV4AxLh6DgaQ==", "optional": true, + "peer": true, "dependencies": { "debug": "^4.3.4" }, @@ -2331,20 +2338,20 @@ } }, "node_modules/@tanstack/query-core": { - "version": "5.17.15", - "resolved": "https://registry.npmjs.org/@tanstack/query-core/-/query-core-5.17.15.tgz", - "integrity": "sha512-QURxpu77/ICA4d61aPvV7EcJ2MwmksxUejKBaq/xLcO2TUJAlXf4PFKHC/WxnVFI/7F1jeLx85AO3Vpk0+uBXw==", + "version": "5.17.19", + "resolved": "https://registry.npmjs.org/@tanstack/query-core/-/query-core-5.17.19.tgz", + "integrity": "sha512-Lzw8FUtnLCc9Jwz0sw9xOjZB+/mCCmJev38v2wHMUl/ioXNIhnNWeMxu0NKUjIhAd62IRB3eAtvxAGDJ55UkyA==", "funding": { "type": "github", "url": "https://github.com/sponsors/tannerlinsley" } }, "node_modules/@tanstack/react-query": { - "version": "5.17.15", - "resolved": "https://registry.npmjs.org/@tanstack/react-query/-/react-query-5.17.15.tgz", - "integrity": "sha512-9qur91mOihaUN7pXm6ioDtS+4qgkBcCiIaZyvi3lZNcQZsrMGCYZ+eP3hiFrV4khoJyJrFUX1W0NcCVlgwNZxQ==", + "version": "5.17.19", + "resolved": "https://registry.npmjs.org/@tanstack/react-query/-/react-query-5.17.19.tgz", + "integrity": "sha512-qaQENB6/03Gj3dFZGvdmUoqeUGlGm7P1p0RmaR04Bf1Ib1T9lLGimcC9T3oCFbrx0b2ZF21ngjFZNjj9uPJMcg==", "dependencies": { - "@tanstack/query-core": "5.17.15" + "@tanstack/query-core": "5.17.19" }, "funding": { "type": "github", @@ -2770,13 +2777,15 @@ "version": "0.5.4", "resolved": "https://registry.npmjs.org/@types/cookie/-/cookie-0.5.4.tgz", "integrity": "sha512-7z/eR6O859gyWIAjuvBWFzNURmf2oPBmJlfVWkwehU5nzIyjwBsTh7WMmEEV4JFnHuQ3ex4oyTvfKzcyJVDBNA==", - "optional": true + "optional": true, + "peer": true }, "node_modules/@types/estree": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.5.tgz", "integrity": "sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==", - "optional": true + "optional": true, + "peer": true }, "node_modules/@types/json5": { "version": "0.0.29", @@ -2982,25 +2991,37 @@ } }, "node_modules/@vercel/speed-insights": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/@vercel/speed-insights/-/speed-insights-1.0.5.tgz", - "integrity": "sha512-UWU28pZ60NI6mp4nTkdZxR8fiB1zrMBUmaqC4rjXUKCgawlrfWZzI7SZq16FqiXeBrlfpACPziekS7MZBvu51w==", + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/@vercel/speed-insights/-/speed-insights-1.0.7.tgz", + "integrity": "sha512-1XYZO/OlrAco8QPoXXIOPoMrj0O+slB9k6poRo1drQJ+DWTbdUUT18Mtm4ybA8KMj4mGEMEgbw0BKR/yq/VPhA==", "hasInstallScript": true, - "optionalDependencies": { - "@sveltejs/kit": "^1", - "next": ">= 13", - "react": "^18 || ^19", - "svelte": "^4", - "vue": "^3", - "vue-router": "^4" - }, "peerDependencies": { - "@sveltejs/kit": "^1", + "@sveltejs/kit": "^1 || ^2", "next": ">= 13", "react": "^18 || ^19", "svelte": "^4", "vue": "^3", "vue-router": "^4" + }, + "peerDependenciesMeta": { + "@sveltejs/kit": { + "optional": true + }, + "next": { + "optional": true + }, + "react": { + "optional": true + }, + "svelte": { + "optional": true + }, + "vue": { + "optional": true + }, + "vue-router": { + "optional": true + } } }, "node_modules/@vue/compiler-core": { @@ -3008,6 +3029,7 @@ "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.4.15.tgz", "integrity": "sha512-XcJQVOaxTKCnth1vCxEChteGuwG6wqnUHxAm1DO3gCz0+uXKaJNx8/digSz4dLALCy8n2lKq24jSUs8segoqIw==", "optional": true, + "peer": true, "dependencies": { "@babel/parser": "^7.23.6", "@vue/shared": "3.4.15", @@ -3020,13 +3042,15 @@ "version": "2.0.2", "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz", "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==", - "optional": true + "optional": true, + "peer": true }, "node_modules/@vue/compiler-dom": { "version": "3.4.15", "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.4.15.tgz", "integrity": "sha512-wox0aasVV74zoXyblarOM3AZQz/Z+OunYcIHe1OsGclCHt8RsRm04DObjefaI82u6XDzv+qGWZ24tIsRAIi5MQ==", "optional": true, + "peer": true, "dependencies": { "@vue/compiler-core": "3.4.15", "@vue/shared": "3.4.15" @@ -3037,6 +3061,7 @@ "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.4.15.tgz", "integrity": "sha512-LCn5M6QpkpFsh3GQvs2mJUOAlBQcCco8D60Bcqmf3O3w5a+KWS5GvYbrrJBkgvL1BDnTp+e8q0lXCLgHhKguBA==", "optional": true, + "peer": true, "dependencies": { "@babel/parser": "^7.23.6", "@vue/compiler-core": "3.4.15", @@ -3053,13 +3078,15 @@ "version": "2.0.2", "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz", "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==", - "optional": true + "optional": true, + "peer": true }, "node_modules/@vue/compiler-ssr": { "version": "3.4.15", "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.4.15.tgz", "integrity": "sha512-1jdeQyiGznr8gjFDadVmOJqZiLNSsMa5ZgqavkPZ8O2wjHv0tVuAEsw5hTdUoUW4232vpBbL/wJhzVW/JwY1Uw==", "optional": true, + "peer": true, "dependencies": { "@vue/compiler-dom": "3.4.15", "@vue/shared": "3.4.15" @@ -3069,13 +3096,15 @@ "version": "6.5.1", "resolved": "https://registry.npmjs.org/@vue/devtools-api/-/devtools-api-6.5.1.tgz", "integrity": "sha512-+KpckaAQyfbvshdDW5xQylLni1asvNSGme1JFs8I1+/H5pHEhqUKMEQD/qn3Nx5+/nycBq11qAEi8lk+LXI2dA==", - "optional": true + "optional": true, + "peer": true }, "node_modules/@vue/reactivity": { "version": "3.4.15", "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.4.15.tgz", "integrity": "sha512-55yJh2bsff20K5O84MxSvXKPHHt17I2EomHznvFiJCAZpJTNW8IuLj1xZWMLELRhBK3kkFV/1ErZGHJfah7i7w==", "optional": true, + "peer": true, "dependencies": { "@vue/shared": "3.4.15" } @@ -3085,6 +3114,7 @@ "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.4.15.tgz", "integrity": "sha512-6E3by5m6v1AkW0McCeAyhHTw+3y17YCOKG0U0HDKDscV4Hs0kgNT5G+GCHak16jKgcCDHpI9xe5NKb8sdLCLdw==", "optional": true, + "peer": true, "dependencies": { "@vue/reactivity": "3.4.15", "@vue/shared": "3.4.15" @@ -3095,6 +3125,7 @@ "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.4.15.tgz", "integrity": "sha512-EVW8D6vfFVq3V/yDKNPBFkZKGMFSvZrUQmx196o/v2tHKdwWdiZjYUBS+0Ez3+ohRyF8Njwy/6FH5gYJ75liUw==", "optional": true, + "peer": true, "dependencies": { "@vue/runtime-core": "3.4.15", "@vue/shared": "3.4.15", @@ -3106,6 +3137,7 @@ "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.4.15.tgz", "integrity": "sha512-3HYzaidu9cHjrT+qGUuDhFYvF/j643bHC6uUN9BgM11DVy+pM6ATsG6uPBLnkwOgs7BpJABReLmpL3ZPAsUaqw==", "optional": true, + "peer": true, "dependencies": { "@vue/compiler-ssr": "3.4.15", "@vue/shared": "3.4.15" @@ -3118,7 +3150,8 @@ "version": "3.4.15", "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.4.15.tgz", "integrity": "sha512-KzfPTxVaWfB+eGcGdbSf4CWdaXcGDqckoeXUh7SB3fZdEtzPCK2Vq9B/lRRL3yutax/LWITz+SwvgyOxz5V75g==", - "optional": true + "optional": true, + "peer": true }, "node_modules/acorn": { "version": "8.11.3", @@ -3674,6 +3707,7 @@ "resolved": "https://registry.npmjs.org/code-red/-/code-red-1.0.4.tgz", "integrity": "sha512-7qJWqItLA8/VPVlKJlFXU+NBlo/qyfs39aJcuMT/2ere32ZqvF5OSxgdM5xOfJJ7O429gg2HM47y8v9P+9wrNw==", "optional": true, + "peer": true, "dependencies": { "@jridgewell/sourcemap-codec": "^1.4.15", "@types/estree": "^1.0.1", @@ -3764,6 +3798,7 @@ "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-2.3.1.tgz", "integrity": "sha512-6Fv1DV/TYw//QF5IzQdqsNDjx/wc8TrMBZsqjL9eW01tWb7R7k/mq+/VXfJCl7SoD5emsJop9cOByJZfs8hYIw==", "optional": true, + "peer": true, "dependencies": { "mdn-data": "2.0.30", "source-map-js": "^1.0.1" @@ -3887,7 +3922,8 @@ "version": "4.3.2", "resolved": "https://registry.npmjs.org/devalue/-/devalue-4.3.2.tgz", "integrity": "sha512-KqFl6pOgOW+Y6wJgu80rHpo2/3H07vr8ntR9rkkFIRETewbf5GaYYcakYfiKz89K+sLsuPkQIZaXDMjUObZwWg==", - "optional": true + "optional": true, + "peer": true }, "node_modules/didyoumean": { "version": "1.2.2", @@ -4496,7 +4532,8 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/esm-env/-/esm-env-1.0.0.tgz", "integrity": "sha512-Cf6VksWPsTuW01vU9Mk/3vRue91Zevka5SjyNf3nEpokFRuqt/KjUQoGAwq9qMmhpLTHmXzSIrFRw8zxWzmFBA==", - "optional": true + "optional": true, + "peer": true }, "node_modules/espree": { "version": "9.6.1", @@ -4553,6 +4590,7 @@ "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-3.0.3.tgz", "integrity": "sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==", "optional": true, + "peer": true, "dependencies": { "@types/estree": "^1.0.0" } @@ -4894,7 +4932,8 @@ "version": "0.1.0", "resolved": "https://registry.npmjs.org/globalyzer/-/globalyzer-0.1.0.tgz", "integrity": "sha512-40oNTM9UfG6aBmuKxk/giHn5nQ8RVz/SS4Ir6zgzOv9/qC3kKZ9v4etGTcJbEl/NyVQH7FGU7d+X1egr57Md2Q==", - "optional": true + "optional": true, + "peer": true }, "node_modules/globby": { "version": "11.1.0", @@ -4920,7 +4959,8 @@ "version": "0.1.2", "resolved": "https://registry.npmjs.org/globrex/-/globrex-0.1.2.tgz", "integrity": "sha512-uHJgbwAMwNFf5mLst7IWLNg14x1CkeqglJb/K3doi4dw6q2IvAAmM/Y81kevy83wP+Sst+nutFTYOGg3d1lsxg==", - "optional": true + "optional": true, + "peer": true }, "node_modules/goober": { "version": "2.1.13", @@ -5349,6 +5389,7 @@ "resolved": "https://registry.npmjs.org/is-reference/-/is-reference-3.0.2.tgz", "integrity": "sha512-v3rht/LgVcsdZa3O2Nqs+NMowLOxeOm7Ay9+/ARQ2F+qEoANRcqrjAZKGN0v8ymUetZGgkp26LTnGT7H0Qo9Pg==", "optional": true, + "peer": true, "dependencies": { "@types/estree": "*" } @@ -5623,6 +5664,7 @@ "resolved": "https://registry.npmjs.org/kleur/-/kleur-4.1.5.tgz", "integrity": "sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ==", "optional": true, + "peer": true, "engines": { "node": ">=6" } @@ -5688,7 +5730,8 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/locate-character/-/locate-character-3.0.0.tgz", "integrity": "sha512-SW13ws7BjaeJ6p7Q6CO2nchbYEc3X3J6WrmTTDto7yMPqVSZTUyY5Tjbid+Ab8gLnATtygYtiDIJGQRRn2ZOiA==", - "optional": true + "optional": true, + "peer": true }, "node_modules/locate-path": { "version": "6.0.0", @@ -5750,6 +5793,7 @@ "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.5.tgz", "integrity": "sha512-7xlpfBaQaP/T6Vh8MO/EqXSW5En6INHEvEXQiuff7Gku0PWjU3uf6w/j9o7O+SpB5fOAkrI5HeoNgwjEO0pFsA==", "optional": true, + "peer": true, "dependencies": { "@jridgewell/sourcemap-codec": "^1.4.15" }, @@ -5782,7 +5826,8 @@ "version": "2.0.30", "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.30.tgz", "integrity": "sha512-GaqWWShW4kv/G9IEucWScBx9G1/vsFZZJUO+tD26M8J8z3Kw5RDQjaoZe03YAClgeS/SWPOcb4nkFBTEi5DUEA==", - "optional": true + "optional": true, + "peer": true }, "node_modules/mdurl": { "version": "2.0.0", @@ -5843,6 +5888,7 @@ "resolved": "https://registry.npmjs.org/mri/-/mri-1.2.0.tgz", "integrity": "sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==", "optional": true, + "peer": true, "engines": { "node": ">=4" } @@ -5852,6 +5898,7 @@ "resolved": "https://registry.npmjs.org/mrmime/-/mrmime-1.0.1.tgz", "integrity": "sha512-hzzEagAgDyoU1Q6yg5uI+AorQgdvMCur3FcKf7NhMKWsaYg+RnbTyHRa/9IlLF9rf455MOCtcqqrQQ83pPP7Uw==", "optional": true, + "peer": true, "engines": { "node": ">=10" } @@ -6337,6 +6384,7 @@ "resolved": "https://registry.npmjs.org/periscopic/-/periscopic-3.1.0.tgz", "integrity": "sha512-vKiQ8RRtkl9P+r/+oefh25C3fhybptkHKCZSPlcXiJux2tJF55GnEj3BVn4A5gKfq9NWWXXrxkHBwVPUfH0opw==", "optional": true, + "peer": true, "dependencies": { "@types/estree": "^1.0.0", "estree-walker": "^3.0.0", @@ -7110,6 +7158,7 @@ "resolved": "https://registry.npmjs.org/sade/-/sade-1.8.1.tgz", "integrity": "sha512-xal3CZX1Xlo/k4ApwCFrHVACi9fBqJ7V+mwhBsuf/1IOKbBy098Fex+Wa/5QMubw09pSZ/u8EY8PWgevJsXp1A==", "optional": true, + "peer": true, "dependencies": { "mri": "^1.1.0" }, @@ -7183,7 +7232,8 @@ "version": "2.6.0", "resolved": "https://registry.npmjs.org/set-cookie-parser/-/set-cookie-parser-2.6.0.tgz", "integrity": "sha512-RVnVQxTXuerk653XfuliOxBP81Sf0+qfQE73LIYKcyMYHG94AuH0kgrQpRDuTZnSmjpysHmzxJXKNfa6PjFhyQ==", - "optional": true + "optional": true, + "peer": true }, "node_modules/set-function-length": { "version": "1.1.1", @@ -7310,6 +7360,7 @@ "resolved": "https://registry.npmjs.org/sirv/-/sirv-2.0.4.tgz", "integrity": "sha512-94Bdh3cC2PKrbgSOUqTiGPWVZeSiXfKOVZNJniWoqrWrRkB1CJzBU3NEbiTsPcYy1lDsANA/THzS+9WBiy5nfQ==", "optional": true, + "peer": true, "dependencies": { "@polka/url": "^1.0.0-next.24", "mrmime": "^2.0.0", @@ -7324,6 +7375,7 @@ "resolved": "https://registry.npmjs.org/mrmime/-/mrmime-2.0.0.tgz", "integrity": "sha512-eu38+hdgojoyq63s+yTpN4XMBdt5l8HhMhc4VKLO9KM5caLIBvUm4thi7fFaxyTmCKeNnXZ5pAlBwCUnhA09uw==", "optional": true, + "peer": true, "engines": { "node": ">=10" } @@ -7636,6 +7688,7 @@ "resolved": "https://registry.npmjs.org/svelte/-/svelte-4.2.9.tgz", "integrity": "sha512-hsoB/WZGEPFXeRRLPhPrbRz67PhP6sqYgvwcAs+gWdSQSvNDw+/lTeUJSWe5h2xC97Fz/8QxAOqItwBzNJPU8w==", "optional": true, + "peer": true, "dependencies": { "@ampproject/remapping": "^2.2.1", "@jridgewell/sourcemap-codec": "^1.4.15", @@ -7661,6 +7714,7 @@ "resolved": "https://registry.npmjs.org/svelte-hmr/-/svelte-hmr-0.15.3.tgz", "integrity": "sha512-41snaPswvSf8TJUhlkoJBekRrABDXDMdpNpT2tfHIv4JuhgvHqLMhEPGtaQn0BmbNSTkuz2Ed20DF2eHw0SmBQ==", "optional": true, + "peer": true, "engines": { "node": "^12.20 || ^14.13.1 || >= 16" }, @@ -7673,6 +7727,7 @@ "resolved": "https://registry.npmjs.org/axobject-query/-/axobject-query-4.0.0.tgz", "integrity": "sha512-+60uv1hiVFhHZeO+Lz0RYzsVHy5Wr1ayX0mwda9KPDVLNJgZ1T9Ny7VmFbLDzxsH0D87I86vgj3gFrjTJUYznw==", "optional": true, + "peer": true, "dependencies": { "dequal": "^2.0.3" } @@ -7797,6 +7852,7 @@ "resolved": "https://registry.npmjs.org/tiny-glob/-/tiny-glob-0.2.9.tgz", "integrity": "sha512-g/55ssRPUjShh+xkfx9UPDXqhckHEsHr4Vd9zX55oSdGZc/MD0m3sferOkwWtp98bv+kcVfEHtRJgBVJzelrzg==", "optional": true, + "peer": true, "dependencies": { "globalyzer": "0.1.0", "globrex": "^0.1.2" @@ -7849,6 +7905,7 @@ "resolved": "https://registry.npmjs.org/totalist/-/totalist-3.0.1.tgz", "integrity": "sha512-sf4i37nQ2LBx4m3wB74y+ubopq6W/dIzXg0FDGjsYnZHVa1Da8FH853wlL2gtUhg+xJXjfk3kUZS3BRoQeoQBQ==", "optional": true, + "peer": true, "engines": { "node": ">=6" } @@ -8030,6 +8087,7 @@ "resolved": "https://registry.npmjs.org/undici/-/undici-5.26.5.tgz", "integrity": "sha512-cSb4bPFd5qgR7qr2jYAi0hlX9n5YKK2ONKkLFkxl+v/9BvC0sOpZjBHDBSXc5lWAf5ty9oZdRXytBIHzgUcerw==", "optional": true, + "peer": true, "dependencies": { "@fastify/busboy": "^2.0.0" }, @@ -8224,6 +8282,7 @@ "resolved": "https://registry.npmjs.org/vitefu/-/vitefu-0.2.5.tgz", "integrity": "sha512-SgHtMLoqaeeGnd2evZ849ZbACbnwQCIwRH57t18FxcXoZop0uQu0uzlIhJBlF/eWVzuce0sHeqPcDo+evVcg8Q==", "optional": true, + "peer": true, "peerDependencies": { "vite": "^3.0.0 || ^4.0.0 || ^5.0.0" }, @@ -8238,6 +8297,7 @@ "resolved": "https://registry.npmjs.org/vue/-/vue-3.4.15.tgz", "integrity": "sha512-jC0GH4KkWLWJOEQjOpkqU1bQsBwf4R1rsFtw5GQJbjHVKWDzO6P0nWWBTmjp1xSemAioDFj1jdaK1qa3DnMQoQ==", "optional": true, + "peer": true, "dependencies": { "@vue/compiler-dom": "3.4.15", "@vue/compiler-sfc": "3.4.15", @@ -8259,6 +8319,7 @@ "resolved": "https://registry.npmjs.org/vue-router/-/vue-router-4.2.5.tgz", "integrity": "sha512-DIUpKcyg4+PTQKfFPX88UWhlagBEBEfJ5A8XDXRJLUnZOvcpMF8o/dnL90vpVkGaPbjvXazV/rC1qBKrZlFugw==", "optional": true, + "peer": true, "dependencies": { "@vue/devtools-api": "^6.5.0" }, diff --git a/package.json b/package.json index a3c5f0da..72f4a71a 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "lint": "next lint" }, "dependencies": { - "@atproto/api": "^0.8.0", + "@atproto/api": "^0.9.2", "@emoji-mart/data": "^1.1.2", "@emoji-mart/react": "^1.1.1", "@radix-ui/react-dialog": "^1.0.5", @@ -18,7 +18,7 @@ "@radix-ui/react-radio-group": "^1.1.3", "@radix-ui/react-switch": "^1.0.3", "@radix-ui/react-toggle-group": "^1.0.4", - "@tanstack/react-query": "^5.17.15", + "@tanstack/react-query": "^5.17.19", "@tiptap/extension-character-count": "^2.1.16", "@tiptap/extension-link": "^2.1.16", "@tiptap/extension-mention": "^2.1.16", @@ -28,7 +28,7 @@ "@tiptap/starter-kit": "^2.1.16", "@tiptap/suggestion": "^2.1.16", "@vercel/analytics": "^1.1.2", - "@vercel/speed-insights": "^1.0.5", + "@vercel/speed-insights": "^1.0.7", "browser-image-compression": "^2.0.2", "emoji-mart": "^5.5.2", "jwt-decode": "^4.0.0", diff --git a/src/app/(site)/about/page.tsx b/src/app/(site)/about/page.tsx index 344f8a07..5b8e337c 100644 --- a/src/app/(site)/about/page.tsx +++ b/src/app/(site)/about/page.tsx @@ -121,21 +121,10 @@ export default function Page() { Does Ouranos have extra features?

- The current goal is to implement all the functionalities provided by - the official app, and add more enhancements (some are currently - implemented) without storing anything on our side. + The current goal is to implement current and future functionalities + provided by the official app, and add more enhancements (some are + currently implemented) without storing anything on our side.

- -

- Will there be a mobile app? -

-

- Ouranos is designed to be responsive and works farily well on mobile. - At the moment, there are no plans to develop a native mobile app. - However, that may change after achieving the project's current goal - (see previous answer). -

-

Is there a dark mode?

diff --git a/src/components/contentDisplay/feedPost/FeedPost.tsx b/src/components/contentDisplay/feedPost/FeedPost.tsx index 8aa72262..8c1e1cf5 100644 --- a/src/components/contentDisplay/feedPost/FeedPost.tsx +++ b/src/components/contentDisplay/feedPost/FeedPost.tsx @@ -23,7 +23,7 @@ interface Props { } export default function FeedPost(props: Props) { - const { post, isReply, isParent, filter } = props; + const { post, isReply, isParent, filter } = props; const { author, indexedAt } = post.post; const { reason, reply } = post; const { isAdultContentHidden, adultContentFilters, contentFilters } = filter; diff --git a/src/components/contentDisplay/threadPost/ThreadPost.tsx b/src/components/contentDisplay/threadPost/ThreadPost.tsx index 99684cf1..bf55a303 100644 --- a/src/components/contentDisplay/threadPost/ThreadPost.tsx +++ b/src/components/contentDisplay/threadPost/ThreadPost.tsx @@ -21,7 +21,6 @@ interface Props { export default function ThreadPost(props: Props) { const { post, filter } = props; const { author, indexedAt, reply } = post; - const { isAdultContentHidden, adultContentFilters } = filter; const label = post.labels?.map((l) => l.val)[0] ?? ""; // ex. "nsfw", "suggestive" const embedLabel = @@ -51,7 +50,7 @@ export default function ThreadPost(props: Props) { if (!threadPostRef.current) return; // scroll to thread post threadPostRef.current.scrollIntoView(); - }); + }, []); return (