@bobfrankston/rmfmail 1.2.279 → 1.2.280
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 +16 -13
- package/client/app.bundle.js +21 -2
- package/client/app.bundle.js.map +2 -2
- package/client/app.js +33 -1
- package/client/app.js.map +1 -1
- package/client/app.ts +30 -1
- package/npmchanges.md +19 -0
- package/package.json +1 -1
- /package/packages/mailx-imap/{node_modules.npmglobalize-stash-63412 → node_modules.npmglobalize-stash-18028}/.package-lock.json +0 -0
package/.commitmsg
CHANGED
|
@@ -1,16 +1,19 @@
|
|
|
1
|
-
|
|
1
|
+
About: show the bundled editor version
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
CORRECTION to 1.2.279. That release added the resolved tinymce / tinymce-i18n
|
|
4
|
+
versions to build-tinymce.js's console output, on the claim that this put the
|
|
5
|
+
answer in the build transcript every publish archives. It does not:
|
|
6
|
+
npmglobalize swallows a sub-build's stdout and reports only "✓ Build
|
|
7
|
+
succeeded", so the line never reaches c:\temp\rebuild\. The echo is still
|
|
8
|
+
correct when the script is run directly, but the build log is not where this
|
|
9
|
+
question gets answered.
|
|
6
10
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
+
About… now carries an "Editor bundle" row — "TinyMCE 8.8.2 · 61 languages" —
|
|
12
|
+
read at display time from client/lib/tinymce/package.json and langs/index.json,
|
|
13
|
+
the same tree the editor loads from, so it cannot drift from what is actually
|
|
14
|
+
running. That answers it on the machine showing the symptom, which is where it
|
|
15
|
+
matters, rather than requiring a checkout of the matching tag.
|
|
11
16
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
well. "Which TinyMCE shipped in 1.2.277?" is answerable from the log, with no
|
|
16
|
-
network call at build time and nothing to maintain.
|
|
17
|
+
Why this keeps mattering: both specs are caret ranges, so the resolved version
|
|
18
|
+
moves whenever npm re-resolves the tree — tinymce sat at 8.6.0 for weeks under
|
|
19
|
+
a ^8.5.0 spec with nothing to notice.
|
package/client/app.bundle.js
CHANGED
|
@@ -13315,9 +13315,27 @@ async function openAboutDialog() {
|
|
|
13315
13315
|
if (e.target === backdrop) close();
|
|
13316
13316
|
});
|
|
13317
13317
|
try {
|
|
13318
|
-
const
|
|
13318
|
+
const editorBundle = async () => {
|
|
13319
|
+
const readJson = async (url) => {
|
|
13320
|
+
try {
|
|
13321
|
+
const r = await fetch(url);
|
|
13322
|
+
return r.ok ? await r.json() : null;
|
|
13323
|
+
} catch {
|
|
13324
|
+
return null;
|
|
13325
|
+
}
|
|
13326
|
+
};
|
|
13327
|
+
const [pkg, langs] = await Promise.all([
|
|
13328
|
+
readJson("lib/tinymce/package.json"),
|
|
13329
|
+
readJson("lib/tinymce/langs/index.json")
|
|
13330
|
+
]);
|
|
13331
|
+
if (!pkg?.version) return "";
|
|
13332
|
+
const n = langs?.length || 0;
|
|
13333
|
+
return n ? `TinyMCE ${pkg.version} \xB7 ${n} languages` : `TinyMCE ${pkg.version}`;
|
|
13334
|
+
};
|
|
13335
|
+
const [v, accounts, editorInfo] = await Promise.all([
|
|
13319
13336
|
getVersion().catch(() => ({})),
|
|
13320
|
-
getAccounts().catch(() => [])
|
|
13337
|
+
getAccounts().catch(() => []),
|
|
13338
|
+
editorBundle()
|
|
13321
13339
|
]);
|
|
13322
13340
|
const storage = v.storage || {};
|
|
13323
13341
|
const isApp2 = typeof mailxapi !== "undefined" && mailxapi?.isApp;
|
|
@@ -13336,6 +13354,7 @@ async function openAboutDialog() {
|
|
|
13336
13354
|
if (storage.folderId) rows.push(["Drive folderId", storage.folderId]);
|
|
13337
13355
|
if (storage.folderOwner) rows.push(["Drive owner", storage.folderOwner]);
|
|
13338
13356
|
if (storage.configDir) rows.push(["Config dir", storage.configDir]);
|
|
13357
|
+
if (editorInfo) rows.push(["Editor bundle", editorInfo]);
|
|
13339
13358
|
rows.push(["Accounts", String((accounts || []).length)]);
|
|
13340
13359
|
rows.push(["User agent", navigator.userAgent]);
|
|
13341
13360
|
rows.push(["Screen", `${screen.width}\xD7${screen.height}`]);
|