mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-22 14:18:17 +00:00
chore(deps): upgrade bun to 1.4.2 and update packages (#384)
* chore(deps): upgrade bun to 1.4.2 and update packages - Upgrade Bun to 1.4.2 in Dockerfile, CI workflows, and release workflows. - Update dependencies across workspace with Bun 1.4.2. - Preserve @earendil-works/pi-agent-core at 0.82.1. - Retain stable compatible versions for database adapters and pdfjs-dist. - Add explicit Buffer type annotation in transcode service. * chore(deps): upgrade prisma to 7.10.0, pg to 8.23.0, and pdfjs-dist to 6.3.289 * chore(deps): revert dotenv-expand to 13.0.0
This commit is contained in:
@@ -1335,7 +1335,7 @@ export class TranscodeService {
|
||||
const localPngPath = path.join(tmpDir, files[i])
|
||||
const webpName = `${stem}-page-${pageNum}-${ulid()}.webp`
|
||||
|
||||
let webpBuffer = await sharp(localPngPath, { limitInputPixels: false })
|
||||
let webpBuffer: Buffer = await sharp(localPngPath, { limitInputPixels: false })
|
||||
.toColorspace('srgb')
|
||||
.resize(1920, 1080, { fit: 'inside', withoutEnlargement: false })
|
||||
.webp({ quality: 85 })
|
||||
|
||||
Reference in New Issue
Block a user