upgrade nodemailer; closes #439 (#440)

* upgrade nodemailer
- update documentation(s)
- add/update `package-lock.json`(s)
- add `engines` field(s)
* remove Node.js v4 from build matrix
* bump major version of node-red-node-email to v1.0.0
This commit is contained in:
Christopher Hiller 2018-05-01 13:31:22 -07:00 committed by Dave Conway-Jones
parent 2e8ec73ef0
commit 360d71f84b
7 changed files with 3123 additions and 6 deletions

View File

@ -12,7 +12,6 @@ addons:
node_js:
- "8"
- "6"
- "4"
before_script:
# Remove the './node_modules/.bin:' entry, see https://github.com/travis-ci/travis-ci/issues/8813
- export PATH=`echo ${PATH} | sed -re 's,(^|:)(./)?node_modules/.bin($|:),\1,'`

View File

@ -33,6 +33,8 @@ To run tests on all of the nodes you will need the node-red runtime:
If you already have Node-RED installed you can point to the existing installation to save space.
If using this method, Node.js v6 or newer is required.
npm i node-red-nodes
npm i {path_to_your_existing_Node-RED_install} --no-save
npm test

3095
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -46,7 +46,7 @@
"msgpack-lite": "^0.1.26",
"ngeohash": "^0.6.0",
"node-red-node-test-helper": "^0.1.6",
"nodemailer": "^1.11.0",
"nodemailer": "^4.6.4",
"poplib": "^0.1.7",
"proxyquire": "^1.7.11",
"pushbullet": "~2.1.0",
@ -57,5 +57,8 @@
},
"peerDependencies": {
"node-red": "0.*"
},
"engines": {
"node": ">=6.0.0"
}
}

View File

@ -12,6 +12,8 @@ You will need valid email credentials for your email server.
Install
-------
**Node.js v6 or newer is required.**
Run the following command in your Node-RED user directory - typically `~/.node-red`
npm i node-red-node-email

13
social/email/package-lock.json generated Normal file
View File

@ -0,0 +1,13 @@
{
"name": "node-red-node-email",
"version": "0.1.29",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
"nodemailer": {
"version": "4.6.4",
"resolved": "https://registry.npmjs.org/nodemailer/-/nodemailer-4.6.4.tgz",
"integrity": "sha512-SD4uuX7NMzZ5f5m1XHDd13J4UC3SmdJk8DsmU1g6Nrs5h3x9LcXr6EBPZIqXRJ3LrF7RdklzGhZRF/TuylTcLg=="
}
}
}

View File

@ -1,12 +1,12 @@
{
"name": "node-red-node-email",
"version": "0.1.29",
"version": "1.0.0",
"description": "Node-RED nodes to send and receive simple emails",
"dependencies": {
"nodemailer": "^1.11.0",
"poplib": "^0.1.7",
"imap": "^0.8.19",
"mailparser": "^0.6.2",
"imap": "^0.8.19"
"nodemailer": "^4.6.4",
"poplib": "^0.1.7"
},
"repository": {
"type": "git",
@ -28,5 +28,8 @@
"name": "Dave Conway-Jones",
"email": "ceejay@vnet.ibm.com",
"url": "http://nodered.org"
},
"engines": {
"node": ">=6.0.0"
}
}