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

@types/nodemailer

Package Overview
Dependencies
Maintainers
1
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/nodemailer - npm Package Compare versions

Comparing version 6.1.0 to 6.1.1

4

nodemailer/lib/base64.d.ts

@@ -16,3 +16,3 @@ /// <reference types="node" />

export class Encoder extends Transform {
options: TransformOptions;
options: EncoderOptions;

@@ -22,3 +22,3 @@ inputBytes: number;

constructor(options?: TransformOptions);
constructor(options?: EncoderOptions);
}

@@ -38,9 +38,9 @@ /// <reference types="node" />

options: DKIM.Options;
keys: Array<string | { key: string; passphrase: string }>;
keys: DKIM.SingleKeyOptions[];
constructor(options: DKIM.Options);
constructor(options?: DKIM.Options);
sign(input: string | Buffer | Readable, extraOptions: DKIM.Options): PassThrough;
sign(input: string | Buffer | Readable, extraOptions?: DKIM.Options): PassThrough;
}
export = DKIM;

@@ -16,2 +16,4 @@ /// <reference types="node" />

declare class RelaxedBody extends Transform {
constructor(options?: RelaxedBody.Options);
addListener(event: 'hash', listener: (digest: Buffer, debugBody: Buffer | false) => void): this;

@@ -18,0 +20,0 @@ addListener(event: 'close', listener: () => void): this;

@@ -5,8 +5,8 @@ import DKIM = require('.');

/** Returns DKIM signature header line */
declare function relaxedHeaders(headers: MessageParser.Header[], hashAlgo: string, bodyHash: string, options: DKIM.SingleKeyOptions): string;
declare function relaxedHeaders(headers: MessageParser.Header[], hashAlgo: string, bodyHash: string, options?: DKIM.SingleKeyOptions): string;
declare namespace relaxedHeaders {
function relaxedHeaders(headers: MessageParser.Header[], hashAlgo: string, bodyHash: string, options: DKIM.SingleKeyOptions): string;
function relaxedHeaders(headers: MessageParser.Header[], hashAlgo: string, bodyHash: string, options?: DKIM.SingleKeyOptions): string;
}
export = relaxedHeaders;

@@ -170,3 +170,3 @@ /// <reference types="node" />

constructor(transporter: Transport, options: TransportOptions, defaults: TransportOptions);
constructor(transporter: Transport, options?: TransportOptions, defaults?: TransportOptions);

@@ -173,0 +173,0 @@ /** Closes all connections in the pool. If there is a message being sent, the connection is closed later */

@@ -49,3 +49,3 @@ /// <reference types="node" />

declare class MimeNode {
constructor(contentType: string, options?: MimeNode.Options);
constructor(contentType?: string, options?: MimeNode.Options);

@@ -52,0 +52,0 @@ /** Creates and appends a child node.Arguments provided are passed to MimeNode constructor */

@@ -17,3 +17,3 @@ /// <reference types="node" />

export class Encoder extends Transform {
options: TransformOptions;
options: EncoderOptions;

@@ -23,3 +23,3 @@ inputBytes: number;

constructor(options?: TransformOptions);
constructor(options?: EncoderOptions);
}

@@ -30,3 +30,3 @@ /// <reference types="node" />

export function resolveHostname(options: ResolveHostnameValue, callback: (err: Error | null, value: ResolveHostnameValue) => void): void;
export function resolveHostname(options: ResolveHostnameOptions | null | undefined, callback: (err: Error | null, value: ResolveHostnameValue) => void): void;

@@ -33,0 +33,0 @@ /** Parses connection url to a structured configuration object */

@@ -57,3 +57,3 @@ /// <reference types="node" />

constructor(options: SMTPPool.Options | string);
constructor(options?: SMTPPool.Options | string);

@@ -60,0 +60,0 @@ /** Placeholder function for creating proxy sockets. This method immediatelly returns without a socket */

{
"name": "@types/nodemailer",
"version": "6.1.0",
"version": "6.1.1",
"description": "TypeScript definitions for Nodemailer",

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

},
"typesPublisherContentHash": "dcf681307d7d4df1ddf14a898f47fc3aa3d564aa97a89dc893874c692eaf2c57",
"typesPublisherContentHash": "a650b914d963a357341d26b2b50c6d64832f6a849206656e6fc18c586532ab7f",
"typeScriptVersion": "2.3"
}

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

Additional Details
* Last updated: Fri, 17 May 2019 22:40:38 GMT
* Last updated: Fri, 24 May 2019 16:40:13 GMT
* Dependencies: @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