chore(deps): bump the production-deps group

This commit is contained in:
SnapOtter
2026-07-06 18:39:27 +08:00
parent 36dde9ad87
commit d019217969
11 changed files with 1847 additions and 2375 deletions
@@ -70,7 +70,7 @@ async function processImageEnhancement(
{ width: meta.width ?? 1, height: meta.height ?? 1 },
);
let buffer = await image
let buffer: Buffer = await image
.toFormat(outputFormat.format, { quality: outputFormat.quality })
.toBuffer();
@@ -46,7 +46,7 @@ async function processImage(inputBuffer: Buffer, settings: Settings, filename: s
const image = sharp(inputBuffer);
const result = await optimizeForWeb(image, engineSettings);
let buffer = await result.toBuffer();
let buffer: Buffer = await result.toBuffer();
if (isJxl) {
buffer = await encodeJxl(buffer, settings.quality);
+1 -1
View File
@@ -249,7 +249,7 @@ export function registerStitch(app: FastifyInstance) {
pipeline = pipeline.png();
}
let result = await pipeline.toBuffer();
let result: Buffer = await pipeline.toBuffer();
if (settings.format === "jxl") {
result = await encodeJxl(result, settings.quality);