Socket
Socket
Sign inDemoInstall

dotmail

Package Overview
Dependencies
71
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.6 to 0.0.7

brand/dotmail.svg

14

index.js

@@ -17,4 +17,3 @@ 'use strict';

var getCompiled = function (obj) {
var fns = {},
i;
var fns = {}, i;

@@ -35,4 +34,4 @@ for (i in obj) {

Template.prototype.render = function (data) {
var msg = {},
obj, i, j;
var msg = {}, i;
for (i in this.src) {

@@ -81,7 +80,5 @@ msg[i] = this.compiled[i]( data );

}
data = data || {};
var message = template.render( data );
//console.log( message );
//callback('finished');
var message = template.render( data || {} );
account.server.send( message, callback );

@@ -108,3 +105,2 @@ };

dotmail.addTemplate = function (key, template) {
templates[key] = {};
templates[key] = new Template( template );

@@ -111,0 +107,0 @@ };

{
"name": "dotmail",
"version": "0.0.6",
"version": "0.0.7",
"description": "Send emails with templates",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc