From 28b143f0bf1ba55ded9a98273310f783dc0addbd Mon Sep 17 00:00:00 2001 From: Dave Conway-Jones Date: Tue, 11 Sep 2018 09:09:01 -0400 Subject: [PATCH] move to MIT version of mailparser --- social/email/61-email.js | 2 +- social/email/package.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/social/email/61-email.js b/social/email/61-email.js index c33d3b6e..89dae648 100644 --- a/social/email/61-email.js +++ b/social/email/61-email.js @@ -14,7 +14,7 @@ module.exports = function(RED) { var nodemailer = require("nodemailer"); var Imap = require('imap'); var POP3Client = require("poplib"); - var MailParser = require("mailparser").MailParser; + var MailParser = require("mailparser-mit").MailParser; var util = require("util"); if (parseInt(process.version.split("v")[1].split(".")[0]) < 8) { diff --git a/social/email/package.json b/social/email/package.json index 02e447aa..33476201 100644 --- a/social/email/package.json +++ b/social/email/package.json @@ -1,10 +1,10 @@ { "name": "node-red-node-email", - "version": "1.0.3", + "version": "1.0.4", "description": "Node-RED nodes to send and receive simple emails", "dependencies": { "imap": "^0.8.19", - "mailparser": "^0.6.2", + "mailparser-mit": "^0.6.2", "nodemailer": "^4.6.8", "poplib": "^0.1.7" },