@nestjs-modules/mailer 1.8.1 → 1.9.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.
- package/.nvmrc +1 -0
- package/CHANGELOG.md +23 -0
- package/LICENSE +0 -0
- package/README.md +0 -0
- package/SECURITY.md +0 -0
- package/dist/adapters/ejs.adapter.d.ts +0 -0
- package/dist/adapters/ejs.adapter.js +4 -2
- package/dist/adapters/handlebars.adapter.d.ts +0 -0
- package/dist/adapters/handlebars.adapter.js +6 -3
- package/dist/adapters/mjml.adapter.d.ts +0 -0
- package/dist/adapters/mjml.adapter.js +2 -2
- package/dist/adapters/pug.adapter.d.ts +0 -0
- package/dist/adapters/pug.adapter.js +0 -0
- package/dist/constants/mailer.constant.d.ts +0 -0
- package/dist/constants/mailer.constant.js +0 -0
- package/dist/index.d.ts +0 -0
- package/dist/index.js +0 -0
- package/dist/interfaces/mailer-async-options.interface.d.ts +0 -0
- package/dist/interfaces/mailer-async-options.interface.js +0 -0
- package/dist/interfaces/mailer-options-factory.interface.d.ts +0 -0
- package/dist/interfaces/mailer-options-factory.interface.js +0 -0
- package/dist/interfaces/mailer-options.interface.d.ts +2 -2
- package/dist/interfaces/mailer-options.interface.js +0 -0
- package/dist/interfaces/mailer-send-mail-options.interface.d.ts +0 -0
- package/dist/interfaces/mailer-send-mail-options.interface.js +0 -0
- package/dist/interfaces/mailer-transport-factory.interface.d.ts +0 -0
- package/dist/interfaces/mailer-transport-factory.interface.js +0 -0
- package/dist/interfaces/send-mail-options.interface.d.ts +5 -13
- package/dist/interfaces/send-mail-options.interface.js +0 -0
- package/dist/interfaces/template-adapter-config.interface.d.ts +0 -0
- package/dist/interfaces/template-adapter-config.interface.js +0 -0
- package/dist/interfaces/template-adapter.interface.d.ts +0 -0
- package/dist/interfaces/template-adapter.interface.js +0 -0
- package/dist/mailer-core.module.d.ts +0 -0
- package/dist/mailer-core.module.js +2 -3
- package/dist/mailer-transport.factory.d.ts +0 -0
- package/dist/mailer-transport.factory.js +2 -3
- package/dist/mailer.module.d.ts +0 -0
- package/dist/mailer.module.js +2 -3
- package/dist/mailer.service.d.ts +0 -0
- package/dist/mailer.service.js +19 -20
- package/index.d.ts +0 -0
- package/index.js +0 -0
- package/package.json +36 -33
package/.nvmrc
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
18.17.0
|
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,29 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [1.9.1](https://github.com/nest-modules/mailer/compare/v1.9.0...v1.9.1) (2023-07-20)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* patch vm2 Sandbox Escape vulnerability ([0f89a36](https://github.com/nest-modules/mailer/commit/0f89a36bd8c18cb349cb826ac840fdf3d6aad252))
|
|
11
|
+
|
|
12
|
+
## [1.9.0](https://github.com/nest-modules/mailer/compare/v1.8.1...v1.9.0) (2023-07-20)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* fix partial not found error on Windows ([fb1fcda](https://github.com/nest-modules/mailer/commit/fb1fcdaba04c4b4f6ccbf2492dc0f34565b198e1))
|
|
18
|
+
* mjml import statement ([00abe2b](https://github.com/nest-modules/mailer/commit/00abe2b3215a41407fafbc134a56d97cb0b2ded8))
|
|
19
|
+
* update dependencies by newer version ([f1d4fba](https://github.com/nest-modules/mailer/commit/f1d4fba6b9d8a0cc50ffe2ae1e3439552e327d0b))
|
|
20
|
+
|
|
21
|
+
### [1.8.2](https://github.com/nest-modules/mailer/compare/v1.8.1...v1.8.2) (2022-12-22)
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### Bug Fixes
|
|
25
|
+
|
|
26
|
+
* update dependencies by newer version ([f1d4fba](https://github.com/nest-modules/mailer/commit/f1d4fba6b9d8a0cc50ffe2ae1e3439552e327d0b))
|
|
27
|
+
|
|
5
28
|
### [1.8.1](https://github.com/nest-modules/mailer/compare/v1.8.0...v1.8.1) (2022-07-21)
|
|
6
29
|
|
|
7
30
|
|
package/LICENSE
CHANGED
|
File without changes
|
package/README.md
CHANGED
|
File without changes
|
package/SECURITY.md
CHANGED
|
File without changes
|
|
File without changes
|
|
@@ -17,12 +17,14 @@ class EjsAdapter {
|
|
|
17
17
|
}
|
|
18
18
|
compile(mail, callback, mailerOptions) {
|
|
19
19
|
const { context, template } = mail.data;
|
|
20
|
+
const templateBaseDir = (0, lodash_1.get)(mailerOptions, 'template.dir', '');
|
|
20
21
|
const templateExt = path.extname(template) || '.ejs';
|
|
21
|
-
|
|
22
|
+
let templateName = path.basename(template, path.extname(template));
|
|
22
23
|
const templateDir = path.isAbsolute(template)
|
|
23
24
|
? path.dirname(template)
|
|
24
|
-
: path.join(
|
|
25
|
+
: path.join(templateBaseDir, path.dirname(template));
|
|
25
26
|
const templatePath = path.join(templateDir, templateName + templateExt);
|
|
27
|
+
templateName = path.relative(templateBaseDir, templatePath).replace(templateExt, '');
|
|
26
28
|
if (!this.precompiledTemplates[templateName]) {
|
|
27
29
|
try {
|
|
28
30
|
const template = fs.readFileSync(templatePath, 'utf-8');
|
|
File without changes
|
|
@@ -23,12 +23,14 @@ class HandlebarsAdapter {
|
|
|
23
23
|
}
|
|
24
24
|
compile(mail, callback, mailerOptions) {
|
|
25
25
|
const precompile = (template, callback, options) => {
|
|
26
|
+
const templateBaseDir = (0, lodash_1.get)(options, 'dir', '');
|
|
26
27
|
const templateExt = path.extname(template) || '.hbs';
|
|
27
|
-
|
|
28
|
+
let templateName = path.basename(template, path.extname(template));
|
|
28
29
|
const templateDir = path.isAbsolute(template)
|
|
29
30
|
? path.dirname(template)
|
|
30
|
-
: path.join(
|
|
31
|
+
: path.join(templateBaseDir, path.dirname(template));
|
|
31
32
|
const templatePath = path.join(templateDir, templateName + templateExt);
|
|
33
|
+
templateName = path.relative(templateBaseDir, templatePath).replace(templateExt, '');
|
|
32
34
|
if (!this.precompiledTemplates[templateName]) {
|
|
33
35
|
try {
|
|
34
36
|
const template = fs.readFileSync(templatePath, 'utf-8');
|
|
@@ -51,7 +53,8 @@ class HandlebarsAdapter {
|
|
|
51
53
|
data: {},
|
|
52
54
|
});
|
|
53
55
|
if (runtimeOptions.partials) {
|
|
54
|
-
const
|
|
56
|
+
const partialPath = path.join(runtimeOptions.partials.dir, '**', '*.hbs').replace(/\\/g, '/');
|
|
57
|
+
const files = glob.sync(partialPath);
|
|
55
58
|
files.forEach((file) => {
|
|
56
59
|
const { templateName, templatePath } = precompile(file, () => { }, runtimeOptions.partials);
|
|
57
60
|
const templateDir = path.relative(runtimeOptions.partials.dir, path.dirname(templatePath));
|
|
File without changes
|
|
@@ -4,7 +4,7 @@ exports.MjmlAdapter = void 0;
|
|
|
4
4
|
const handlebars_adapter_1 = require("./handlebars.adapter");
|
|
5
5
|
const ejs_adapter_1 = require("./ejs.adapter");
|
|
6
6
|
const pug_adapter_1 = require("./pug.adapter");
|
|
7
|
-
const
|
|
7
|
+
const mjml2html = require("mjml");
|
|
8
8
|
class MjmlAdapter {
|
|
9
9
|
constructor(engine, config, others) {
|
|
10
10
|
this.engine = engine;
|
|
@@ -26,7 +26,7 @@ class MjmlAdapter {
|
|
|
26
26
|
compile(mail, callback, mailerOptions) {
|
|
27
27
|
var _a;
|
|
28
28
|
(_a = this === null || this === void 0 ? void 0 : this.engine) === null || _a === void 0 ? void 0 : _a.compile(mail, () => {
|
|
29
|
-
mail.data.html = (
|
|
29
|
+
mail.data.html = mjml2html(mail.data.html).html;
|
|
30
30
|
callback();
|
|
31
31
|
}, mailerOptions);
|
|
32
32
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/index.d.ts
CHANGED
|
File without changes
|
package/dist/index.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -6,8 +6,8 @@ import * as StreamTransport from 'nodemailer/lib/stream-transport';
|
|
|
6
6
|
import * as JSONTransport from 'nodemailer/lib/json-transport';
|
|
7
7
|
import * as SESTransport from 'nodemailer/lib/ses-transport';
|
|
8
8
|
import { TemplateAdapter } from './template-adapter.interface';
|
|
9
|
-
|
|
10
|
-
export
|
|
9
|
+
type Options = SMTPTransport.Options | SMTPPool.Options | SendmailTransport.Options | StreamTransport.Options | JSONTransport.Options | SESTransport.Options | TransportOptions;
|
|
10
|
+
export type TransportType = Options | SMTPTransport | SMTPPool | SendmailTransport | StreamTransport | JSONTransport | SESTransport | Transport | string;
|
|
11
11
|
export interface MailerOptions {
|
|
12
12
|
defaults?: Options;
|
|
13
13
|
transport?: TransportType;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
2
|
import { SendMailOptions } from 'nodemailer';
|
|
3
3
|
import * as DKIM from 'nodemailer/lib/dkim';
|
|
4
|
-
|
|
5
|
-
export
|
|
4
|
+
import { Attachment } from 'nodemailer/lib/mailer';
|
|
5
|
+
export type TextEncoding = 'quoted-printable' | 'base64';
|
|
6
|
+
export type Headers = {
|
|
6
7
|
[key: string]: string | string[] | {
|
|
7
8
|
prepared: boolean;
|
|
8
9
|
value: string;
|
|
@@ -22,7 +23,7 @@ export interface ISendMailOptions extends SendMailOptions {
|
|
|
22
23
|
to?: string | Address | Array<string | Address>;
|
|
23
24
|
cc?: string | Address | Array<string | Address>;
|
|
24
25
|
bcc?: string | Address | Array<string | Address>;
|
|
25
|
-
replyTo?: string | Address
|
|
26
|
+
replyTo?: string | Address | Array<string | Address>;
|
|
26
27
|
inReplyTo?: string | Address;
|
|
27
28
|
from?: string | Address;
|
|
28
29
|
subject?: string;
|
|
@@ -40,15 +41,6 @@ export interface ISendMailOptions extends SendMailOptions {
|
|
|
40
41
|
};
|
|
41
42
|
transporterName?: string;
|
|
42
43
|
template?: string;
|
|
43
|
-
attachments?:
|
|
44
|
-
filename: string;
|
|
45
|
-
content?: any;
|
|
46
|
-
path?: string;
|
|
47
|
-
contentType?: string;
|
|
48
|
-
cid?: string;
|
|
49
|
-
encoding?: string;
|
|
50
|
-
contentDisposition?: 'attachment' | 'inline' | undefined;
|
|
51
|
-
href?: string;
|
|
52
|
-
}[];
|
|
44
|
+
attachments?: Attachment[];
|
|
53
45
|
dkim?: DKIM.Options;
|
|
54
46
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -6,7 +6,7 @@ const tslib_1 = require("tslib");
|
|
|
6
6
|
const common_1 = require("@nestjs/common");
|
|
7
7
|
const mailer_constant_1 = require("./constants/mailer.constant");
|
|
8
8
|
const mailer_service_1 = require("./mailer.service");
|
|
9
|
-
let MailerCoreModule = MailerCoreModule_1 = class MailerCoreModule {
|
|
9
|
+
let MailerCoreModule = exports.MailerCoreModule = MailerCoreModule_1 = class MailerCoreModule {
|
|
10
10
|
static forRoot(options) {
|
|
11
11
|
const MailerOptionsProvider = {
|
|
12
12
|
provide: mailer_constant_1.MAILER_OPTIONS,
|
|
@@ -67,8 +67,7 @@ let MailerCoreModule = MailerCoreModule_1 = class MailerCoreModule {
|
|
|
67
67
|
};
|
|
68
68
|
}
|
|
69
69
|
};
|
|
70
|
-
MailerCoreModule = MailerCoreModule_1 = tslib_1.__decorate([
|
|
70
|
+
exports.MailerCoreModule = MailerCoreModule = MailerCoreModule_1 = tslib_1.__decorate([
|
|
71
71
|
(0, common_1.Global)(),
|
|
72
72
|
(0, common_1.Module)({})
|
|
73
73
|
], MailerCoreModule);
|
|
74
|
-
exports.MailerCoreModule = MailerCoreModule;
|
|
File without changes
|
|
@@ -5,7 +5,7 @@ const tslib_1 = require("tslib");
|
|
|
5
5
|
const nodemailer_1 = require("nodemailer");
|
|
6
6
|
const common_1 = require("@nestjs/common");
|
|
7
7
|
const mailer_constant_1 = require("./constants/mailer.constant");
|
|
8
|
-
let MailerTransportFactory = class MailerTransportFactory {
|
|
8
|
+
let MailerTransportFactory = exports.MailerTransportFactory = class MailerTransportFactory {
|
|
9
9
|
constructor(options) {
|
|
10
10
|
this.options = options;
|
|
11
11
|
}
|
|
@@ -13,8 +13,7 @@ let MailerTransportFactory = class MailerTransportFactory {
|
|
|
13
13
|
return (0, nodemailer_1.createTransport)(opts || this.options.transport, this.options.defaults);
|
|
14
14
|
}
|
|
15
15
|
};
|
|
16
|
-
MailerTransportFactory = tslib_1.__decorate([
|
|
16
|
+
exports.MailerTransportFactory = MailerTransportFactory = tslib_1.__decorate([
|
|
17
17
|
tslib_1.__param(0, (0, common_1.Inject)(mailer_constant_1.MAILER_OPTIONS)),
|
|
18
18
|
tslib_1.__metadata("design:paramtypes", [Object])
|
|
19
19
|
], MailerTransportFactory);
|
|
20
|
-
exports.MailerTransportFactory = MailerTransportFactory;
|
package/dist/mailer.module.d.ts
CHANGED
|
File without changes
|
package/dist/mailer.module.js
CHANGED
|
@@ -5,7 +5,7 @@ exports.MailerModule = void 0;
|
|
|
5
5
|
const tslib_1 = require("tslib");
|
|
6
6
|
const common_1 = require("@nestjs/common");
|
|
7
7
|
const mailer_core_module_1 = require("./mailer-core.module");
|
|
8
|
-
let MailerModule = MailerModule_1 = class MailerModule {
|
|
8
|
+
let MailerModule = exports.MailerModule = MailerModule_1 = class MailerModule {
|
|
9
9
|
static forRoot(options) {
|
|
10
10
|
return {
|
|
11
11
|
module: MailerModule_1,
|
|
@@ -23,7 +23,6 @@ let MailerModule = MailerModule_1 = class MailerModule {
|
|
|
23
23
|
};
|
|
24
24
|
}
|
|
25
25
|
};
|
|
26
|
-
MailerModule = MailerModule_1 = tslib_1.__decorate([
|
|
26
|
+
exports.MailerModule = MailerModule = MailerModule_1 = tslib_1.__decorate([
|
|
27
27
|
(0, common_1.Module)({})
|
|
28
28
|
], MailerModule);
|
|
29
|
-
exports.MailerModule = MailerModule;
|
package/dist/mailer.service.d.ts
CHANGED
|
File without changes
|
package/dist/mailer.service.js
CHANGED
|
@@ -7,7 +7,24 @@ const common_1 = require("@nestjs/common");
|
|
|
7
7
|
const previewEmail = require("preview-email");
|
|
8
8
|
const mailer_constant_1 = require("./constants/mailer.constant");
|
|
9
9
|
const mailer_transport_factory_1 = require("./mailer-transport.factory");
|
|
10
|
-
let MailerService = class MailerService {
|
|
10
|
+
let MailerService = exports.MailerService = class MailerService {
|
|
11
|
+
initTemplateAdapter(templateAdapter, transporter) {
|
|
12
|
+
if (templateAdapter) {
|
|
13
|
+
transporter.use('compile', (mail, callback) => {
|
|
14
|
+
if (mail.data.html) {
|
|
15
|
+
return callback();
|
|
16
|
+
}
|
|
17
|
+
return templateAdapter.compile(mail, callback, this.mailerOptions);
|
|
18
|
+
});
|
|
19
|
+
if (this.mailerOptions.preview) {
|
|
20
|
+
transporter.use('stream', (mail, callback) => {
|
|
21
|
+
return previewEmail(mail.data, this.mailerOptions.preview)
|
|
22
|
+
.then(() => callback())
|
|
23
|
+
.catch(callback);
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
11
28
|
constructor(mailerOptions, transportFactory) {
|
|
12
29
|
this.mailerOptions = mailerOptions;
|
|
13
30
|
this.transportFactory = transportFactory;
|
|
@@ -39,23 +56,6 @@ let MailerService = class MailerService {
|
|
|
39
56
|
this.initTemplateAdapter(this.templateAdapter, this.transporter);
|
|
40
57
|
}
|
|
41
58
|
}
|
|
42
|
-
initTemplateAdapter(templateAdapter, transporter) {
|
|
43
|
-
if (templateAdapter) {
|
|
44
|
-
transporter.use('compile', (mail, callback) => {
|
|
45
|
-
if (mail.data.html) {
|
|
46
|
-
return callback();
|
|
47
|
-
}
|
|
48
|
-
return templateAdapter.compile(mail, callback, this.mailerOptions);
|
|
49
|
-
});
|
|
50
|
-
if (this.mailerOptions.preview) {
|
|
51
|
-
transporter.use('stream', (mail, callback) => {
|
|
52
|
-
return previewEmail(mail.data, this.mailerOptions.preview)
|
|
53
|
-
.then(() => callback())
|
|
54
|
-
.catch(callback);
|
|
55
|
-
});
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
59
|
sendMail(sendMailOptions) {
|
|
60
60
|
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
61
61
|
if (sendMailOptions.transporterName) {
|
|
@@ -85,11 +85,10 @@ let MailerService = class MailerService {
|
|
|
85
85
|
return transporterName;
|
|
86
86
|
}
|
|
87
87
|
};
|
|
88
|
-
MailerService = tslib_1.__decorate([
|
|
88
|
+
exports.MailerService = MailerService = tslib_1.__decorate([
|
|
89
89
|
(0, common_1.Injectable)(),
|
|
90
90
|
tslib_1.__param(0, (0, common_1.Inject)(mailer_constant_1.MAILER_OPTIONS)),
|
|
91
91
|
tslib_1.__param(1, (0, common_1.Optional)()),
|
|
92
92
|
tslib_1.__param(1, (0, common_1.Inject)(mailer_constant_1.MAILER_TRANSPORT_FACTORY)),
|
|
93
93
|
tslib_1.__metadata("design:paramtypes", [Object, Object])
|
|
94
94
|
], MailerService);
|
|
95
|
-
exports.MailerService = MailerService;
|
package/index.d.ts
CHANGED
|
File without changes
|
package/index.js
CHANGED
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nestjs-modules/mailer",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.9.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "NestJS - a mailer module (@mailer)",
|
|
6
6
|
"keywords": [
|
|
@@ -52,55 +52,58 @@
|
|
|
52
52
|
]
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
|
-
"glob": "
|
|
56
|
-
"inline-css": "4.0.
|
|
57
|
-
"mjml": "^4.
|
|
58
|
-
"preview-email": "3.0.
|
|
55
|
+
"glob": "10.3.3",
|
|
56
|
+
"inline-css": "4.0.2",
|
|
57
|
+
"mjml": "^4.14.1",
|
|
58
|
+
"preview-email": "3.0.19"
|
|
59
59
|
},
|
|
60
60
|
"optionalDependencies": {
|
|
61
|
-
"@types/ejs": "^3.
|
|
61
|
+
"@types/ejs": "^3.1.2",
|
|
62
62
|
"@types/pug": "2.0.6",
|
|
63
|
-
"ejs": "^3.1.
|
|
64
|
-
"handlebars": "^4.7.
|
|
65
|
-
"pug": "^3.0.
|
|
63
|
+
"ejs": "^3.1.9",
|
|
64
|
+
"handlebars": "^4.7.7",
|
|
65
|
+
"pug": "^3.0.2"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
|
-
"@commitlint/cli": "17.
|
|
69
|
-
"@commitlint/config-angular": "17.
|
|
70
|
-
"@nestjs/common": "^
|
|
71
|
-
"@nestjs/core": "^
|
|
72
|
-
"@nestjs/testing": "^
|
|
73
|
-
"@types/glob": "
|
|
68
|
+
"@commitlint/cli": "^17.6.7",
|
|
69
|
+
"@commitlint/config-angular": "^17.6.7",
|
|
70
|
+
"@nestjs/common": "^10.1.0",
|
|
71
|
+
"@nestjs/core": "^10.1.0",
|
|
72
|
+
"@nestjs/testing": "^10.1.0",
|
|
73
|
+
"@types/glob": "^8.1.0",
|
|
74
74
|
"@types/inline-css": "3.0.1",
|
|
75
|
-
"@types/jest": "
|
|
76
|
-
"@types/lodash": "4.14.
|
|
77
|
-
"@types/nodemailer": "6.4.
|
|
75
|
+
"@types/jest": "^29.5.3",
|
|
76
|
+
"@types/lodash": "^4.14.195",
|
|
77
|
+
"@types/nodemailer": "^6.4.8",
|
|
78
78
|
"@types/pug": "2.0.6",
|
|
79
|
-
"@typescript-eslint/eslint-plugin": "
|
|
80
|
-
"@typescript-eslint/parser": "
|
|
81
|
-
"husky": "8.0.
|
|
82
|
-
"jest": "
|
|
83
|
-
"lint-staged": "13.
|
|
84
|
-
"nodemailer": "6.
|
|
85
|
-
"nodemailer-mock": "
|
|
86
|
-
"prettier": "
|
|
79
|
+
"@typescript-eslint/eslint-plugin": "^6.1.0",
|
|
80
|
+
"@typescript-eslint/parser": "^6.1.0",
|
|
81
|
+
"husky": "^8.0.3",
|
|
82
|
+
"jest": "^29.6.1",
|
|
83
|
+
"lint-staged": "^13.2.3",
|
|
84
|
+
"nodemailer": "^6.9.4",
|
|
85
|
+
"nodemailer-mock": "2.0.1",
|
|
86
|
+
"prettier": "^3.0.0",
|
|
87
87
|
"reflect-metadata": "0.1.13",
|
|
88
|
-
"rimraf": "
|
|
89
|
-
"rxjs": "7.
|
|
88
|
+
"rimraf": "5.0.1",
|
|
89
|
+
"rxjs": "^7.8.1",
|
|
90
90
|
"standard-version": "9.5.0",
|
|
91
|
-
"ts-jest": "
|
|
91
|
+
"ts-jest": "^29.1.1",
|
|
92
92
|
"ts-node": "10.9.1",
|
|
93
|
-
"typescript": "
|
|
94
|
-
"yarn-audit-fix": "^9.3.
|
|
93
|
+
"typescript": "^5.1.6",
|
|
94
|
+
"yarn-audit-fix": "^9.3.12"
|
|
95
95
|
},
|
|
96
96
|
"peerDependencies": {
|
|
97
|
-
"@nestjs/common": "^7.0.9 || ^8.0.0 || ^9.0.0",
|
|
98
|
-
"@nestjs/core": "^7.0.9 || ^8.0.0 || ^9.0.0",
|
|
97
|
+
"@nestjs/common": "^7.0.9 || ^8.0.0 || ^9.0.0 || ^10.0.0",
|
|
98
|
+
"@nestjs/core": "^7.0.9 || ^8.0.0 || ^9.0.0 || ^10.0.0",
|
|
99
99
|
"@types/ejs": "^3.0.3",
|
|
100
100
|
"@types/pug": "2.0.6",
|
|
101
101
|
"ejs": "^3.1.2",
|
|
102
102
|
"handlebars": "^4.7.6",
|
|
103
103
|
"nodemailer": "^6.4.6",
|
|
104
104
|
"pug": "^3.0.1"
|
|
105
|
+
},
|
|
106
|
+
"resolutions": {
|
|
107
|
+
"vm2": "isolated-vm"
|
|
105
108
|
}
|
|
106
109
|
}
|