@types/nodemailer 3.1.11 → 3.1.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
nodemailer v3.1/LICENSE CHANGED
File without changes
@@ -2,15 +2,14 @@
2
2
  > `npm install --save @types/nodemailer`
3
3
 
4
4
  # Summary
5
- This package contains type definitions for Nodemailer (https://github.com/andris9/Nodemailer).
5
+ This package contains type definitions for nodemailer (https://github.com/andris9/Nodemailer).
6
6
 
7
7
  # Details
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/nodemailer/v3.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Mon, 30 Jan 2023 16:02:42 GMT
11
+ * Last updated: Wed, 18 Oct 2023 05:47:08 GMT
12
12
  * Dependencies: [@types/node](https://npmjs.com/package/@types/node), [@types/nodemailer-direct-transport](https://npmjs.com/package/@types/nodemailer-direct-transport), [@types/nodemailer-ses-transport](https://npmjs.com/package/@types/nodemailer-ses-transport), [@types/nodemailer-smtp-transport](https://npmjs.com/package/@types/nodemailer-smtp-transport)
13
- * Global values: none
14
13
 
15
14
  # Credits
16
15
  These definitions were written by [Rogier Schouten](https://github.com/rogierschouten).
@@ -1,13 +1,8 @@
1
- // Type definitions for Nodemailer 3.1.5
2
- // Project: https://github.com/andris9/Nodemailer
3
- // Definitions by: Rogier Schouten <https://github.com/rogierschouten>
4
- // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
5
-
6
1
  /// <reference types="node" />
7
2
 
8
3
  import directTransport = require("nodemailer-direct-transport");
9
4
  import smtpTransport = require("nodemailer-smtp-transport");
10
- import sesTransport = require("nodemailer-ses-transport")
5
+ import sesTransport = require("nodemailer-ses-transport");
11
6
 
12
7
  /**
13
8
  * Transporter plugin
@@ -91,7 +86,7 @@ export interface AttachmentObject {
91
86
  /**
92
87
  * String, Buffer or a Stream contents for the attachment
93
88
  */
94
- content: string|Buffer|NodeJS.ReadableStream;
89
+ content: string | Buffer | NodeJS.ReadableStream;
95
90
  /**
96
91
  * If set and content is string, then encodes the content to a Buffer using the specified encoding. Example values: base64, hex, 'binary' etc. Useful if you want to use binary attachments in a JSON formatted e-mail object.
97
92
  */
@@ -146,11 +141,11 @@ export interface SendMailOptions {
146
141
  /**
147
142
  * The plaintext version of the message as an Unicode string, Buffer, Stream or an object {path: '...'}
148
143
  */
149
- text?: string|Buffer|NodeJS.ReadableStream|AttachmentObject | undefined;
144
+ text?: string | Buffer | NodeJS.ReadableStream | AttachmentObject | undefined;
150
145
  /**
151
146
  * The HTML version of the message as an Unicode string, Buffer, Stream or an object {path: '...'}
152
147
  */
153
- html?: string|Buffer|NodeJS.ReadableStream|AttachmentObject | undefined;
148
+ html?: string | Buffer | NodeJS.ReadableStream | AttachmentObject | undefined;
154
149
  /**
155
150
  * An object or array of additional header fields (e.g. {"X-Key-Name": "key value"} or [{key: "X-Key-Name", value: "val1"}, {key: "X-Key-Name", value: "val2"}])
156
151
  */
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@types/nodemailer",
3
- "version": "3.1.11",
4
- "description": "TypeScript definitions for Nodemailer",
3
+ "version": "3.1.13",
4
+ "description": "TypeScript definitions for nodemailer",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/nodemailer",
6
6
  "license": "MIT",
7
7
  "contributors": [
8
8
  {
9
9
  "name": "Rogier Schouten",
10
- "url": "https://github.com/rogierschouten",
11
- "githubUsername": "rogierschouten"
10
+ "githubUsername": "rogierschouten",
11
+ "url": "https://github.com/rogierschouten"
12
12
  }
13
13
  ],
14
14
  "main": "",
@@ -25,6 +25,6 @@
25
25
  "@types/nodemailer-ses-transport": "*",
26
26
  "@types/nodemailer-smtp-transport": "*"
27
27
  },
28
- "typesPublisherContentHash": "c72f094f189254ba144cf20bd1e71e2d28f457e39f68daee12c396dbc19039cd",
29
- "typeScriptVersion": "4.2"
28
+ "typesPublisherContentHash": "2818158d8577b4dec5e3d77f62df59fd09e8d3d8d7a7655a42be8670a8066212",
29
+ "typeScriptVersion": "4.5"
30
30
  }