Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@coolgk/email

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@coolgk/email - npm Package Compare versions

Comparing version 3.0.2 to 3.0.3

4

email.d.ts
/*!
* @package @coolgk/utils
* @version 2.2.2
* @version 3.1.4
* @link https://github.com/coolgk/node-utils

@@ -65,3 +65,3 @@ * @license MIT

private _getMimeType;
constructor(options?: (IEmailOptions | IEmailConfigWithClient));
constructor(options?: IEmailOptions | IEmailConfigWithClient);
send(options: ISendOptions): Promise<any>;

@@ -68,0 +68,0 @@ private _formatEmailAddress(emails);

/*!
* @package @coolgk/utils
* @version 2.2.2
* @version 3.1.4
* @link https://github.com/coolgk/node-utils

@@ -25,4 +25,5 @@ * @license MIT

constructor(options = { host: 'localhost' }) {
this._emailClient = options.emailClient ?
options.emailClient : emailjs.server.connect(options);
this._emailClient = options.emailClient
? options.emailClient
: emailjs.server.connect(options);
this._stripTags = options.stripTags || string_1.stripTags;

@@ -29,0 +30,0 @@ this._getMimeType = options.getMimeType || mime_types_1.lookup;

@@ -1,1 +0,1 @@

{"name":"@coolgk/email","version":"3.0.2","author":"Daniel Gong <daniel.k.gong@gmail.com>","homepage":"https://github.com/coolgk/node-utils","bugs":{"url":"https://github.com/coolgk/node-utils/issues"},"repository":{"type":"git","url":"https://github.com/coolgk/node-utils.git"},"description":"a email sender wrapper class","keywords":["email","smtp sender","typescript"],"dependencies":{"mime-types":"^2.1.17","emailjs":"^2.0.0","@coolgk/string":"^2","@coolgk/array":"^2","@types/mime-types":"^2.1.0"},"main":"./email.js","types":"./email.d.ts","license":"MIT"}
{"name":"@coolgk/email","version":"3.0.3","author":"Daniel Gong <daniel.k.gong@gmail.com>","homepage":"https://github.com/coolgk/node-utils","bugs":{"url":"https://github.com/coolgk/node-utils/issues"},"repository":{"type":"git","url":"https://github.com/coolgk/node-utils.git"},"description":"a email sender wrapper class","keywords":["email","smtp sender","typescript"],"dependencies":{"mime-types":"^2.1.18","emailjs":"^2.0.0","@coolgk/string":"^2","@coolgk/array":"^2","@types/mime-types":"^2.1.0"},"main":"./email.js","types":"./email.d.ts","license":"MIT"}
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