Comparing version 1.0.108 to 1.0.109
# CHANGELOG | ||
- 1.0.109 - 2022-09-29 | ||
- New method `downloadMany` | ||
- 1.0.102 - 2022-08-18 | ||
@@ -4,0 +8,0 @@ |
@@ -482,2 +482,18 @@ /// <reference types="node" /> | ||
/** | ||
* Fetch multiple attachments as Buffer values | ||
* @example | ||
* let mailbox = await client.mailboxOpen('INBOX'); | ||
* // download body part nr '1.2' from latest message | ||
* let response = await client.downloadMany('*', ['2', '3]); | ||
* process.stdout.write(response[2].content) | ||
* process.stdout.write(response[3].content) | ||
* @param range - UID or sequence number for the message to fetch | ||
* @param parts - A list of bodystructure parts | ||
* @param [options.uid] - If `true` then uses UID number instead of sequence number for `range` | ||
* @returns Download data object | ||
*/ | ||
downloadMany(range: SequenceString, parts: string, options?: { | ||
uid?: boolean; | ||
}): Promise<object>; | ||
/** | ||
* Opens a mailbox if not already open and returns a lock. Next call to `getMailboxLock()` is queued | ||
@@ -484,0 +500,0 @@ * until previous lock is released. This is suggested over {@link module:imapflow~ImapFlow#mailboxOpen|mailboxOpen()} as |
{ | ||
"name": "imapflow", | ||
"version": "1.0.108", | ||
"version": "1.0.109", | ||
"description": "IMAP Client for Node", | ||
@@ -33,6 +33,6 @@ "main": "./lib/imap-flow.js", | ||
"@babel/plugin-syntax-class-properties": "7.12.13", | ||
"@babel/preset-env": "7.19.1", | ||
"@types/node": "18.7.18", | ||
"@babel/preset-env": "7.19.3", | ||
"@types/node": "18.7.23", | ||
"braintree-jsdoc-template": "3.3.0", | ||
"eslint": "8.23.1", | ||
"eslint": "8.24.0", | ||
"eslint-config-nodemailer": "1.2.0", | ||
@@ -55,6 +55,6 @@ "eslint-config-prettier": "8.5.0", | ||
"mailsplit": "5.3.2", | ||
"nodemailer": "6.7.8", | ||
"pino": "8.6.0", | ||
"nodemailer": "6.8.0", | ||
"pino": "8.6.1", | ||
"socks": "2.7.0" | ||
} | ||
} |
Sorry, the diff of this file is too big to display
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
536234
11968
+ Addednodemailer@6.8.0(transitive)
+ Addedpino@8.6.1(transitive)
- Removednodemailer@6.7.8(transitive)
- Removedpino@8.6.0(transitive)
Updatednodemailer@6.8.0
Updatedpino@8.6.1