nodemailer 6.7.0 → 6.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 6.7.1 2021-11-15
4
+
5
+ - fix verify on ses-transport (stanofsky)
6
+
3
7
  ## 6.7.0 2021-10-11
4
8
 
5
9
  - Updated DNS resolving logic. If there are multiple responses for a A/AAAA record, then loop these randomly instead of only caching the first one
@@ -320,18 +320,18 @@ class SESTransport extends EventEmitter {
320
320
  Source: 'invalid@invalid',
321
321
  Destinations: ['invalid@invalid']
322
322
  };
323
- const cb = err => {
324
- if (err && (err.code || err.Code) !== 'InvalidParameterValue') {
325
- return callback(err);
326
- }
327
- return callback(null, true);
328
- };
329
323
 
330
324
  if (!callback) {
331
325
  promise = new Promise((resolve, reject) => {
332
326
  callback = shared.callbackPromise(resolve, reject);
333
327
  });
334
328
  }
329
+ const cb = err => {
330
+ if (err && (err.code || err.Code) !== 'InvalidParameterValue') {
331
+ return callback(err);
332
+ }
333
+ return callback(null, true);
334
+ };
335
335
 
336
336
  if (typeof ses.send === 'function' && aws.SendRawEmailCommand) {
337
337
  // v3 API
@@ -339,7 +339,7 @@ class SESTransport extends EventEmitter {
339
339
  ses.send(new aws.SendRawEmailCommand(sesMessage), cb);
340
340
  } else {
341
341
  // v2 API
342
- ses.sendRawEmail(sesMessage, cb).promise();
342
+ ses.sendRawEmail(sesMessage, cb);
343
343
  }
344
344
 
345
345
  return promise;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nodemailer",
3
- "version": "6.7.0",
3
+ "version": "6.7.1",
4
4
  "description": "Easy as cake e-mail sending from your Node.js applications",
5
5
  "main": "lib/nodemailer.js",
6
6
  "scripts": {
@@ -20,24 +20,24 @@
20
20
  },
21
21
  "homepage": "https://nodemailer.com/",
22
22
  "devDependencies": {
23
- "@aws-sdk/client-ses": "3.36.0",
24
- "aws-sdk": "2.1004.0",
23
+ "@aws-sdk/client-ses": "3.41.0",
24
+ "aws-sdk": "2.1028.0",
25
25
  "bunyan": "1.8.15",
26
26
  "chai": "4.3.4",
27
27
  "eslint-config-nodemailer": "1.2.0",
28
28
  "eslint-config-prettier": "8.3.0",
29
29
  "grunt": "1.4.1",
30
30
  "grunt-cli": "1.4.3",
31
- "grunt-eslint": "23.0.0",
31
+ "grunt-eslint": "24.0.0",
32
32
  "grunt-mocha-test": "0.13.3",
33
33
  "libbase64": "1.2.1",
34
34
  "libmime": "5.0.0",
35
35
  "libqp": "1.1.0",
36
- "mocha": "9.1.2",
36
+ "mocha": "9.1.3",
37
37
  "nodemailer-ntlm-auth": "1.0.1",
38
38
  "proxy": "1.0.2",
39
39
  "proxy-test-server": "1.0.0",
40
- "sinon": "11.1.2",
40
+ "sinon": "12.0.1",
41
41
  "smtp-server": "3.9.0"
42
42
  },
43
43
  "engines": {