imapflow 1.0.86 → 1.0.87

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.87 - 2022-03-21
4
+
5
+ - If LIST failed then do not suppress exception
6
+
3
7
  - 1.0.86 - 2022-03-14
4
8
 
5
9
  - Do not try to decode mailbox path from utf7 as methods expect utf-8 not utf-7
@@ -156,7 +156,7 @@ module.exports = async (connection, reference, mailbox) => {
156
156
 
157
157
  return entries;
158
158
  } catch (err) {
159
- connection.log.warn({ err, cid: connection.id });
160
- return false;
159
+ connection.log.warn({ msg: 'Failed to list folders', err, cid: connection.id });
160
+ throw err;
161
161
  }
162
162
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "imapflow",
3
- "version": "1.0.86",
3
+ "version": "1.0.87",
4
4
  "description": "IMAP Client for Node",
5
5
  "main": "./lib/imap-flow.js",
6
6
  "scripts": {
@@ -30,7 +30,7 @@
30
30
  "@babel/eslint-plugin": "7.17.7",
31
31
  "@babel/plugin-syntax-class-properties": "7.12.13",
32
32
  "@babel/preset-env": "7.16.11",
33
- "@types/node": "17.0.21",
33
+ "@types/node": "17.0.22",
34
34
  "braintree-jsdoc-template": "3.3.0",
35
35
  "eslint": "8.11.0",
36
36
  "eslint-config-nodemailer": "1.2.0",
@@ -49,8 +49,8 @@
49
49
  "libmime": "5.0.0",
50
50
  "libqp": "1.1.0",
51
51
  "mailsplit": "5.3.1",
52
- "nodemailer": "6.7.2",
53
- "pino": "7.8.1",
52
+ "nodemailer": "6.7.3",
53
+ "pino": "7.9.1",
54
54
  "socks": "2.6.2"
55
55
  }
56
56
  }