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.33 to 0.8.34

6

imap/index.d.ts

@@ -168,2 +168,4 @@ // Type definitions for imap v0.8.14

export type SortCriteria = 'ARRIVAL' | '-ARRIVAL' | 'CC' | '-CC' | 'DATE' | '-DATE' | 'FROM' | '-FROM' | 'SIZE' | '-SIZE' | 'SUBJECT' | '-SUBJECT' | 'TO' | '-TO';
export interface MessageFunctions {

@@ -220,2 +222,4 @@ /** Searches the currently open mailbox for messages using given criteria. criteria is a list describing what you want to find. For criteria types that require arguments, use an array instead of just the string criteria type name (e.g. ['FROM', 'foo@bar.com']). Prefix criteria types with an "!" to negate.

search(criteria: any[], callback: (error: Error, uids: number[]) => void): void;
/** Sorts the currently open mailbox for messages using given sortCriteria. This method first searches the mailbox for messages that match the given searching criteria and then sorts by given sort criteria. (This is a specification of RFC 5256. ) */
sort(sortCriteria: SortCriteria[], searchCriteria: any[], callback: (error: Error, uids: number[]) => void): void;
/** Fetches message(s) in the currently open mailbox; source can be a single message identifier, a message identifier range (e.g. '2504:2507' or '*' or '2504:*'), an array of message identifiers, or an array of message identifier ranges. */

@@ -265,2 +269,4 @@ fetch(source: any /* MessageSource */, options: FetchOptions): ImapFetch;

search(criteria: any[], callback: (error: Error, uids: number[]) => void): void;
/** Sorts the currently open mailbox for messages using given sortCriteria. This method first searches the mailbox for messages that match the given searching criteria and then sorts by given sort criteria. (This is a specification of RFC 5256. ) */
sort(sortCriteria: Connection.SortCriteria[], searchCriteria: any[], callback: (error: Error, uids: number[]) => void): void;
/** Fetches message(s) in the currently open mailbox. */

@@ -267,0 +273,0 @@ fetch(source: any /* MessageSource */, options: Connection.FetchOptions): Connection.ImapFetch;

6

imap/package.json
{
"name": "@types/imap",
"version": "0.8.33",
"version": "0.8.34",
"description": "TypeScript definitions for imap",

@@ -24,4 +24,4 @@ "license": "MIT",

},
"typesPublisherContentHash": "aa8f5a4984399e81cf7fde7468e83171d16af32fa2d24bdb8443187f54060358",
"typeScriptVersion": "3.3"
"typesPublisherContentHash": "60d1c3c036bcdcde7fede85c2f168ae1a6f4cd4dc3c127081c8be84481486799",
"typeScriptVersion": "3.5"
}

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

### Additional Details
* Last updated: Mon, 04 Jan 2021 20:50:21 GMT
* Last updated: Tue, 18 May 2021 16:31:45 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