@bobfrankston/mailx-imap 0.1.33 → 0.1.34

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.
Files changed (2) hide show
  1. package/index.js +3 -0
  2. package/package.json +3 -3
package/index.js CHANGED
@@ -943,6 +943,9 @@ export class ImapManager extends EventEmitter {
943
943
  const parsed = await simpleParser(source);
944
944
  // Coerce mailparser AddressObject(s) into the flat `{name, address}[]`
945
945
  // shape storeMessages's downstream toEmailAddresses expects.
946
+ // RFC 2047 encoded-word decoding (incl. inside quoted-strings) is
947
+ // handled uniformly in db.upsertMessage, not per-callsite — see
948
+ // `decodeHeaderWords` there.
946
949
  const flat = (a) => {
947
950
  if (!a)
948
951
  return [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bobfrankston/mailx-imap",
3
- "version": "0.1.33",
3
+ "version": "0.1.34",
4
4
  "type": "module",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -11,7 +11,7 @@
11
11
  "dependencies": {
12
12
  "@bobfrankston/mailx-types": "^0.1.10",
13
13
  "@bobfrankston/mailx-settings": "^0.1.14",
14
- "@bobfrankston/mailx-store": "^0.1.15",
14
+ "@bobfrankston/mailx-store": "^0.1.16",
15
15
  "@bobfrankston/iflow-direct": "^0.1.39",
16
16
  "@bobfrankston/tcp-transport": "^0.1.6",
17
17
  "@bobfrankston/smtp-direct": "^0.1.8",
@@ -39,7 +39,7 @@
39
39
  "dependencies": {
40
40
  "@bobfrankston/mailx-types": "^0.1.10",
41
41
  "@bobfrankston/mailx-settings": "^0.1.14",
42
- "@bobfrankston/mailx-store": "^0.1.15",
42
+ "@bobfrankston/mailx-store": "^0.1.16",
43
43
  "@bobfrankston/iflow-direct": "^0.1.39",
44
44
  "@bobfrankston/tcp-transport": "^0.1.6",
45
45
  "@bobfrankston/smtp-direct": "^0.1.8",