Socket
Socket
Sign inDemoInstall

@types/simplesmtp

Package Overview
Dependencies
2
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.3.6 to 0.3.7

12

simplesmtp/index.d.ts

@@ -76,3 +76,2 @@ // Type definitions for simplesmtp 0.3.35

export class SMTPServer extends events.EventEmitter {
constructor(options?: SmtpServerOptions);

@@ -95,12 +94,8 @@

public end(callback: () => void): void;
}
export class SimpleServer extends events.EventEmitter {
constructor(callback?: (connection: SimpleServerConnection) => void);
constructor(options?: SmtpServerOptions, callback?: (connection: SimpleServerConnection) => void);
public server: SMTPServer;

@@ -116,3 +111,2 @@

public listen(port: number, host: string, callback?: (error: Error) => void): void;
}

@@ -152,4 +146,6 @@

export function createSimpleServer(callback?: (connection: SimpleServerConnection) => void): SimpleServer;
export function createSimpleServer(options?: SmtpServerOptions, callback?: (connection: SimpleServerConnection) => void): SimpleServer;
export function createSimpleServer(
options?: SmtpServerOptions,
callback?: (connection: SimpleServerConnection) => void,
): SimpleServer;
{
"name": "@types/simplesmtp",
"version": "0.3.6",
"version": "0.3.7",
"description": "TypeScript definitions for simplesmtp",

@@ -25,4 +25,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/simplesmtp",

},
"typesPublisherContentHash": "dbdb8e0b134dcefc27ffdb9defb7e40aa1a6eea7d93a3c10d5c757b278c6667d",
"typeScriptVersion": "4.3"
"typesPublisherContentHash": "5c28d8f6179f5fdf9473da177cd55ce9c7239202d109d9b96dd1617bb69f4aac",
"typeScriptVersion": "4.5"
}

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

### Additional Details
* Last updated: Sat, 29 Apr 2023 04:03:45 GMT
* Last updated: Mon, 25 Sep 2023 13:39:06 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