New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.0.8 to 1.0.9

.prettierrc.js

2

lib/get-connection.js

@@ -47,3 +47,3 @@ 'use strict';

// filter out hosts
mxHosts = mxHosts.filter(mx => !delivery.ignoreMXHosts.includes(mx.host));
mxHosts = mxHosts.filter(mx => !delivery.ignoreMXHosts || !delivery.ignoreMXHosts.includes(mx.host));

@@ -50,0 +50,0 @@ if (!mxHosts.length) {

@@ -69,3 +69,3 @@ 'use strict';

err.message = 'DNS error when resolving MX server for ' + domain + ': ' + (dnsErrors[err.code] || err.message);
err.response = '550 ' + err.message;
err.response = '450 ' + err.message;
err.category = 'dns';

@@ -80,3 +80,3 @@ return reject(err);

err.message = 'DNS error when resolving MX server for ' + domain + ': ' + (dnsErrors[err.code] || err.message);
err.response = '550 ' + err.message;
err.response = '450 ' + err.message;
err.category = 'dns';

@@ -83,0 +83,0 @@ return reject(err);

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

@@ -26,4 +26,5 @@ "main": "lib/mx-connect.js",

"eslint-config-nodemailer": "^1.2.0",
"eslint-config-prettier": "^3.0.1",
"grunt": "^1.0.3",
"grunt-cli": "^1.3.0",
"grunt-cli": "^1.3.1",
"grunt-contrib-nodeunit": "^2.0.0",

@@ -33,4 +34,4 @@ "grunt-eslint": "^21.0.0"

"dependencies": {
"ipaddr.js": "^1.8.1"
"ipaddr.js": "1.8.1"
}
}

Sorry, the diff of this file is not supported yet

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