The minimalistic document archiving platform.
chore(dependencies): updated and cleaned some deps (#67)
Corentin THOMASSET912daeaea863
diff --git a/apps/docs/package.json b/apps/docs/package.jsonindex 9ac9e115..59af5a05 100644--- a/apps/docs/package.json+++ b/apps/docs/package.json@@ -13,8 +13,8 @@"typecheck": "tsc --noEmit"},"dependencies": {- "@astrojs/starlight": "^0.30.5",- "astro": "^5.0.2",+ "@astrojs/starlight": "^0.31.0",+ "astro": "^5.1.5","sharp": "^0.32.5","starlight-theme-rapide": "^0.3.0"},diff --git a/apps/papra-client/package.json b/apps/papra-client/package.jsonindex a1370fe5..e27feea7 100644--- a/apps/papra-client/package.json+++ b/apps/papra-client/package.json@@ -42,7 +42,6 @@"clsx": "^2.1.1","cmdk-solid": "^1.1.0","date-fns": "^4.1.0",- "jszip": "^3.10.1","lodash-es": "^4.17.21","ofetch": "^1.4.1","radix3": "^1.1.2",@@ -52,7 +51,6 @@"ts-pattern": "^5.5.0","unocss-preset-animations": "^1.1.0","unstorage": "^1.14.4",- "uqr": "^0.1.2","valibot": "1.0.0-beta.10"},"devDependencies": {diff --git a/apps/papra-server/src/modules/app/middlewares/assets.middleware.ts b/apps/papra-server/src/modules/app/middlewares/assets.middleware.tsindex bde37a53..a34090c2 100644--- a/apps/papra-server/src/modules/app/middlewares/assets.middleware.ts+++ b/apps/papra-server/src/modules/app/middlewares/assets.middleware.ts@@ -23,7 +23,7 @@ export function registerAssetsMiddleware({ app }: { app: ServerInstance }) {return serveStatic({root: './public',- index: 'unexisting-file', // Disable index.html fallback to let the next middleware handle it+ index: `unexisting-file-${Math.random().toString(36).substring(2, 15)}`, // Disable index.html fallback to let the next middleware handle it})(context, next);},)diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex d447ba9a..0818cd78 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -33,17 +33,17 @@ importers:apps/docs:dependencies:'@astrojs/starlight':- specifier: ^0.30.5- version: 0.30.5([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))+ specifier: ^0.31.0+ version: 0.31.0([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))astro:- specifier: ^5.0.2+ specifier: ^5.1.5version: 5.1.5(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])sharp:specifier: ^0.32.5version: 0.32.6starlight-theme-rapide:specifier: ^0.3.0- version: 0.3.0(@astrojs/[email protected]([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])))+ version: 0.3.0(@astrojs/[email protected]([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])))devDependencies:'@antfu/eslint-config':specifier: ^3.13.0@@ -108,9 +108,6 @@ importers:date-fns:specifier: ^4.1.0version: 4.1.0- jszip:- specifier: ^3.10.1- version: 3.10.1lodash-es:specifier: ^4.17.21version: 4.17.21@@ -138,9 +135,6 @@ importers:unstorage:specifier: ^1.14.4version: 1.14.4- uqr:- specifier: ^0.1.2- version: 0.1.2valibot:specifier: 1.0.0-beta.10version: 1.0.0-beta.10([email protected])@@ -341,10 +335,10 @@ packages:'@astrojs/[email protected]':resolution: {integrity: sha512-uxMfO8f7pALq0ADL6Lk68UV6dNYjJ2xGUzyjjVj60JLBs5a6smtlkBYv3tQ0DzoqwS7c9n4FUx5lgv0yPo/fgA==}- '@astrojs/[email protected]':- resolution: {integrity: sha512-enQISKa2K3DtFqU55PT8zskCT7180DJwOT9yFVh9MYT4csolvCBu2RVjQeXu7z+3hoLHvCcofN8FshCLA+iQQQ==}+ '@astrojs/[email protected]':+ resolution: {integrity: sha512-O70j7m42wp0EcX26Vsm8i37KSlcoHNFY6VLMbJKWKel6XRHS+IVG6AePcpBNS1I+FKkkcagTFJfy3X3n2dDo4Q==}peerDependencies:- astro: ^5.0.0+ astro: ^5.1.5'@astrojs/[email protected]':resolution: {integrity: sha512-wxhSKRfKugLwLlr4OFfcqovk+LIFtKwLyGPqMsv+9/ibqqnW3Gv7tBhtKEb0gAyUAC4G9BTVQeQahqnQAhd6IQ==}@@ -1423,17 +1417,17 @@ packages:resolution: {integrity: sha512-zSkKow6H5Kdm0ZUQUB2kV5JIXqoG0+uH5YADhaEHswm664N9Db8dXSi0nMJpacpMf+MyyglF1vnZohpEg5yUtg==}engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}- '@expressive-code/[email protected]':- resolution: {integrity: sha512-s0/OtdRpBONwcn23O8nVwDNQqpBGKscysejkeBkwlIeHRLZWgiTVrusT5Idrdz1d8cW5wRk9iGsAIQmwDPXgJg==}+ '@expressive-code/[email protected]':+ resolution: {integrity: sha512-vKRxKaDVhSozGPETcPOB7NF8sn1ICZoO/UfUWs/4o+XmDIOSX7cBQX8BVukenvSksdv5Aaf/teuGzjxX0a7Ibw==}- '@expressive-code/[email protected]':- resolution: {integrity: sha512-qL2oC6FplmHNQfZ8ZkTR64/wKo9x0c8uP2WDftR/ydwN/yhe1ed7ZWYb8r3dezxsls+tDokCnN4zYR594jbpvg==}+ '@expressive-code/[email protected]':+ resolution: {integrity: sha512-lIbGPFy29Oaf0zV9BNLH6wRPqINz69KUz7PHCUqT3/Mptgp942CzNynbuaZeNPU10quNV072EsOMim569NmSyA==}- '@expressive-code/[email protected]':- resolution: {integrity: sha512-kqHnglZeesqG3UKrb6e9Fq5W36AZ05Y9tCREmSN2lw8LVTqENIeCIkLDdWtQ5VoHlKqwUEQFTVlRehdwoY7Gmw==}+ '@expressive-code/[email protected]':+ resolution: {integrity: sha512-1sb7S/FL1Oqr+MX4Up/LLTFmmlLfd2NyQA+I5TL1PKHHZKptCohmuyekvnPUmMLMnDlm0u2iuR2qxBpjElhf5g==}- '@expressive-code/[email protected]':- resolution: {integrity: sha512-dPK3+BVGTbTmGQGU3Fkj3jZ3OltWUAlxetMHI6limUGCWBCucZiwoZeFM/WmqQa71GyKRzhBT+iEov6kkz2xVA==}+ '@expressive-code/[email protected]':+ resolution: {integrity: sha512-NvorTEKWHfSE8yg9aUJn6Kb2zUah8VxvCg4HwnHq62AMW8Yu1WwtjLgqCiLIA17EcWlWKsq5dfs4q0K/hVe0mQ==}'@floating-ui/[email protected]':resolution: {integrity: sha512-7XJ9cPU+yI2QeLS+FCSlqNFZJq8arvswefkZrYI1yQBbftw6FyrZOxYSh+9S7z7TpeWlRt9zJ5IhM1WIL334jA==}@@ -2663,8 +2657,8 @@ packages:resolution: {integrity: sha512-F6NW1RJo5pp2kPnnM97M5Ohw8zAGjv83MpxHqfAochH68n/kiXN57+hYaNUCA7XkScoVNr6yzvly3hsY34TGfQ==}engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}- resolution: {integrity: sha512-Tvdc7RV0G92BbtyEOsfJtXU35w41CkM94fOAzxbQP67Wj5jArfserJ321FO4XA7WG9QMV0GIBmQq77NBIRDzpQ==}+ resolution: {integrity: sha512-dsnUTXAOwiRLnIjqTcb4dhpsa7BDNImaXlkN0fFrJx2CumZe0tW+pgwTWqxv3haejo9KKih2j6UTMVRq1cTpig==}peerDependencies:astro: ^4.0.0-beta || ^5.0.0-beta || ^3.3.0@@ -2942,9 +2936,6 @@ packages:resolution: {integrity: sha512-VgEUx3VwlExr5no0tXlBt+silBvhTryPwCXRI2Id1PN8WTKu7MreethvddqOubrYxkFdv/RnYrqlv1sFNAUelw==}- resolution: {integrity: sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==}-resolution: {integrity: sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==}engines: {node: '>= 8'}@@ -3497,8 +3488,8 @@ packages:resolution: {integrity: sha512-bFi65yM+xZgk+u/KRIpekdSYkTB5W1pEf0Lt8Q8Msh7b+eQ7LXVtIB1Bkm4fvclDEL1b2CZkMhv2mOeF8tMdkA==}engines: {node: '>=12.0.0'}- resolution: {integrity: sha512-COM04AiUotHCKJgWdn7NtW2lqu8OW8owAidMpkXt1qxrZ9Q2iC7+tok/1qIn2ocGnczvr9paIySgGnEwFeEQ8Q==}+ resolution: {integrity: sha512-yBauWlZ6/G4S7WMfQdENbxpwr0qKHabu5w/uFLoTb3xvg2eo4ttk0aAy0IJTm/0+v12YaCG+Gt5Va0AEnTEXng==}resolution: {integrity: sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==}@@ -3795,9 +3786,6 @@ packages:resolution: {integrity: sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==}engines: {node: '>= 4'}- resolution: {integrity: sha512-XXOFtyqDjNDAQxVfYxuF7g9Il/IbWmmlQg2MYKOH8ExIT1qg6xc4zyS3HaEEATgs1btfzxq15ciUiY7gjSXRGQ==}-resolution: {integrity: sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==}engines: {node: '>=6'}@@ -3903,9 +3891,6 @@ packages:resolution: {integrity: sha512-UcVfVfaK4Sc4m7X3dUSoHoozQGBEFeDC+zVo06t98xe8CzHSZZBekNXH+tu0NalHolcJ/QAGqS46Hef7QXBIMw==}engines: {node: '>=16'}- resolution: {integrity: sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==}-resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==}@@ -3990,9 +3975,6 @@ packages:resolution: {integrity: sha512-HUgH65KyejrUFPvHFPbqOY0rsFip3Bo5wb4ngvdi1EpCYWUQDC5V+Y7mZws+DLkr4M//zQJoanu1SP+87Dv1oQ==}- resolution: {integrity: sha512-xXDvecyTpGLrqFrvkrUSoxxfJI5AH7U8zxxtVclpsUtMCq4JQ290LY8AW5c7Ggnr/Y/oK+bQMbqK2qmtk3pN4g==}-resolution: {integrity: sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==}@@ -4016,9 +3998,6 @@ packages:cpu: [x64, arm64, wasm32]os: [darwin, linux, win32]- resolution: {integrity: sha512-UaiMJzeWRlEujzAuw5LokY1L5ecNQYZKfmyZ9L7wDHb/p5etKaxXhohBcrw0EYby+G/NA52vRSN4N39dxHAIwQ==}-resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==}@@ -4457,9 +4436,6 @@ packages:resolution: {integrity: sha512-8KPLGT5g9s+olKMRTU9LFekLizkVIu9tes90O1/aigJ0T5LmyPqTzGJrETnSw3meSYg58YH7JTzhTTW/3z6VAw==}hasBin: true- resolution: {integrity: sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==}-resolution: {integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==}engines: {node: '>=6'}@@ -4592,9 +4568,6 @@ packages:resolution: {integrity: sha512-Kx/1w86q/epKcmte75LNrEoT+lX8pBpavuAbvJWRXar7Hz8jrtF+e3vY751p0R8H9HdArwaCTNDDzHg/ScJK1Q==}engines: {node: '>=6'}- resolution: {integrity: sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==}-resolution: {integrity: sha512-7nJ6v5lnJsXwGprnGXga4wx6d1POjvi5Qmf1ivTRxTjH4Z/9Czja/UCMLVmB9N93GeWOU93XaFaEt6jbuoagNw==}@@ -4640,9 +4613,6 @@ packages:resolution: {integrity: sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==}engines: {node: '>=8'}- resolution: {integrity: sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==}-resolution: {integrity: sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==}engines: {node: '>= 6'}@@ -4695,8 +4665,8 @@ packages:resolution: {integrity: sha512-qx+xQGZVsy55CH0a1hiVwHmqjLryfh7wQyF5HO07XJ9f7dQMY/gPQHhlyDkIzJKC+x2fUCpCcUODUUUFrm7SHA==}hasBin: true- resolution: {integrity: sha512-RYSSDkMBikoTbycZPkcWp6ELneANT4eTpND1DSRJ6nI2eVFUwTBDCvE2vO6jOOTaavwnPiydi4i/87NRyjpdOA==}+ resolution: {integrity: sha512-nxZYcFYD3ceqX0VkFIWwJ6gcWasJ+af50MoLqXOg08stgYhgvyWkjqaVCVBpZoBmAQDu9Jkl3xzqUcse8DUfaA==}resolution: {integrity: sha512-zvmVru9uB0josBVpr946OR8ui7nJEdzZobwLOOqHb/OOD88W0Vk2SqLwoVOj0fM6IPCCO6TaV9CvQvJMWwukFQ==}@@ -4824,9 +4794,6 @@ packages:resolution: {integrity: sha512-rqEO6FZk8mv7Hyv4UCj3FD3b6Waqft605TLfsCe/BiaylRpyyMC0b+uA5TJKawX3KzMrdi3wsLbCaLplrQmBvQ==}engines: {node: '>=10'}- resolution: {integrity: sha512-MATJdZp8sLqDl/68LfQmbP8zKPLQNV6BIZoIgrscFDQ+RsvK/BxeDQOgyxKKoh0y/8h3BqVFnCqQ/gd+reiIXA==}-resolution: {integrity: sha512-KyLTWwgcR9Oe4d9HwCwNM2l7+J0dUQwn/yf7S0EnTtb0eVS4RxO0eUSvxPtzT4F3SY+C4K6fqdv/DO27sJ/v/w==}engines: {node: '>=14.15.0'}@@ -5302,9 +5269,6 @@ packages:peerDependencies:browserslist: '>= 4.21.0'- resolution: {integrity: sha512-MJu7ypHq6QasgF5YRTjqscSzQp/W11zoUk6kvmlH+fmWEs63Y0Eib13hYFwAzagRJcVY8WVnlV+eBDUGMJ5IbA==}-resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==}@@ -5828,7 +5792,7 @@ snapshots:stream-replace-string: 2.0.0zod: 3.24.1- '@astrojs/[email protected]([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))':+ '@astrojs/[email protected]([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))':dependencies:'@astrojs/mdx': 4.0.5([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))'@astrojs/sitemap': 3.2.1@@ -5837,7 +5801,7 @@ snapshots:'@types/js-yaml': 4.0.9'@types/mdast': 4.0.4astro: 5.1.5(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])- astro-expressive-code: 0.38.3([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))+ astro-expressive-code: 0.40.0([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))bcp-47: 2.1.0hast-util-from-html: 2.0.3hast-util-select: 6.0.3@@ -6986,7 +6950,7 @@ snapshots:dependencies:levn: 0.4.1- '@expressive-code/[email protected]':+ '@expressive-code/[email protected]':dependencies:'@ctrl/tinycolor': 4.1.0hast-util-select: 6.0.3@@ -6998,18 +6962,18 @@ snapshots:unist-util-visit: 5.0.0unist-util-visit-parents: 6.0.1- '@expressive-code/[email protected]':+ '@expressive-code/[email protected]':dependencies:- '@expressive-code/core': 0.38.3+ '@expressive-code/core': 0.40.0- '@expressive-code/[email protected]':+ '@expressive-code/[email protected]':dependencies:- '@expressive-code/core': 0.38.3+ '@expressive-code/core': 0.40.0shiki: 1.26.1- '@expressive-code/[email protected]':+ '@expressive-code/[email protected]':dependencies:- '@expressive-code/core': 0.38.3+ '@expressive-code/core': 0.40.0'@floating-ui/[email protected]':dependencies:@@ -8497,10 +8461,10 @@ snapshots:- supports-color- typescript- [email protected]([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])):+ [email protected]([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])):dependencies:astro: 5.1.5(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])- rehype-expressive-code: 0.38.3+ rehype-expressive-code: 0.40.0[email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]):dependencies:@@ -8886,8 +8850,6 @@ snapshots:dependencies:browserslist: 4.24.3- [email protected]: {}-dependencies:path-key: 3.1.1@@ -9547,12 +9509,12 @@ snapshots:dependencies:- '@expressive-code/core': 0.38.3- '@expressive-code/plugin-frames': 0.38.3- '@expressive-code/plugin-shiki': 0.38.3- '@expressive-code/plugin-text-markers': 0.38.3+ '@expressive-code/core': 0.40.0+ '@expressive-code/plugin-frames': 0.40.0+ '@expressive-code/plugin-shiki': 0.40.0+ '@expressive-code/plugin-text-markers': 0.40.0@@ -9967,8 +9929,6 @@ snapshots:- [email protected]: {}-dependencies:parent-module: 1.0.1@@ -10055,8 +10015,6 @@ snapshots:dependencies:is-inside-container: 1.0.0- [email protected]: {}-@@ -10160,13 +10118,6 @@ snapshots:- dependencies:- lie: 3.3.0- pako: 1.0.11- readable-stream: 2.3.8- setimmediate: 1.0.5-dependencies:json-buffer: 3.0.1@@ -10195,10 +10146,6 @@ snapshots:'@libsql/linux-x64-musl': 0.4.7'@libsql/win32-x64-msvc': 0.4.7- dependencies:- immediate: 3.0.6-@@ -10917,8 +10864,6 @@ snapshots:'@pagefind/linux-x64': 1.3.0'@pagefind/windows-x64': 1.3.0- [email protected]: {}-dependencies:callsites: 3.1.0@@ -11056,8 +11001,6 @@ snapshots:- [email protected]: {}-@@ -11109,16 +11052,6 @@ snapshots:parse-json: 5.2.0type-fest: 0.6.0- dependencies:- core-util-is: 1.0.3- inherits: 2.0.4- isarray: 1.0.0- process-nextick-args: 2.0.1- safe-buffer: 5.1.2- string_decoder: 1.1.1- util-deprecate: 1.0.2-dependencies:inherits: 2.0.4@@ -11189,9 +11122,9 @@ snapshots:dependencies:jsesc: 0.5.0dependencies:- expressive-code: 0.38.3+ expressive-code: 0.40.0dependencies:@@ -11388,8 +11321,6 @@ snapshots:- [email protected]: {}-dependencies:color: 4.2.3@@ -11547,9 +11478,9 @@ snapshots:- [email protected](@astrojs/[email protected]([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))):+ [email protected](@astrojs/[email protected]([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))):dependencies:- '@astrojs/starlight': 0.30.5([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))+ '@astrojs/starlight': 0.31.0([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))@@ -11887,8 +11818,6 @@ snapshots:escalade: 3.2.0picocolors: 1.1.1- [email protected]: {}-dependencies:punycode: 2.3.1