Socket
Socket
Sign inDemoInstall

@types/smtp-server

Package Overview
Dependencies
2
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.15.6 to 1.15.7

74

smtp-server v1.15/index.d.ts

@@ -30,4 +30,2 @@ // Type definitions for smtp-server v1.15.0

* createServer can be added directly onto this options object.
*
* @memberOf SMTPServerOptions
*/

@@ -41,4 +39,2 @@ secure?: boolean | undefined;

* used for identifying to the client (defaults to os.hostname())
*
* @memberOf SMTPServerOptions
*/

@@ -49,4 +45,2 @@ name?: string | undefined;

* This message is appended to the default ESMTP response.
*
* @memberOf SMTPServerOptions
*/

@@ -58,3 +52,2 @@ banner?: string | undefined;

*
* @memberOf SMTPServerOptions
*/

@@ -69,4 +62,2 @@ size?: number | undefined;

* (either the server is started with secure: true option or STARTTLS command is used)
*
* @memberOf SMTPServerOptions
*/

@@ -76,4 +67,2 @@ authMethods?: string[] | undefined;

* allow authentication, but do not require it
*
* @memberOf SMTPServerOptions
*/

@@ -86,4 +75,2 @@ authOptional?: any;

* If you want to allow authentication in clear text, set it to ['STARTTLS'].
*
* @memberOf SMTPServerOptions
*/

@@ -96,4 +83,2 @@ disabledCommands?: string[] | undefined;

* where you want to try STARTTLS even when it is not advertised
*
* @memberOf SMTPServerOptions
*/

@@ -103,4 +88,2 @@ hideSTARTTLS?: boolean | undefined;

* optional boolean, if set to true then does not show PIPELINING in feature list
*
* @memberOf SMTPServerOptions
*/

@@ -111,3 +94,2 @@ hidePIPELINING?: boolean | undefined;

*
* @memberOf SMTPServerOptions
*/

@@ -118,3 +100,2 @@ hide8BITMIME?: boolean | undefined;

*
* @memberOf SMTPServerOptions
*/

@@ -125,3 +106,2 @@ hideSMTPUTF8?: boolean | undefined;

*
* @memberOf SMTPServerOptions
*/

@@ -132,3 +112,2 @@ allowInsecureAuth?: boolean | undefined;

*
* @memberOf SMTPServerOptions
*/

@@ -138,4 +117,2 @@ disableReverseLookup?: boolean | undefined;

* optional Map or an object of TLS options for SNI where servername is the key. Overrided by SNICallback.
*
* @memberOf SMTPServerOptions
*/

@@ -148,3 +125,2 @@ sniOptions?: Object | undefined;

*
* @memberOf SMTPServerOptions
*/

@@ -155,3 +131,2 @@ logger?: boolean | undefined;

*
* @memberOf SMTPServerOptions
*/

@@ -162,4 +137,2 @@ maxClients?: number | undefined;//defaults to Infinity

