Skip to content

Node.js based forum software built for the modern web

chore: up sharp

Barış Soner Uşaklıe39005c0ae85
diff --git a/install/package.json b/install/package.json
index 15b34389fe..1d2f96df3a 100644
--- a/install/package.json
+++ b/install/package.json
@@ -140,7 +140,7 @@
"sbd": "^1.0.19",
"semver": "7.8.4",
"serve-favicon": "2.5.1",
- "sharp": "0.34.5",
+ "sharp": "0.35.2",
"sitemap": "9.0.1",
"socket.io": "4.8.3",
"socket.io-client": "4.8.3",
diff --git a/test/uploads.js b/test/uploads.js
index 788d6cc506..fbb11daefa 100644
--- a/test/uploads.js
+++ b/test/uploads.js
@@ -273,7 +273,6 @@ describe('Upload Controllers', () => {
const { response, body } = await helpers.uploadFile(`${nconf.get('url')}/api/post/upload`, path.join(__dirname, '../test/files/brokenimage.png'), {}, jar, csrf_token);
assert.strictEqual(response.statusCode, 500);
assert(body && body.status && body.status.message);
- assert.strictEqual(body.status.message, 'pngload_buffer: end of stream');
});
it('should fail to upload file if extension and mime type do not match', async () => {