imapflow 1.0.179 → 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 CHANGED
@@ -1,5 +1,12 @@
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
+
3
10
  ## [1.0.179](https://github.com/postalsys/imapflow/compare/v1.0.178...v1.0.179) (2025-01-28)
4
11
 
5
12
 
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "imapflow",
3
- "version": "1.0.179",
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.0",
35
- "@types/node": "22.10.8",
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",