* PROXY header{http://www.haproxy.org/download/1.5/doc/proxy-protocol.txt} (version 1 only)
*
* @memberOf SMTPServerOptions
*/

@@ -171,4 +144,2 @@ useProxy?: boolean | undefined;

* See session.xClient (Map object) for the details provided by the client
*
* @memberOf SMTPServerOptions
*/

@@ -179,4 +150,2 @@ useXClient?: boolean | undefined;

* See session.xForward (Map object) for the details provided by the client
*
* @memberOf SMTPServerOptions
*/

@@ -187,3 +156,2 @@ useXForward?: boolean | undefined;

*
* @memberOf SMTPServerOptions
*/

@@ -193,4 +161,2 @@ lmtp?: boolean | undefined;

* How many milliseconds of inactivity to allow before disconnecting the client (defaults to 1 minute)
*
* @memberOf SMTPServerOptions
*/

@@ -201,4 +167,2 @@ socketTimeout?: number | undefined;//millisceonds

* connections once server.close() has been called (defaults to 30 seconds)
*
* @memberOf SMTPServerOptions
*/

@@ -208,5 +172,2 @@ closeTimeout?: number | undefined;//millisceonds

* The callback to handle authentications (see details https://github.com/andris9/smtp-server#handling-authentication)
*
*
* @memberOf SMTPServerOptions
*/

@@ -216,5 +177,2 @@ onAuth?: ((auth: Authentication, session: Session, callback: (err?: Error, response?: AuthenticationResponse) => any) => any) | undefined;

* The callback to handle the client connection. (see details https://github.com/andris9/smtp-server#validating-client-connection)
*
*
* @memberOf SMTPServerOptions
*/

@@ -224,5 +182,2 @@ onConnect?: ((session: Session, callback: (err?: Error) => any) => any) | undefined;

* the callback to validate MAIL FROM commands (see details https://github.com/andris9/smtp-server#validating-sender-addresses)
*
*
* @memberOf SMTPServerOptions
*/

@@ -232,5 +187,2 @@ onMailFrom?: ((address: Address, session: Session, callback: (err?: Error) => any) => any) | undefined;

* The callback to validate RCPT TO commands (see details https://github.com/andris9/smtp-server#validating-recipient-addresses)
*
*
* @memberOf SMTPServerOptions
*/

@@ -240,5 +192,2 @@ onRcptTo?: ((address: Address, session: Session, callback: (err?: Error) => any) => any) | undefined;

* the callback to handle incoming messages (see details https://github.com/andris9/smtp-server#processing-incoming-message)
*
*
* @memberOf SMTPServerOptions
*/

@@ -249,4 +198,2 @@ onData?: ((stream: any, session: Session, callback: (err?: Error) => any) => any) | undefined;

*
*
* @memberOf SMTPServerOptions
*/

@@ -259,4 +206,2 @@ onClose?: ((session: Session) => any) | undefined;

* indicates the authentication method used, 'PLAIN', 'LOGIN' or 'XOAUTH2'
*
* @memberOf Authentication
*/

@@ -267,3 +212,2 @@ method: "PLAIN" | "LOGIN" | "XOAUTH2";//'PLAIN', 'LOGIN' or 'XOAUTH2'

*
* @memberOf Authentication
*/

@@ -274,3 +218,2 @@ username?: string | undefined;

*
* @memberOf Authentication
*/

@@ -281,3 +224,2 @@ password?: string | undefined;

*
* @memberOf Authentication
*/

@@ -289,4 +231,2 @@ accessToken?: string | undefined;

*
*
* @memberOf Authentication
*/

@@ -302,3 +242,2 @@ validatePassword: (password: string) => boolean;

*
* @memberOf AuthenticationResponse
*/

@@ -310,3 +249,2 @@ user: any;

*
* @memberOf AuthenticationResponse
*/

@@ -320,3 +258,2 @@ data?: {} | undefined;

*
* @memberOf Session
*/

@@ -327,3 +264,2 @@ id: string;

*
* @memberOf Session
*/

@@ -334,3 +270,2 @@ remoteAddress: Address;

*
* @memberOf Session
*/

@@ -340,4 +275,2 @@ clientHostname: string;

* the opening SMTP command (HELO/EHLO/LHLO)
*
* @memberOf Session
*/

@@ -348,3 +281,2 @@ openingCommand: string;

*
* @memberOf Session
*/

@@ -355,3 +287,2 @@ hostNameApearsAs: string;

*
* @memberOf Session
*/

@@ -365,3 +296,2 @@ envelope: Envelope;

*
* @memberOf Envelope
*/

@@ -372,3 +302,2 @@ mailFrom: Address;

*
* @memberOf Envelope
*/

@@ -382,3 +311,2 @@ rcptTo: Address[];

*
* @memberOf Address
*/

@@ -388,6 +316,4 @@ address: string;

* an object with additional arguments (all key names are uppercase)
*
* @memberOf Address
*/
args: Object;
}

4

smtp-server v1.15/package.json
{
"name": "@types/smtp-server",
"version": "1.15.6",
"version": "1.15.7",
"description": "TypeScript definitions for smtp-server",

@@ -30,4 +30,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/smtp-server",

},
"typesPublisherContentHash": "20cc00b99c217b4b86398c596c1fe87fe3838285e6ede73bbe6034bf8edd057b",
"typesPublisherContentHash": "4abd0e1ce98ec853992d0e398962b50da0647c21859c139f0d4ee768c5a4564c",
"typeScriptVersion": "4.3"
}

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

### Additional Details
* Last updated: Sat, 29 Apr 2023 04:03:45 GMT
* Last updated: Thu, 25 May 2023 20:34:44 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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc