Socket
Socket
Sign inDemoInstall

smtp-server

Package Overview
Dependencies
3
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.7.0 to 3.8.0

5

CHANGELOG.md
# Changelog
## v3.8.0 2020-11-13
- Bump dependencies to latest
- Access to challenge and challengeResponse (CRAM-MD5)
## v3.7.0 2020-06-25

@@ -4,0 +9,0 @@

2

lib/sasl.js

@@ -363,2 +363,4 @@ 'use strict';

username,
challenge,
challengeResponse,
validatePassword(password) {

@@ -365,0 +367,0 @@ let hmac = crypto.createHmac('md5', password);

20

lib/tls-options.js

@@ -39,2 +39,3 @@ 'use strict';

'-----END RSA PRIVATE KEY-----',
cert:

@@ -58,5 +59,8 @@ '-----BEGIN CERTIFICATE-----\n' +

'-----END CERTIFICATE-----',
honorCipherOrder: true,
requestOCSP: false,
sessionIdContext: crypto.createHash('sha1').update(process.argv.join(' ')).digest('hex').slice(0, 32)
sessionIdContext: crypto.createHash('sha1').update(process.argv.join(' ')).digest('hex').slice(0, 32),
minVersion: 'TLSv1' // sadly there are very old SMTP clients out there
};

@@ -71,15 +75,3 @@

function getTLSOptions(opts) {
let result = {};
opts = opts || {};
Object.keys(opts).forEach(key => (result[key] = opts[key]));
Object.keys(tlsDefaults).forEach(key => {
if (!(key in result)) {
result[key] = tlsDefaults[key];
}
});
return result;
return Object.assign({}, tlsDefaults, opts || {});
}
{
"name": "smtp-server",
"version": "3.7.0",
"version": "3.8.0",
"description": "Create custom SMTP servers on the fly",

@@ -14,3 +14,3 @@ "main": "lib/smtp-server.js",

"ipv6-normalize": "1.0.1",
"nodemailer": "6.4.10"
"nodemailer": "6.4.16"
},

@@ -20,8 +20,8 @@ "devDependencies": {

"eslint-config-nodemailer": "1.2.0",
"eslint-config-prettier": "6.11.0",
"grunt": "1.1.0",
"eslint-config-prettier": "6.15.0",
"grunt": "1.3.0",
"grunt-cli": "1.3.2",
"grunt-eslint": "23.0.0",
"grunt-mocha-test": "0.13.3",
"mocha": "8.0.1",
"mocha": "8.2.1",
"pem": "1.14.4"

@@ -28,0 +28,0 @@ },

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc