imapflow 1.2.6 → 1.2.7
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/.release-please-manifest.json +1 -1
- package/CHANGELOG.md +7 -0
- package/lib/handler/imap-stream.js +15 -0
- package/lib/jp-decoder.js +6 -0
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.2.7](https://github.com/postalsys/imapflow/compare/v1.2.6...v1.2.7) (2026-01-26)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* add _destroy() methods to Transform streams for proper cleanup ([ed78912](https://github.com/postalsys/imapflow/commit/ed78912143d3613a7687a2bae880edd9051355cc))
|
|
9
|
+
|
|
3
10
|
## [1.2.6](https://github.com/postalsys/imapflow/compare/v1.2.5...v1.2.6) (2026-01-12)
|
|
4
11
|
|
|
5
12
|
|
|
@@ -252,6 +252,21 @@ class ImapStream extends Transform {
|
|
|
252
252
|
_flush(next) {
|
|
253
253
|
next();
|
|
254
254
|
}
|
|
255
|
+
|
|
256
|
+
_destroy(err, callback) {
|
|
257
|
+
this.inputBuffer = [];
|
|
258
|
+
this.lineBuffer = [];
|
|
259
|
+
this.literalBuffer = [];
|
|
260
|
+
this.literals = [];
|
|
261
|
+
// Clear inputQueue and call any pending callbacks
|
|
262
|
+
while (this.inputQueue.length) {
|
|
263
|
+
const item = this.inputQueue.shift();
|
|
264
|
+
if (typeof item.next === 'function') {
|
|
265
|
+
item.next();
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
callback(err);
|
|
269
|
+
}
|
|
255
270
|
}
|
|
256
271
|
|
|
257
272
|
module.exports.ImapStream = ImapStream;
|
package/lib/jp-decoder.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "imapflow",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.7",
|
|
4
4
|
"description": "IMAP Client for Node",
|
|
5
5
|
"main": "lib/imap-flow.js",
|
|
6
6
|
"types": "lib/imap-flow.d.ts",
|
|
@@ -31,13 +31,13 @@
|
|
|
31
31
|
},
|
|
32
32
|
"homepage": "https://imapflow.com/",
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@babel/eslint-parser": "7.28.
|
|
34
|
+
"@babel/eslint-parser": "7.28.6",
|
|
35
35
|
"@babel/eslint-plugin": "7.27.1",
|
|
36
36
|
"@babel/plugin-syntax-class-properties": "7.12.13",
|
|
37
|
-
"@babel/preset-env": "7.28.
|
|
37
|
+
"@babel/preset-env": "7.28.6",
|
|
38
38
|
"@eslint/eslintrc": "3.3.3",
|
|
39
39
|
"@eslint/js": "9.39.2",
|
|
40
|
-
"@types/node": "25.0.
|
|
40
|
+
"@types/node": "25.0.10",
|
|
41
41
|
"c8": "10.1.3",
|
|
42
42
|
"eslint": "9.39.2",
|
|
43
43
|
"eslint-config-nodemailer": "1.2.0",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"grunt-eslint": "24.3.0",
|
|
49
49
|
"imapflow-jsdoc-template": "3.4.0-imapflow.3",
|
|
50
50
|
"jsdoc": "4.0.4",
|
|
51
|
-
"prettier": "3.
|
|
51
|
+
"prettier": "3.8.1",
|
|
52
52
|
"proxyquire": "^2.1.3",
|
|
53
53
|
"st": "3.0.3",
|
|
54
54
|
"typescript": "5.9.3"
|
|
@@ -56,12 +56,12 @@
|
|
|
56
56
|
"dependencies": {
|
|
57
57
|
"@zone-eu/mailsplit": "5.4.8",
|
|
58
58
|
"encoding-japanese": "2.2.0",
|
|
59
|
-
"iconv-lite": "0.7.
|
|
59
|
+
"iconv-lite": "0.7.2",
|
|
60
60
|
"libbase64": "1.3.0",
|
|
61
61
|
"libmime": "5.3.7",
|
|
62
62
|
"libqp": "2.1.1",
|
|
63
63
|
"nodemailer": "7.0.12",
|
|
64
|
-
"pino": "10.
|
|
64
|
+
"pino": "10.3.0",
|
|
65
65
|
"socks": "2.8.7"
|
|
66
66
|
}
|
|
67
67
|
}
|