mirror of
https://github.com/dawidd6/action-send-mail.git
synced 2024-11-10 05:51:07 +07:00
node_modules: update
This commit is contained in:
parent
a5a673e774
commit
9210f61cf4
6
node_modules/.package-lock.json
generated
vendored
6
node_modules/.package-lock.json
generated
vendored
@ -112,9 +112,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/nodemailer": {
|
"node_modules/nodemailer": {
|
||||||
"version": "6.4.17",
|
"version": "6.5.0",
|
||||||
"resolved": "https://registry.npmjs.org/nodemailer/-/nodemailer-6.4.17.tgz",
|
"resolved": "https://registry.npmjs.org/nodemailer/-/nodemailer-6.5.0.tgz",
|
||||||
"integrity": "sha512-89ps+SBGpo0D4Bi5ZrxcrCiRFaMmkCt+gItMXQGzEtZVR3uAD3QAQIDoxTWnx3ky0Dwwy/dhFrQ+6NNGXpw/qQ==",
|
"integrity": "sha512-Tm4RPrrIZbnqDKAvX+/4M+zovEReiKlEXWDzG4iwtpL9X34MJY+D5LnQPH/+eghe8DLlAVshHAJZAZWBGhkguw==",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=6.0.0"
|
"node": ">=6.0.0"
|
||||||
}
|
}
|
||||||
|
10
node_modules/nodemailer/CHANGELOG.md
generated
vendored
10
node_modules/nodemailer/CHANGELOG.md
generated
vendored
@ -1,5 +1,15 @@
|
|||||||
# CHANGELOG
|
# CHANGELOG
|
||||||
|
|
||||||
|
## 6.5.0 2021-02-26
|
||||||
|
|
||||||
|
- Pass through textEncoding to subnodes
|
||||||
|
- Added support for AWS SES v3 SDK
|
||||||
|
- Fixed tests
|
||||||
|
|
||||||
|
## 6.4.18 2021-02-11
|
||||||
|
|
||||||
|
- Updated README
|
||||||
|
|
||||||
## 6.4.17 2020-12-11
|
## 6.4.17 2020-12-11
|
||||||
|
|
||||||
- Allow mixing attachments with caendar alternatives
|
- Allow mixing attachments with caendar alternatives
|
||||||
|
2
node_modules/nodemailer/README.md
generated
vendored
2
node_modules/nodemailer/README.md
generated
vendored
@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
[![Nodemailer](https://raw.githubusercontent.com/nodemailer/nodemailer/master/assets/nm_logo_200x136.png)](https://nodemailer.com/about/)
|
[![Nodemailer](https://raw.githubusercontent.com/nodemailer/nodemailer/master/assets/nm_logo_200x136.png)](https://nodemailer.com/about/)
|
||||||
|
|
||||||
|
> Sponsored by [Forward Email](https://forwardemail.net/?ref=nodemailer) – free email forwarding + custom domains + 100% open-source!
|
||||||
|
|
||||||
Send e-mails from Node.js – easy as cake! 🍰✉️
|
Send e-mails from Node.js – easy as cake! 🍰✉️
|
||||||
|
|
||||||
[![NPM](https://nodei.co/npm/nodemailer.png?downloads=true&downloadRank=true&stars=true)](https://nodemailer.com/about/)
|
[![NPM](https://nodei.co/npm/nodemailer.png?downloads=true&downloadRank=true&stars=true)](https://nodemailer.com/about/)
|
||||||
|
1
node_modules/nodemailer/lib/mail-composer/index.js
generated
vendored
1
node_modules/nodemailer/lib/mail-composer/index.js
generated
vendored
@ -475,6 +475,7 @@ class MailComposer {
|
|||||||
} else {
|
} else {
|
||||||
node = parentNode.createChild(element.contentType, {
|
node = parentNode.createChild(element.contentType, {
|
||||||
filename: element.filename,
|
filename: element.filename,
|
||||||
|
textEncoding: this.mail.textEncoding,
|
||||||
disableUrlAccess: this.mail.disableUrlAccess,
|
disableUrlAccess: this.mail.disableUrlAccess,
|
||||||
disableFileAccess: this.mail.disableFileAccess,
|
disableFileAccess: this.mail.disableFileAccess,
|
||||||
normalizeHeaderKey: this.mail.normalizeHeaderKey
|
normalizeHeaderKey: this.mail.normalizeHeaderKey
|
||||||
|
2
node_modules/nodemailer/lib/mime-node/index.js
generated
vendored
2
node_modules/nodemailer/lib/mime-node/index.js
generated
vendored
@ -451,7 +451,7 @@ class MimeNode {
|
|||||||
transferEncoding = this._getTextEncoding(this.content) === 'Q' ? 'quoted-printable' : 'base64';
|
transferEncoding = this._getTextEncoding(this.content) === 'Q' ? 'quoted-printable' : 'base64';
|
||||||
} else {
|
} else {
|
||||||
// we can not check content for a stream, so either use preferred encoding or fallback to QP
|
// we can not check content for a stream, so either use preferred encoding or fallback to QP
|
||||||
transferEncoding = this.transferEncoding === 'B' ? 'base64' : 'quoted-printable';
|
transferEncoding = this.textEncoding === 'B' ? 'base64' : 'quoted-printable';
|
||||||
}
|
}
|
||||||
} else if (!/^(multipart|message)\//i.test(contentType)) {
|
} else if (!/^(multipart|message)\//i.test(contentType)) {
|
||||||
transferEncoding = transferEncoding || 'base64';
|
transferEncoding = transferEncoding || 'base64';
|
||||||
|
80
node_modules/nodemailer/lib/ses-transport/index.js
generated
vendored
80
node_modules/nodemailer/lib/ses-transport/index.js
generated
vendored
@ -239,36 +239,64 @@ class SESTransport extends EventEmitter {
|
|||||||
sesMessage[key] = mail.data.ses[key];
|
sesMessage[key] = mail.data.ses[key];
|
||||||
});
|
});
|
||||||
|
|
||||||
this.ses.sendRawEmail(sesMessage, (err, data) => {
|
let ses = (this.ses.aws ? this.ses.ses : this.ses) || {};
|
||||||
if (err) {
|
let aws = this.ses.aws || {};
|
||||||
this.logger.error(
|
|
||||||
{
|
let getRegion = cb => {
|
||||||
err,
|
if (ses.config && typeof ses.config.region === 'function') {
|
||||||
tnx: 'send'
|
// promise
|
||||||
},
|
return ses.config
|
||||||
'Send error for %s: %s',
|
.region()
|
||||||
messageId,
|
.then(region => cb(null, region))
|
||||||
err.message
|
.catch(err => cb(err));
|
||||||
);
|
}
|
||||||
statObject.pending = false;
|
return cb(null, (ses.config && ses.config.region) || 'us-east-1');
|
||||||
return callback(err);
|
};
|
||||||
|
|
||||||
|
getRegion((err, region) => {
|
||||||
|
if (err || !region) {
|
||||||
|
region = 'us-east-1';
|
||||||
}
|
}
|
||||||
|
|
||||||
let region = (this.ses.config && this.ses.config.region) || 'us-east-1';
|
let sendPromise;
|
||||||
if (region === 'us-east-1') {
|
if (typeof ses.send === 'function' && aws.SendRawEmailCommand) {
|
||||||
region = 'email';
|
// v3 API
|
||||||
|
sendPromise = ses.send(new aws.SendRawEmailCommand(sesMessage));
|
||||||
|
} else {
|
||||||
|
// v2 API
|
||||||
|
sendPromise = ses.sendRawEmail(sesMessage).promise();
|
||||||
}
|
}
|
||||||
|
|
||||||
statObject.pending = false;
|
sendPromise
|
||||||
callback(null, {
|
.then(data => {
|
||||||
envelope: {
|
if (region === 'us-east-1') {
|
||||||
from: envelope.from,
|
region = 'email';
|
||||||
to: envelope.to
|
}
|
||||||
},
|
|
||||||
messageId: '<' + data.MessageId + (!/@/.test(data.MessageId) ? '@' + region + '.amazonses.com' : '') + '>',
|
statObject.pending = false;
|
||||||
response: data.MessageId,
|
callback(null, {
|
||||||
raw
|
envelope: {
|
||||||
});
|
from: envelope.from,
|
||||||
|
to: envelope.to
|
||||||
|
},
|
||||||
|
messageId: '<' + data.MessageId + (!/@/.test(data.MessageId) ? '@' + region + '.amazonses.com' : '') + '>',
|
||||||
|
response: data.MessageId,
|
||||||
|
raw
|
||||||
|
});
|
||||||
|
})
|
||||||
|
.catch(err => {
|
||||||
|
this.logger.error(
|
||||||
|
{
|
||||||
|
err,
|
||||||
|
tnx: 'send'
|
||||||
|
},
|
||||||
|
'Send error for %s: %s',
|
||||||
|
messageId,
|
||||||
|
err.message
|
||||||
|
);
|
||||||
|
statObject.pending = false;
|
||||||
|
callback(err);
|
||||||
|
});
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
|
6
node_modules/nodemailer/lib/well-known/services.json
generated
vendored
6
node_modules/nodemailer/lib/well-known/services.json
generated
vendored
@ -148,6 +148,12 @@
|
|||||||
"secure": false
|
"secure": false
|
||||||
},
|
},
|
||||||
|
|
||||||
|
"OhMySMTP": {
|
||||||
|
"host": "smtp.ohmysmtp.com",
|
||||||
|
"port": 587,
|
||||||
|
"secure": false
|
||||||
|
},
|
||||||
|
|
||||||
"Postmark": {
|
"Postmark": {
|
||||||
"aliases": ["PostmarkApp"],
|
"aliases": ["PostmarkApp"],
|
||||||
"host": "smtp.postmarkapp.com",
|
"host": "smtp.postmarkapp.com",
|
||||||
|
15
node_modules/nodemailer/package.json
generated
vendored
15
node_modules/nodemailer/package.json
generated
vendored
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "nodemailer",
|
"name": "nodemailer",
|
||||||
"version": "6.4.17",
|
"version": "6.5.0",
|
||||||
"description": "Easy as cake e-mail sending from your Node.js applications",
|
"description": "Easy as cake e-mail sending from your Node.js applications",
|
||||||
"main": "lib/nodemailer.js",
|
"main": "lib/nodemailer.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
@ -20,10 +20,10 @@
|
|||||||
},
|
},
|
||||||
"homepage": "https://nodemailer.com/",
|
"homepage": "https://nodemailer.com/",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"bunyan": "1.8.14",
|
"bunyan": "1.8.15",
|
||||||
"chai": "4.2.0",
|
"chai": "4.3.0",
|
||||||
"eslint-config-nodemailer": "1.2.0",
|
"eslint-config-nodemailer": "1.2.0",
|
||||||
"eslint-config-prettier": "7.0.0",
|
"eslint-config-prettier": "8.1.0",
|
||||||
"grunt": "1.3.0",
|
"grunt": "1.3.0",
|
||||||
"grunt-cli": "1.3.2",
|
"grunt-cli": "1.3.2",
|
||||||
"grunt-eslint": "23.0.0",
|
"grunt-eslint": "23.0.0",
|
||||||
@ -31,15 +31,14 @@
|
|||||||
"libbase64": "1.2.1",
|
"libbase64": "1.2.1",
|
||||||
"libmime": "5.0.0",
|
"libmime": "5.0.0",
|
||||||
"libqp": "1.1.0",
|
"libqp": "1.1.0",
|
||||||
"mocha": "8.2.1",
|
"mocha": "8.3.0",
|
||||||
"nodemailer-ntlm-auth": "1.0.1",
|
"nodemailer-ntlm-auth": "1.0.1",
|
||||||
"proxy": "1.0.2",
|
"proxy": "1.0.2",
|
||||||
"proxy-test-server": "1.0.0",
|
"proxy-test-server": "1.0.0",
|
||||||
"sinon": "9.2.1",
|
"sinon": "9.2.4",
|
||||||
"smtp-server": "3.8.0"
|
"smtp-server": "3.8.0"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=6.0.0"
|
"node": ">=6.0.0"
|
||||||
},
|
}
|
||||||
"dependencies": {}
|
|
||||||
}
|
}
|
||||||
|
12
package-lock.json
generated
12
package-lock.json
generated
@ -121,9 +121,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/nodemailer": {
|
"node_modules/nodemailer": {
|
||||||
"version": "6.4.17",
|
"version": "6.5.0",
|
||||||
"resolved": "https://registry.npmjs.org/nodemailer/-/nodemailer-6.4.17.tgz",
|
"resolved": "https://registry.npmjs.org/nodemailer/-/nodemailer-6.5.0.tgz",
|
||||||
"integrity": "sha512-89ps+SBGpo0D4Bi5ZrxcrCiRFaMmkCt+gItMXQGzEtZVR3uAD3QAQIDoxTWnx3ky0Dwwy/dhFrQ+6NNGXpw/qQ==",
|
"integrity": "sha512-Tm4RPrrIZbnqDKAvX+/4M+zovEReiKlEXWDzG4iwtpL9X34MJY+D5LnQPH/+eghe8DLlAVshHAJZAZWBGhkguw==",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=6.0.0"
|
"node": ">=6.0.0"
|
||||||
}
|
}
|
||||||
@ -358,9 +358,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nodemailer": {
|
"nodemailer": {
|
||||||
"version": "6.4.17",
|
"version": "6.5.0",
|
||||||
"resolved": "https://registry.npmjs.org/nodemailer/-/nodemailer-6.4.17.tgz",
|
"resolved": "https://registry.npmjs.org/nodemailer/-/nodemailer-6.5.0.tgz",
|
||||||
"integrity": "sha512-89ps+SBGpo0D4Bi5ZrxcrCiRFaMmkCt+gItMXQGzEtZVR3uAD3QAQIDoxTWnx3ky0Dwwy/dhFrQ+6NNGXpw/qQ=="
|
"integrity": "sha512-Tm4RPrrIZbnqDKAvX+/4M+zovEReiKlEXWDzG4iwtpL9X34MJY+D5LnQPH/+eghe8DLlAVshHAJZAZWBGhkguw=="
|
||||||
},
|
},
|
||||||
"p-limit": {
|
"p-limit": {
|
||||||
"version": "2.3.0",
|
"version": "2.3.0",
|
||||||
|
Loading…
Reference in New Issue
Block a user