diff --git a/install/package.json b/install/package.json index 2e1cc8ebf8..b5e8b6c025 100644 --- a/install/package.json +++ b/install/package.json @@ -116,7 +116,7 @@ "sanitize-html": "^2.3.2", "semver": "^7.3.4", "serve-favicon": "^2.5.0", - "sharp": "0.27.2", + "sharp": "0.28.0", "sitemap": "^6.4.0", "slideout": "1.0.1", "socket.io": "4.0.0", diff --git a/test/uploads.js b/test/uploads.js index 57be8c9d97..f8fe857d23 100644 --- a/test/uploads.js +++ b/test/uploads.js @@ -162,7 +162,7 @@ describe('Upload Controllers', () => { assert.ifError(err); assert.strictEqual(res.statusCode, 500); assert(body && body.status && body.status.message); - assert(body.status.message.startsWith('pngload_buffer: non-recoverable state')); + assert(body.status.message.startsWith('Input file has corrupt header: pngload: end of stream')); done(); }); });