1
0
mirror of https://github.com/node-red/node-red-nodes.git synced 2023-10-10 13:36:58 +02:00

move to MIT version of mailparser

This commit is contained in:
Dave Conway-Jones 2018-09-11 09:09:01 -04:00
parent 8acc5064d0
commit 28b143f0bf
No known key found for this signature in database
GPG Key ID: 9E7F9C73F5168CD4
2 changed files with 3 additions and 3 deletions

View File

@ -14,7 +14,7 @@ module.exports = function(RED) {
var nodemailer = require("nodemailer"); var nodemailer = require("nodemailer");
var Imap = require('imap'); var Imap = require('imap');
var POP3Client = require("poplib"); var POP3Client = require("poplib");
var MailParser = require("mailparser").MailParser; var MailParser = require("mailparser-mit").MailParser;
var util = require("util"); var util = require("util");
if (parseInt(process.version.split("v")[1].split(".")[0]) < 8) { if (parseInt(process.version.split("v")[1].split(".")[0]) < 8) {

View File

@ -1,10 +1,10 @@
{ {
"name": "node-red-node-email", "name": "node-red-node-email",
"version": "1.0.3", "version": "1.0.4",
"description": "Node-RED nodes to send and receive simple emails", "description": "Node-RED nodes to send and receive simple emails",
"dependencies": { "dependencies": {
"imap": "^0.8.19", "imap": "^0.8.19",
"mailparser": "^0.6.2", "mailparser-mit": "^0.6.2",
"nodemailer": "^4.6.8", "nodemailer": "^4.6.8",
"poplib": "^0.1.7" "poplib": "^0.1.7"
}, },