imapflow 1.0.178 → 1.0.180
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 +14 -0
- package/lib/imap-flow.js +2 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.0.180](https://github.com/postalsys/imapflow/compare/v1.0.179...v1.0.180) (2025-02-06)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **tls:** If socket fails then clear upgrade timeout as well ([12c60d2](https://github.com/postalsys/imapflow/commit/12c60d23d46d3bb315ecb184fbd1eea709f93269))
|
|
9
|
+
|
|
10
|
+
## [1.0.179](https://github.com/postalsys/imapflow/compare/v1.0.178...v1.0.179) (2025-01-28)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* **connection-failure:** Reject all pending commands, not just LOGOUT ([1b42a61](https://github.com/postalsys/imapflow/commit/1b42a6116a76bf8fc8a9cf9a0421b53c659a5e98))
|
|
16
|
+
|
|
3
17
|
## [1.0.178](https://github.com/postalsys/imapflow/compare/v1.0.177...v1.0.178) (2025-01-23)
|
|
4
18
|
|
|
5
19
|
|
package/lib/imap-flow.js
CHANGED
|
@@ -971,6 +971,7 @@ class ImapFlow extends EventEmitter {
|
|
|
971
971
|
|
|
972
972
|
socketPlain.once('error', err => {
|
|
973
973
|
clearTimeout(this.connectTimeout);
|
|
974
|
+
clearTimeout(this.upgradeTimeout);
|
|
974
975
|
if (!this.upgrading) {
|
|
975
976
|
// don't care anymore
|
|
976
977
|
return;
|
|
@@ -1583,7 +1584,7 @@ class ImapFlow extends EventEmitter {
|
|
|
1583
1584
|
// reject command that is currently processed
|
|
1584
1585
|
if (this.currentRequest && this.requestTagMap.has(this.currentRequest.tag)) {
|
|
1585
1586
|
let request = this.requestTagMap.get(this.currentRequest.tag);
|
|
1586
|
-
if (request
|
|
1587
|
+
if (request) {
|
|
1587
1588
|
this.requestTagMap.delete(request.tag);
|
|
1588
1589
|
const error = new Error('Connection not available');
|
|
1589
1590
|
error.code = 'NoConnection';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "imapflow",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.180",
|
|
4
4
|
"description": "IMAP Client for Node",
|
|
5
5
|
"main": "./lib/imap-flow.js",
|
|
6
6
|
"scripts": {
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
"@babel/eslint-parser": "7.26.5",
|
|
32
32
|
"@babel/eslint-plugin": "7.25.9",
|
|
33
33
|
"@babel/plugin-syntax-class-properties": "7.12.13",
|
|
34
|
-
"@babel/preset-env": "7.26.
|
|
35
|
-
"@types/node": "22.
|
|
34
|
+
"@babel/preset-env": "7.26.7",
|
|
35
|
+
"@types/node": "22.13.1",
|
|
36
36
|
"eslint": "8.57.0",
|
|
37
37
|
"eslint-config-nodemailer": "1.2.0",
|
|
38
38
|
"eslint-config-prettier": "9.1.0",
|