@bobfrankston/rmfmail 1.1.188 → 1.1.189

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.
@@ -3107,6 +3107,17 @@ export class ImapManager extends EventEmitter {
3107
3107
  madeProgress = true;
3108
3108
  } catch (e: any) {
3109
3109
  console.error(` [prefetch] ${accountId}/${uid}: store write failed: ${e.message}`);
3110
+ // Back off this UID. A corrupt body (the
3111
+ // putMessage guard rejecting an IMAP command
3112
+ // leaked into the FETCH response — iflow
3113
+ // protocol desync) was NOT marked, so the
3114
+ // same poisoned UID got re-fetched every
3115
+ // prefetch cycle forever, spamming the log
3116
+ // and wasting fetch turns (Bob 2026-05-28
3117
+ // "why is prefetching still broken" — UID
3118
+ // 59686 failing on a loop). markPrefetchEmpty
3119
+ // applies the 5m→30m→2h→12h backoff.
3120
+ this.markPrefetchEmpty(accountId, folderId, uid);
3110
3121
  }
3111
3122
  })());
3112
3123
  });
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@bobfrankston/mailx-imap",
3
- "version": "0.1.71",
3
+ "version": "0.1.72",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@bobfrankston/mailx-imap",
9
- "version": "0.1.71",
9
+ "version": "0.1.72",
10
10
  "license": "ISC",
11
11
  "dependencies": {
12
12
  "@bobfrankston/iflow-direct": "^0.1.27",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bobfrankston/mailx-imap",
3
- "version": "0.1.71",
3
+ "version": "0.1.72",
4
4
  "type": "module",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",