hof-emailer
Advanced tools
Comparing version 2.1.0 to 2.1.1
{ | ||
"name": "hof-emailer", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "A service for generating and sending html and raw emails for use with HOF services", | ||
@@ -16,3 +16,3 @@ "main": "index.js", | ||
"scripts": { | ||
"test": "npm-run-all lint unit coverage snyk", | ||
"test": "npm-run-all lint unit coverage", | ||
"unit": "mocha", | ||
@@ -30,3 +30,3 @@ "lint": "eslint .", | ||
"mkdirp": "^0.5.1", | ||
"nodemailer": "^2.6.4", | ||
"nodemailer": "^6.4.16", | ||
"nodemailer-ses-transport": "^1.5.0", | ||
@@ -33,0 +33,0 @@ "nodemailer-smtp-transport": "^2.7.2", |
@@ -74,11 +74,22 @@ # HOF Emailer | ||
#### Options | ||
A development option to write the html content of the email to a file for inspection. | ||
`transport: 'debug'` | ||
#### debug options | ||
- `dir` <String>: The location to save html to. Default: `./.emails`. This directory will be created if it does not exist. | ||
- `open` <Boolean>: If set to true, will automatically open the created html file in a browser. | ||
#### debug example | ||
``` | ||
transport: 'debug' | ||
transportOptions: { | ||
dir: './emails', | ||
open: true | ||
} | ||
``` | ||
### `stub` | ||
Disables sending email. No options are required. |
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
47555
35
95
3
+ Addednodemailer@6.10.0(transitive)
- Removedaddressparser@1.0.1(transitive)
- Removedbuildmail@4.0.1(transitive)
- Removediconv-lite@0.4.15(transitive)
- Removedip@1.1.9(transitive)
- Removedlibbase64@0.1.0(transitive)
- Removedlibmime@3.0.0(transitive)
- Removedlibqp@1.1.0(transitive)
- Removedmailcomposer@4.0.1(transitive)
- Removednodemailer@2.7.2(transitive)
- Removednodemailer-direct-transport@3.3.2(transitive)
- Removednodemailer-smtp-pool@2.8.2(transitive)
- Removednodemailer-smtp-transport@2.7.2(transitive)
- Removedpunycode@1.4.1(transitive)
- Removedsmart-buffer@1.1.15(transitive)
- Removedsocks@1.1.9(transitive)
Updatednodemailer@^6.4.16