New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

mail-merger

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mail-merger - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

5

dist/mail-merger.d.ts

@@ -30,2 +30,7 @@ export declare class MailMerger {

}>;
/**
* remove BOM in UTF-8
* @param str
*/
private removeBom;
private readText;

@@ -32,0 +37,0 @@ private getContext;

13

dist/mail-merger.js

@@ -101,3 +101,14 @@ "use strict";

};
/**
* remove BOM in UTF-8
* @param str
*/
MailMerger.prototype.removeBom = function (str) {
if ((str === null || str === void 0 ? void 0 : str.charCodeAt(0)) === 0xFEFF) {
return str.slice(1);
}
return str;
};
MailMerger.prototype.readText = function (path) {
var _this = this;
var resolvedPath = Path.resolve(path);

@@ -111,3 +122,3 @@ if (Fs.existsSync(resolvedPath)) {

else {
resolve(str);
resolve(_this.removeBom(str));
}

@@ -114,0 +125,0 @@ });

2

package.json
{
"name": "mail-merger",
"version": "1.2.0",
"version": "1.2.1",
"description": "Tool of mail merge, which takes {{mustache}} email templates and data from json or csv to generate and bulk send emails",

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

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