chore(deps): bump sharp to 0.34.3 (#21596)

* bump sharp to 0.34.3

* set unlimited
This commit is contained in:
Mert
2025-09-04 14:23:13 -04:00
committed by GitHub
parent 6e7c2817a3
commit 53825cc3d6
5 changed files with 241 additions and 191 deletions

View File

@@ -103,7 +103,7 @@
"sanitize-filename": "^1.6.3",
"sanitize-html": "^2.14.0",
"semver": "^7.6.2",
"sharp": "^0.34.2",
"sharp": "^0.34.3",
"sirv": "^3.0.0",
"socket.io": "^4.8.1",
"tailwindcss-preset-email": "^1.4.0",
@@ -176,6 +176,6 @@
"node": "22.18.0"
},
"overrides": {
"sharp": "^0.34.2"
"sharp": "^0.34.3"
}
}

View File

@@ -141,6 +141,7 @@ export class MediaRepository {
failOn: options.processInvalidImages ? 'none' : 'error',
limitInputPixels: false,
raw: options.raw,
unlimited: true,
})
.pipelineColorspace(options.colorspace === Colorspace.Srgb ? 'srgb' : 'rgb16')
.withIccProfile(options.colorspace);