@nocobase/plugin-notification-email 2.2.17 → 2.2.18

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 (47) hide show
  1. package/dist/client-v2/locale.d.ts +1 -1
  2. package/dist/externalVersion.js +7 -7
  3. package/dist/node_modules/nodemailer/.ncurc.js +2 -0
  4. package/dist/node_modules/nodemailer/.prettierignore +8 -0
  5. package/dist/node_modules/nodemailer/.prettierrc +12 -0
  6. package/dist/node_modules/nodemailer/.prettierrc.js +2 -0
  7. package/dist/node_modules/nodemailer/.release-please-config.json +9 -0
  8. package/dist/node_modules/nodemailer/eslint.config.js +88 -0
  9. package/dist/node_modules/nodemailer/lib/addressparser/index.js +314 -71
  10. package/dist/node_modules/nodemailer/lib/base64/index.js +9 -13
  11. package/dist/node_modules/nodemailer/lib/dkim/index.js +17 -18
  12. package/dist/node_modules/nodemailer/lib/dkim/message-parser.js +12 -13
  13. package/dist/node_modules/nodemailer/lib/dkim/relaxed-body.js +3 -3
  14. package/dist/node_modules/nodemailer/lib/dkim/sign.js +23 -19
  15. package/dist/node_modules/nodemailer/lib/errors.js +59 -0
  16. package/dist/node_modules/nodemailer/lib/fetch/cookies.js +14 -19
  17. package/dist/node_modules/nodemailer/lib/fetch/index.js +164 -27
  18. package/dist/node_modules/nodemailer/lib/json-transport/index.js +4 -4
  19. package/dist/node_modules/nodemailer/lib/mail-composer/index.js +235 -161
  20. package/dist/node_modules/nodemailer/lib/mailer/index.js +106 -52
  21. package/dist/node_modules/nodemailer/lib/mailer/mail-message.js +106 -68
  22. package/dist/node_modules/nodemailer/lib/mime-funcs/index.js +105 -59
  23. package/dist/node_modules/nodemailer/lib/mime-funcs/mime-types.js +21 -14
  24. package/dist/node_modules/nodemailer/lib/mime-node/index.js +399 -138
  25. package/dist/node_modules/nodemailer/lib/mime-node/last-newline.js +1 -1
  26. package/dist/node_modules/nodemailer/lib/mime-node/le-unix.js +4 -7
  27. package/dist/node_modules/nodemailer/lib/mime-node/le-windows.js +1 -4
  28. package/dist/node_modules/nodemailer/lib/nodemailer.js +1 -1
  29. package/dist/node_modules/nodemailer/lib/punycode/index.js +460 -0
  30. package/dist/node_modules/nodemailer/lib/qp/index.js +33 -22
  31. package/dist/node_modules/nodemailer/lib/sendmail-transport/index.js +54 -44
  32. package/dist/node_modules/nodemailer/lib/ses-transport/index.js +110 -193
  33. package/dist/node_modules/nodemailer/lib/shared/index.js +316 -207
  34. package/dist/node_modules/nodemailer/lib/shared/objects.js +42 -0
  35. package/dist/node_modules/nodemailer/lib/shared/url.js +151 -0
  36. package/dist/node_modules/nodemailer/lib/smtp-connection/data-stream.js +3 -6
  37. package/dist/node_modules/nodemailer/lib/smtp-connection/http-proxy-client.js +50 -19
  38. package/dist/node_modules/nodemailer/lib/smtp-connection/index.js +423 -218
  39. package/dist/node_modules/nodemailer/lib/smtp-pool/index.js +27 -34
  40. package/dist/node_modules/nodemailer/lib/smtp-pool/pool-resource.js +19 -16
  41. package/dist/node_modules/nodemailer/lib/smtp-transport/index.js +66 -53
  42. package/dist/node_modules/nodemailer/lib/stream-transport/index.js +16 -7
  43. package/dist/node_modules/nodemailer/lib/well-known/index.js +7 -7
  44. package/dist/node_modules/nodemailer/lib/well-known/services.json +333 -38
  45. package/dist/node_modules/nodemailer/lib/xoauth2/index.js +105 -33
  46. package/dist/node_modules/nodemailer/package.json +1 -1
  47. package/package.json +3 -3
@@ -7,6 +7,6 @@
7
7
  * For more information, please refer to: https://www.nocobase.com/agreement.
8
8
  */
9
9
  export declare const NAMESPACE = "notification-email";
10
- export declare function useNotificationEmailTranslation(): import("react-i18next").UseTranslationResponse<("@nocobase/plugin-notification-email" | "notification-email" | "client")[], undefined>;
10
+ export declare function useNotificationEmailTranslation(): import("react-i18next").UseTranslationResponse<("@nocobase/plugin-notification-email" | "client" | "notification-email")[], undefined>;
11
11
  export declare function useT(): (key: string, options?: Record<string, any>) => string;
12
12
  export declare function tExpr(key: string): string;
@@ -8,17 +8,17 @@
8
8
  */
9
9
 
