From f20d00a9728b26d9593881d4891a035aad554ff6 Mon Sep 17 00:00:00 2001 From: Dave Conway-Jones Date: Thu, 23 May 2019 12:35:13 +0100 Subject: [PATCH] fix mailparser require --- social/email/61-email.js | 2 +- social/email/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/social/email/61-email.js b/social/email/61-email.js index c6e501df..02d0cfcd 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-mit").MailParser; + var MailParser = require("mailparser").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 76f8dac2..93689fe7 100644 --- a/social/email/package.json +++ b/social/email/package.json @@ -1,6 +1,6 @@ { "name": "node-red-node-email", - "version": "1.5.0", + "version": "1.5.1", "description": "Node-RED nodes to send and receive simple emails", "dependencies": { "imap": "^0.8.19",