High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
fix(deps): update sharp to ^0.35.3 (#29132)
renovate[bot]bd2cbb751bd9
diff --git a/.github/workflows/test.yml b/.github/workflows/test.ymlindex cb3448e870..8a4ecceb14 100644--- a/.github/workflows/test.yml+++ b/.github/workflows/test.yml@@ -734,7 +734,7 @@ jobs:github_token: ${{ steps.token.outputs.token }}- name: Install server dependencies- run: SHARP_IGNORE_GLOBAL_LIBVIPS=true pnpm --filter immich install --frozen-lockfile+ run: pnpm --filter immich install --frozen-lockfile- name: Run API generationrun: mise //:open-apiworking-directory: open-api@@ -792,7 +792,7 @@ jobs:github_token: ${{ steps.token.outputs.token }}- name: Install server dependencies- run: SHARP_IGNORE_GLOBAL_LIBVIPS=true pnpm install --frozen-lockfile+ run: pnpm install --frozen-lockfile- name: Build pluginsrun: mise //:pluginsdiff --git a/e2e/package.json b/e2e/package.jsonindex 88183f89db..135e6c5f16 100644--- a/e2e/package.json+++ b/e2e/package.json@@ -48,7 +48,7 @@"pngjs": "^7.0.0","prettier": "^3.7.4","prettier-plugin-organize-imports": "^4.0.0",- "sharp": "^0.34.5",+ "sharp": "^0.35.3","socket.io-client": "^4.7.4","supertest": "^7.0.0","@typescript/native": "npm:typescript@^7.0.2",diff --git a/mise.toml b/mise.tomlindex 6114bfe1b8..3ff8c22035 100644--- a/mise.toml+++ b/mise.toml@@ -73,7 +73,6 @@ outputs = ["../mobile/generated/openapi/"]run = "bash ./bin/generate-dart-sdk.sh"[tasks.open-api]-env = { SHARP_IGNORE_GLOBAL_LIBVIPS = true }run = [{ task = "//:plugins" },{ task = "//server:install" },diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 919ee04b99..6d7cbe9c2a 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -7,7 +7,7 @@ settings:overrides:canvas: 3.2.3- sharp: ^0.34.5+ sharp: ^0.35.3packageExtensionsChecksum: sha256-W6pFzyf+6QXnV91iA6oob0OGVkergPXDN1afLgoF53k=@@ -181,8 +181,8 @@ importers:specifier: ^4.0.0version: 4.3.0(@typescript/[email protected])([email protected])sharp:- specifier: ^0.34.5- version: 0.34.5+ specifier: ^0.35.3+ version: 0.35.3(@types/[email protected])socket.io-client:specifier: ^4.7.4version: 4.8.3([email protected])@@ -614,8 +614,8 @@ importers:specifier: ^7.8.1version: 7.8.5sharp:- specifier: ^0.34.5- version: 0.34.5+ specifier: ^0.35.3+ version: 0.35.3(@types/[email protected])sirv:specifier: ^3.0.0version: 3.0.2@@ -944,7 +944,7 @@ importers:version: 3.0.10(@sveltejs/[email protected](@opentelemetry/[email protected])(@sveltejs/[email protected]([email protected](@typescript-eslint/[email protected]))([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])))(@typescript/[email protected])([email protected](@typescript-eslint/[email protected]))([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])))'@sveltejs/enhanced-img':specifier: ^0.11.0- version: 0.11.0(@sveltejs/[email protected]([email protected](@typescript-eslint/[email protected]))([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])))([email protected])([email protected](@typescript-eslint/[email protected]))([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))+ version: 0.11.0(@sveltejs/[email protected]([email protected](@typescript-eslint/[email protected]))([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])))(@types/[email protected])([email protected])([email protected](@typescript-eslint/[email protected]))([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))'@sveltejs/kit':specifier: ^2.56.1version: 2.70.2(@opentelemetry/[email protected])(@sveltejs/[email protected]([email protected](@typescript-eslint/[email protected]))([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])))(@typescript/[email protected])([email protected](@typescript-eslint/[email protected]))([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))@@ -2951,152 +2951,161 @@ packages:resolution: {integrity: sha512-Td76q7j57o/tLVdgS746cYARfSyxk8iEfRxewL9h4OMzYhbW4TAcppl0mT4eyqXddh6L/jwoM75mo7ixa/pCeQ==}engines: {node: '>=18'}- '@img/[email protected]':- resolution: {integrity: sha512-imtQ3WMJXbMY4fxb/Ndp6HBTNVtWCUI0WdobyheGf5+ad6xX8VIDO8u2xE4qc/fr08CKG/7dDseFtn6M6g/r3w==}- engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}+ '@img/[email protected]':+ resolution: {integrity: sha512-RMnFX7YQsMoh7lWfcM4NEHHymBX/rLuKNPVM84XE9ONPcaSCDgE7CHIHpSgPcO2xcRthgBy1HfNO319mwhIAkg==}+ engines: {node: '>=20.9.0'}cpu: [arm64]os: [darwin]- '@img/[email protected]':- resolution: {integrity: sha512-YNEFAF/4KQ/PeW0N+r+aVVsoIY0/qxxikF2SWdp+NRkmMB7y9LBZAVqQ4yhGCm/H3H270OSykqmQMKLBhBJDEw==}- engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}+ '@img/[email protected]':+ resolution: {integrity: sha512-Xo+5uFBtLN0BKqieTxiFzFPQAUlBbbH5iBKyRX/z1JrbnYsHTfKJnUfL8+p2TPXr1pXqao4eeL4Rl144uDpK9w==}+ engines: {node: '>=20.9.0'}cpu: [x64]os: [darwin]- '@img/[email protected]':- resolution: {integrity: sha512-zqjjo7RatFfFoP0MkQ51jfuFZBnVE2pRiaydKJ1G/rHZvnsrHAOcQALIi9sA5co5xenQdTugCvtb1cuf78Vf4g==}+ '@img/[email protected]':+ resolution: {integrity: sha512-lUxcqWIj2wMQ9BrwNjngcr1gWUr5xgaGThBRqPPalIC2n67Cqj1uPh8NnA/ZhAg8hUbKl+kVHKwgUIwe6ZYPrg==}+ engines: {node: '>=20.9.0'}+ os: [freebsd]++ '@img/[email protected]':+ resolution: {integrity: sha512-9J6ypZFpQBj4YnePGoq/S38w6nz+vqg5WZLrLGY4YuSemdMq47GMLBPO42MzwdGwpg/agZ7xzZcFHa48xlywfg==}cpu: [arm64]os: [darwin]- '@img/[email protected]':- resolution: {integrity: sha512-1IOd5xfVhlGwX+zXv2N93k0yMONvUlANylbJw1eTah8K/Jtpi15KC+WSiaX/nBmbm2HxRM1gZ0nSdjSsrZbGKg==}+ '@img/[email protected]':+ resolution: {integrity: sha512-m2pW1n6cns9VaubNwsZ+c3CRYjxNQWgJ5gPlnL1nbBcpkBvFm6SCFN5o0psFHI8w9n11NKhFkeEDns98tiqbEw==}cpu: [x64]os: [darwin]- '@img/[email protected]':- resolution: {integrity: sha512-excjX8DfsIcJ10x1Kzr4RcWe1edC9PquDRRPx3YVCvQv+U5p7Yin2s32ftzikXojb1PIFc/9Mt28/y+iRklkrw==}+ '@img/[email protected]':+ resolution: {integrity: sha512-dqVSFynCox4C/J8kT16V7SIFAns0IjgLwkvYT7p8LQVmJ5OS5b6tI9IGflxTeuBS//zXeFIUbwt5dwxyZ17cnA==}cpu: [arm64]os: [linux]libc: [glibc]- '@img/[email protected]':- resolution: {integrity: sha512-bFI7xcKFELdiNCVov8e44Ia4u2byA+l3XtsAj+Q8tfCwO6BQ8iDojYdvoPMqsKDkuoOo+X6HZA0s0q11ANMQ8A==}+ '@img/[email protected]':+ resolution: {integrity: sha512-1eMLzy92I4J6rmi4mAT8yC3HxOtniyGELlzGbNMLLeqe052ahFQ0h6LFq+lh5DsDIdYViIDst08abvSbcEdLXQ==}cpu: [arm]os: [linux]libc: [glibc]- '@img/[email protected]':- resolution: {integrity: sha512-FMuvGijLDYG6lW+b/UvyilUWu5Ayu+3r2d1S8notiGCIyYU/76eig1UfMmkZ7vwgOrzKzlQbFSuQfgm7GYUPpA==}+ '@img/[email protected]':+ resolution: {integrity: sha512-3z0NHDxD6n5I9gc05U1eW1AyRm+Gznzq3naMrthPNqE6oYykcogW0l/jfpJdjYnuNl8R7yI9pNbE1XiUeyq0Aw==}cpu: [ppc64]os: [linux]libc: [glibc]- '@img/[email protected]':- resolution: {integrity: sha512-oVDbcR4zUC0ce82teubSm+x6ETixtKZBh/qbREIOcI3cULzDyb18Sr/Wcyx7NRQeQzOiHTNbZFF1UwPS2scyGA==}+ '@img/[email protected]':+ resolution: {integrity: sha512-bsb4rI+NldGOsXuej2r8OdSS8+zXDVaCWxyWrcv6kneTOlgAHtZABRzBBCwdsPiD90J4myNJuHpg6kA20ImW/w==}cpu: [riscv64]os: [linux]libc: [glibc]- '@img/[email protected]':- resolution: {integrity: sha512-qmp9VrzgPgMoGZyPvrQHqk02uyjA0/QrTO26Tqk6l4ZV0MPWIW6LTkqOIov+J1yEu7MbFQaDpwdwJKhbJvuRxQ==}+ '@img/[email protected]':+ resolution: {integrity: sha512-/ABshyj8gCpyIrNXnHn4LorDJ0HHm1VhXPBlxZ8zAtfVPAaSafXPGn+sUSIRiwaSBy0mmFjSjiXI5mkcwdChKQ==}cpu: [s390x]os: [linux]libc: [glibc]- '@img/[email protected]':- resolution: {integrity: sha512-tJxiiLsmHc9Ax1bz3oaOYBURTXGIRDODBqhveVHonrHJ9/+k89qbLl0bcJns+e4t4rvaNBxaEZsFtSfAdquPrw==}+ '@img/[email protected]':+ resolution: {integrity: sha512-ITPEtgffGJ0S6G9dRyw/366tJQqFRcHWPHhC+Stpg3Z8AEMrDrTr2lhdz4f/Y/HMbRh//7Z5mBzEpVdi62Oc3w==}cpu: [x64]os: [linux]libc: [glibc]- '@img/[email protected]':- resolution: {integrity: sha512-FVQHuwx1IIuNow9QAbYUzJ+En8KcVm9Lk5+uGUQJHaZmMECZmOlix9HnH7n1TRkXMS0pGxIJokIVB9SuqZGGXw==}+ '@img/[email protected]':+ resolution: {integrity: sha512-zE9EdiUzUmg5mDT5a1rk5fYJ6GWPloTwWBYDS14naqHsL+EaMpDj1AWnpLgh3u0YCORv2Tt50wrcrpYqkP97Kw==}cpu: [arm64]os: [linux]libc: [musl]- '@img/[email protected]':- resolution: {integrity: sha512-+LpyBk7L44ZIXwz/VYfglaX/okxezESc6UxDSoyo2Ks6Jxc4Y7sGjpgU9s4PMgqgjj1gZCylTieNamqA1MF7Dg==}+ '@img/[email protected]':+ resolution: {integrity: sha512-m0lrLiUt+lBYnCFr8qV/65yMR4E/c7/wf78I5eKTdkEakFAlZ9QlzEM3QIhhAwVeUhLAHLcCq7a7Vszq/oFNZQ==}cpu: [x64]os: [linux]libc: [musl]- '@img/[email protected]':- resolution: {integrity: sha512-bKQzaJRY/bkPOXyKx5EVup7qkaojECG6NLYswgktOZjaXecSAeCWiZwwiFf3/Y+O1HrauiE3FVsGxFg8c24rZg==}- engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}+ '@img/[email protected]':+ resolution: {integrity: sha512-QgKDspHPnrU+GQ55XPhGwyhC8acLVOOSyAvo1oVfFmrIXLkDNmGWzAfDZ4xK8oSA1qBQrALcHX0G5UZni/SuFQ==}+ engines: {node: '>=20.9.0'}cpu: [arm64]os: [linux]libc: [glibc]- '@img/[email protected]':- resolution: {integrity: sha512-9dLqsvwtg1uuXBGZKsxem9595+ujv0sJ6Vi8wcTANSFpwV/GONat5eCkzQo/1O6zRIkh0m/8+5BjrRr7jDUSZw==}- engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}+ '@img/[email protected]':+ resolution: {integrity: sha512-affVWCTLooy8TSxbDx2qkzuDeaWLNVBA+P//FNBirHsXpP2fuBhk5AuboYUnrDnzoXes8GFjpTx0SBFOCRg+FA==}+ engines: {node: '>=20.9.0'}cpu: [arm]os: [linux]libc: [glibc]- '@img/[email protected]':- resolution: {integrity: sha512-7zznwNaqW6YtsfrGGDA6BRkISKAAE1Jo0QdpNYXNMHu2+0dTrPflTLNkpc8l7MUP5M16ZJcUvysVWWrMefZquA==}- engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}+ '@img/[email protected]':+ resolution: {integrity: sha512-sMd8rDxmpLOwv/7N44klFjOD5DUO7FLdjiXDI0hoxYaf7Ar262dQIEkosE98bps+5HPLtp/EvNqeqQtOycP/IA==}+ engines: {node: '>=20.9.0'}cpu: [ppc64]os: [linux]libc: [glibc]- '@img/[email protected]':- resolution: {integrity: sha512-51gJuLPTKa7piYPaVs8GmByo7/U7/7TZOq+cnXJIHZKavIRHAP77e3N2HEl3dgiqdD/w0yUfiJnII77PuDDFdw==}- engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}+ '@img/[email protected]':+ resolution: {integrity: sha512-0Eob78yjlYPfL5vMNWAW55l3R9Y6BQS/gOfe0ZcP9mEz9ohhKSt4im1hayiknXgf8AWrFqMvJcKIdmLmEe7yeQ==}+ engines: {node: '>=20.9.0'}cpu: [riscv64]os: [linux]libc: [glibc]- '@img/[email protected]':- resolution: {integrity: sha512-nQtCk0PdKfho3eC5MrbQoigJ2gd1CgddUMkabUj+rBevs8tZ2cULOx46E7oyX+04WGfABgIwmMC0VqieTiR4jg==}- engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}+ '@img/[email protected]':+ resolution: {integrity: sha512-KgAxQ0DxpNOq1rG2t5cgTgShJFGSuU7XO45cqC+1NVOuZnP6tlgZRuSYOfNupGkHID0o3cJOsw4DVeJpMovcGw==}+ engines: {node: '>=20.9.0'}cpu: [s390x]os: [linux]libc: [glibc]- '@img/[email protected]':- resolution: {integrity: sha512-MEzd8HPKxVxVenwAa+JRPwEC7QFjoPWuS5NZnBt6B3pu7EG2Ge0id1oLHZpPJdn3OQK+BQDiw9zStiHBTJQQQQ==}- engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}+ '@img/[email protected]':+ resolution: {integrity: sha512-8pqvxubL2PGdhlPy6GLqzDYMUjyRmKAwKHYKixpdJYBUK7PJ0C029XdsnpFIdgRZG68fZiGdHVWcKPvtiPB4cA==}+ engines: {node: '>=20.9.0'}cpu: [x64]os: [linux]libc: [glibc]- '@img/[email protected]':- resolution: {integrity: sha512-fprJR6GtRsMt6Kyfq44IsChVZeGN97gTD331weR1ex1c1rypDEABN6Tm2xa1wE6lYb5DdEnk03NZPqA7Id21yg==}- engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}+ '@img/[email protected]':+ resolution: {integrity: sha512-Vz0iQjzzcSX3HCbfwFfCSG/9SCIqyO0mH2sXyiHaAYfBk0cRsCWXRyQYX0ovCK/PAQBbTzQ0dsPQHh5MAFL59w==}+ engines: {node: '>=20.9.0'}cpu: [arm64]os: [linux]libc: [musl]- '@img/[email protected]':- resolution: {integrity: sha512-Jg8wNT1MUzIvhBFxViqrEhWDGzqymo3sV7z7ZsaWbZNDLXRJZoRGrjulp60YYtV4wfY8VIKcWidjojlLcWrd8Q==}- engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}+ '@img/[email protected]':+ resolution: {integrity: sha512-6O1NPKcDVj9QEdg7Hx549EX8U0rp6yXQERqru6yRN7fGBn32UvIRJUlWnk+8xDCiG76hXVBbX82NZ/ZKr0euIg==}+ engines: {node: '>=20.9.0'}cpu: [x64]os: [linux]libc: [musl]- '@img/[email protected]':- resolution: {integrity: sha512-OdWTEiVkY2PHwqkbBI8frFxQQFekHaSSkUIJkwzclWZe64O1X4UlUjqqqLaPbUpMOQk6FBu/HtlGXNblIs0huw==}- engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}+ '@img/[email protected]':+ resolution: {integrity: sha512-cZ0XkcYGpHZkqW6iCkqTcmUC0CD9DhD5d/qeZlZkfRBn6GnHniZXLUo5+9xw8Iv76YE6LQFN9YNBlKREcCG76w==}+ engines: {node: '>=20.9.0'}++ '@img/[email protected]':+ resolution: {integrity: sha512-2rnq7bX3NzeR2T4YWgz8qiG4h3TSdMe+vN1iQXpJleSJ3SM5zQ8Fy2SyyXAWlbxpEZ2Y+Z4u1BePgJEYbSy80Q==}+ engines: {node: '>=20.9.0'}cpu: [wasm32]- '@img/[email protected]':- resolution: {integrity: sha512-WQ3AgWCWYSb2yt+IG8mnC6Jdk9Whs7O0gxphblsLvdhSpSTtmu69ZG1Gkb6NuvxsNACwiPV6cNSZNzt0KPsw7g==}- engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}+ '@img/[email protected]':+ resolution: {integrity: sha512-4bPwFdMbeC4JQ8L8LOyWp6nsHcboP5fxkp6iPOXz2Vg49R42TuMs2whkJ5OAP4/Ul035qOzy0AecOF9VOscn4w==}+ engines: {node: '>=20.9.0'}cpu: [arm64]os: [win32]- '@img/[email protected]':- resolution: {integrity: sha512-FV9m/7NmeCmSHDD5j4+4pNI8Cp3aW+JvLoXcTUo0IqyjSfAZJ8dIUmijx1qaJsIiU+Hosw6xM5KijAWRJCSgNg==}- engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}+ '@img/[email protected]':+ resolution: {integrity: sha512-r53mXsBN6lFUDiST764SvgwUdHAqM4rPAiDzAmf4fLoB6X/rkfyTrLCg6+g17wJJiCmB3JYgHuUldCWUIRFSXw==}+ engines: {node: ^20.9.0}cpu: [ia32]os: [win32]- '@img/[email protected]':- resolution: {integrity: sha512-+29YMsqY2/9eFEiW93eqWnuLcWcufowXewwSNIT6UwZdUUCrM3oFjMWH/Z6/TMmb4hlFenmfAVbpWeup2jryCw==}- engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}+ '@img/[email protected]':+ resolution: {integrity: sha512-D4y1vNeZrIIJCN+uHaWVtH86B+aCrdMYYjicy9pXHvbGZeGYLLSd3wdVuC37FxVXlU1ARsk84eKWfWMXGYEqvA==}+ engines: {node: '>=20.9.0'}cpu: [x64]os: [win32]@@ -11443,9 +11452,14 @@ packages:resolution: {integrity: sha512-rLGSWeK2ufzCVx05wYd+xrWnOOdSV7xNUW5/XFgx3Bc02hBkpMlrd2F1dDII7/jhWzv0MSyBFh5uJIy9hLdfuw==}hasBin: true- resolution: {integrity: sha512-Ou9I5Ft9WNcCbXrU9cMgPBcCK8LiwLqcbywW3t4oDV37n1pzpuNLsYiAV8eODnjbtQlSDwZ2cUEeQz4E54Hltg==}- engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}+ resolution: {integrity: sha512-ej0zVHuZGHCiABXcNxeYhpRnPNPAcvbG8RMdBAhDAxLKkCRVSpK3Iyu7qbqw3JMzoj0REeM6f3tJLtVwl0023Q==}+ engines: {node: '>=20.9.0'}+ peerDependencies:+ '@types/node': '*'+ peerDependenciesMeta:+ '@types/node':+ optional: trueresolution: {integrity: sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==}@@ -15781,98 +15795,108 @@ snapshots:'@img/[email protected]': {}- '@img/[email protected]':+ '@img/[email protected]':optionalDependencies:- '@img/sharp-libvips-darwin-arm64': 1.2.4+ '@img/sharp-libvips-darwin-arm64': 1.3.2optional: true- '@img/[email protected]':+ '@img/[email protected]':optionalDependencies:- '@img/sharp-libvips-darwin-x64': 1.2.4+ '@img/sharp-libvips-darwin-x64': 1.3.2+ optional: true++ '@img/[email protected]':+ dependencies:+ '@img/sharp-wasm32': 0.35.3optional: true- '@img/[email protected]':+ '@img/[email protected]':optional: true- '@img/[email protected]':+ '@img/[email protected]':optional: true- '@img/[email protected]':+ '@img/[email protected]':optional: true- '@img/[email protected]':+ '@img/[email protected]':optional: true- '@img/[email protected]':+ '@img/[email protected]':optional: true- '@img/[email protected]':+ '@img/[email protected]':optional: true- '@img/[email protected]':+ '@img/[email protected]':optional: true- '@img/[email protected]':+ '@img/[email protected]':optional: true- '@img/[email protected]':+ '@img/[email protected]':optional: true- '@img/[email protected]':+ '@img/[email protected]':optional: true- '@img/[email protected]':+ '@img/[email protected]':optionalDependencies:- '@img/sharp-libvips-linux-arm64': 1.2.4+ '@img/sharp-libvips-linux-arm64': 1.3.2optional: true- '@img/[email protected]':+ '@img/[email protected]':optionalDependencies:- '@img/sharp-libvips-linux-arm': 1.2.4+ '@img/sharp-libvips-linux-arm': 1.3.2optional: true- '@img/[email protected]':+ '@img/[email protected]':optionalDependencies:- '@img/sharp-libvips-linux-ppc64': 1.2.4+ '@img/sharp-libvips-linux-ppc64': 1.3.2optional: true- '@img/[email protected]':+ '@img/[email protected]':optionalDependencies:- '@img/sharp-libvips-linux-riscv64': 1.2.4+ '@img/sharp-libvips-linux-riscv64': 1.3.2optional: true- '@img/[email protected]':+ '@img/[email protected]':optionalDependencies:- '@img/sharp-libvips-linux-s390x': 1.2.4+ '@img/sharp-libvips-linux-s390x': 1.3.2optional: true- '@img/[email protected]':+ '@img/[email protected]':optionalDependencies:- '@img/sharp-libvips-linux-x64': 1.2.4+ '@img/sharp-libvips-linux-x64': 1.3.2optional: true- '@img/[email protected]':+ '@img/[email protected]':optionalDependencies:- '@img/sharp-libvips-linuxmusl-arm64': 1.2.4+ '@img/sharp-libvips-linuxmusl-arm64': 1.3.2optional: true- '@img/[email protected]':+ '@img/[email protected]':optionalDependencies:- '@img/sharp-libvips-linuxmusl-x64': 1.2.4+ '@img/sharp-libvips-linuxmusl-x64': 1.3.2optional: true- '@img/[email protected]':+ '@img/[email protected]':dependencies:'@emnapi/runtime': 1.11.1optional: true- '@img/[email protected]':+ '@img/[email protected]':+ dependencies:+ '@img/sharp-wasm32': 0.35.3+ optional: true++ '@img/[email protected]':optional: true- '@img/[email protected]':+ '@img/[email protected]':optional: true- '@img/[email protected]':+ '@img/[email protected]':optional: true'@immich/[email protected]': {}@@ -17433,17 +17457,18 @@ snapshots:dependencies:'@sveltejs/kit': 2.70.2(@opentelemetry/[email protected])(@sveltejs/[email protected]([email protected](@typescript-eslint/[email protected]))([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])))(@typescript/[email protected])([email protected](@typescript-eslint/[email protected]))([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))- '@sveltejs/[email protected](@sveltejs/[email protected]([email protected](@typescript-eslint/[email protected]))([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])))([email protected])([email protected](@typescript-eslint/[email protected]))([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))':+ '@sveltejs/[email protected](@sveltejs/[email protected]([email protected](@typescript-eslint/[email protected]))([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])))(@types/[email protected])([email protected])([email protected](@typescript-eslint/[email protected]))([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))':dependencies:'@sveltejs/vite-plugin-svelte': 7.3.0([email protected](@typescript-eslint/[email protected]))([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))magic-string: 0.30.21- sharp: 0.34.5+ sharp: 0.35.3(@types/[email protected])svelte: 5.56.9(@typescript-eslint/[email protected])svelte-parse-markup: 0.1.5([email protected](@typescript-eslint/[email protected]))vite: 8.2.1(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])- vite-imagetools: 9.0.3([email protected])+ vite-imagetools: 9.0.3(@types/[email protected])([email protected])zimmerframe: 1.1.4transitivePeerDependencies:+ - '@types/node'- rollup'@sveltejs/[email protected](@opentelemetry/[email protected])(@sveltejs/[email protected]([email protected](@typescript-eslint/[email protected]))([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])))(@typescript/[email protected])([email protected](@typescript-eslint/[email protected]))([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))':@@ -25200,7 +25225,7 @@ snapshots:stream-source: 0.3.5text-encoding: 0.6.4+ [email protected](@types/[email protected]):dependencies:'@img/colour': 1.1.0detect-libc: 2.1.2@@ -25208,30 +25233,32 @@ snapshots:node-gyp: 13.0.0semver: 7.8.5optionalDependencies:- '@img/sharp-darwin-arm64': 0.34.5- '@img/sharp-darwin-x64': 0.34.5- '@img/sharp-libvips-darwin-arm64': 1.2.4- '@img/sharp-libvips-darwin-x64': 1.2.4- '@img/sharp-libvips-linux-arm': 1.2.4- '@img/sharp-libvips-linux-arm64': 1.2.4- '@img/sharp-libvips-linux-ppc64': 1.2.4- '@img/sharp-libvips-linux-riscv64': 1.2.4- '@img/sharp-libvips-linux-s390x': 1.2.4- '@img/sharp-libvips-linux-x64': 1.2.4- '@img/sharp-libvips-linuxmusl-arm64': 1.2.4- '@img/sharp-libvips-linuxmusl-x64': 1.2.4- '@img/sharp-linux-arm': 0.34.5- '@img/sharp-linux-arm64': 0.34.5- '@img/sharp-linux-ppc64': 0.34.5- '@img/sharp-linux-riscv64': 0.34.5- '@img/sharp-linux-s390x': 0.34.5- '@img/sharp-linux-x64': 0.34.5- '@img/sharp-linuxmusl-arm64': 0.34.5- '@img/sharp-linuxmusl-x64': 0.34.5- '@img/sharp-wasm32': 0.34.5- '@img/sharp-win32-arm64': 0.34.5- '@img/sharp-win32-ia32': 0.34.5- '@img/sharp-win32-x64': 0.34.5+ '@img/sharp-darwin-arm64': 0.35.3+ '@img/sharp-darwin-x64': 0.35.3+ '@img/sharp-freebsd-wasm32': 0.35.3+ '@img/sharp-libvips-darwin-arm64': 1.3.2+ '@img/sharp-libvips-darwin-x64': 1.3.2+ '@img/sharp-libvips-linux-arm': 1.3.2+ '@img/sharp-libvips-linux-arm64': 1.3.2+ '@img/sharp-libvips-linux-ppc64': 1.3.2+ '@img/sharp-libvips-linux-riscv64': 1.3.2+ '@img/sharp-libvips-linux-s390x': 1.3.2+ '@img/sharp-libvips-linux-x64': 1.3.2+ '@img/sharp-libvips-linuxmusl-arm64': 1.3.2+ '@img/sharp-libvips-linuxmusl-x64': 1.3.2+ '@img/sharp-linux-arm': 0.35.3+ '@img/sharp-linux-arm64': 0.35.3+ '@img/sharp-linux-ppc64': 0.35.3+ '@img/sharp-linux-riscv64': 0.35.3+ '@img/sharp-linux-s390x': 0.35.3+ '@img/sharp-linux-x64': 0.35.3+ '@img/sharp-linuxmusl-arm64': 0.35.3+ '@img/sharp-linuxmusl-x64': 0.35.3+ '@img/sharp-webcontainers-wasm32': 0.35.3+ '@img/sharp-win32-arm64': 0.35.3+ '@img/sharp-win32-ia32': 0.35.3+ '@img/sharp-win32-x64': 0.35.3+ '@types/node': 24.13.3dependencies:@@ -26460,12 +26487,13 @@ snapshots:'@types/unist': 3.0.3vfile-message: 4.0.3dependencies:'@rollup/pluginutils': 5.4.0([email protected])imagetools-core: 9.1.0- sharp: 0.34.5+ sharp: 0.35.3(@types/[email protected])transitivePeerDependencies:+ - '@types/node'- rollup[email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected]):diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yamlindex 884a4b5b7f..71a80eb969 100644--- a/pnpm-workspace.yaml+++ b/pnpm-workspace.yaml@@ -29,7 +29,7 @@ allowBuilds:postman-code-generators: falseoverrides:canvas: 3.2.3- sharp: ^0.34.5+ sharp: ^0.35.3packageExtensions:nestjs-kysely:dependencies:diff --git a/server/Dockerfile b/server/Dockerfileindex d5c2939630..5d604f6d23 100644--- a/server/Dockerfile+++ b/server/Dockerfile@@ -20,8 +20,9 @@ RUN --mount=type=cache,id=pnpm-server,target=/buildcache/pnpm-store \--mount=type=bind,source=.pnpmfile.cjs,target=.pnpmfile.cjs \--mount=type=bind,source=pnpm-lock.yaml,target=pnpm-lock.yaml \--mount=type=bind,source=pnpm-workspace.yaml,target=pnpm-workspace.yaml \- SHARP_IGNORE_GLOBAL_LIBVIPS=true pnpm --filter @immich/sdk --filter @immich/plugin-sdk --filter immich build && \- SHARP_FORCE_GLOBAL_LIBVIPS=true pnpm --filter immich --prod --no-optional deploy /output/server-pruned+ pnpm --filter @immich/sdk --filter @immich/plugin-sdk --filter immich build && \+ pnpm --filter immich --prod --no-optional deploy /output/server-pruned && \+ SHARP_FORCE_GLOBAL_LIBVIPS=true pnpm --dir /output/server-pruned/node_modules/sharp exec npm run buildFROM builder AS web@@ -37,7 +38,7 @@ RUN --mount=type=cache,id=pnpm-web,target=/buildcache/pnpm-store \--mount=type=bind,source=.pnpmfile.cjs,target=.pnpmfile.cjs \--mount=type=bind,source=pnpm-lock.yaml,target=pnpm-lock.yaml \--mount=type=bind,source=pnpm-workspace.yaml,target=pnpm-workspace.yaml \- SHARP_IGNORE_GLOBAL_LIBVIPS=true pnpm --filter @immich/sdk --filter immich-web install --frozen-lockfile --force && \+ pnpm --filter @immich/sdk --filter immich-web install --frozen-lockfile --force && \pnpm --filter @immich/sdk --filter immich-web buildFROM builder AS clidiff --git a/server/package.json b/server/package.jsonindex 236a696afc..facce43aa4 100644--- a/server/package.json+++ b/server/package.json@@ -107,7 +107,7 @@"rxjs": "^7.8.1","sanitize-filename": "^1.6.3","semver": "^7.8.1",- "sharp": "^0.34.5",+ "sharp": "^0.35.3","sirv": "^3.0.0","socket.io": "^4.8.1","tailwindcss-preset-email": "^1.4.0",@@ -169,6 +169,6 @@"vitest": "^3.0.0"},"overrides": {- "sharp": "^0.34.5"+ "sharp": "^0.35.3"}}diff --git a/server/src/repositories/media.repository.ts b/server/src/repositories/media.repository.tsindex c1e8cfd234..1100e856b5 100644--- a/server/src/repositories/media.repository.ts+++ b/server/src/repositories/media.repository.ts@@ -187,6 +187,7 @@ export class MediaRepository {let pipeline = sharp(input, {// some invalid images can still be processed by sharp, but we want to fail on them by default to avoid crashesfailOn: options.processInvalidImages ? 'none' : 'error',+ limitInputChannels: false,limitInputPixels: false,raw: options.raw,unlimited: true,