10
10
  module.exports = {
11
- "@nocobase/client": "2.2.17",
11
+ "@nocobase/client": "2.2.18",
12
12
  "react": "18.2.0",
13
- "@nocobase/plugin-notification-manager": "2.2.17",
14
- "@nocobase/utils": "2.2.17",
15
- "@nocobase/flow-engine": "2.2.17",
13
+ "@nocobase/plugin-notification-manager": "2.2.18",
14
+ "@nocobase/utils": "2.2.18",
15
+ "@nocobase/flow-engine": "2.2.18",
16
16
  "react-i18next": "11.18.6",
17
- "@nocobase/client-v2": "2.2.17",
18
- "@nocobase/server": "2.2.17",
17
+ "@nocobase/client-v2": "2.2.18",
18
+ "@nocobase/server": "2.2.18",
19
19
  "antd": "5.24.2",
20
20
  "@ant-design/icons": "5.6.1",
21
- "@nocobase/plugin-workflow": "2.2.17",
21
+ "@nocobase/plugin-workflow": "2.2.18",
22
22
  "@dnd-kit/core": "6.1.0",
23
23
  "@dnd-kit/sortable": "7.0.2"
24
24
  };
@@ -1,3 +1,5 @@
1
+ 'use strict';
2
+
1
3
  module.exports = {
2
4
  upgrade: true,
3
5
  reject: [
@@ -0,0 +1,8 @@
1
+ node_modules
2
+ coverage
3
+ *.min.js
4
+ dist
5
+ build
6
+ .nyc_output
7
+ package-lock.json
8
+ CHANGELOG.md
@@ -0,0 +1,12 @@
1
+ {
2
+ "printWidth": 140,
3
+ "tabWidth": 4,
4
+ "useTabs": false,
5
+ "semi": true,
6
+ "singleQuote": true,
7
+ "quoteProps": "as-needed",
8
+ "trailingComma": "none",
9
+ "bracketSpacing": true,
10
+ "arrowParens": "avoid",
11
+ "endOfLine": "lf"
12
+ }
@@ -1,3 +1,5 @@
1
+ 'use strict';
2
+
1
3
  module.exports = {
2
4
  printWidth: 160,
3
5
  tabWidth: 4,
@@ -0,0 +1,9 @@
1
+ {
2
+ "packages": {
3
+ ".": {
4
+ "release-type": "node",
5
+ "package-name": "nodemailer",
6
+ "pull-request-title-pattern": "chore${scope}: release ${version} [skip-ci]"
7
+ }
8
+ }
9
+ }
@@ -0,0 +1,88 @@
1
+ 'use strict';
2
+
3
+ const globals = require('globals');
4
+
5
+ module.exports = [
6
+ {
7
+ ignores: ['node_modules/**', 'coverage/**', 'dist/**', 'build/**', '.nyc_output/**']
8
+ },
9
+ {
10
+ files: ['**/*.js'],
11
+ languageOptions: {
12
+ ecmaVersion: 2017,
13
+ sourceType: 'script',
14
+ globals: Object.assign({}, globals.node, globals.es2017, {
15
+ it: true,
16
+ describe: true,
17
+ beforeEach: true,
18
+ afterEach: true
19
+ })
20
+ },
21
+ rules: {
22
+ // Error detection
23
+ 'for-direction': 'error',
24
+ 'no-await-in-loop': 'error',
25
+ 'no-div-regex': 'error',
26
+ eqeqeq: 'error',
27
+ 'dot-notation': 'error',
28
+ curly: 'error',
29
+ 'no-fallthrough': 'error',
30
+ 'no-unused-expressions': [
31
+ 'error',
32
+ {
33
+ allowShortCircuit: true
34
+ }
35
+ ],
36
+ 'no-unused-vars': [
37
+ 'error',
38
+ {
39
+ varsIgnorePattern: '^_',
40
+ argsIgnorePattern: '^_',
41
+ caughtErrorsIgnorePattern: '^_'
42
+ }
43
+ ],
44
+ 'handle-callback-err': 'error',
45
+ 'no-new': 'error',
46
+ 'new-cap': 'error',
47
+ 'no-eval': 'error',
48
+ 'no-invalid-this': 'error',
49
+ radix: ['error', 'always'],
50
+ 'no-use-before-define': ['error', 'nofunc'],
51
+ 'callback-return': ['error', ['callback', 'cb', 'done']],
52
+ 'no-regex-spaces': 'error',
53
+ 'no-empty': 'error',
54
+ 'no-duplicate-case': 'error',
55
+ 'no-empty-character-class': 'error',
56
+ 'no-redeclare': 'off', // Disabled per project preference
57
+ 'block-scoped-var': 'error',
58
+ 'no-sequences': 'error',
59
+ 'no-throw-literal': 'error',
60
+ 'no-useless-call': 'error',
61
+ 'no-useless-concat': 'error',
62
+ 'no-void': 'error',
63
+ yoda: 'error',
64
+ 'no-undef': 'error',
65
+ 'global-require': 'error',
66
+ 'no-var': 'error',
67
+ 'no-bitwise': 'error',
68
+ 'no-lonely-if': 'error',
69
+ 'no-mixed-spaces-and-tabs': 'error',
70
+ 'arrow-body-style': ['error', 'as-needed'],
71
+ 'arrow-parens': ['error', 'as-needed'],
72
+ 'prefer-arrow-callback': 'error',
73
+ 'object-shorthand': 'error',
74
+ 'prefer-spread': 'error',
75
+ 'no-prototype-builtins': 'off', // Disabled per project preference
76
+ strict: ['error', 'global'],
77
+
78
+ // Disable all formatting rules (handled by Prettier)
79
+ indent: 'off',
80
+ quotes: 'off',
81
+ 'linebreak-style': 'off',
82
+ semi: 'off',
83
+ 'quote-props': 'off',
84
+ 'comma-dangle': 'off',
85
+ 'comma-style': 'off'
86
+ }
87
+ }
88
+ ];