mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36:12 +01:00
feat: upgrade sharp (#9442)
This commit is contained in:
committed by
GitHub
parent
4c66c7f9b2
commit
f7f46e7c65
@@ -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",
|
||||
|
||||
@@ -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();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user