@push.rocks/smartmta 11.0.0 → 11.0.2

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 (37) hide show
  1. package/changelog.md +17 -0
  2. package/dist_rust/mailer-bin_linux_amd64 +0 -0
  3. package/dist_rust/mailer-bin_linux_amd64.tsrust-build.json +5 -5
  4. package/dist_rust/mailer-bin_linux_arm64 +0 -0
  5. package/dist_rust/mailer-bin_linux_arm64.tsrust-build.json +5 -5
  6. package/dist_ts/00_commitinfo_data.js +1 -1
  7. package/dist_ts/logger.js +1 -1
  8. package/dist_ts/mail/core/classes.bouncemanager.js +2 -2
  9. package/dist_ts/mail/core/classes.email.js +1 -1
  10. package/dist_ts/mail/core/classes.emailvalidator.js +1 -1
  11. package/dist_ts/mail/core/classes.templatemanager.js +1 -1
  12. package/dist_ts/mail/delivery/classes.delivery.queue.js +1 -1
  13. package/dist_ts/mail/delivery/classes.delivery.system.js +2 -2
  14. package/dist_ts/mail/routing/classes.dkim.manager.js +1 -1
  15. package/dist_ts/mail/routing/classes.dns.manager.js +1 -1
  16. package/dist_ts/mail/routing/classes.email.action.executor.js +1 -1
  17. package/dist_ts/mail/routing/classes.unified.email.server.js +2 -2
  18. package/dist_ts/mail/routing/functions.routing.validation.js +1 -1
  19. package/dist_ts/mail/security/classes.dkimcreator.js +1 -1
  20. package/dist_ts/paths.js +1 -1
  21. package/dist_ts/plugins.d.ts +1 -2
  22. package/dist_ts/plugins.js +2 -3
  23. package/dist_ts/security/classes.contentscanner.js +1 -1
  24. package/dist_ts/security/classes.ipreputationchecker.js +1 -1
  25. package/dist_ts/security/classes.rustsecuritybridge.js +1 -1
  26. package/dist_ts/security/classes.securitylogger.js +1 -1
  27. package/notices/cargo-dependencies.html +2 -59
  28. package/notices/inventory.json +15 -15
  29. package/notices/jemalloc-5.3.1-copying.txt +27 -0
  30. package/package.json +7 -8
  31. package/third-party-notices.md +1 -1
  32. package/ts/00_commitinfo_data.ts +1 -1
  33. package/ts/mail/core/classes.bouncemanager.ts +1 -1
  34. package/ts/mail/delivery/classes.delivery.system.ts +1 -1
  35. package/ts/mail/routing/classes.unified.email.server.ts +1 -1
  36. package/ts/plugins.ts +0 -2
  37. package/notices/mimalloc-license.txt +0 -21
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@push.rocks/smartmta",
3
- "version": "11.0.0",
3
+ "version": "11.0.2",
4
4
  "description": "A high-performance, enterprise-grade Mail Transfer Agent (MTA) built from scratch in TypeScript with Rust acceleration.",
5
5
  "keywords": [
6
6
  "mta",
@@ -31,12 +31,12 @@
31
31
  ".": "./dist_ts/index.js"
32
32
  },
33
33
  "devDependencies": {
34
- "@git.zone/cli": "^8.4.0",
35
- "@git.zone/tsbuild": "^5.1.2",
36
- "@git.zone/tsrust": "^3.0.0",
37
- "@git.zone/tstest": "^7.0.0",
34
+ "@git.zone/cli": "^8.11.0",
35
+ "@git.zone/tsbuild": "^6.0.2",
36
+ "@git.zone/tsrust": "^4.5.0",
37
+ "@git.zone/tstest": "^7.2.1",
38
38
  "@types/mailparser": "^3.4.6",
39
- "@types/node": "^26.6.3",
39
+ "@types/node": "^26.6.4",
40
40
  "tsx": "^4.23.15"
41
41
  },
