imapflow 1.0.126 → 1.0.127
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.
- package/CHANGELOG.md +4 -0
- package/lib/imap-flow.js +3 -7
- package/lib/types.d.ts +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
package/lib/imap-flow.js
CHANGED
|
@@ -121,7 +121,7 @@ class ImapFlow extends EventEmitter {
|
|
|
121
121
|
* @param {Boolean} [options.disableAutoIdle=false] if `true` then IDLE is not started automatically. Useful if you only need to perform specific tasks over the connection
|
|
122
122
|
* @param {Object} [options.tls] Additional TLS options (see [Node.js TLS connect](https://nodejs.org/api/tls.html#tls_tls_connect_options_callback) for all available options)
|
|
123
123
|
* @param {Boolean} [options.tls.rejectUnauthorized=true] if `false` then client accepts self-signed and expired certificates from the server
|
|
124
|
-
* @param {String} [options.tls.minVersion=TLSv1] To improvde security you might need to use something newer, eg *'TLSv1.2'*
|
|
124
|
+
* @param {String} [options.tls.minVersion=TLSv1.2] To improvde security you might need to use something newer, eg *'TLSv1.2'*
|
|
125
125
|
* @param {Number} [options.tls.minDHSize=1024] Minimum size of the DH parameter in bits to accept a TLS connection
|
|
126
126
|
* @param {Object} [options.logger] Custom logger instance with `debug(obj)`, `info(obj)`, `warn(obj)` and `error(obj)` methods. If not provided then ImapFlow logs to console using pino format
|
|
127
127
|
* @param {Boolean} [options.logRaw=false] If true then log data read from and written to socket encoded in base64
|
|
@@ -782,9 +782,7 @@ class ImapFlow extends EventEmitter {
|
|
|
782
782
|
{
|
|
783
783
|
socket: this.socket,
|
|
784
784
|
servername: this.servername,
|
|
785
|
-
port: this.port
|
|
786
|
-
minVersion: 'TLSv1',
|
|
787
|
-
minDHSize: 1024
|
|
785
|
+
port: this.port
|
|
788
786
|
},
|
|
789
787
|
this.options.tls || {}
|
|
790
788
|
);
|
|
@@ -1213,9 +1211,7 @@ class ImapFlow extends EventEmitter {
|
|
|
1213
1211
|
{
|
|
1214
1212
|
host: this.host,
|
|
1215
1213
|
servername: this.servername,
|
|
1216
|
-
port: this.port
|
|
1217
|
-
minVersion: 'TLSv1',
|
|
1218
|
-
minDHSize: 1024
|
|
1214
|
+
port: this.port
|
|
1219
1215
|
},
|
|
1220
1216
|
this.options.tls || {}
|
|
1221
1217
|
);
|
package/lib/types.d.ts
CHANGED
|
@@ -20,7 +20,7 @@ declare module "imapflow" {
|
|
|
20
20
|
* @param [options.disableAutoIdle = false] - if `true` then IDLE is not started automatically. Useful if you only need to perform specific tasks over the connection
|
|
21
21
|
* @param [options.tls] - Additional TLS options (see [Node.js TLS connect](https://nodejs.org/api/tls.html#tls_tls_connect_options_callback) for all available options)
|
|
22
22
|
* @param [options.tls.rejectUnauthorized = true] - if `false` then client accepts self-signed and expired certificates from the server
|
|
23
|
-
* @param [options.tls.minVersion = TLSv1] - To improvde security you might need to use something newer, eg *'TLSv1.2'*
|
|
23
|
+
* @param [options.tls.minVersion = TLSv1.2] - To improvde security you might need to use something newer, eg *'TLSv1.2'*
|
|
24
24
|
* @param [options.tls.minDHSize = 1024] - Minimum size of the DH parameter in bits to accept a TLS connection
|
|
25
25
|
* @param [options.logger] - Custom logger instance with `debug(obj)`, `info(obj)`, `warn(obj)` and `error(obj)` methods. If not provided then ImapFlow logs to console using pino format
|
|
26
26
|
* @param [options.logRaw = false] - If true then log data read from and written to socket encoded in base64
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "imapflow",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.127",
|
|
4
4
|
"description": "IMAP Client for Node",
|
|
5
5
|
"main": "./lib/imap-flow.js",
|
|
6
6
|
"scripts": {
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"@babel/preset-env": "7.21.4",
|
|
34
34
|
"@types/node": "18.15.11",
|
|
35
35
|
"braintree-jsdoc-template": "3.3.0",
|
|
36
|
-
"eslint": "8.
|
|
36
|
+
"eslint": "8.38.0",
|
|
37
37
|
"eslint-config-nodemailer": "1.2.0",
|
|
38
38
|
"eslint-config-prettier": "8.8.0",
|
|
39
39
|
"grunt": "1.6.1",
|