Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mx-connect

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mx-connect - npm Package Compare versions

Comparing version 1.1.2 to 1.2.0

5

.prettierrc.js
module.exports = {
printWidth: 160,
tabWidth: 4,
singleQuote: true
singleQuote: true,
endOfLine: 'lf',
trailingComma: 'none',
arrowParens: 'avoid'
};

6

lib/get-connection.js

@@ -178,5 +178,5 @@ 'use strict';

let code = 450;
err.message = `Network error when connecting to MX server ${mx.hostname}[${mx.host}] for ${delivery.domain}: ${netErrors[err.code] ||
netErrors[err.errno] ||
err.message}`;
err.message = `Network error when connecting to MX server ${mx.hostname}[${mx.host}] for ${delivery.domain}: ${
netErrors[err.code] || netErrors[err.errno] || err.message
}`;
err.response = err.response || code + ' ' + err.message;

@@ -183,0 +183,0 @@ err.category = err.category || 'network';

{
"name": "mx-connect",
"version": "1.1.2",
"version": "1.2.0",
"description": "Establish TCP connection to a MX server",

@@ -25,8 +25,8 @@ "main": "lib/mx-connect.js",

"devDependencies": {
"eslint-config-nodemailer": "^1.2.0",
"eslint-config-prettier": "^6.0.0",
"grunt": "^1.0.4",
"grunt-cli": "^1.3.2",
"grunt-contrib-nodeunit": "^2.0.0",
"grunt-eslint": "^22.0.0"
"eslint-config-nodemailer": "1.2.0",
"eslint-config-prettier": "6.11.0",
"grunt": "1.1.0",
"grunt-cli": "1.3.2",
"grunt-contrib-nodeunit": "2.1.0",
"grunt-eslint": "23.0.0"
},

@@ -33,0 +33,0 @@ "dependencies": {

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc