emailengine-app 2.84.1 → 2.85.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.
Files changed (147) hide show
  1. package/.dockerignore +6 -0
  2. package/.ncurc.js +5 -3
  3. package/.prettierignore +5 -1
  4. package/.prettierrc.js +2 -0
  5. package/.release-please-manifest.json +1 -1
  6. package/CHANGELOG.md +61 -0
  7. package/Dockerfile +8 -2
  8. package/README.md +1 -1
  9. package/bin/emailengine.js +444 -403
  10. package/copy-static-files.sh +39 -14
  11. package/data/google-crawlers.json +1 -1
  12. package/data/public_suffix_list.dat +16562 -0
  13. package/docker-compose.yml +1 -1
  14. package/eslint.config.js +81 -99
  15. package/lib/account/own-account-key.js +42 -0
  16. package/lib/account-assignment.js +1 -33
  17. package/lib/account.js +68 -24
  18. package/lib/add-trackers.js +11 -4
  19. package/lib/api-reference/format.js +4 -3
  20. package/lib/api-routes/account-routes.js +244 -26
  21. package/lib/api-routes/blocklist-routes.js +23 -2
  22. package/lib/api-routes/delivery-test-routes.js +26 -3
  23. package/lib/api-routes/export-routes.js +28 -2
  24. package/lib/api-routes/gateway-routes.js +37 -5
  25. package/lib/api-routes/mailbox-routes.js +41 -2
  26. package/lib/api-routes/message-routes.js +104 -4
  27. package/lib/api-routes/mint-bounds.js +11 -0
  28. package/lib/api-routes/oauth2-app-routes.js +48 -15
  29. package/lib/api-routes/outbox-routes.js +45 -11
  30. package/lib/api-routes/permission-map.js +12 -1
  31. package/lib/api-routes/route-helpers.js +125 -3
  32. package/lib/api-routes/settings-routes.js +23 -2
  33. package/lib/api-routes/submit-routes.js +338 -309
  34. package/lib/api-routes/template-routes.js +38 -2
  35. package/lib/api-routes/token-routes.js +142 -96
  36. package/lib/api-routes/webhook-route-routes.js +13 -2
  37. package/lib/auth-token.js +23 -10
  38. package/lib/bounce-detect.js +414 -210
  39. package/lib/consts.js +39 -4
  40. package/lib/create-imap-client.js +41 -2
  41. package/lib/email-client/base-client.js +30 -41
  42. package/lib/email-client/gmail-client.js +30 -18
  43. package/lib/email-client/imap/mailbox.js +13 -23
  44. package/lib/email-client/imap/response-metrics.js +75 -0
  45. package/lib/email-client/imap/subconnection.js +1 -1
  46. package/lib/email-client/imap-client.js +6 -3
  47. package/lib/email-client/message-builder.js +7 -2
  48. package/lib/email-client/notification-handler.js +1 -2
  49. package/lib/email-client/outlook/graph-api.js +17 -2
  50. package/lib/email-client/outlook-client.js +6 -3
  51. package/lib/email-client/smtp-pool-manager.js +6 -0
  52. package/lib/encrypt.js +9 -0
  53. package/lib/export.js +3 -1
  54. package/lib/gateway.js +2 -3
  55. package/lib/get-raw-email.js +4 -2
  56. package/lib/hapi-request-logger.js +107 -0
  57. package/lib/imap-proxy-auth.js +14 -1
  58. package/lib/imapproxy/imap-core/README.md +6 -5
  59. package/lib/imapproxy/imap-core/lib/commands/authenticate-plain.js +1 -0
  60. package/lib/imapproxy/imap-core/lib/commands/login.js +1 -0
  61. package/lib/imapproxy/imap-core/lib/imap-command.js +86 -43
  62. package/lib/imapproxy/imap-core/lib/imap-stream.js +58 -13
  63. package/lib/imapproxy/imap-core/lib/indexer/indexer.js +3 -1
  64. package/lib/mcp/listen.js +10 -1
  65. package/lib/mcp/tools.js +37 -8
  66. package/lib/notify-attachments.js +17 -0
  67. package/lib/oauth/external-account-config.js +3 -1
  68. package/lib/oauth/gmail.js +21 -48
  69. package/lib/oauth/mail-ru.js +5 -38
  70. package/lib/oauth/outlook-mailbox.js +35 -0
  71. package/lib/oauth/outlook.js +26 -44
  72. package/lib/oauth/state.js +24 -0
  73. package/lib/oauth2-apps.js +1 -1
  74. package/lib/pbkdf2-phc.js +19 -2
  75. package/lib/privileged-settings.js +6 -3
  76. package/lib/redis-scan-delete.js +15 -1
  77. package/lib/schemas.js +79 -33
  78. package/lib/settings.js +13 -1
  79. package/lib/smtp-auth.js +23 -0
  80. package/lib/sso.js +1 -1
  81. package/lib/swagger-options.js +1 -1
  82. package/lib/thread-diagnostics.js +46 -0
  83. package/lib/timezones.js +109 -0
  84. package/lib/token-permission-view.js +3 -3
  85. package/lib/tools.js +285 -66
  86. package/lib/totp.js +2 -5
  87. package/lib/translations.js +1 -2
  88. package/lib/ui-routes/account-routes.js +491 -491
  89. package/lib/ui-routes/account-setup.js +99 -0
  90. package/lib/ui-routes/admin-config-routes.js +98 -48
  91. package/lib/ui-routes/admin-entities-routes.js +113 -31
  92. package/lib/ui-routes/auth-routes.js +137 -62
  93. package/lib/ui-routes/connection-security-form.js +74 -0
  94. package/lib/ui-routes/form-lists.js +46 -0
  95. package/lib/ui-routes/internals-routes.js +5 -0
  96. package/lib/ui-routes/mcp-consent-routes.js +5 -1
  97. package/lib/ui-routes/oauth-config-routes.js +133 -100
  98. package/lib/ui-routes/route-helpers.js +19 -3
  99. package/lib/ui-routes/sign-in-helpers.js +59 -0
  100. package/lib/ui-routes/tls-config-routes.js +58 -15
  101. package/lib/ui-routes/unsubscribe-routes.js +6 -3
  102. package/lib/utils/back-off.js +82 -0
  103. package/lib/utils/map-concurrent.js +36 -0
  104. package/lib/utils/murmurhash3.js +66 -0
  105. package/lib/utils/network.js +28 -0
  106. package/lib/utils/provider-id.js +27 -0
  107. package/lib/utils/public-suffix.js +122 -0
  108. package/lib/utils/random-id.js +26 -0
  109. package/lib/utils/require-tls.js +33 -0
  110. package/lib/utils/version.js +74 -0
  111. package/lib/web-safe-html.js +5 -6
  112. package/lib/webhook-penalty.js +75 -0
  113. package/lib/webhook-routing.js +49 -2
  114. package/lib/webhooks.js +41 -6
  115. package/package.json +37 -39
  116. package/sbom.json +7980 -1
  117. package/server.js +659 -455
  118. package/static/js/ace/ace.js +1 -1
  119. package/static/js/ace/mode-handlebars.js +1 -1
  120. package/static/js/ace/mode-html.js +1 -1
  121. package/static/js/ace/mode-javascript.js +1 -1
  122. package/static/js/ace/mode-markdown.js +1 -1
  123. package/static/js/ace/worker-html.js +1 -1
  124. package/static/js/ace/worker-javascript.js +1 -1
  125. package/static/js/ace/worker-json.js +1 -1
  126. package/static/js/ee-client.js +5 -0
  127. package/static/licenses.html +191 -1016
  128. package/translations/messages.pot +70 -71
  129. package/views/account/security.hbs +10 -0
  130. package/views/accounts/account.hbs +11 -11
  131. package/views/accounts/edit.hbs +6 -2
  132. package/views/config/ai.hbs +1 -1
  133. package/views/config/security.hbs +2 -2
  134. package/views/config/service.hbs +3 -0
  135. package/views/internals/index.hbs +8 -0
  136. package/views/partials/gateway_form.hbs +3 -1
  137. package/views/partials/webhook_form.hbs +1 -1
  138. package/views/suppression-lists/index.hbs +1 -1
  139. package/workers/api.js +780 -585
  140. package/workers/export.js +1 -1
  141. package/workers/submit.js +1 -1
  142. package/workers/webhooks.js +54 -34
  143. package/config/test.toml +0 -46
  144. package/install.sh +0 -428
  145. package/setup-production.sh +0 -215
  146. package/systemd/emailengine.service +0 -97
  147. package/systemd/nginx-proxy.conf +0 -77
@@ -4,6 +4,8 @@
4
4
  // and the admin account page's routing card resolve targets and gates through the helpers
5
5
  // here, so the debug view cannot drift from what the worker actually does.
6
6
 
7
+ const { MESSAGE_NEW_NOTIFY } = require('./consts');
8
+
7
9
  // Precedence: custom route target, then the per-account webhooks override, then the global
8
10
  // webhooks setting. Returns the winning URL and which configuration level provided it.
9
11
  function resolveTargetUrl(customRouteTargetUrl, accountWebhooks, globalWebhooks) {
@@ -30,6 +32,30 @@ function eventAllowed(webhookEvents, eventName) {
30
32
  return events.includes('*') || events.includes(eventName);
31
33
  }
32
34
 
35
+ // A messageNew counts as an Inbox message when any of the ways the clients report the folder says so:
36
+ // the IMAP path, the folder's special use, or the message's own special use or Gmail label
37
+ function isInboxPayload(payload) {
38
+ return !!(
39
+ (payload.account && payload.path === 'INBOX') ||
40
+ payload.specialUse === '\\Inbox' ||
41
+ (payload.data && payload.data.messageSpecialUse === '\\Inbox') ||
42
+ (payload.data && payload.data.labels && payload.data.labels.includes('\\Inbox'))
43
+ );
44
+ }
45
+
46
+ // Whether the default route takes an event: the webhookEvents allowlist, then inboxNewOnly for
47
+ // messageNew. The worker asks this at delivery, and lib/webhooks.js asks it before queueing so an
48
+ // event the default route would drop is not written to Redis only for the worker to drop it.
49
+ function defaultRouteTakes(eventName, payload, { webhookEvents, inboxNewOnly }) {
50
+ if (!eventAllowed(webhookEvents, eventName)) {
51
+ return false;
52
+ }
53
+ if (eventName === MESSAGE_NEW_NOTIFY && inboxNewOnly && !isInboxPayload(payload)) {
54
+ return false;
55
+ }
56
+ return true;
57
+ }
58
+
33
59
  // Which custom header lists travel with a delivery, by the configuration level whose target won
34
60
  // (`source`, from resolveTargetUrl), in the order they are merged (later lists override earlier):
35
61
  //
@@ -59,7 +85,7 @@ function deliveryCustomHeaders(source, lists) {
59
85
  let headers = {};
60
86
  for (let level of headerLevels(source)) {
61
87
  for (let header of [].concat(lists[level] || [])) {
62
- if (header && header.key) {
88
+ if (header && header.key && !isReservedDeliveryHeader(header.key)) {
63
89
  headers[header.key] = header.value;
64
90
  }
65
91
  }
@@ -67,6 +93,17 @@ function deliveryCustomHeaders(source, lists) {
67
93
  return headers;
68
94
  }
69
95
 
96
+ // Headers a custom header list may not set. The framing ones describe the request the worker is
97
+ // sending and are not the sender's to change; the X-EE-Wh-* ones are what the receiver reads to
98
+ // tell EmailEngine's own deliveries apart (the job id it deduplicates on, the attempt count, the
99
+ // custom route), so a list an account-scoped token writes must not be able to forge them
100
+ const RESERVED_DELIVERY_HEADERS = new Set(['host', 'content-length', 'transfer-encoding', 'connection', 'expect', 'te', 'upgrade']);
101
+
102
+ function isReservedDeliveryHeader(key) {
103
+ let name = String(key).trim().toLowerCase();
104
+ return RESERVED_DELIVERY_HEADERS.has(name) || name.startsWith('x-ee-wh-');
105
+ }
106
+
70
107
  // Whether a queued custom-route job was meant to carry a mapped payload and does not. A route
71
108
  // with a map script is queued with its mapping or not at all (lib/webhooks.js pushToQueue), so
72
109
  // this only fires for jobs queued before that, which carry the result of a failed map as
@@ -130,4 +167,14 @@ function describeEffectiveRouting(opts) {
130
167
  };
131
168
  }
132
169
 
133
- module.exports = { resolveTargetUrl, isDeliverableRoute, eventAllowed, describeEffectiveRouting, headerLevels, deliveryCustomHeaders, isRouteMappingMissing };
170
+ module.exports = {
171
+ resolveTargetUrl,
172
+ isDeliverableRoute,
173
+ eventAllowed,
174
+ defaultRouteTakes,
175
+ describeEffectiveRouting,
176
+ headerLevels,
177
+ deliveryCustomHeaders,
178
+ isReservedDeliveryHeader,
179
+ isRouteMappingMissing
180
+ };
package/lib/webhooks.js CHANGED
@@ -9,7 +9,11 @@ const { SubScript } = require('./sub-script');
9
9
  const settings = require('./settings');
10
10
  const { filterListPage, truncateTextContents } = require('./tools');
11
11
  const { buildRetentionPolicy } = require('./queue-retention');
12
- const { isDeliverableRoute } = require('./webhook-routing');
12
+ const { isDeliverableRoute, defaultRouteTakes } = require('./webhook-routing');
13
+ const { withinNotifyAttachmentSize } = require('./notify-attachments');
14
+
15
+ // Every setting pushToQueue() decides by, read in one round trip per event
16
+ const QUEUE_SETTINGS = ['webhooksEnabled', 'queueKeep', 'webhookEvents', 'inboxNewOnly'];
13
17
  const { encryptField, decryptField } = require('./encrypt');
14
18
  const getSecret = require('./get-secret');
15
19
 
@@ -643,7 +647,7 @@ class WebhooksHandler {
643
647
 
644
648
  for (let attachment of payload.data.attachments) {
645
649
  if (attachment.content) {
646
- if (notifyAttachments && (!notifyAttachmentSize || notifyAttachmentSize > (attachment.content.length / 4) * 3)) {
650
+ if (notifyAttachments && withinNotifyAttachmentSize(attachment, notifyAttachmentSize)) {
647
651
  // keep the attachment
648
652
  continue;
649
653
  }
@@ -661,10 +665,38 @@ class WebhooksHandler {
661
665
  return payload;
662
666
  }
663
667
 
664
- async pushToQueue(event, originalPayload) {
668
+ /**
669
+ * Formats an event and queues it for delivery. The entry point for every producer of webhook
670
+ * events: with delivery switched off it returns before the payload is cloned and formatted.
671
+ * @param {string} event - Event name
672
+ * @param {Object} payload - Unformatted event payload
673
+ */
674
+ async enqueue(event, payload) {
675
+ let queueSettings = await settings.getMulti(...QUEUE_SETTINGS);
676
+ if (!queueSettings.webhooksEnabled) {
677
+ return;
678
+ }
679
+ await this.pushToQueue(event, await this.formatPayload(event, payload), queueSettings);
680
+ }
681
+
682
+ /**
683
+ * Queues a formatted event for the custom routes that take it and for the default route.
684
+ * @param {string} event - Event name
685
+ * @param {Object} originalPayload - Payload as formatPayload() returned it
686
+ * @param {Object} [queueSettings] - QUEUE_SETTINGS values when the caller has read them already
687
+ */
688
+ async pushToQueue(event, originalPayload, queueSettings) {
689
+ queueSettings = queueSettings || (await settings.getMulti(...QUEUE_SETTINGS));
690
+
691
+ // With delivery switched off the worker drops every job before looking at its target,
692
+ // custom routes included, so nothing is queued and no route script runs
693
+ if (!queueSettings.webhooksEnabled) {
694
+ return;
695
+ }
696
+
665
697
  // custom webhook routes
666
698
  let webhookRoutes = await this.getWebhookHandlers();
667
- let queueKeep = (await settings.get('queueKeep')) ?? true;
699
+ let queueKeep = queueSettings.queueKeep ?? true;
668
700
 
669
701
  let jobOpts = {
670
702
  ...buildRetentionPolicy(queueKeep),
@@ -724,8 +756,11 @@ class WebhooksHandler {
724
756
  }
725
757
  }
726
758
 
727
- // MAIN webhook
728
- await notifyQueue.add(event, originalPayload, jobOpts);
759
+ // MAIN webhook, unless its allowlist or inboxNewOnly already rules the event out. The worker
760
+ // asks the same again at delivery, since either setting can change while a job waits
761
+ if (defaultRouteTakes(event, originalPayload, queueSettings)) {
762
+ await notifyQueue.add(event, originalPayload, jobOpts);
763
+ }
729
764
  }
730
765
  }
731
766
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "emailengine-app",
3
- "version": "2.84.1",
3
+ "version": "2.85.0",
4
4
  "private": false,
5
5
  "productTitle": "EmailEngine",
6
6
  "description": "Email Sync Engine",
@@ -8,16 +8,18 @@
8
8
  "scripts": {
9
9
  "prepare": "git rev-parse --git-dir >/dev/null 2>&1 && git config core.hooksPath .githooks || true",
10
10
  "start": "node server.js",
11
- "dev": "EE_OPENAPI_VERBOSE=true EENGINE_LOG_RAW=true node --tls-keylog=keylog.txt server --dbs.redis='redis://127.0.0.1:6379/9' --api.port=7003 --api.host=0.0.0.0 | tee $HOME/ee.log.dev.txt | pino-pretty",
11
+ "dev": "EE_OPENAPI_VERBOSE=true EENGINE_LOG_RAW=true node server --dbs.redis='redis://127.0.0.1:6379/9' --api.port=7003 --api.host=0.0.0.0 | tee $HOME/ee.log.dev.txt | pino-pretty",
12
12
  "single": "EE_OPENAPI_VERBOSE=true EENGINE_LOG_RAW=true EENGINE_SECRET=your-encryption-key EENGINE_WORKERS=1 node --inspect server --dbs.redis='redis://127.0.0.1:6379/6' --api.port=7003 --api.host=0.0.0.0 | tee $HOME/ee.log.single.txt | pino-pretty",
13
13
  "gmail": "EE_OPENAPI_VERBOSE=true EENGINE_LOG_RAW=true EENGINE_SECRET=your-encryption-key EENGINE_WORKERS=2 EENGINE_CORS_ORIGIN='*' node --inspect server --dbs.redis='redis://127.0.0.1:6379/11' --api.port=7003 --api.host=0.0.0.0 | tee $HOME/ee.log.gmail.txt | pino-pretty",
14
14
  "test": "npm run lint:src && npm run test:unit && npm run test:integration",
15
15
  "test:unit": "NODE_ENV=test node test/run-tests.js unit",
16
+ "test:cjs": "NODE_ENV=test NODE_OPTIONS=--no-experimental-require-module node test/run-tests.js unit",
16
17
  "test:integration": "NODE_ENV=test node test/run-tests.js integration",
17
18
  "test:dovecot": "./test/dovecot/run-dovecot-tests.sh",
18
19
  "test:e2e": "playwright test",
19
20
  "test:e2e:install": "playwright install --with-deps chromium",
20
- "lint": "npx eslint 'lib/**/*.js' 'workers/**/*.js' 'test/**/*.js' server.js",
21
+ "lint": "eslint .",
22
+ "lint:fix": "eslint . --fix",
21
23
  "lint:src": "npx eslint 'lib/**/*.js' 'workers/**/*.js' server.js",
22
24
  "swagger": "./getswagger.sh",
23
25
  "build:css": "tailwindcss -i static/css/src/app.tailwind.css -o static/css/flyonui.css --minify",
@@ -60,71 +62,65 @@
60
62
  "@hapi/inert": "7.1.2",
61
63
  "@hapi/vision": "7.0.3",
62
64
  "@msgpack/msgpack": "3.1.3",
63
- "@postalsys/bounce-classifier": "3.0.1",
64
- "@postalsys/certs": "1.4.4",
65
- "@postalsys/email-ai-tools": "2.2.2",
66
- "@postalsys/email-content": "0.1.12",
67
- "@postalsys/email-text-tools": "2.4.19",
68
- "@postalsys/gettext": "4.1.1",
69
- "@postalsys/joi-messages": "1.3.1",
70
- "@postalsys/templates": "2.0.4",
65
+ "@postalsys/bounce-classifier": "3.1.0",
66
+ "@postalsys/certs": "2.0.0",
67
+ "@postalsys/email-ai-tools": "2.3.1",
68
+ "@postalsys/email-content": "0.1.17",
69
+ "@postalsys/email-text-tools": "2.5.0",
70
+ "@postalsys/gettext": "4.3.0",
71
+ "@postalsys/joi-messages": "1.4.1",
72
+ "@postalsys/templates": "2.1.1",
71
73
  "@sentry/node-core": "10.76.2",
72
74
  "@simplewebauthn/server": "14.0.3",
73
- "@zone-eu/mailsplit": "5.4.21",
74
- "@zone-eu/wild-config": "1.7.8",
75
- "bullmq": "6.3.15",
76
- "compare-versions": "6.1.1",
75
+ "@zone-eu/mailsplit": "5.4.27",
76
+ "@zone-eu/wild-config": "1.7.10",
77
+ "bullmq": "6.3.19",
77
78
  "dotenv": "18.0.8",
78
79
  "encoding-japanese": "2.4.0",
79
- "exponential-backoff": "3.1.3",
80
80
  "fast-xml-parser": "5.11.2",
81
- "gettext-parser": "7.0.1",
82
81
  "handlebars": "4.7.10",
83
- "hapi-pino": "13.0.0",
84
82
  "he": "1.2.0",
85
83
  "html-to-text": "10.0.1",
86
84
  "ical.js": "2.2.1",
87
85
  "iconv-lite": "0.7.3",
88
- "imapflow": "2.4.3",
89
- "ioredfour": "1.4.4",
86
+ "imapflow": "2.5.9",
87
+ "ioredfour": "2.0.0",
90
88
  "ioredis": "6.0.0",
91
89
  "ipaddr.js": "2.5.0",
92
- "joi": "18.2.9",
93
- "libbase64": "1.3.3",
94
- "libmime": "5.4.8",
95
- "libqp": "2.1.2",
96
- "mailparser": "3.9.39",
90
+ "joi": "18.3.0",
91
+ "libbase64": "1.4.1",
92
+ "libmime": "5.5.2",
93
+ "libqp": "3.0.1",
94
+ "mailparser": "3.10.0",
97
95
  "marked": "15.0.12",
98
96
  "minimist": "1.2.8",
99
- "murmurhash": "2.0.1",
100
- "nanoid": "3.3.20",
101
- "nodemailer": "10.1.1",
97
+ "nodemailer": "10.1.7",
102
98
  "pino": "10.3.1",
103
99
  "prom-client": "15.1.3",
104
- "psl": "1.15.0",
105
- "pubface": "1.1.18",
100
+ "pubface": "1.2.0",
106
101
  "punycode.js": "2.3.1",
107
102
  "qrcode-generator": "2.0.4",
108
- "smtp-server": "3.19.22",
103
+ "smtp-server": "3.20.2",
109
104
  "socks": "2.8.10",
110
- "timezones-list": "3.1.0",
111
- "undici": "7.30.0"
105
+ "undici": "7.30.1"
112
106
  },
113
107
  "devDependencies": {
114
108
  "@eslint/js": "10.0.1",
115
109
  "@iconify-json/tabler": "1.2.42",
116
110
  "@iconify/tailwind4": "1.2.3",
117
111
  "@playwright/test": "1.63.0",
118
- "@postalsys/ee-client": "1.8.1",
112
+ "@postalsys/ee-client": "1.8.2",
119
113
  "@simplewebauthn/browser": "14.0.0",
120
114
  "@tailwindcss/cli": "4.3.3",
121
- "ace-builds": "1.44.0",
115
+ "ace-builds": "1.45.0",
122
116
  "acorn": "8.19.0",
123
117
  "acorn-walk": "8.3.5",
124
- "chai": "4.5.0",
125
118
  "eerawlog": "1.5.5",
126
- "eslint": "10.12.0",
119
+ "eslint": "10.13.0",
120
+ "eslint-config-prettier": "10.1.8",
127
121
  "flyonui": "2.4.1",
122
+ "gettext-parser": "7.0.1",
123
+ "globals": "17.13.0",
128
124
  "pino-pretty": "13.2.0",
129
125
  "prettier": "3.9.10",
130
126
  "resedit": "3.1.0",
@@ -154,7 +150,8 @@
154
150
  "node_modules/jsdom/lib/jsdom/browser/default-stylesheet.css",
155
151
  "LICENSE_EMAILENGINE.txt",
156
152
  "version-info.json",
157
- "sbom.json"
153
+ "sbom.json",
154
+ "data/public_suffix_list.dat"
158
155
  ],
159
156
  "targets": [
160
157
  "node24-linux-x64",
@@ -164,7 +161,8 @@
164
161
  ],
165
162
  "outputPath": "ee-dist",
166
163
  "options": [
167
- "max_old_space_size=4096"
164
+ "max_old_space_size=4096",
165
+ "max_semi_space_size=16"
168
166
  ]
169
167
  }
170
168
  }