emailengine-app 2.67.3 → 2.68.1

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 (44) hide show
  1. package/.github/codeql/codeql-config.yml +16 -0
  2. package/.github/workflows/codeql.yml +102 -0
  3. package/.github/workflows/deploy.yml +6 -0
  4. package/.github/workflows/test.yml +6 -0
  5. package/CHANGELOG.md +36 -0
  6. package/SECURITY.md +80 -0
  7. package/SECURITY.txt +27 -0
  8. package/data/google-crawlers.json +7 -1
  9. package/lib/account.js +24 -1
  10. package/lib/api-routes/account-routes.js +12 -2
  11. package/lib/email-client/base-client.js +26 -20
  12. package/lib/email-client/gmail-client.js +14 -12
  13. package/lib/imapproxy/imap-core/lib/imap-command.js +1 -1
  14. package/lib/imapproxy/imap-core/lib/imap-connection.js +7 -0
  15. package/lib/imapproxy/imap-core/lib/imap-server.js +1 -1
  16. package/lib/imapproxy/imap-server.js +92 -29
  17. package/lib/oauth/external-account-config.js +132 -0
  18. package/lib/oauth/external-account-signer.js +256 -0
  19. package/lib/oauth/gmail.js +113 -14
  20. package/lib/oauth/verify-app.js +397 -0
  21. package/lib/oauth2-apps.js +51 -6
  22. package/lib/routes-ui.js +153 -1
  23. package/lib/schemas.js +80 -2
  24. package/lib/settings.js +1 -0
  25. package/lib/tools.js +15 -10
  26. package/package.json +28 -28
  27. package/sbom.json +1 -1
  28. package/server.js +3 -3
  29. package/static/js/ace/ace.js +1 -1
  30. package/static/js/ace/ext-searchbox.js +1 -1
  31. package/static/js/ace/mode-handlebars.js +1 -1
  32. package/static/js/ace/mode-html.js +1 -1
  33. package/static/js/ace/mode-javascript.js +1 -1
  34. package/static/js/ace/mode-markdown.js +1 -1
  35. package/static/js/ace/worker-html.js +1 -1
  36. package/static/js/ace/worker-javascript.js +1 -1
  37. package/static/js/ace/worker-json.js +1 -1
  38. package/static/licenses.html +145 -115
  39. package/translations/messages.pot +49 -49
  40. package/views/config/oauth/app.hbs +224 -0
  41. package/views/config/oauth/edit.hbs +69 -0
  42. package/views/config/oauth/new.hbs +69 -0
  43. package/views/partials/oauth_form.hbs +99 -32
  44. package/workers/api.js +91 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "emailengine-app",
3
- "version": "2.67.3",
3
+ "version": "2.68.1",
4
4
  "private": false,
5
5
  "productTitle": "EmailEngine",
6
6
  "description": "Email Sync Engine",
@@ -17,7 +17,7 @@
17
17
  "build-dist": "pkg --compress Brotli package.json && npm install && node winconf.js",
18
18
  "build-dist-fast": "pkg --debug package.json && npm install && node winconf.js",
19
19
  "licenses": "license-checker --excludePackages 'emailengine-app' --json | node list-generate.js > static/licenses.html",
20
- "gettext": "find ./views -name \"*.hbs\" -print0 | xargs -0 xgettext-template -L Handlebars -o translations/messages.pot --force-po && jsxgettext lib/routes-ui.js workers/api.js lib/tools.js lib/autodetect-imap-settings.js lib/ui-routes/account-routes.js lib/ui-routes/admin-config-routes.js lib/ui-routes/admin-entities-routes.js -j -o translations/messages.pot",
20
+ "gettext": "find ./views -name \"*.hbs\" -print0 | xargs -0 xgettext-template -L Handlebars -o translations/messages.pot --force-po && jsxgettext --parser-options '{\"ecmaVersion\": 2018}' lib/routes-ui.js workers/api.js lib/tools.js lib/autodetect-imap-settings.js lib/ui-routes/account-routes.js lib/ui-routes/admin-config-routes.js lib/ui-routes/admin-entities-routes.js -j -o translations/messages.pot",
21
21
  "prepare-docker": "echo \"EE_DOCKER_LEGACY=$EE_DOCKER_LEGACY\" >> system.env && cat system.env",
22
22
  "update": "rm -rf node_modules package-lock.json && ncu -u && npm install && ./copy-static-files.sh && npm run licenses && npm run gettext",
23
23
  "test-gmail-api": "node lib/email-client/gmail-client.js --dbs.redis=redis://127.0.0.1/11",
@@ -44,33 +44,33 @@
44
44
  "homepage": "https://emailengine.app/",
