emailengine-app 2.88.0 → 2.90.0
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/.ncurc.js +36 -45
- package/.release-please-manifest.json +1 -1
- package/CHANGELOG.md +58 -0
- package/Dockerfile +5 -1
- package/bin/healthcheck.js +1 -1
- package/copy-static-files.sh +0 -8
- package/data/google-crawlers.json +1 -1
- package/encrypt.js +1 -4
- package/lib/account/field-codec.js +396 -0
- package/lib/account.js +158 -453
- package/lib/api-routes/account-routes.js +42 -6
- package/lib/api-routes/route-metadata.js +5 -2
- package/lib/api-routes/submit-routes.js +15 -2
- package/lib/api-token-auth.js +342 -274
- package/lib/arf-detect.js +174 -149
- package/lib/attachment-size.js +29 -0
- package/lib/autodetect-imap-settings.js +83 -234
- package/lib/consts.js +1 -5
- package/lib/db.js +1 -4
- package/lib/email-client/base-client.js +907 -780
- package/lib/email-client/gmail-client.js +557 -450
- package/lib/email-client/imap/cid-parts.js +61 -0
- package/lib/email-client/imap/mailbox.js +376 -422
- package/lib/email-client/imap/sync-operations.js +239 -178
- package/lib/email-client/new-message-steps.js +168 -2
- package/lib/email-client/outlook/graph-message.js +266 -0
- package/lib/email-client/outlook/subscription-expiry.js +30 -0
- package/lib/email-client/outlook-client.js +652 -808
- package/lib/get-raw-email.js +338 -232
- package/lib/get-secret.js +1 -4
- package/lib/license-subscription.js +77 -11
- package/lib/load-env.js +48 -0
- package/lib/logger.js +1 -4
- package/lib/mcp/tools.js +244 -207
- package/lib/metric-values.js +76 -0
- package/lib/metrics.js +320 -0
- package/lib/node-version.js +99 -12
- package/lib/oauth/gmail.js +39 -120
- package/lib/oauth/http-request.js +195 -0
- package/lib/oauth/mail-ru.js +24 -58
- package/lib/oauth/outlook.js +37 -137
- package/lib/oauth/pubsub/google.js +176 -117
- package/lib/oauth2-apps.js +440 -463
- package/lib/openapi/build-document.js +10 -10
- package/lib/read-env-value.js +1 -1
- package/lib/route-descriptors.js +78 -0
- package/lib/schemas.js +10 -1
- package/lib/sentry-integrations.js +299 -0
- package/lib/sentry.js +75 -27
- package/lib/settings.js +4 -1
- package/lib/sso-routes.js +249 -0
- package/lib/sso.js +29 -6
- package/lib/tools.js +5 -4
- package/lib/ui-routes/account-edit-form.js +198 -0
- package/lib/ui-routes/account-page.js +241 -0
- package/lib/ui-routes/account-routes.js +12 -318
- package/lib/ui-routes/auth-routes.js +10 -10
- package/lib/ui-routes/dashboard-routes.js +4 -0
- package/lib/ui-view-context.js +328 -0
- package/lib/utils/public-suffix.js +22 -101
- package/lib/web-safe-html.js +70 -13
- package/lib/worker-metrics.js +82 -0
- package/list-generate.js +57 -23
- package/package.json +34 -33
- package/sbom.json +380 -1612
- package/scripts/refresh-test-tokens.js +1 -1
- package/server.js +351 -707
- package/static/css/flyonui.css +1 -1
- package/static/css/src/app.tailwind.css +18 -0
- package/static/js/ee-client.js +2619 -645
- package/static/js/ui.js +12 -2
- package/static/licenses.html +1055 -969
- package/translations/messages.pot +71 -60
- package/views/accounts/browse.hbs +19 -1
- package/views/dashboard.hbs +9 -0
- package/views/upgrade.hbs +25 -0
- package/workers/api.js +20 -451
- package/data/public_suffix_list.dat +0 -16597
- package/lib/net-tos-guard.js +0 -42
package/lib/web-safe-html.js
CHANGED
|
@@ -58,12 +58,20 @@ const MAX_ANALYZE_CHARS = 256 * 1024;
|
|
|
58
58
|
// EENGINE_DISABLE_THREAD_COLLAPSE, which wins when set (lib/env-setting-overrides.js). Read per
|
|
59
59
|
// message through that module's short cache, so a change applies without a restart.
|
|
60
60
|
|
|
61
|
-
// Base styles for messages that only have a plain text body
|
|
62
|
-
//
|
|
63
|
-
//
|
|
64
|
-
//
|
|
65
|
-
//
|
|
66
|
-
|
|
61
|
+
// Base styles for messages that only have a plain text body: the quote colouring of the package's
|
|
62
|
+
// block, without its fixed font. Web-safe HTML is embedded in a host page, where a hard-coded
|
|
63
|
+
// 12px sans-serif made a plain text message the one thing on the page in another font and size;
|
|
64
|
+
// without the rule the message takes the host's. The conversion happens here rather than in
|
|
65
|
+
// mimeHtml(), which would apply the whole block. juice inlines the block and the sanitizer drops the
|
|
66
|
+
// tag. Derived from the package rather than kept as a copy, which had already drifted from it.
|
|
67
|
+
const FIXED_FONT_RULE = /body, td, th, p\s*\{[^}]*\}/;
|
|
68
|
+
const PLAINTEXT_STYLE_BLOCK = textTools.INLINE_STYLE_BLOCK.replace(FIXED_FONT_RULE, '');
|
|
69
|
+
|
|
70
|
+
// A text body as the HTML mimeHtml() is given, styled with the block above
|
|
71
|
+
function plainTextHtml(text) {
|
|
72
|
+
let html = textTools.textToHtml(text);
|
|
73
|
+
return html ? PLAINTEXT_STYLE_BLOCK + html : '';
|
|
74
|
+
}
|
|
67
75
|
|
|
68
76
|
// Table internals can not host a wrapper element. A <details> opened between table cells is
|
|
69
77
|
// foster-parented out of the table by the HTML parser, which would leave the content behind and
|
|
@@ -247,6 +255,7 @@ function collapseText(text, offset) {
|
|
|
247
255
|
return null;
|
|
248
256
|
}
|
|
249
257
|
|
|
258
|
+
// the block goes first even when the head converts to nothing, so the folded quotes keep their colours
|
|
250
259
|
return (
|
|
251
260
|
PLAINTEXT_STYLE_BLOCK +
|
|
252
261
|
textTools.textToHtml(text.slice(0, offset)) +
|
|
@@ -365,13 +374,51 @@ function fitsWebSafeHtml(text) {
|
|
|
365
374
|
return ((text && text.html) || '').length + ((text && text.plain) || '').length <= WEB_SAFE_HTML_MAX_INPUT;
|
|
366
375
|
}
|
|
367
376
|
|
|
368
|
-
// What a body
|
|
369
|
-
// nothing to produce and can not carry markup. A body with no plain part says
|
|
370
|
-
function
|
|
377
|
+
// What a body renders as when it is not converted: its plain text, escaped and cut at the limit,
|
|
378
|
+
// which costs nothing to produce and can not carry markup. A body with no plain part says why instead
|
|
379
|
+
function plainWebSafeHtml(text, reason) {
|
|
371
380
|
const plain = typeof text.plain === 'string' ? text.plain.slice(0, WEB_SAFE_HTML_MAX_INPUT) : '';
|
|
372
|
-
return `<div style="white-space: pre-wrap">${he.escape(plain ||
|
|
381
|
+
return `<div style="white-space: pre-wrap">${he.escape(plain || reason)}</div>`;
|
|
373
382
|
}
|
|
374
383
|
|
|
384
|
+
/**
|
|
385
|
+
* Returns a function that hands out mimeHtml(), or null once loading it has failed.
|
|
386
|
+
*
|
|
387
|
+
* mimeHtml loads jsdom and juice from the bundles in @postalsys/email-text-tools, which need a
|
|
388
|
+
* newer Node.js than EmailEngine can start on (the undici inside jsdom throws when it is loaded on a
|
|
389
|
+
* release below 22.19, and the range jsdom declares starts at 22.22.2, see lib/node-version.js).
|
|
390
|
+
* A failed require() is not cached, so trying again would parse the whole bundle for every
|
|
391
|
+
* message: the first failure is logged and remembered, and web-safe HTML falls back to escaped
|
|
392
|
+
* plain text for the life of the process.
|
|
393
|
+
*
|
|
394
|
+
* @param {Function} load - Returns mimeHtml, throws when it can not be loaded
|
|
395
|
+
* @returns {Function} Returns mimeHtml or null
|
|
396
|
+
*/
|
|
397
|
+
function createMimeHtmlLoader(load) {
|
|
398
|
+
let failed = false;
|
|
399
|
+
let mimeHtml = null;
|
|
400
|
+
return () => {
|
|
401
|
+
if (mimeHtml || failed) {
|
|
402
|
+
return mimeHtml;
|
|
403
|
+
}
|
|
404
|
+
try {
|
|
405
|
+
mimeHtml = load();
|
|
406
|
+
return mimeHtml;
|
|
407
|
+
} catch (err) {
|
|
408
|
+
failed = true;
|
|
409
|
+
logger.error({
|
|
410
|
+
msg: 'Failed to load the HTML sanitizer, web-safe HTML falls back to plain text',
|
|
411
|
+
nodeVersion: process.versions.node,
|
|
412
|
+
err
|
|
413
|
+
});
|
|
414
|
+
return null;
|
|
415
|
+
}
|
|
416
|
+
};
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
// Resolved at call time: touching textTools.mimeHtml is what loads jsdom
|
|
420
|
+
const getMimeHtml = createMimeHtmlLoader(() => textTools.mimeHtml);
|
|
421
|
+
|
|
375
422
|
/**
|
|
376
423
|
* Converts the bodies of a message object into sanitized, web-safe HTML.
|
|
377
424
|
*
|
|
@@ -380,7 +427,12 @@ function oversizedWebSafeHtml(text) {
|
|
|
380
427
|
*/
|
|
381
428
|
async function messageWebSafeHtml(messageData) {
|
|
382
429
|
if (!fitsWebSafeHtml(messageData.text)) {
|
|
383
|
-
return
|
|
430
|
+
return plainWebSafeHtml(messageData.text, 'This message is too large to display.');
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
const mimeHtml = getMimeHtml();
|
|
434
|
+
if (!mimeHtml) {
|
|
435
|
+
return plainWebSafeHtml(messageData.text, 'This message can not be displayed: the HTML sanitizer failed to load.');
|
|
384
436
|
}
|
|
385
437
|
|
|
386
438
|
let html = stripReservedClasses(messageData.text.html);
|
|
@@ -388,7 +440,10 @@ async function messageWebSafeHtml(messageData) {
|
|
|
388
440
|
messageData = Object.assign({}, messageData, { text: Object.assign({}, messageData.text, { html }) });
|
|
389
441
|
}
|
|
390
442
|
|
|
391
|
-
|
|
443
|
+
// A text body is converted here, so it gets the style block without the fixed font. The text
|
|
444
|
+
// stays beside it for mimeHtml()'s fallback on input it refuses to process.
|
|
445
|
+
let text = messageData.text.plain;
|
|
446
|
+
let source = { html: html || !text ? html : plainTextHtml(text), text };
|
|
392
447
|
|
|
393
448
|
const { disableThreadCollapse } = await getOverridableSettings('disableThreadCollapse');
|
|
394
449
|
if (!disableThreadCollapse) {
|
|
@@ -405,7 +460,7 @@ async function messageWebSafeHtml(messageData) {
|
|
|
405
460
|
|
|
406
461
|
// mimeHtml() does not throw: on hostile input (thousands of nested elements or quote levels)
|
|
407
462
|
// it falls back to escaped text itself, which is what the catch that used to be here did
|
|
408
|
-
return
|
|
463
|
+
return mimeHtml(source);
|
|
409
464
|
}
|
|
410
465
|
|
|
411
466
|
/**
|
|
@@ -469,6 +524,8 @@ function applyWebSafeHtmlOptions(options) {
|
|
|
469
524
|
|
|
470
525
|
module.exports = {
|
|
471
526
|
WEB_SAFE_HTML_MAX_INPUT,
|
|
527
|
+
PLAINTEXT_STYLE_BLOCK,
|
|
528
|
+
createMimeHtmlLoader,
|
|
472
529
|
messageWebSafeHtml,
|
|
473
530
|
webSafeTextResponse,
|
|
474
531
|
applyWebSafeHtmlOptions,
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
// Which dashboard counters a worker's `metrics` message bumps. The message handler lives in
|
|
4
|
+
// server.js, which cannot be loaded by a test (it starts the whole application on require), so
|
|
5
|
+
// the decision is kept here, pure, and test/worker-metrics-test.js covers it.
|
|
6
|
+
|
|
7
|
+
const { MESSAGE_NEW_NOTIFY, MESSAGE_DELETED_NOTIFY, CONNECT_ERROR_NOTIFY } = require('./consts');
|
|
8
|
+
|
|
9
|
+
// The events that also count towards the instance-wide stats, not only the account's own
|
|
10
|
+
const COUNTED_EVENTS = new Set([MESSAGE_NEW_NOTIFY, MESSAGE_DELETED_NOTIFY, CONNECT_ERROR_NOTIFY]);
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Resolves the counters a `metrics` message from a worker updates.
|
|
14
|
+
*
|
|
15
|
+
* @param {Object} message - the worker message (`key`, `args`, `meta`)
|
|
16
|
+
* @returns {{account: (String|undefined), statUpdateKey: (String|false), accountUpdateKey: (String|false)}}
|
|
17
|
+
* `statUpdateKey` names the instance-wide stats counter, `accountUpdateKey` the per-account one;
|
|
18
|
+
* false when there is none
|
|
19
|
+
*/
|
|
20
|
+
function resolveMetricKeys(message) {
|
|
21
|
+
let statUpdateKey = false;
|
|
22
|
+
let accountUpdateKey = false;
|
|
23
|
+
|
|
24
|
+
let { account } = message.meta || {};
|
|
25
|
+
|
|
26
|
+
switch (message.key) {
|
|
27
|
+
case 'webhooks': {
|
|
28
|
+
let { status } = message.args[0] || {};
|
|
29
|
+
statUpdateKey = `${message.key}:${status}`;
|
|
30
|
+
break;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
case 'events': {
|
|
34
|
+
let { event } = message.args[0] || {};
|
|
35
|
+
if (account) {
|
|
36
|
+
accountUpdateKey = `${message.key}:${event}`;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
// Track specific events
|
|
40
|
+
if (COUNTED_EVENTS.has(event)) {
|
|
41
|
+
statUpdateKey = `${message.key}:${event}`;
|
|
42
|
+
}
|
|
43
|
+
break;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
case 'apiCall': {
|
|
47
|
+
let { statusCode } = message.args[0] || {};
|
|
48
|
+
let success = statusCode >= 200 && statusCode < 300;
|
|
49
|
+
statUpdateKey = `${message.key}:${success ? 'success' : 'fail'}`;
|
|
50
|
+
break;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
case 'queuesProcessed': {
|
|
54
|
+
let { queue, status } = message.args[0] || {};
|
|
55
|
+
if (['submit'].includes(queue)) {
|
|
56
|
+
statUpdateKey = `${queue}:${status === 'completed' ? 'success' : 'fail'}`;
|
|
57
|
+
}
|
|
58
|
+
break;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
return { account, statUpdateKey, accountUpdateKey };
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* The Redis hash buckets a stats counter is written to: one hash per UTC day, one field per
|
|
67
|
+
* UTC minute.
|
|
68
|
+
*
|
|
69
|
+
* @param {Date} now
|
|
70
|
+
* @returns {{dateStr: String, timeStr: String}} `YYYYMMDD` and `YYYYMMDDHHmm`
|
|
71
|
+
*/
|
|
72
|
+
function statBuckets(now) {
|
|
73
|
+
let iso = now.toISOString();
|
|
74
|
+
return {
|
|
75
|
+
// daily bucket
|
|
76
|
+
dateStr: iso.substr(0, 10).replace(/[^0-9]+/g, ''),
|
|
77
|
+
// minute bucket
|
|
78
|
+
timeStr: iso.substr(0, 16).replace(/[^0-9]+/g, '')
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
module.exports = { resolveMetricKeys, statBuckets };
|
package/list-generate.js
CHANGED
|
@@ -50,14 +50,8 @@ const ASSET_PACKAGES = [
|
|
|
50
50
|
// Packages whose package.json declares no (or an unparseable) license even
|
|
51
51
|
// though their shipped LICENSE file is clear. Keep each entry justified; fix
|
|
52
52
|
// upstream where we control the package.
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
// license field (fix upstream in postalsys/gettext, then drop this)
|
|
56
|
-
'@postalsys/gettext': 'MIT',
|
|
57
|
-
// declares the free-text "MIT (http://mootools.net/license.txt)"
|
|
58
|
-
// instead of an SPDX id
|
|
59
|
-
slick: 'MIT'
|
|
60
|
-
};
|
|
53
|
+
// None at the moment: @postalsys/gettext, the last entry, declares its license since 4.3.2.
|
|
54
|
+
const LICENSE_OVERRIDES = {};
|
|
61
55
|
|
|
62
56
|
// Hand-vendored assets that are not npm dependencies. gateExempt entries skip
|
|
63
57
|
// the SPDX allow-list (fonts are static assets, not linked code).
|
|
@@ -162,26 +156,66 @@ function collect(dirs, section) {
|
|
|
162
156
|
if (pkg.private || !pkg.name || pkg.name === packageData.name) {
|
|
163
157
|
continue;
|
|
164
158
|
}
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
159
|
+
addPackage(pkg, section, { homepage: homepageOf(pkg), licenseText: () => findLicenseText(dir) });
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
// Lists a package under a section, once per name and version. `licenseText` is read only for a
|
|
164
|
+
// package not seen before
|
|
165
|
+
function addPackage(pkg, section, { homepage, licenseText }) {
|
|
166
|
+
let key = `${pkg.name}@${pkg.version}`;
|
|
167
|
+
let entry = packages.get(key);
|
|
168
|
+
if (!entry) {
|
|
169
|
+
entry = {
|
|
170
|
+
name: pkg.name,
|
|
171
|
+
version: pkg.version || '',
|
|
172
|
+
license: LICENSE_OVERRIDES[pkg.name] || (typeof pkg.license === 'string' ? pkg.license : (pkg.license && pkg.license.type) || ''),
|
|
173
|
+
homepage,
|
|
174
|
+
sections: [],
|
|
175
|
+
licenseText: licenseText()
|
|
176
|
+
};
|
|
177
|
+
packages.set(key, entry);
|
|
178
|
+
}
|
|
179
|
+
if (!entry.sections.includes(section)) {
|
|
180
|
+
entry.sections.push(section);
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
// Packages bundled into a dependency's own files, which npm ls never sees: @postalsys/email-text-tools
|
|
185
|
+
// ships jsdom and juice, with everything they load, as dist/vendor/<name>.cjs. Such a package lists
|
|
186
|
+
// the bundled packages in dist/vendor/<name>.packages.json and their license texts, in the same
|
|
187
|
+
// order, in dist/vendor/<name>.LICENSES.txt (a header, then one "name@version (license)" block per
|
|
188
|
+
// package, separated by a line of dashes). They are runtime code like any other dependency, so the
|
|
189
|
+
// license gate below applies to them too.
|
|
190
|
+
const VENDOR_SEPARATOR = '\n\n' + '-'.repeat(72) + '\n\n';
|
|
191
|
+
|
|
192
|
+
function collectVendored(dirs) {
|
|
193
|
+
for (let dir of dirs) {
|
|
194
|
+
let vendorDir = path.join(dir, 'dist', 'vendor');
|
|
195
|
+
if (!fs.existsSync(vendorDir)) {
|
|
196
|
+
continue;
|
|
177
197
|
}
|
|
178
|
-
|
|
179
|
-
|
|
198
|
+
for (let file of fs.readdirSync(vendorDir).filter(name => name.endsWith('.packages.json'))) {
|
|
199
|
+
let bundled = JSON.parse(fs.readFileSync(path.join(vendorDir, file), 'utf8'));
|
|
200
|
+
let licensesFile = path.join(vendorDir, file.replace(/\.packages\.json$/, '.LICENSES.txt'));
|
|
201
|
+
let texts = new Map();
|
|
202
|
+
if (fs.existsSync(licensesFile)) {
|
|
203
|
+
for (let block of fs.readFileSync(licensesFile, 'utf8').split(VENDOR_SEPARATOR).slice(1)) {
|
|
204
|
+
let [title, ...rest] = block.split('\n\n');
|
|
205
|
+
let text = rest.join('\n\n').trim();
|
|
206
|
+
texts.set(title.replace(/ \(.*\)$/, ''), /^Licensed under [^\n]*\.$/.test(text) ? null : text);
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
for (let pkg of bundled) {
|
|
210
|
+
addPackage(pkg, 'runtime', { homepage: null, licenseText: () => texts.get(`${pkg.name}@${pkg.version}`) || null });
|
|
211
|
+
}
|
|
180
212
|
}
|
|
181
213
|
}
|
|
182
214
|
}
|
|
183
215
|
|
|
184
|
-
|
|
216
|
+
const runtimeDirs = prodDependencyPaths();
|
|
217
|
+
collect(runtimeDirs, 'runtime');
|
|
218
|
+
collectVendored(runtimeDirs);
|
|
185
219
|
collect(
|
|
186
220
|
ASSET_PACKAGES.map(name => path.join(__dirname, 'node_modules', name)),
|
|
187
221
|
'assets'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "emailengine-app",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.90.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"productTitle": "EmailEngine",
|
|
6
6
|
"description": "Email Sync Engine",
|
|
@@ -65,76 +65,78 @@
|
|
|
65
65
|
"@hapi/vision": "7.0.3",
|
|
66
66
|
"@msgpack/msgpack": "3.1.3",
|
|
67
67
|
"@postalsys/bounce-classifier": "3.1.0",
|
|
68
|
-
"@postalsys/certs": "
|
|
69
|
-
"@postalsys/email-ai-tools": "
|
|
70
|
-
"@postalsys/email-content": "0.1.
|
|
71
|
-
"@postalsys/email-text-tools": "
|
|
72
|
-
"@postalsys/gettext": "4.3.
|
|
68
|
+
"@postalsys/certs": "3.0.1",
|
|
69
|
+
"@postalsys/email-ai-tools": "3.0.3",
|
|
70
|
+
"@postalsys/email-content": "0.1.22",
|
|
71
|
+
"@postalsys/email-text-tools": "3.1.1",
|
|
72
|
+
"@postalsys/gettext": "4.3.2",
|
|
73
73
|
"@postalsys/joi-messages": "1.4.1",
|
|
74
|
-
"@postalsys/templates": "
|
|
75
|
-
"@
|
|
74
|
+
"@postalsys/templates": "3.0.0",
|
|
75
|
+
"@prometheus-io/client": "0.16.1",
|
|
76
|
+
"@sentry/core": "11.16.0",
|
|
76
77
|
"@simplewebauthn/server": "14.1.0",
|
|
77
|
-
"@zone-eu/mailsplit": "5.4.
|
|
78
|
+
"@zone-eu/mailsplit": "5.4.31",
|
|
78
79
|
"@zone-eu/wild-config": "1.7.10",
|
|
79
|
-
"bullmq": "6.7.
|
|
80
|
-
"
|
|
81
|
-
"fast-xml-parser": "5.12.0",
|
|
80
|
+
"bullmq": "6.7.8",
|
|
81
|
+
"fast-xml-parser": "5.12.1",
|
|
82
82
|
"handlebars": "4.7.10",
|
|
83
83
|
"he": "1.2.0",
|
|
84
84
|
"html-to-text": "10.0.1",
|
|
85
85
|
"ical.js": "2.2.1",
|
|
86
86
|
"iconv-lite": "0.7.3",
|
|
87
|
-
"imapflow": "2.
|
|
87
|
+
"imapflow": "2.12.2",
|
|
88
88
|
"ioredfour": "2.2.0",
|
|
89
89
|
"ioredis": "6.0.0",
|
|
90
90
|
"ipaddr.js": "2.5.0",
|
|
91
91
|
"joi": "18.3.2",
|
|
92
92
|
"libbase64": "1.4.1",
|
|
93
|
-
"libmime": "5.6.
|
|
94
|
-
"libqp": "3.0.
|
|
95
|
-
"mailparser": "3.
|
|
93
|
+
"libmime": "5.6.5",
|
|
94
|
+
"libqp": "3.0.2",
|
|
95
|
+
"mailparser": "3.15.0",
|
|
96
96
|
"marked": "15.0.12",
|
|
97
97
|
"minimist": "1.2.8",
|
|
98
|
-
"nodemailer": "10.
|
|
98
|
+
"nodemailer": "10.6.1",
|
|
99
99
|
"pino": "10.3.1",
|
|
100
|
-
"prom-client": "15.1.3",
|
|
101
100
|
"pubface": "1.2.0",
|
|
102
101
|
"punycode.js": "2.3.1",
|
|
103
102
|
"qrcode-generator": "2.0.4",
|
|
104
|
-
"smtp-server": "3.21.
|
|
105
|
-
"socks": "2.8.
|
|
106
|
-
"
|
|
103
|
+
"smtp-server": "3.21.7",
|
|
104
|
+
"socks": "2.8.11",
|
|
105
|
+
"tldts": "7.5.5",
|
|
106
|
+
"undici": "8.13.0"
|
|
107
|
+
},
|
|
108
|
+
"overrides": {
|
|
109
|
+
"@hapi/bell": {
|
|
110
|
+
"joi": "$joi"
|
|
111
|
+
}
|
|
107
112
|
},
|
|
108
113
|
"devDependencies": {
|
|
109
114
|
"@eslint/js": "10.0.1",
|
|
110
|
-
"@iconify-json/tabler": "1.2.
|
|
115
|
+
"@iconify-json/tabler": "1.2.46",
|
|
111
116
|
"@iconify/tailwind4": "1.2.3",
|
|
112
117
|
"@playwright/test": "1.63.0",
|
|
113
|
-
"@postalsys/ee-client": "
|
|
118
|
+
"@postalsys/ee-client": "2.0.1",
|
|
114
119
|
"@simplewebauthn/browser": "14.0.0",
|
|
115
120
|
"@tailwindcss/cli": "4.3.5",
|
|
116
121
|
"ace-builds": "1.45.2",
|
|
117
122
|
"acorn": "8.19.0",
|
|
118
123
|
"acorn-walk": "8.3.5",
|
|
119
124
|
"eerawlog": "1.5.5",
|
|
120
|
-
"eslint": "10.
|
|
125
|
+
"eslint": "10.15.0",
|
|
121
126
|
"eslint-config-prettier": "10.1.8",
|
|
122
127
|
"flyonui": "2.4.1",
|
|
123
128
|
"gettext-parser": "7.0.1",
|
|
124
129
|
"globals": "17.14.0",
|
|
125
130
|
"pino-pretty": "13.2.0",
|
|
126
|
-
"prettier": "3.
|
|
127
|
-
"resedit": "3.1.
|
|
131
|
+
"prettier": "3.10.1",
|
|
132
|
+
"resedit": "3.1.1",
|
|
128
133
|
"spdx-satisfies": "6.0.1",
|
|
129
134
|
"supertest": "7.3.2",
|
|
130
135
|
"tailwindcss": "4.3.5",
|
|
131
|
-
"xgettext-template": "
|
|
132
|
-
},
|
|
133
|
-
"overrides": {
|
|
134
|
-
"cheerio": "1.2.0"
|
|
136
|
+
"xgettext-template": "7.0.0"
|
|
135
137
|
},
|
|
136
138
|
"engines": {
|
|
137
|
-
"node": ">=
|
|
139
|
+
"node": "^22.22.2 || ^24.15.0 || >=26.0.0"
|
|
138
140
|
},
|
|
139
141
|
"pkg": {
|
|
140
142
|
"scripts": [
|
|
@@ -150,8 +152,7 @@
|
|
|
150
152
|
"node_modules/@postalsys/email-content/dist/detect/patterns/*.json",
|
|
151
153
|
"LICENSE_EMAILENGINE.txt",
|
|
152
154
|
"version-info.json",
|
|
153
|
-
"sbom.json"
|
|
154
|
-
"data/public_suffix_list.dat"
|
|
155
|
+
"sbom.json"
|
|
155
156
|
],
|
|
156
157
|
"targets": [
|
|
157
158
|
"node24-linux-x64",
|