Skip to content

armgit / memos

Public Imported from GitHub
0

Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.

chore: clean frontend dependencies

Stevendb0eff47437e
diff --git a/web/package.json b/web/package.json
index dcc3b28bf..b7169c7d9 100644
--- a/web/package.json
+++ b/web/package.json
@@ -12,7 +12,6 @@
"dependencies": {
"@emotion/react": "^11.11.1",
"@emotion/styled": "^11.11.0",
- "@matejmazur/react-katex": "^3.1.3",
"@mui/joy": "5.0.0-beta.13",
"@reduxjs/toolkit": "^1.9.7",
"axios": "^1.6.1",
@@ -21,7 +20,6 @@
"highlight.js": "^11.9.0",
"i18next": "^21.10.0",
"i18next-browser-languagedetector": "^7.1.0",
- "katex": "^0.16.9",
"lodash-es": "^4.17.21",
"long": "^5.2.3",
"lucide-react": "^0.263.1",
@@ -42,7 +40,6 @@
"devDependencies": {
"@bufbuild/buf": "^1.27.2",
"@trivago/prettier-plugin-sort-imports": "^3.4.0",
- "@types/katex": "^0.16.6",
"@types/lodash-es": "^4.17.11",
"@types/node": "^18.18.9",
"@types/qs": "^6.9.10",
@@ -61,7 +58,6 @@
"less": "^4.2.0",
"postcss": "^8.4.31",
"prettier": "2.6.2",
- "terser": "^5.24.0",
"typescript": "^5.2.2",
"vite": "^4.5.0"
}
diff --git a/web/pnpm-lock.yaml b/web/pnpm-lock.yaml
index 54e7ec743..bc727e6e8 100644
--- a/web/pnpm-lock.yaml
+++ b/web/pnpm-lock.yaml
@@ -11,9 +11,6 @@ dependencies:
'@emotion/styled':
specifier: ^11.11.0
version: 11.11.0(@emotion/[email protected])(@types/[email protected])([email protected])
- '@matejmazur/react-katex':
- specifier: ^3.1.3
'@mui/joy':
specifier: 5.0.0-beta.13
@@ -38,9 +35,6 @@ dependencies:
i18next-browser-languagedetector:
specifier: ^7.1.0
version: 7.1.0
- katex:
- specifier: ^0.16.9
- version: 0.16.9
lodash-es:
specifier: ^4.17.21
version: 4.17.21
@@ -97,9 +91,6 @@ devDependencies:
'@trivago/prettier-plugin-sort-imports':
specifier: ^3.4.0
version: 3.4.0([email protected])
- '@types/katex':
- specifier: ^0.16.6
- version: 0.16.6
'@types/lodash-es':
specifier: ^4.17.11
version: 4.17.11
@@ -154,15 +145,12 @@ devDependencies:
prettier:
specifier: 2.6.2
version: 2.6.2
- terser:
- specifier: ^5.24.0
- version: 5.24.0
typescript:
specifier: ^5.2.2
version: 5.2.2
vite:
specifier: ^4.5.0
+ version: 4.5.0(@types/[email protected])([email protected])
packages:
@@ -902,13 +890,6 @@ packages:
resolution: {integrity: sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==}
engines: {node: '>=6.0.0'}
- /@jridgewell/[email protected]:
- resolution: {integrity: sha512-UTYAUj/wviwdsMfzoSJspJxbkH5o1snzwX0//0ENX1u/55kkZZkcTZP6u9bwKGkv+dkk9at4m1Cpt0uY80kcpQ==}
- dependencies:
- '@jridgewell/gen-mapping': 0.3.3
- '@jridgewell/trace-mapping': 0.3.20
- dev: true
-
/@jridgewell/[email protected]:
resolution: {integrity: sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==}
@@ -918,17 +899,6 @@ packages:
'@jridgewell/resolve-uri': 3.1.1
'@jridgewell/sourcemap-codec': 1.4.15
- resolution: {integrity: sha512-rBp7mJ9An7ktNoU653BWOYdO4FoR4YNwofHZi+vaytX/nWbIlmHVIF+X8VFOn6c3WYmrLT5FFBjKqCZ1sjR5uQ==}
- engines: {node: '>=12', yarn: '>=1.1'}
- peerDependencies:
- katex: '>=0.9'
- react: '>=16'
- dependencies:
- katex: 0.16.9
- react: 18.2.0
- dev: false
-
resolution: {integrity: sha512-l4asGID5tmyerx9emJfXOKLyXzaBtdXNIFE3M+IrSZaFtGFvaQKHhc3+nxxSxPf1+G44psjczM0ekRQCdXx9HA==}
engines: {node: '>=12.0.0'}
@@ -1331,10 +1301,6 @@ packages:
resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==}
dev: true
- resolution: {integrity: sha512-rZYO1HInM99rAFYNwGqbYPxHZHxu2IwZYKj4bJ4oh6edVrm1UId8mmbHIZLBtG253qU6y3piag0XYe/joNnwzQ==}
- dev: true
-
resolution: {integrity: sha512-eCw8FYAWHt2DDl77s+AMLLzPn310LKohruumpucZI4oOFJkIgnlaJcy23OKMJxx4r9PeTF13Gv6w+jqjWQaYUg==}
dependencies:
@@ -1533,7 +1499,7 @@ packages:
vite: ^4
dependencies:
'@swc/core': 1.3.96
+ vite: 4.5.0(@types/[email protected])([email protected])
transitivePeerDependencies:
- '@swc/helpers'
dev: true
@@ -1806,10 +1772,6 @@ packages:
update-browserslist-db: 1.0.13([email protected])
dev: true
- resolution: {integrity: sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==}
- dev: true
-
resolution: {integrity: sha512-C3nQxfFZxFRVoJoGKKI8y3MOEo129NQ+FgQ08iye+Mk4zNZZGdjfs06bVTr+DBSlA66Q2VEcMki/cUCP4SercQ==}
dependencies:
@@ -1897,20 +1859,11 @@ packages:
delayed-stream: 1.0.0
dev: false
- resolution: {integrity: sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==}
- dev: true
-
resolution: {integrity: sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==}
engines: {node: '>= 6'}
dev: false
- resolution: {integrity: sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww==}
- engines: {node: '>= 12'}
- dev: false
-
resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==}
@@ -2998,13 +2951,6 @@ packages:
object.values: 1.1.7
dev: true
- resolution: {integrity: sha512-fsSYjWS0EEOwvy81j3vRA8TEAhQhKiqO+FQaKWp0m39qwOzHVBgAUBIXWj1pB+O2W3fIpNa6Y9KSKCVbfPhyAQ==}
- hasBin: true
- dependencies:
- commander: 8.3.0
- dev: false
-
resolution: {integrity: sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==}
dependencies:
@@ -3909,13 +3855,6 @@ packages:
resolution: {integrity: sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==}
engines: {node: '>=0.10.0'}
- resolution: {integrity: sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==}
- dependencies:
- buffer-from: 1.1.2
- source-map: 0.6.1
- dev: true
-
resolution: {integrity: sha512-MjZkVp0NHr5+TPihLcadqnlVoGIoWo4IBHptutGh9wI3ttUYvCG26HkSuDi+K6lsZ25syXJXcctwgyVCt//xqA==}
engines: {node: '>=0.10.0'}
@@ -4080,17 +4019,6 @@ packages:
- ts-node
dev: false
- resolution: {integrity: sha512-ZpGR4Hy3+wBEzVEnHvstMvqpD/nABNelQn/z2r0fjVWGQsN3bpOLzQlqDxmb4CDZnXq5lpjnQ+mHQLAOpfM5iw==}
- engines: {node: '>=10'}
- hasBin: true
- dependencies:
- '@jridgewell/source-map': 0.3.5
- acorn: 8.11.2
- commander: 2.20.3
- source-map-support: 0.5.21
- dev: true
-
resolution: {integrity: sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==}
dev: true
@@ -4257,7 +4185,7 @@ packages:
hasBin: true
dev: false
resolution: {integrity: sha512-ulr8rNLA6rkyFAlVWw2q5YJ91v098AFQ2R0PRFwPzREXOUJQPtFUG0t+/ZikhaOCDqFoDhN6/v8Sq0o4araFAw==}
engines: {node: ^14.18.0 || >=16.0.0}
hasBin: true
@@ -4290,7 +4218,6 @@ packages:
less: 4.2.0
postcss: 8.4.31
rollup: 3.29.4
- terser: 5.24.0
optionalDependencies:
fsevents: 2.3.3
dev: true