Socket
Socket
Sign inDemoInstall

email-templates

Package Overview
Dependencies
Maintainers
1
Versions
137
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

email-templates - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

6

lib/main.js

@@ -54,2 +54,6 @@ // node-email-templates

if (typeof html === 'function') {
callback = html;
html = that.html;
}
if (!html) html = that.html

@@ -62,3 +66,3 @@ if (!text) text = that.text

if (stylesheet) html = juice(html, stylesheet);
if (typeof html === 'function') callback = html;

@@ -65,0 +69,0 @@ // return a compressed buffer

5

package.json
{
"name": "email-templates"
, "description": "Node.js module for rendering beautiful emails with ejs templates and email-friendly inline CSS using juice."
, "version": "0.0.5"
, "version": "0.0.6"
, "author": "Nick Baugh <niftylettuce@gmail.com>"
, "contributors": [
{ "name": "Nick Baugh", "email": "niftylettuce@gmail.com" }
{ "name": "Nick Baugh", "email": "niftylettuce@gmail.com" }
, { "name": "Andrea Baccega", "email": "vekexasia@gmail.com" }
]

@@ -9,0 +10,0 @@ , "keywords": [ "node-email-templates", "ejs", "email", "templates", "email-templates", "juice", "inline", "css" ]

# node-email-templates <sup>0.0.5</sup>
# node-email-templates <sup>0.0.6</sup>
Node.js module for rendering beautiful emails with [ejs][1] templates and email-friendly inline CSS using [juice][2].
**v0.0.6**:
* Fixed batch problem (`...has no method slice`) thanks to @vekexasia
**v0.0.5**:

@@ -365,5 +368,5 @@ * Added support for an optional [zlib][8] compression type (e.g. you can return compressed html/text buffer for db storage)

* Nick Baugh <niftylettuce@gmail.com>
* Andrea Baccega <vekexasia@gmail.com>
## License

@@ -370,0 +373,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc