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

imapflow

Package Overview
Dependencies
Maintainers
1
Versions
167
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

imapflow - npm Package Compare versions

Comparing version 1.0.108 to 1.0.109

4

CHANGELOG.md
# 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

12

package.json
{
"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

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