imapflow 1.0.127 → 1.0.129

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 CHANGED
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
+ - 1.0.129 - 2023-06-12
4
+
5
+ - Bumped deps for maintenance
6
+
3
7
  - 1.0.127 - 2023-04-10
4
8
 
5
9
  - Use default Node.js TLS settings
package/lib/imap-flow.js CHANGED
@@ -123,7 +123,7 @@ class ImapFlow extends EventEmitter {
123
123
  * @param {Boolean} [options.tls.rejectUnauthorized=true] if `false` then client accepts self-signed and expired certificates from the server
124
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
- * @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
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. Can be disabled by setting to `false`
127
127
  * @param {Boolean} [options.logRaw=false] If true then log data read from and written to socket encoded in base64
128
128
  * @param {Boolean} [options.emitLogs=false] If `true` then in addition of sending data to logger, ImapFlow emits 'log' events with the same data
129
129
  * @param {Boolean} [options.verifyOnly=false] If `true` then logs out automatically after successful authentication
@@ -176,6 +176,7 @@ module.exports = {
176
176
  'spamowanie',
177
177
  'søppelpost',
178
178
  'thư rác',
179
+ 'wiadomości-śmieci',
179
180
  'спам',
180
181
  'דואר זבל',
181
182
  'الرسائل العشوائية',
package/lib/tools.js CHANGED
@@ -165,6 +165,10 @@ module.exports = {
165
165
  listed: !!folder.listed
166
166
  };
167
167
 
168
+ if (folder.delimiter) {
169
+ data.delimiter = folder.delimiter;
170
+ }
171
+
168
172
  if (folder.specialUse) {
169
173
  data.specialUse = folder.specialUse;
170
174
  }
package/lib/types.d.ts CHANGED
@@ -22,7 +22,7 @@ declare module "imapflow" {
22
22
  * @param [options.tls.rejectUnauthorized = true] - if `false` then client accepts self-signed and expired certificates from the server
23
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
- * @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
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. Can be disabled by setting to `false`
26
26
  * @param [options.logRaw = false] - If true then log data read from and written to socket encoded in base64
27
27
  * @param [options.emitLogs = false] - If `true` then in addition of sending data to logger, ImapFlow emits 'log' events with the same data
28
28
  * @param [options.verifyOnly = false] - If `true` then logs out automatically after successful authentication
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "imapflow",
3
- "version": "1.0.127",
3
+ "version": "1.0.129",
4
4
  "description": "IMAP Client for Node",
5
5
  "main": "./lib/imap-flow.js",
6
6
  "scripts": {
@@ -27,19 +27,19 @@
27
27
  },
28
28
  "homepage": "https://imapflow.com/",
29
29
  "devDependencies": {
30
- "@babel/eslint-parser": "7.21.3",
31
- "@babel/eslint-plugin": "7.19.1",
30
+ "@babel/eslint-parser": "7.22.5",
31
+ "@babel/eslint-plugin": "7.22.5",
32
32
  "@babel/plugin-syntax-class-properties": "7.12.13",
33
- "@babel/preset-env": "7.21.4",
34
- "@types/node": "18.15.11",
33
+ "@babel/preset-env": "7.22.5",
34
+ "@types/node": "20.3.0",
35
35
  "braintree-jsdoc-template": "3.3.0",
36
- "eslint": "8.38.0",
36
+ "eslint": "8.42.0",
37
37
  "eslint-config-nodemailer": "1.2.0",
38
38
  "eslint-config-prettier": "8.8.0",
39
39
  "grunt": "1.6.1",
40
40
  "grunt-cli": "1.4.3",
41
41
  "grunt-contrib-nodeunit": "5.0.0",
42
- "grunt-eslint": "24.0.1",
42
+ "grunt-eslint": "24.1.0",
43
43
  "jsdoc": "3.6.11",
44
44
  "st": "3.0.0",
45
45
  "tsd-jsdoc": "2.5.0"
@@ -51,8 +51,8 @@
51
51
  "libmime": "5.2.1",
52
52
  "libqp": "2.0.1",
53
53
  "mailsplit": "5.4.0",
54
- "nodemailer": "6.9.1",
55
- "pino": "8.11.0",
54
+ "nodemailer": "6.9.3",
55
+ "pino": "8.14.1",
56
56
  "socks": "2.7.1"
57
57
  }
58
58
  }