42
42
  "dependencies": {
@@ -46,8 +46,7 @@
46
46
  "@push.rocks/smartrust": "^1.3.2",
47
47
  "@tsclass/tsclass": "^9.5.0",
48
48
  "lru-cache": "^11.5.2",
49
- "mailparser": "^3.9.14",
50
- "uuid": "^14.0.1"
49
+ "mailparser": "^3.9.14"
51
50
  },
52
51
  "files": [
53
52
  "ts/**/*",
@@ -55,7 +55,7 @@ verbatim beside the generated inventory:
55
55
  generated inventory; its separately licensed
56
56
  [fiat-crypto component](./notices/aws-lc-sys-0.43.0-fiat-license.txt) is
57
57
  included here.
58
- - libmimalloc-sys 0.1.49: [the vendored mimalloc terms](./notices/mimalloc-license.txt).
58
+ - tikv-jemalloc-sys 0.7.1+5.3.1: [the bundled jemalloc 5.3.1 BSD-2-Clause terms](./notices/jemalloc-5.3.1-copying.txt).
59
59
  - zstd-sys 2.0.16+zstd.1.5.7: [the vendored Zstandard terms](./notices/zstd-license.txt)
60
60
  (BSD-3-Clause is selected; upstream also offers GPL-2.0).
61
61
  - moka 0.12.15: [its Apache-2.0 NOTICE file](./notices/moka-notice.txt), as
@@ -3,6 +3,6 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@push.rocks/smartmta',
6
- version: '11.0.0',
6
+ version: '11.0.2',
7
7
  description: 'A high-performance, enterprise-grade Mail Transfer Agent (MTA) built from scratch in TypeScript with Rust acceleration.'
8
8
  }
@@ -182,7 +182,7 @@ export class BounceManager {
182
182
 
183
183
  // Add required fields if missing
184
184
  const bounce: BounceRecord = {
185
- id: bounceData.id || plugins.uuid.v4(),
185
+ id: bounceData.id || plugins.crypto.randomUUID(),
186
186
  ...(bounceData.operationId ? { operationId: bounceData.operationId } : {}),
187
187
  recipient,
188
188
  sender,
@@ -363,7 +363,7 @@ export class MultiModeDeliverySystem extends EventEmitter {
363
363
  const error = optionsArg.error;
364
364
  const authenticationHandle = error?.outboundAuthenticationHandle || optionsArg.result?.outboundAuthenticationHandle;
365
365
  const attempt: ISmtpTransactionAttempt = {
366
- id: plugins.uuid.v4(),
366
+ id: plugins.crypto.randomUUID(),
367
367
  queueItemId: optionsArg.item.id,
368
368
  queueAttempt: optionsArg.item.attempts,
369
369
  targetHost: optionsArg.targetHost,
@@ -1239,7 +1239,7 @@ export class UnifiedEmailServer extends EventEmitter {
1239
1239
  tlsOpportunistic,
1240
1240
  senderDomain: optionsArg.senderDomain,
1241
1241
  });
1242
- const captureId = proxy?.sourceEvidence ? plugins.uuid.v4() : undefined;
1242
+ const captureId = proxy?.sourceEvidence ? plugins.crypto.randomUUID() : undefined;
1243
1243
  const attachAuthenticationHandle = <T extends ISmtpSendResult | SmtpDeliveryError>(valueArg: T): T => {
1244
1244
  if (!captureId || !proxy?.sourceEvidence) return valueArg;
1245
1245
  const handle = this.createOutboundAuthenticationHandle({
package/ts/plugins.ts CHANGED
@@ -42,9 +42,7 @@ export {
42
42
 
43
43
  // third party
44
44
  import mailparser from 'mailparser';
45
- import * as uuid from 'uuid';
46
45
 
47
46
  export {
48
47
  mailparser,
49
- uuid,
50
48
  }
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2018-2025 Microsoft Corporation, Daan Leijen
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.