@coolgk/email
Advanced tools
Comparing version 1.0.8 to 1.0.9
/*! | ||
* @package @coolgk/utils | ||
* @version 1.0.8 | ||
* @version 1.0.9 | ||
* @link https://www.npmjs.com/package/@coolgk/utils | ||
@@ -9,3 +9,3 @@ * @license MIT | ||
import mimeTypes = require('mime-types'); | ||
import { stripTags } from './string'; | ||
import { stripTags } from '@coolgk/string'; | ||
export interface IEmailConfig { | ||
@@ -12,0 +12,0 @@ readonly host: string; |
/*! | ||
* @package @coolgk/utils | ||
* @version 1.0.8 | ||
* @version 1.0.9 | ||
* @link https://www.npmjs.com/package/@coolgk/utils | ||
@@ -13,3 +13,3 @@ * @license MIT | ||
const path_1 = require("path"); | ||
const string_1 = require("./string"); | ||
const string_1 = require("@coolgk/string"); | ||
class Email { | ||
@@ -16,0 +16,0 @@ constructor(options = { host: 'localhost' }) { |
@@ -1,1 +0,1 @@ | ||
{"name":"@coolgk/email","version":"1.0.8","author":"Daniel Gong <daniel.k.gong@gmail.com>","homepage":"https://www.npmjs.com/package/@coolgk/utils","bugs":{"url":"https://github.com/coolgk/utils/issues"},"repository":{"type":"git","url":"https://github.com/coolgk/utils.git"},"description":"email sender","keywords":["email sender","smtp sender","typescript"],"dependencies":{"mime-types":"^2.1.17","emailjs":"^1.0.12"},"pre-commit":{"silent":false,"run":["test:precommit","tslint"]},"main":"./email.js","types":"./email.d.ts","license":"MIT"} | ||
{"name":"@coolgk/email","version":"1.0.9","author":"Daniel Gong <daniel.k.gong@gmail.com>","homepage":"https://www.npmjs.com/package/@coolgk/utils","bugs":{"url":"https://github.com/coolgk/utils/issues"},"repository":{"type":"git","url":"https://github.com/coolgk/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":"^1.0.8"},"pre-commit":{"silent":false,"run":["test:precommit","tslint"]},"main":"./email.js","types":"./email.d.ts","license":"MIT"} |
@@ -7,3 +7,3 @@ | ||
email sender | ||
a email sender wrapper class | ||
## Examples | ||
@@ -66,3 +66,2 @@ ```javascript | ||
| options | <code>object</code> | | | | ||
| [options.stripTags] | <code>function</code> | | ./stripTags.js | | ||
| [options.user] | <code>string</code> | | username for logging into smtp | | ||
@@ -81,2 +80,3 @@ | [options.password] | <code>string</code> | | password for logging into smtp | | ||
**Kind**: instance method of [<code>Email</code>](#Email) | ||
**Returns**: <code>promise</code> - - message sent | ||
@@ -83,0 +83,0 @@ | Param | Type | Description | |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8197
3
+ Added@coolgk/string@^1.0.8
+ Added@coolgk/string@1.1.4(transitive)