imapflow 1.0.149 → 1.0.150
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 +7 -0
- package/lib/imap-flow.js +2 -0
- package/lib/types.d.ts +2 -0
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.0.150](https://github.com/postalsys/imapflow/compare/v1.0.149...v1.0.150) (2024-02-01)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **deps:** Bumped Nodemailer version ([ee02764](https://github.com/postalsys/imapflow/commit/ee0276493494ecf08be557cc0c486fe309d359bf))
|
|
9
|
+
|
|
3
10
|
## [1.0.149](https://github.com/postalsys/imapflow/compare/v1.0.148...v1.0.149) (2024-01-31)
|
|
4
11
|
|
|
5
12
|
|
package/lib/imap-flow.js
CHANGED
|
@@ -2248,6 +2248,8 @@ class ImapFlow extends EventEmitter {
|
|
|
2248
2248
|
* // fetch UID for all messages in a mailbox
|
|
2249
2249
|
* for await (let msg of client.fetch('1:*', {uid: true})){
|
|
2250
2250
|
* console.log(msg.uid);
|
|
2251
|
+
* // NB! You can not run any IMAP commands in this loop
|
|
2252
|
+
* // otherwise you will end up in a deadloop
|
|
2251
2253
|
* }
|
|
2252
2254
|
*/
|
|
2253
2255
|
async *fetch(range, query, options) {
|
package/lib/types.d.ts
CHANGED
|
@@ -463,6 +463,8 @@ declare module "imapflow" {
|
|
|
463
463
|
* // fetch UID for all messages in a mailbox
|
|
464
464
|
* for await (let msg of client.fetch('1:*', {uid: true})){
|
|
465
465
|
* console.log(msg.uid);
|
|
466
|
+
* // NB! You can not run any IMAP commands in this loop
|
|
467
|
+
* // otherwise you will end up in a deadloop
|
|
466
468
|
* }
|
|
467
469
|
* @param range - Range of messages to fetch
|
|
468
470
|
* @param query - Fetch query
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "imapflow",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.150",
|
|
4
4
|
"description": "IMAP Client for Node",
|
|
5
5
|
"main": "./lib/imap-flow.js",
|
|
6
6
|
"scripts": {
|
|
@@ -28,11 +28,11 @@
|
|
|
28
28
|
},
|
|
29
29
|
"homepage": "https://imapflow.com/",
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@babel/eslint-parser": "7.23.
|
|
31
|
+
"@babel/eslint-parser": "7.23.10",
|
|
32
32
|
"@babel/eslint-plugin": "7.23.5",
|
|
33
33
|
"@babel/plugin-syntax-class-properties": "7.12.13",
|
|
34
34
|
"@babel/preset-env": "7.23.9",
|
|
35
|
-
"@types/node": "20.11.
|
|
35
|
+
"@types/node": "20.11.15",
|
|
36
36
|
"eslint": "8.56.0",
|
|
37
37
|
"eslint-config-nodemailer": "1.2.0",
|
|
38
38
|
"eslint-config-prettier": "9.1.0",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"libmime": "5.2.1",
|
|
53
53
|
"libqp": "2.0.1",
|
|
54
54
|
"mailsplit": "5.4.0",
|
|
55
|
-
"nodemailer": "6.9.
|
|
55
|
+
"nodemailer": "6.9.9",
|
|
56
56
|
"pino": "8.17.2",
|
|
57
57
|
"socks": "2.7.1"
|
|
58
58
|
}
|