Skip to content

Commit

Permalink
v6.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
andris9 committed Sep 28, 2022
1 parent e091992 commit 0a22b61
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 33 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# CHANGELOG

## 6.8.0 2022-09-28

- Add DNS timeout (huksley)
- add dns.REFUSED (lucagianfelici)

## 6.7.8 2022-08-11

- Allow to use multiple Reply-To addresses
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nodemailer",
"version": "6.7.8",
"version": "6.8.0",
"description": "Easy as cake e-mail sending from your Node.js applications",
"main": "lib/nodemailer.js",
"scripts": {
Expand All @@ -20,8 +20,8 @@
},
"homepage": "https://nodemailer.com/",
"devDependencies": {
"@aws-sdk/client-ses": "3.145.0",
"aws-sdk": "2.1193.0",
"@aws-sdk/client-ses": "3.180.0",
"aws-sdk": "2.1225.0",
"bunyan": "1.8.15",
"chai": "4.3.6",
"eslint-config-nodemailer": "1.2.0",
Expand Down
29 changes: 0 additions & 29 deletions test/mail-composer/mail-composer-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -881,34 +881,5 @@ describe('MailComposer unit tests', function () {
done();
});
});


it('should throw an error if any attachment has null content', function (done) {
let data = {
text: 'abc',
baseBoundary: 'test',
messageId: 'zzzzzz',
date: 'Sat, 21 Jun 2014 10:52:44 +0000',
attachments: [
{
headers: {
'X-Test-1': 12345,
'X-Test-2': 'ÕÄÖÜ',
'X-Test-3': ['foo', 'bar']
},
content: null,
filename: 'test.txt',
contentTransferEncoding: false
}
]
};


let mail = new MailComposer(data).compile();
mail.build(function (err) {
expect(err).to.exist;
done();
});
});
});
});
2 changes: 1 addition & 1 deletion test/mime-node/mime-node-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -1371,7 +1371,7 @@ describe('MimeNode Tests', function () {

it('should return an error on invalid file path', function (done) {
let mb = new MimeNode('text/plain').setContent({
href: '/ASfsdfsdf/Sdgsgdfg/SDFgdfgdfg'
path: '/ASfsdfsdf/Sdgsgdfg/SDFgdfgdfg'
});

mb.build(function (err) {
Expand Down

0 comments on commit 0a22b61

Please sign in to comment.