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

@types/imap

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/imap - npm Package Compare versions

Comparing version 0.8.34 to 0.8.35

48

imap/index.d.ts

@@ -20,23 +20,23 @@ // Type definitions for imap v0.8.14

/** Base64-encoded OAuth token for OAuth authentication for servers that support it (See Andris Reinman's xoauth.js module to help generate this string). */
xoauth?: string;
xoauth?: string | undefined;
/** Base64-encoded OAuth2 token for The SASL XOAUTH2 Mechanism for servers that support it (See Andris Reinman's xoauth2 module to help generate this string). */
xoauth2?: string;
xoauth2?: string | undefined;
/** Hostname or IP address of the IMAP server. Default: "localhost" */
host?: string;
host?: string | undefined;
/** Port number of the IMAP server. Default: 143 */
port?: number;
port?: number | undefined;
/** Perform implicit TLS connection? Default: false */
tls?: boolean;
tls?: boolean | undefined;
/** Options object to pass to tls.connect() Default: (none) */
tlsOptions?: ConnectionOptions;
tlsOptions?: ConnectionOptions | undefined;
/** Set to 'always' to always attempt connection upgrades via STARTTLS, 'required' only if upgrading is required, or 'never' to never attempt upgrading. Default: 'never' */
autotls?: string;
autotls?: string | undefined;
/** Number of milliseconds to wait for a connection to be established. Default: 10000 */
connTimeout?: number;
connTimeout?: number | undefined;
/** Number of milliseconds to wait to be authenticated after a connection has been established. Default: 5000 */
authTimeout?: number;
authTimeout?: number | undefined;
/** Configures the keepalive mechanism. Set to true to enable keepalive with defaults or set to object to enable and configure keepalive behavior: Default: true */
keepalive?: any; /* boolean|KeepAlive */
/** If set, the function will be called with one argument, a string containing some debug info Default: (no debug output) */
debug?: Function;
debug?: Function | undefined;
}

@@ -46,7 +46,7 @@

/** This is the interval (in milliseconds) at which NOOPs are sent and the interval at which idleInterval is checked. Default: 10000 */
interval?: number;
interval?: number | undefined;
/** This is the interval (in milliseconds) at which an IDLE command (for servers that support IDLE) is re-sent. Default: 300000 (5 mins) */
idleInterval?: number;
idleInterval?: number | undefined;
/** Set to true to force use of NOOP keepalive on servers also support IDLE. Default: false */
forceNoop?: boolean;
forceNoop?: boolean | undefined;
}

@@ -66,3 +66,3 @@

/** True if this mailbox was opened in read-only mode. (Only available with openBox() calls) */
readOnly?: boolean;
readOnly?: boolean | undefined;
/** True if new keywords can be added to messages in this mailbox. */

@@ -106,5 +106,5 @@ newKeywords: boolean;

/** The message's body structure (only set if requested with fetch()). */
struct?: any[];
struct?: any[] | undefined;
/** The RFC822 message size (only set if requested with fetch()). */
size?: number;
size?: number | undefined;
}

@@ -122,13 +122,13 @@

/** Mark message(s) as read when fetched. Default: false */
markSeen?: boolean;
markSeen?: boolean | undefined;
/** Fetch the message structure. Default: false */
struct?: boolean;
struct?: boolean | undefined;
/** Fetch the message envelope. Default: false */
envelope?: boolean;
envelope?: boolean | undefined;
/** Fetch the RFC822 size. Default: false */
size?: boolean;
size?: boolean | undefined;
/** Fetch modifiers defined by IMAP extensions. Default: (none) */
modifiers?: Object;
modifiers?: Object | undefined;
/** A string or Array of strings containing the body part section to fetch. Default: (none) Example sections: */
bodies?: string | string[];
bodies?: string | string[] | undefined;
}

@@ -166,7 +166,7 @@

/** The name of the mailbox to append the message to. Default: the currently open mailbox */
mailbox?: string;
mailbox?: string | undefined;
/** A single flag (e.g. 'Seen') or an array of flags (e.g. ['Seen', 'Flagged']) to append to the message. Default: (no flags) */
flags?: any; /* string|string[] */
/** What to use for message arrival date/time. Default: (current date/time) */
date?: Date;
date?: Date | undefined;
}

@@ -173,0 +173,0 @@

{
"name": "@types/imap",
"version": "0.8.34",
"version": "0.8.35",
"description": "TypeScript definitions for imap",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/imap",
"license": "MIT",

@@ -24,4 +25,4 @@ "contributors": [

},
"typesPublisherContentHash": "60d1c3c036bcdcde7fede85c2f168ae1a6f4cd4dc3c127081c8be84481486799",
"typeScriptVersion": "3.5"
"typesPublisherContentHash": "adbe0305ef4a5d58679e3e1bf088011160afcbdcee6941aa0780a7b4b555f85f",
"typeScriptVersion": "3.6"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Tue, 18 May 2021 16:31:45 GMT
* Last updated: Thu, 08 Jul 2021 14:23:10 GMT
* Dependencies: [@types/node](https://npmjs.com/package/@types/node)

@@ -14,0 +14,0 @@ * Global values: none

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