chore: remove unused dependency

This commit is contained in:
Zack Schuster 2020-06-16 20:12:11 -07:00
parent e575f1cb19
commit 9b2a2e15e6
4 changed files with 1 additions and 25 deletions

View File

@ -20,15 +20,6 @@ send emails, html and attachments (files, streams and strings) from node.js to a
- auth access to an SMTP Server
- if your service (ex: gmail) uses two-step authentication, use an application specific password
- if you use typescript, add the following to `compilerOptions` in your `tsconfig.json`:
```
"typeRoots": [
"./node_modules/@types",
"./node_modules/emailjs/smtp"
]
```
this will tell `tsc` where to find our custom types for `addressparser`.
## EXAMPLE USAGE - text only emails

View File

@ -57,8 +57,5 @@
"test": "ava --serial",
"test-cjs": "npm run build && npm run test -- --node-arguments='--title=cjs'"
},
"license": "MIT",
"dependencies": {
"addressparser": "^1.0.1"
}
"license": "MIT"
}

View File

@ -1,7 +0,0 @@
declare module 'addressparser' {
const addressparser: (
address?: string | string[],
options?: { flatten: boolean }
) => { name: string; address: string }[];
export = addressparser;
}

View File

@ -247,11 +247,6 @@ acorn@^7.2.0, acorn@^7.3.1:
resolved "https://registry.npmjs.org/acorn/-/acorn-7.3.1.tgz#85010754db53c3fbaf3b9ea3e083aa5c5d147ffd"
integrity sha512-tLc0wSnatxAQHVHUapaHdz72pi9KUyHjq5KyHjGg9Y8Ifdc79pTh2XvI6I1/chZbnM7QtNKzh66ooDogPZSleA==
addressparser@^1.0.1:
version "1.0.1"
resolved "https://registry.npmjs.org/addressparser/-/addressparser-1.0.1.tgz#47afbe1a2a9262191db6838e4fd1d39b40821746"
integrity sha1-R6++GiqSYhkdtoOOT9HTm0CCF0Y=
aggregate-error@^3.0.0:
version "3.0.1"
resolved "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.0.1.tgz#db2fe7246e536f40d9b5442a39e117d7dd6a24e0"