From 49c2ec7f9aee86e41cae02529d6224a62f8e0251 Mon Sep 17 00:00:00 2001 From: joan Date: Tue, 21 Feb 2023 14:01:12 +0100 Subject: [PATCH] fix(image): Enabled failOn option Refs: #5266 --- back/models/image.js | 3 ++- package-lock.json | 18 +++++++++--------- package.json | 2 +- 3 files changed, 12 insertions(+), 11 deletions(-) diff --git a/back/models/image.js b/back/models/image.js index d736e924f..f3c202931 100644 --- a/back/models/image.js +++ b/back/models/image.js @@ -102,7 +102,8 @@ module.exports = Self => { width: bmpData.width, height: bmpData.height, channels: 4 - } + }, + failOn: 'none' }; } diff --git a/package-lock.json b/package-lock.json index 61180fa3f..8a39bd902 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "salix-back", - "version": "23.02.03", + "version": "23.04.01", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "salix-back", - "version": "23.02.03", + "version": "23.04.01", "license": "GPL-3.0", "dependencies": { "axios": "^1.2.2", @@ -40,7 +40,7 @@ "puppeteer": "^18.0.5", "read-chunk": "^3.2.0", "require-yaml": "0.0.1", - "sharp": "^0.31.2", + "sharp": "^0.31.3", "smbhash": "0.0.1", "strong-error-handler": "^2.3.2", "uuid": "^3.3.3", @@ -19715,9 +19715,9 @@ } }, "node_modules/sharp": { - "version": "0.31.2", - "resolved": "https://registry.npmjs.org/sharp/-/sharp-0.31.2.tgz", - "integrity": "sha512-DUdNVEXgS5A97cTagSLIIp8dUZ/lZtk78iNVZgHdHbx1qnQR7JAHY0BnXnwwH39Iw+VKhO08CTYhIg0p98vQ5Q==", + "version": "0.31.3", + "resolved": "https://registry.npmjs.org/sharp/-/sharp-0.31.3.tgz", + "integrity": "sha512-XcR4+FCLBFKw1bdB+GEhnUNXNXvnt0tDo4WsBsraKymuo/IAuPuCBVAL2wIkUw2r/dwFW5Q5+g66Kwl2dgDFVg==", "hasInstallScript": true, "dependencies": { "color": "^4.2.3", @@ -39863,9 +39863,9 @@ } }, "sharp": { - "version": "0.31.2", - "resolved": "https://registry.npmjs.org/sharp/-/sharp-0.31.2.tgz", - "integrity": "sha512-DUdNVEXgS5A97cTagSLIIp8dUZ/lZtk78iNVZgHdHbx1qnQR7JAHY0BnXnwwH39Iw+VKhO08CTYhIg0p98vQ5Q==", + "version": "0.31.3", + "resolved": "https://registry.npmjs.org/sharp/-/sharp-0.31.3.tgz", + "integrity": "sha512-XcR4+FCLBFKw1bdB+GEhnUNXNXvnt0tDo4WsBsraKymuo/IAuPuCBVAL2wIkUw2r/dwFW5Q5+g66Kwl2dgDFVg==", "requires": { "color": "^4.2.3", "detect-libc": "^2.0.1", diff --git a/package.json b/package.json index 17e4617b8..af4992b58 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ "puppeteer": "^18.0.5", "read-chunk": "^3.2.0", "require-yaml": "0.0.1", - "sharp": "^0.31.2", + "sharp": "^0.31.3", "smbhash": "0.0.1", "strong-error-handler": "^2.3.2", "uuid": "^3.3.3",