45
45
  "dependencies": {
46
46
  "@bugsnag/js": "8.9.0",
47
- "@bull-board/api": "7.0.0",
48
- "@bull-board/hapi": "7.0.0",
47
+ "@bull-board/api": "7.1.5",
48
+ "@bull-board/hapi": "7.1.5",
49
49
  "@elastic/elasticsearch": "8.15.3",
50
50
  "@hapi/accept": "6.0.3",
51
51
  "@hapi/bell": "13.1.0",
52
52
  "@hapi/boom": "10.0.1",
53
53
  "@hapi/cookie": "12.0.1",
54
54
  "@hapi/crumb": "9.0.1",
55
- "@hapi/hapi": "21.4.8",
56
- "@hapi/inert": "7.1.0",
55
+ "@hapi/hapi": "21.4.9",
56
+ "@hapi/inert": "7.1.1",
57
57
  "@hapi/vision": "7.0.3",
58
58
  "@phc/pbkdf2": "1.1.14",
59
- "@postalsys/bounce-classifier": "^2.4.0",
59
+ "@postalsys/bounce-classifier": "3.0.0",
60
60
  "@postalsys/certs": "1.0.14",
61
61
  "@postalsys/ee-client": "1.3.0",
62
- "@postalsys/email-ai-tools": "1.13.4",
63
- "@postalsys/email-text-tools": "2.4.5",
62
+ "@postalsys/email-ai-tools": "1.13.5",
63
+ "@postalsys/email-text-tools": "2.4.6",
64
64
  "@postalsys/gettext": "4.1.1",
65
65
  "@postalsys/joi-messages": "1.0.5",
66
66
  "@postalsys/templates": "2.0.1",
67
- "@simplewebauthn/browser": "^13.3.0",
68
- "@simplewebauthn/server": "^13.3.0",
69
- "@zone-eu/mailsplit": "5.4.9",
70
- "@zone-eu/wild-config": "1.7.3",
71
- "ace-builds": "1.43.6",
67
+ "@simplewebauthn/browser": "13.3.0",
68
+ "@simplewebauthn/server": "13.3.1",
69
+ "@zone-eu/mailsplit": "5.4.12",
70
+ "@zone-eu/wild-config": "1.7.5",
71
+ "ace-builds": "1.44.0",
72
72
  "base32.js": "0.1.0",
73
- "bullmq": "5.74.1",
73
+ "bullmq": "5.77.7",
74
74
  "compare-versions": "6.1.1",
75
75
  "dotenv": "17.4.2",
76
76
  "encoding-japanese": "2.2.0",
@@ -81,35 +81,35 @@
81
81
  "hapi-pino": "13.0.0",
82
82
  "hapi-swagger": "17.3.2",
83
83
  "he": "1.2.0",
84
- "html-to-text": "9.0.5",
84
+ "html-to-text": "10.0.0",
85
85
  "ical.js": "1.5.0",
86
86
  "iconv-lite": "0.7.2",
87
- "imapflow": "1.3.2",
87
+ "imapflow": "1.3.5",
88
88
  "ioredfour": "1.4.1",
89
- "ioredis": "5.10.1",
90
- "ipaddr.js": "2.3.0",
89
+ "ioredis": "5.11.0",
90
+ "ipaddr.js": "2.4.0",
91
91
  "joi": "17.13.3",
92
92
  "jquery": "4.0.0",
93
93
  "libbase64": "1.3.0",
94
94
  "libmime": "5.3.8",
95
95
  "libqp": "2.1.1",
96
96
  "license-checker": "25.0.1",
97
- "mailparser": "3.9.8",
97
+ "mailparser": "3.9.9",
98
98
  "marked": "9.1.6",
99
99
  "minimist": "1.2.8",
100
100
  "msgpack5": "6.0.2",
101
101
  "murmurhash": "2.0.1",
102
102
  "nanoid": "3.3.8",
103
- "nodemailer": "8.0.5",
103
+ "nodemailer": "8.0.10",
104
104
  "pino": "10.3.1",
105
105
  "popper.js": "1.16.1",
106
106
  "prom-client": "15.1.3",
107
107
  "psl": "1.15.0",
108
- "pubface": "1.1.1",
108
+ "pubface": "1.1.2",
109
109
  "punycode.js": "2.3.1",
110
110
  "qrcode": "1.5.4",
111
- "smtp-server": "3.18.4",
112
- "socks": "2.8.7",
111
+ "smtp-server": "3.18.5",
112
+ "socks": "2.8.9",
113
113
  "speakeasy": "2.0.0",
114
114
  "startbootstrap-sb-admin-2": "3.3.7",
115
115
  "timezones-list": "3.1.0",
@@ -120,7 +120,7 @@
120
120
  "@eslint/js": "10.0.1",
121
121
  "chai": "4.3.10",
122
122
  "eerawlog": "1.5.3",
123
- "eslint": "10.2.0",
123
+ "eslint": "10.4.1",
124
124
  "grunt": "1.6.2",
125
125
  "grunt-cli": "1.5.0",
126
126
  "grunt-shell-spawn": "0.5.0",
@@ -168,8 +168,8 @@
168
168
  "node24-win-x64"
169
169
  ],
170
170
  "outputPath": "ee-dist",
171
- "options": {
172
- "max_old_space_size": "4096"
173
- }
171
+ "options": [
172
+ "max_old_space_size=4096"
173
+ ]
174
174
  }
175
175
  }