Skip to content

Commit 5441a9f

Browse files
authored
fix: bump mail templates version + deps upgrade (#56)
fix: bump mail templates version + deps upgrade
1 parent dc24329 commit 5441a9f

4 files changed

Lines changed: 2108 additions & 1533 deletions

File tree

package.json

Lines changed: 29 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -32,47 +32,48 @@
3232
},
3333
"homepage": "https://github.com/makeomatic/ms-mailer#readme",
3434
"devDependencies": {
35-
"@babel/cli": "^7.8.4",
36-
"@babel/core": "^7.8.4",
37-
"@babel/plugin-proposal-class-properties": "^7.8.3",
38-
"@babel/plugin-proposal-object-rest-spread": "^7.8.3",
39-
"@babel/plugin-transform-strict-mode": "^7.8.3",
40-
"@babel/register": "^7.8.3",
41-
"@makeomatic/deploy": "^10.1.1",
42-
"@semantic-release/changelog": "^5.0.0",
35+
"@babel/cli": "^7.12.7",
36+
"@babel/core": "^7.12.7",
37+
"@babel/plugin-proposal-class-properties": "^7.12.1",
38+
"@babel/plugin-proposal-object-rest-spread": "^7.12.1",
39+
"@babel/plugin-transform-strict-mode": "^7.12.1",
40+
"@babel/register": "^7.12.1",
41+
"@makeomatic/deploy": "^10.3.2",
42+
"@semantic-release/changelog": "^5.0.1",
4343
"@semantic-release/exec": "^5.0.0",
4444
"@semantic-release/git": "^9.0.0",
4545
"babel-plugin-istanbul": "^6.0.0",
4646
"chai": "^4.2.0",
47-
"codecov": "^3.6.4",
48-
"cross-env": "^7.0.0",
49-
"eslint": "^6.8.0",
50-
"eslint-config-makeomatic": "^4.0.0",
51-
"eslint-plugin-import": "^2.20.1",
47+
"codecov": "^3.8.1",
48+
"cross-env": "^7.0.2",
49+
"eslint": "^7.14.0",
50+
"eslint-config-makeomatic": "^5.0.3",
51+
"eslint-plugin-import": "^2.22.1",
5252
"eslint-plugin-promise": "^4.2.1",
53-
"mocha": "^7.0.1",
54-
"nyc": "^15.0.0",
55-
"smtp-server": "^3.5.0"
53+
"eslint-plugin-unicorn": "^23.0.0",
54+
"mocha": "^8.2.1",
55+
"nyc": "^15.1.0",
56+
"smtp-server": "^3.8.0"
5657
},
5758
"dependencies": {
58-
"@hapi/hapi": "^19.1.0",
59-
"@microfleet/core": "^16.0.2",
60-
"@microfleet/transport-amqp": "^15.2.0",
61-
"@microfleet/validation": "^8.1.2",
59+
"@hapi/hapi": "^20.0.2",
60+
"@microfleet/core": "^17.5.3",
61+
"@microfleet/transport-amqp": "^15.2.3",
62+
"@microfleet/validation": "^9.0.1",
6263
"bluebird": "^3.7.2",
63-
"common-errors": "^1.0.5",
64+
"common-errors": "^1.2.0",
6465
"is": "^3.2.0",
65-
"lodash": "^4.17.15",
66-
"ms-conf": "^6.0.0",
67-
"ms-mailer-templates": "^1.15.0",
68-
"nodemailer": "^6.4.2",
66+
"lodash": "^4.17.20",
67+
"ms-conf": "^7.0.2",
68+
"ms-mailer-templates": "^1.19.0",
69+
"nodemailer": "^6.4.16",
6970
"nodemailer-html-to-text": "^3.1.0",
70-
"nodemailer-mailgun-transport": "^2.0.0",
71+
"nodemailer-mailgun-transport": "^2.0.1",
7172
"nodemailer-plugin-inline-base64": "^2.1.1",
7273
"nodemailer-sparkpost-transport": "^2.1.0",
73-
"prom-client": "^11.5.3",
74+
"prom-client": "^12.0.0",
7475
"stdout-stream": "^1.4.1",
75-
"yargs": "^15.1.0"
76+
"yargs": "^16.1.1"
7677
},
7778
"engine": {
7879
"node": ">= 12.14.0",

schemas/common-mailer.json

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -90,19 +90,18 @@
9090
{ "required": ["service"] },
9191
{ "required": ["transport"] }
9292
],
93-
"switch": [{
94-
"if": {
95-
"required": ["transport"],
96-
"properties": {
97-
"transport": {
98-
"const": "sparkpost"
99-
}
93+
"if": {
94+
"required": ["transport"],
95+
"properties": {
96+
"transport": {
97+
"const": "sparkpost"
10098
}
101-
},
102-
"then": {
103-
"required": ["sparkPostApiKey"]
10499
}
105-
}, {
100+
},
101+
"then": {
102+
"required": ["sparkPostApiKey"]
103+
},
104+
"else": {
106105
"if": {
107106
"required": ["transport"],
108107
"properties": {
@@ -118,9 +117,8 @@
118117
"required": ["api_key", "domain"]
119118
}
120119
}
121-
}
122-
}, {
123-
"then": {
120+
},
121+
"else": {
124122
"required": ["auth"],
125123
"properties": {
126124
"auth": {
@@ -131,7 +129,7 @@
131129
}
132130
}
133131
}
134-
}]
132+
}
135133
},
136134
"email": {
137135
"type": "object",

src/configuration/core.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ exports.http = {
4444
},
4545
};
4646

47-
4847
// https://www.npmjs.com/package/html-to-text
4948
exports.htmlToText = {
5049
wordwrap: 140,

0 commit comments

Comments
 (0)