emailengine-app 2.85.0 → 2.87.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 +24 -6
- package/.release-please-manifest.json +1 -1
- package/CHANGELOG.md +97 -0
- package/DOCKER_DEPLOYMENT.md +2 -1
- package/Dockerfile +16 -3
- package/ENVIRONMENT.md +139 -0
- package/README.md +5 -1
- package/config/default.toml +2 -0
- package/copy-static-files.sh +4 -2
- package/data/google-crawlers.json +1 -1
- package/data/public_suffix_list.dat +4 -3
- package/lib/account-assignment.js +19 -0
- package/lib/account.js +285 -195
- package/lib/api-error-codes.js +49 -0
- package/lib/api-reference/model.js +6 -1
- package/lib/api-routes/account-routes.js +91 -32
- package/lib/api-routes/blocklist-routes.js +68 -2
- package/lib/api-routes/delivery-test-routes.js +1 -1
- package/lib/api-routes/gateway-routes.js +82 -10
- package/lib/api-routes/index.js +4 -0
- package/lib/api-routes/license-routes.js +2 -2
- package/lib/api-routes/mailbox-routes.js +3 -3
- package/lib/api-routes/message-routes.js +15 -7
- package/lib/api-routes/oauth2-app-routes.js +15 -8
- package/lib/api-routes/outbox-routes.js +77 -66
- package/lib/api-routes/permission-map.js +55 -6
- package/lib/api-routes/scoped-routes.js +74 -0
- package/lib/api-routes/settings-routes.js +11 -4
- package/lib/api-routes/stats-routes.js +5 -1
- package/lib/api-routes/submit-routes.js +25 -5
- package/lib/api-routes/template-routes.js +7 -6
- package/lib/api-routes/token-routes.js +11 -5
- package/lib/api-routes/webhook-delivery-routes.js +262 -0
- package/lib/api-routes/webhook-route-routes.js +119 -4
- package/lib/calendar-event.js +81 -1
- package/lib/consts.js +38 -46
- package/lib/db.js +14 -6
- package/lib/delivery-error.js +6 -0
- package/lib/deprecations.js +270 -0
- package/lib/email-client/base-client.js +134 -158
- package/lib/email-client/fallback-poll.js +62 -0
- package/lib/email-client/gmail-client.js +59 -11
- package/lib/email-client/imap/adaptive-idle-store.js +73 -0
- package/lib/email-client/imap/adaptive-idle.js +278 -0
- package/lib/email-client/imap/connection-errors.js +14 -1
- package/lib/email-client/imap/idle-settings.js +31 -5
- package/lib/email-client/imap/listing-diff.js +37 -0
- package/lib/email-client/imap/mailbox.js +380 -227
- package/lib/email-client/imap/subconnection.js +7 -29
- package/lib/email-client/imap/sync-operations.js +220 -127
- package/lib/email-client/imap-client.js +227 -163
- package/lib/email-client/message-builder.js +14 -79
- package/lib/email-client/outlook-client.js +378 -338
- package/lib/email-client/smtp-pool-manager.js +16 -13
- package/lib/email-client/sync-state-fields.js +19 -0
- package/lib/encrypt.js +157 -41
- package/lib/enum-descriptions.js +3 -1
- package/lib/env-setting-overrides.js +288 -0
- package/lib/export-worker.js +751 -0
- package/lib/export.js +64 -15
- package/lib/field-usage.js +1 -1
- package/lib/gateway.js +17 -1
- package/lib/get-raw-email.js +35 -108
- package/lib/health.js +75 -0
- package/lib/lock-run.js +119 -0
- package/lib/logger-consts.js +48 -0
- package/lib/logger.js +1 -1
- package/lib/lua/z-head-scores.lua +28 -0
- package/lib/network-errors.js +1 -1
- package/lib/node-version.js +24 -0
- package/lib/notify-attachments.js +20 -1
- package/lib/oauth/gmail.js +54 -29
- package/lib/oauth2-apps.js +630 -655
- package/lib/otp.js +66 -0
- package/lib/outbox.js +184 -54
- package/lib/parse-message.js +3 -3
- package/lib/privileged-settings.js +2 -2
- package/lib/queue-browser/definitions.js +11 -0
- package/lib/queue-browser/index.js +68 -19
- package/lib/queue-job-actions.js +18 -1
- package/lib/queue-retention.js +48 -12
- package/lib/queue-stats.js +11 -2
- package/lib/read-env-value.js +3 -0
- package/lib/redis-memory-warnings.js +99 -0
- package/lib/redis-reconnect.js +29 -0
- package/lib/request-timing.js +23 -0
- package/lib/respawn-backoff.js +35 -0
- package/lib/rewrite-text-nodes.js +19 -59
- package/lib/schemas.js +225 -41
- package/lib/settings.js +6 -2
- package/lib/smtp-auth.js +19 -1
- package/lib/swagger-options.js +2 -2
- package/lib/thread-diagnostics.js +18 -1
- package/lib/tls/provision.js +6 -3
- package/lib/token-audit-log.js +19 -20
- package/lib/token-permission-view.js +4 -3
- package/lib/tools.js +8 -41
- package/lib/ui-routes/admin-config-routes.js +64 -90
- package/lib/ui-routes/admin-entities-routes.js +2 -14
- package/lib/ui-routes/imap-idle-field.js +1 -1
- package/lib/ui-routes/outlook-subscription-view.js +1 -1
- package/lib/ui-routes/overridable-fields.js +84 -0
- package/lib/ui-routes/queue-routes.js +8 -5
- package/lib/ui-routes/settings-page.js +6 -0
- package/lib/utils/decode-headers.js +3 -12
- package/lib/utils/filter-empty.js +20 -0
- package/lib/utils/int-setting.js +48 -0
- package/lib/utils/tracking-settings.js +35 -0
- package/lib/web-safe-html.js +18 -105
- package/lib/webhook-delivery.js +461 -0
- package/lib/webhook-failures.js +132 -0
- package/lib/webhook-request.js +29 -1
- package/lib/webhook-routing.js +30 -1
- package/lib/webhook-test.js +88 -0
- package/lib/webhooks.js +59 -41
- package/lib/worker-rpc-error.js +2 -1
- package/package.json +28 -26
- package/sbom.json +600 -678
- package/server.js +149 -76
- package/static/css/flyonui.css +1 -1
- package/static/js/ace/ace.js +1 -1
- package/static/js/ee-client.js +650 -196
- package/static/licenses.html +49 -59
- package/translations/messages.pot +26 -26
- package/views/config/security.hbs +22 -0
- package/views/config/service.hbs +44 -0
- package/views/config/webhooks.hbs +36 -0
- package/views/layout/app.hbs +9 -6
- package/views/legal.hbs +8 -0
- package/views/partials/queue_retention_note.hbs +12 -8
- package/views/partials/ui/env-managed-alert.hbs +16 -7
- package/workers/api.js +112 -37
- package/workers/export.js +16 -631
- package/workers/imap.js +13 -0
- package/workers/smtp.js +9 -11
- package/workers/webhooks.js +18 -432
- package/lib/email-client/outlook-fallback-poll.js +0 -30
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
// A one-off test delivery to a webhook target: the admin Webhooks page's "Test" button and
|
|
4
|
+
// POST /v1/webhooks/test. It goes out through the same request function, dispatcher and egress
|
|
5
|
+
// check as a real delivery, and is signed the way one is, so a receiver that verifies
|
|
6
|
+
// X-EE-Wh-Signature accepts the probe as it would accept the events.
|
|
7
|
+
|
|
8
|
+
const crypto = require('crypto');
|
|
9
|
+
const { fetch: fetchCmd } = require('undici');
|
|
10
|
+
const { splitUrlCredentials, httpAgent, getServiceSecret } = require('./tools');
|
|
11
|
+
const { validateWebhookTarget } = require('./webhook-egress');
|
|
12
|
+
const { sendWebhookRequest, baseDeliveryHeaders, signDelivery } = require('./webhook-request');
|
|
13
|
+
const { isReservedDeliveryHeader } = require('./webhook-routing');
|
|
14
|
+
const { NONCE_BYTES } = require('./consts');
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* The body of a test event, as the receiver gets it
|
|
18
|
+
* @param {string} serviceUrl - The instance's service URL
|
|
19
|
+
* @param {string} [account] - Account ID, when the test is for an account's target
|
|
20
|
+
* @returns {string} JSON
|
|
21
|
+
*/
|
|
22
|
+
function testEventBody(serviceUrl, account) {
|
|
23
|
+
return JSON.stringify({
|
|
24
|
+
serviceUrl,
|
|
25
|
+
account: account || null,
|
|
26
|
+
date: new Date().toISOString(),
|
|
27
|
+
event: 'test',
|
|
28
|
+
data: {
|
|
29
|
+
nonce: crypto.randomBytes(NONCE_BYTES).toString('base64url')
|
|
30
|
+
}
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Posts a test delivery and reports how it went. Never throws for a failed delivery: the result
|
|
36
|
+
* says why it failed, which is the point of a test.
|
|
37
|
+
*
|
|
38
|
+
* @param {Object} options
|
|
39
|
+
* @param {string} options.url - Target URL, credentials in it are sent as basic auth
|
|
40
|
+
* @param {Array} [options.customHeaders] - `{ key, value }` headers to add, the X-EE-Wh-* and
|
|
41
|
+
* framing headers excepted, as for a real delivery
|
|
42
|
+
* @param {string} options.body - Request body
|
|
43
|
+
* @param {Object} options.logger - Logger instance
|
|
44
|
+
* @returns {Promise<Object>} `{ success, duration }`, plus `error`, `code` and `statusCode` on failure
|
|
45
|
+
*/
|
|
46
|
+
async function sendTestWebhook(options) {
|
|
47
|
+
const { url, customHeaders, body, logger } = options;
|
|
48
|
+
|
|
49
|
+
const { url: parsed, authorization } = splitUrlCredentials(url);
|
|
50
|
+
const headers = baseDeliveryHeaders(authorization);
|
|
51
|
+
|
|
52
|
+
for (const header of [].concat(customHeaders || [])) {
|
|
53
|
+
if (header && header.key && !isReservedDeliveryHeader(header.key)) {
|
|
54
|
+
headers[header.key] = header.value;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
signDelivery(headers, body, await getServiceSecret());
|
|
59
|
+
|
|
60
|
+
const start = Date.now();
|
|
61
|
+
try {
|
|
62
|
+
await sendWebhookRequest(fetchCmd, parsed.toString(), {
|
|
63
|
+
method: 'post',
|
|
64
|
+
body,
|
|
65
|
+
headers,
|
|
66
|
+
dispatcher: httpAgent.webhook,
|
|
67
|
+
validateTarget: validateWebhookTarget
|
|
68
|
+
});
|
|
69
|
+
return { success: true, duration: Date.now() - start };
|
|
70
|
+
} catch (err) {
|
|
71
|
+
// undici wraps a connection failure in a generic "fetch failed"; the cause is the part
|
|
72
|
+
// worth reporting back
|
|
73
|
+
const failure = err.cause || err;
|
|
74
|
+
// the parsed URL, not the given one, so embedded basic-auth credentials stay out of the log
|
|
75
|
+
logger.warn({ msg: 'Failed to post test webhook', webhooks: parsed.toString(), event: 'test', err: failure });
|
|
76
|
+
return {
|
|
77
|
+
success: false,
|
|
78
|
+
duration: Date.now() - start,
|
|
79
|
+
error: failure.message,
|
|
80
|
+
code: failure.code,
|
|
81
|
+
// Same field the stored webhookErrorFlag carries, so a probe and a failed delivery are
|
|
82
|
+
// described the same way
|
|
83
|
+
statusCode: failure.statusCode
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
module.exports = { sendTestWebhook, testEventBody };
|
package/lib/webhooks.js
CHANGED
|
@@ -7,13 +7,15 @@ const logger = require('./logger');
|
|
|
7
7
|
const { REDIS_PREFIX, MESSAGE_NEW_NOTIFY } = require('./consts');
|
|
8
8
|
const { SubScript } = require('./sub-script');
|
|
9
9
|
const settings = require('./settings');
|
|
10
|
-
const { filterListPage, truncateTextContents } = require('./tools');
|
|
10
|
+
const { filterListPage, redactUrlCredentials, truncateTextContents } = require('./tools');
|
|
11
11
|
const { buildRetentionPolicy } = require('./queue-retention');
|
|
12
|
-
const {
|
|
12
|
+
const { getFailedJobRetention } = require('./env-setting-overrides');
|
|
13
|
+
const { isDeliverableRoute, defaultRouteTakes, webhookRetryPolicy } = require('./webhook-routing');
|
|
13
14
|
const { withinNotifyAttachmentSize } = require('./notify-attachments');
|
|
15
|
+
const { notifyHeadersIncludeOtp } = require('./otp');
|
|
14
16
|
|
|
15
17
|
// Every setting pushToQueue() decides by, read in one round trip per event
|
|
16
|
-
const QUEUE_SETTINGS = ['webhooksEnabled', 'queueKeep', 'webhookEvents', 'inboxNewOnly'];
|
|
18
|
+
const QUEUE_SETTINGS = ['webhooksEnabled', 'queueKeep', 'webhookEvents', 'inboxNewOnly', 'webhooksDeliveryAttempts', 'webhooksRetryDelay'];
|
|
17
19
|
const { encryptField, decryptField } = require('./encrypt');
|
|
18
20
|
const getSecret = require('./get-secret');
|
|
19
21
|
|
|
@@ -168,8 +170,13 @@ class WebhooksHandler {
|
|
|
168
170
|
}
|
|
169
171
|
|
|
170
172
|
if (query) {
|
|
171
|
-
|
|
172
|
-
|
|
173
|
+
// Matched against the target URL as a reader of the listing sees it, credentials taken
|
|
174
|
+
// out: the decrypted URL can carry user:pass@, and matching on it would let a caller
|
|
175
|
+
// that only ever gets the masked value guess the credential one character at a time
|
|
176
|
+
// from whether an entry matches
|
|
177
|
+
let original = new Map(response.webhooks.map(entry => [Object.assign({}, entry, { targetUrl: redactUrlCredentials(entry.targetUrl) }), entry]));
|
|
178
|
+
let paged = filterListPage([...original.keys()], ['id', 'name', 'description', 'targetUrl'], query, startPos, pageSize);
|
|
179
|
+
response.webhooks = paged.entries.map(view => original.get(view));
|
|
173
180
|
response.total = paged.total;
|
|
174
181
|
response.pages = paged.pages;
|
|
175
182
|
}
|
|
@@ -594,58 +601,63 @@ class WebhooksHandler {
|
|
|
594
601
|
return this.handlerCache;
|
|
595
602
|
}
|
|
596
603
|
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
604
|
+
/**
|
|
605
|
+
* The messageNew normalizations: text, headers and attachment contents are kept only as far
|
|
606
|
+
* as the notify settings ask
|
|
607
|
+
* @param {Object} data - The event's data, changed in place
|
|
608
|
+
*/
|
|
609
|
+
async normalizeMessageNew(data) {
|
|
610
|
+
// one read for every setting these use
|
|
611
|
+
const { notifyText, notifyTextSize, notifyHeaders, notifyAttachments, notifyAttachmentSize } = await settings.getMulti(
|
|
612
|
+
'notifyText',
|
|
613
|
+
'notifyTextSize',
|
|
614
|
+
'notifyHeaders',
|
|
615
|
+
'notifyAttachments',
|
|
616
|
+
'notifyAttachmentSize'
|
|
617
|
+
);
|
|
602
618
|
|
|
603
|
-
if (
|
|
619
|
+
if (data.text) {
|
|
604
620
|
// normalize text content
|
|
605
|
-
let notifyText = await settings.get('notifyText');
|
|
606
621
|
if (!notifyText) {
|
|
607
622
|
// remove text content if any
|
|
608
|
-
for (let key of Object.keys(
|
|
623
|
+
for (let key of Object.keys(data.text)) {
|
|
609
624
|
if (!['id', 'encodedSize'].includes(key)) {
|
|
610
|
-
delete
|
|
625
|
+
delete data.text[key];
|
|
611
626
|
}
|
|
612
627
|
}
|
|
613
|
-
if (!Object.keys(
|
|
614
|
-
delete
|
|
615
|
-
}
|
|
616
|
-
} else {
|
|
617
|
-
let notifyTextSize = await settings.get('notifyTextSize');
|
|
618
|
-
if (payload.data.text && truncateTextContents(payload.data.text, notifyTextSize)) {
|
|
619
|
-
payload.data.text.hasMore = true;
|
|
628
|
+
if (!Object.keys(data.text).length) {
|
|
629
|
+
delete data.text;
|
|
620
630
|
}
|
|
631
|
+
} else if (data.text && truncateTextContents(data.text, notifyTextSize)) {
|
|
632
|
+
data.text.hasMore = true;
|
|
621
633
|
}
|
|
622
634
|
}
|
|
623
635
|
|
|
624
|
-
if (
|
|
636
|
+
if (data.headers) {
|
|
625
637
|
// normalize headers
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
delete payload.data.headers;
|
|
638
|
+
if (!notifyHeaders?.length) {
|
|
639
|
+
delete data.headers;
|
|
629
640
|
} else if (!notifyHeaders.includes('*')) {
|
|
630
641
|
// filter unneeded headers
|
|
631
|
-
for (let header of Object.keys(
|
|
642
|
+
for (let header of Object.keys(data.headers || {})) {
|
|
632
643
|
if (!notifyHeaders.includes(header.toLowerCase())) {
|
|
633
|
-
delete
|
|
644
|
+
delete data.headers[header];
|
|
634
645
|
}
|
|
635
646
|
}
|
|
636
647
|
}
|
|
637
648
|
|
|
638
|
-
if (
|
|
639
|
-
delete
|
|
649
|
+
if (data.headers && !Object.keys(data.headers).length) {
|
|
650
|
+
delete data.headers;
|
|
640
651
|
}
|
|
641
652
|
}
|
|
642
653
|
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
let notifyAttachmentSize = await settings.get('notifyAttachmentSize');
|
|
654
|
+
if (data.otp && !notifyHeadersIncludeOtp(notifyHeaders)) {
|
|
655
|
+
delete data.otp;
|
|
656
|
+
}
|
|
647
657
|
|
|
648
|
-
|
|
658
|
+
// remove attachment contents
|
|
659
|
+
if (data.attachments) {
|
|
660
|
+
for (let attachment of data.attachments) {
|
|
649
661
|
if (attachment.content) {
|
|
650
662
|
if (notifyAttachments && withinNotifyAttachmentSize(attachment, notifyAttachmentSize)) {
|
|
651
663
|
// keep the attachment
|
|
@@ -655,6 +667,17 @@ class WebhooksHandler {
|
|
|
655
667
|
}
|
|
656
668
|
}
|
|
657
669
|
}
|
|
670
|
+
}
|
|
671
|
+
|
|
672
|
+
async formatPayload(event, originalPayload) {
|
|
673
|
+
// run all normalizations before sending the data
|
|
674
|
+
|
|
675
|
+
const payload = structuredClone(originalPayload);
|
|
676
|
+
payload.eventId = payload.eventId || uuid();
|
|
677
|
+
|
|
678
|
+
if (event === MESSAGE_NEW_NOTIFY && payload.data) {
|
|
679
|
+
await this.normalizeMessageNew(payload.data);
|
|
680
|
+
}
|
|
658
681
|
|
|
659
682
|
if (payload && payload.data && payload.data.text && payload.data.text._generatedHtml) {
|
|
660
683
|
payload.data.text.html = payload.data.text._generatedHtml;
|
|
@@ -699,13 +722,8 @@ class WebhooksHandler {
|
|
|
699
722
|
let queueKeep = queueSettings.queueKeep ?? true;
|
|
700
723
|
|
|
701
724
|
let jobOpts = {
|
|
702
|
-
...buildRetentionPolicy(queueKeep),
|
|
703
|
-
|
|
704
|
-
backoff: {
|
|
705
|
-
type: 'exponential',
|
|
706
|
-
delay: 5000,
|
|
707
|
-
jitter: 0.2 // 20% randomization to prevent thundering herd
|
|
708
|
-
}
|
|
725
|
+
...buildRetentionPolicy(queueKeep, await getFailedJobRetention()),
|
|
726
|
+
...webhookRetryPolicy(queueSettings)
|
|
709
727
|
};
|
|
710
728
|
|
|
711
729
|
for (let route of webhookRoutes) {
|
package/lib/worker-rpc-error.js
CHANGED
|
@@ -12,12 +12,13 @@
|
|
|
12
12
|
// to tell a transient 4xx rejection (e.g. greylisting) from a permanent 5xx one. It used to be
|
|
13
13
|
// dropped, so the predicate's SMTP-reply branch never fired in production; keeping the field list in
|
|
14
14
|
// one place makes that dependency explicit and unit-testable (see test/worker-rpc-error-test.js).
|
|
15
|
+
// `permanent` is nodemailer's own verdict on that reply, which the predicate prefers when present.
|
|
15
16
|
//
|
|
16
17
|
// These helpers are used at the delivery-error RPC path - the imap/submit workers and the main-thread
|
|
17
18
|
// hub (server.js) that relays between them. The other workers (webhooks/export/smtp/api)
|
|
18
19
|
// keep their own inline resp-handler copies: they never carry a delivery error, so `responseCode`
|
|
19
20
|
// does not apply to them. Route a delivery error through a new worker and it must switch to these too.
|
|
20
|
-
const RPC_ERROR_FIELDS = ['code', 'statusCode', 'responseCode', 'info'];
|
|
21
|
+
const RPC_ERROR_FIELDS = ['code', 'statusCode', 'responseCode', 'permanent', 'info'];
|
|
21
22
|
|
|
22
23
|
/**
|
|
23
24
|
* Serializes an Error into the plain payload sent over postMessage.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "emailengine-app",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.87.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"productTitle": "EmailEngine",
|
|
6
6
|
"description": "Email Sync Engine",
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
"test:unit": "NODE_ENV=test node test/run-tests.js unit",
|
|
16
16
|
"test:cjs": "NODE_ENV=test NODE_OPTIONS=--no-experimental-require-module node test/run-tests.js unit",
|
|
17
17
|
"test:integration": "NODE_ENV=test node test/run-tests.js integration",
|
|
18
|
+
"test:mutation": "NODE_ENV=test node scripts/mutation-test.js",
|
|
18
19
|
"test:dovecot": "./test/dovecot/run-dovecot-tests.sh",
|
|
19
20
|
"test:e2e": "playwright test",
|
|
20
21
|
"test:e2e:install": "playwright install --with-deps chromium",
|
|
@@ -49,70 +50,70 @@
|
|
|
49
50
|
"url": "git+https://github.com/postalsys/emailengine.git"
|
|
50
51
|
},
|
|
51
52
|
"bugs": {
|
|
52
|
-
"url": "https://
|
|
53
|
+
"url": "https://emailengine.app/support",
|
|
54
|
+
"email": "support@postalsys.com"
|
|
53
55
|
},
|
|
54
56
|
"homepage": "https://emailengine.app/",
|
|
55
57
|
"dependencies": {
|
|
56
58
|
"@hapi/accept": "6.0.3",
|
|
57
|
-
"@hapi/bell": "13.2.
|
|
59
|
+
"@hapi/bell": "13.2.1",
|
|
58
60
|
"@hapi/boom": "10.0.1",
|
|
59
61
|
"@hapi/cookie": "12.0.1",
|
|
60
62
|
"@hapi/crumb": "9.0.1",
|
|
61
|
-
"@hapi/hapi": "21.4.
|
|
62
|
-
"@hapi/inert": "7.1.
|
|
63
|
+
"@hapi/hapi": "21.4.12",
|
|
64
|
+
"@hapi/inert": "7.1.3",
|
|
63
65
|
"@hapi/vision": "7.0.3",
|
|
64
66
|
"@msgpack/msgpack": "3.1.3",
|
|
65
67
|
"@postalsys/bounce-classifier": "3.1.0",
|
|
66
|
-
"@postalsys/certs": "2.0.
|
|
67
|
-
"@postalsys/email-ai-tools": "2.
|
|
68
|
-
"@postalsys/email-content": "0.1.
|
|
69
|
-
"@postalsys/email-text-tools": "2.
|
|
68
|
+
"@postalsys/certs": "2.0.3",
|
|
69
|
+
"@postalsys/email-ai-tools": "2.4.0",
|
|
70
|
+
"@postalsys/email-content": "0.1.18",
|
|
71
|
+
"@postalsys/email-text-tools": "2.6.1",
|
|
70
72
|
"@postalsys/gettext": "4.3.0",
|
|
71
73
|
"@postalsys/joi-messages": "1.4.1",
|
|
72
74
|
"@postalsys/templates": "2.1.1",
|
|
73
|
-
"@sentry/node-core": "10.
|
|
75
|
+
"@sentry/node-core": "10.78.0",
|
|
74
76
|
"@simplewebauthn/server": "14.0.3",
|
|
75
|
-
"@zone-eu/mailsplit": "5.4.
|
|
77
|
+
"@zone-eu/mailsplit": "5.4.29",
|
|
76
78
|
"@zone-eu/wild-config": "1.7.10",
|
|
77
|
-
"bullmq": "6.
|
|
78
|
-
"dotenv": "18.0.
|
|
79
|
-
"encoding-japanese": "2.4.0",
|
|
79
|
+
"bullmq": "6.5.1",
|
|
80
|
+
"dotenv": "18.0.9",
|
|
80
81
|
"fast-xml-parser": "5.11.2",
|
|
81
82
|
"handlebars": "4.7.10",
|
|
82
83
|
"he": "1.2.0",
|
|
83
84
|
"html-to-text": "10.0.1",
|
|
84
85
|
"ical.js": "2.2.1",
|
|
85
86
|
"iconv-lite": "0.7.3",
|
|
86
|
-
"imapflow": "2.
|
|
87
|
-
"ioredfour": "2.
|
|
87
|
+
"imapflow": "2.10.0",
|
|
88
|
+
"ioredfour": "2.2.0",
|
|
88
89
|
"ioredis": "6.0.0",
|
|
89
90
|
"ipaddr.js": "2.5.0",
|
|
90
|
-
"joi": "18.3.
|
|
91
|
+
"joi": "18.3.1",
|
|
91
92
|
"libbase64": "1.4.1",
|
|
92
|
-
"libmime": "5.
|
|
93
|
+
"libmime": "5.6.3",
|
|
93
94
|
"libqp": "3.0.1",
|
|
94
|
-
"mailparser": "3.
|
|
95
|
+
"mailparser": "3.14.1",
|
|
95
96
|
"marked": "15.0.12",
|
|
96
97
|
"minimist": "1.2.8",
|
|
97
|
-
"nodemailer": "10.1
|
|
98
|
+
"nodemailer": "10.3.1",
|
|
98
99
|
"pino": "10.3.1",
|
|
99
100
|
"prom-client": "15.1.3",
|
|
100
101
|
"pubface": "1.2.0",
|
|
101
102
|
"punycode.js": "2.3.1",
|
|
102
103
|
"qrcode-generator": "2.0.4",
|
|
103
|
-
"smtp-server": "3.
|
|
104
|
+
"smtp-server": "3.21.3",
|
|
104
105
|
"socks": "2.8.10",
|
|
105
106
|
"undici": "7.30.1"
|
|
106
107
|
},
|
|
107
108
|
"devDependencies": {
|
|
108
109
|
"@eslint/js": "10.0.1",
|
|
109
|
-
"@iconify-json/tabler": "1.2.
|
|
110
|
+
"@iconify-json/tabler": "1.2.43",
|
|
110
111
|
"@iconify/tailwind4": "1.2.3",
|
|
111
112
|
"@playwright/test": "1.63.0",
|
|
112
|
-
"@postalsys/ee-client": "1.
|
|
113
|
+
"@postalsys/ee-client": "1.10.0",
|
|
113
114
|
"@simplewebauthn/browser": "14.0.0",
|
|
114
115
|
"@tailwindcss/cli": "4.3.3",
|
|
115
|
-
"ace-builds": "1.45.
|
|
116
|
+
"ace-builds": "1.45.2",
|
|
116
117
|
"acorn": "8.19.0",
|
|
117
118
|
"acorn-walk": "8.3.5",
|
|
118
119
|
"eerawlog": "1.5.5",
|
|
@@ -130,10 +131,11 @@
|
|
|
130
131
|
"xgettext-template": "5.0.0"
|
|
131
132
|
},
|
|
132
133
|
"overrides": {
|
|
133
|
-
"@asamuzakjp/css-color": "4.1.1"
|
|
134
|
+
"@asamuzakjp/css-color": "4.1.1",
|
|
135
|
+
"cheerio": "1.2.0"
|
|
134
136
|
},
|
|
135
137
|
"engines": {
|
|
136
|
-
"node": ">=20.
|
|
138
|
+
"node": ">=20.19.0"
|
|
137
139
|
},
|
|
138
140
|
"pkg": {
|
|
139
141
|
"scripts": [
|