fix(deps): Bumped nodemailer to force embedded images to content-disposition:inline

This commit is contained in:
Andris Reinman 2023-10-09 14:40:18 +03:00
parent 03b822a878
commit 1fee80eb30
No known key found for this signature in database
GPG key ID: DC6C83F4D584D364
3 changed files with 322 additions and 346 deletions

View file

@ -1779,13 +1779,14 @@ module.exports = (db, server, messageHandler, userHandler, storageHandler, setti
let fileData = await storageHandler.get(userData._id, new ObjectId(file));
if (fileData) {
extraAttachments.push(fileData);
files.push({
let fileEntry = {
id: fileData.id,
filename: fileData.filename,
contentType: fileData.contentType,
size: fileData.size,
cid: fileData.cid
});
};
files.push(fileEntry);
}
} catch (err) {
log.error('API', 'STORAGEFAIL user=%s file=%s error=%s', userData._id, file, err.message);

653
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -26,7 +26,7 @@
"ajv": "8.12.0",
"chai": "4.3.10",
"docsify-cli": "4.4.4",
"eslint": "8.50.0",
"eslint": "8.51.0",
"eslint-config-nodemailer": "1.2.0",
"eslint-config-prettier": "9.0.0",
"grunt": "1.6.1",
@ -53,7 +53,7 @@
"base32.js": "0.1.0",
"bcryptjs": "2.4.3",
"bson": "6.1.0",
"bullmq": "4.12.1",
"bullmq": "4.12.2",
"fido2-lib": "3.4.1",
"gelf": "2.0.1",
"generate-password": "1.7.0",
@ -82,7 +82,7 @@
"msgpack5": "6.0.2",
"node-forge": "1.3.1",
"node-html-parser": "6.1.10",
"nodemailer": "6.9.5",
"nodemailer": "6.9.6",
"npmlog": "7.0.1",
"openpgp": "5.10.2",
"pem-jwk": "2.0.0",
@ -93,17 +93,17 @@
"restify-cors-middleware2": "2.2.1",
"restify-errors": "8.0.2",
"restify-logger": "2.0.1",
"saslprep": "1.0.3",
"search-string": "3.1.0",
"seq-index": "1.1.0",
"smtp-server": "3.13.0",
"speakeasy": "2.0.0",
"undici": "5.25.4",
"unix-crypt-td-js": "1.1.4",
"unixcrypt": "1.2.0",
"uuid": "9.0.1",
"wild-config": "1.7.1",
"yargs": "17.7.2",
"zone-mta": "3.6.10"
"zone-mta": "3.6.11"
},
"repository": {
"type": "git",