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 2.0.3 to 2.0.4

8

email.d.ts
/*!
* @package @coolgk/utils
* @version 2.0.3
* @version 2.1.1
* @link https://www.npmjs.com/package/@coolgk/utils

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

import mimeTypes = require('mime-types');
import { lookup } from 'mime-types';
import { stripTags } from '@coolgk/string';

@@ -14,3 +14,3 @@ export interface IEmailConfig {

readonly stripTags?: typeof stripTags;
readonly getMimeType?: typeof mimeTypes.lookup;
readonly getMimeType?: typeof lookup;
readonly user?: string;

@@ -30,3 +30,3 @@ readonly password?: string;

readonly stripTags?: typeof stripTags;
readonly getMimeType?: typeof mimeTypes.lookup;
readonly getMimeType?: typeof lookup;
}

@@ -33,0 +33,0 @@ export interface IEmailAddress {

/*!
* @package @coolgk/utils
* @version 2.0.3
* @version 2.1.1
* @link https://www.npmjs.com/package/@coolgk/utils

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

const emailjs = require("emailjs");
const mimeTypes = require("mime-types");
const mime_types_1 = require("mime-types");
const path_1 = require("path");

@@ -20,3 +20,3 @@ const string_1 = require("@coolgk/string");

this._stripTags = options.stripTags || string_1.stripTags;
this._getMimeType = options.getMimeType || mimeTypes.lookup;
this._getMimeType = options.getMimeType || mime_types_1.lookup;
}

@@ -23,0 +23,0 @@ send(options) {

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

{"name":"@coolgk/email","version":"2.0.3","author":"Daniel Gong <daniel.k.gong@gmail.com>","homepage":"https://www.npmjs.com/package/@coolgk/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":"^1.0.12","@coolgk/string":"^2"},"pre-commit":{"silent":false,"run":["tslint","test:precommit"]},"main":"./email.js","types":"./email.d.ts","license":"MIT"}
{"name":"@coolgk/email","version":"2.0.4","author":"Daniel Gong <daniel.k.gong@gmail.com>","homepage":"https://www.npmjs.com/package/@coolgk/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":"^1.0.12","@coolgk/string":"^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