@bobfrankston/rmfmail 1.1.76 → 1.1.77

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/.commitmsg CHANGED
@@ -1,8 +1,9 @@
1
- Require Node.js >= 24.2.0 and enforce it at install + launch
1
+ User dictionary: store as plain CSV on the server
2
2
 
3
- Added "engines" to package.json and a hard version guard in both
4
- postinstall.ts (fails the install) and bin/mailx.ts (fails at launch).
5
- Floor is 24.2.0 because node:sqlite must work flag-free (Node 24) and
6
- the code targets import.meta.main (Node 24.2). engines alone only warns;
7
- the guards stop an unsupported runtime with a clear message instead of a
8
- cryptic crash. Also: setup screen note that a Gmail account is needed.
3
+ The cloud-mirrored spell-check user dictionary moves from userdict.jsonc
4
+ to userdict.csv a single-column, one-word-per-line list that is
5
+ trivially hand-editable. `#` comment lines and blanks are ignored;
6
+ spreadsheet-exported rows load via their first field. loadUserDict reads
7
+ the legacy userdict.jsonc once when no CSV exists, and saveUserDict
8
+ unions in both the cloud CSV and the legacy cloud JSON, so words added
9
+ before the switch are not lost.
@@ -6374,7 +6374,7 @@ ${bodyEncoded}`;
6374
6374
  return this.notImpl("deleteTask");
6375
6375
  }
6376
6376
  // User dictionary (cloud-mirrored) — Android can implement these via
6377
- // the same userdict.jsonc cloud round-trip the desktop uses; until that
6377
+ // the same userdict.csv cloud round-trip the desktop uses; until that
6378
6378
  // wire-up lands, return safe defaults so spellcheck.ts catch() paths
6379
6379
  // don't fire and clutter logs.
6380
6380
  async getUserDict() {