mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-11-04 15:52:08 +00:00
refactor: dependency updates
This commit is contained in:
8 files changed
+377
-473
No files matched your search
@@ -53,7 +53,6 @@
|
|||||||
"@types/geojson": "1.0.6",
|
"@types/geojson": "1.0.6",
|
||||||
"@types/node": "22.15.31",
|
"@types/node": "22.15.31",
|
||||||
"@types/node-cron": "3.0.7",
|
"@types/node-cron": "3.0.7",
|
||||||
"@types/nodemailer": "8.0.2",
|
|
||||||
"@types/promise-queue": "2.2.0",
|
"@types/promise-queue": "2.2.0",
|
||||||
"@types/uuid": "8.3.4",
|
"@types/uuid": "8.3.4",
|
||||||
"body-parser": "1.20.3",
|
"body-parser": "1.20.3",
|
||||||
@@ -69,7 +68,7 @@
|
|||||||
"nock": "13.3.1",
|
"nock": "13.3.1",
|
||||||
"node-cache": "5.1.2",
|
"node-cache": "5.1.2",
|
||||||
"node-cron": "3.0.2",
|
"node-cron": "3.0.2",
|
||||||
"nodemailer": "8.0.11",
|
"nodemailer": "10.1.7",
|
||||||
"prom-client": "14.1.1",
|
"prom-client": "14.1.1",
|
||||||
"promise-queue": "2.2.5",
|
"promise-queue": "2.2.5",
|
||||||
"uuid": "8.3.2"
|
"uuid": "8.3.2"
|
||||||
|
|||||||
@@ -48,13 +48,13 @@
|
|||||||
"test:integration": "sh integration-test.sh"
|
"test:integration": "sh integration-test.sh"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@angular/animations": "20.3.31",
|
"@angular/animations": "20.3.32",
|
||||||
"@angular/cdk": "20.2.14",
|
"@angular/cdk": "20.2.14",
|
||||||
"@angular/common": "20.3.31",
|
"@angular/common": "20.3.32",
|
||||||
"@angular/core": "20.3.31",
|
"@angular/core": "20.3.32",
|
||||||
"@angular/forms": "20.3.31",
|
"@angular/forms": "20.3.32",
|
||||||
"@angular/platform-browser": "20.3.31",
|
"@angular/platform-browser": "20.3.32",
|
||||||
"@angular/router": "20.3.31",
|
"@angular/router": "20.3.32",
|
||||||
"@awesome-cordova-plugins/calendar": "8.1.0",
|
"@awesome-cordova-plugins/calendar": "8.1.0",
|
||||||
"@awesome-cordova-plugins/core": "8.1.0",
|
"@awesome-cordova-plugins/core": "8.1.0",
|
||||||
"@capacitor-community/in-app-review": "8.0.0",
|
"@capacitor-community/in-app-review": "8.0.0",
|
||||||
|
|||||||
@@ -51,7 +51,7 @@
|
|||||||
"commander": "10.0.0",
|
"commander": "10.0.0",
|
||||||
"fs-extra": "10.1.0",
|
"fs-extra": "10.1.0",
|
||||||
"junit-report-builder": "3.0.1",
|
"junit-report-builder": "3.0.1",
|
||||||
"wait-on": "6.0.1"
|
"wait-on": "9.5.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@openstapps/eslint-config": "workspace:*",
|
"@openstapps/eslint-config": "workspace:*",
|
||||||
|
|||||||
@@ -52,8 +52,8 @@
|
|||||||
"better-ajv-errors": "1.2.0",
|
"better-ajv-errors": "1.2.0",
|
||||||
"commander": "10.0.0",
|
"commander": "10.0.0",
|
||||||
"deepmerge": "4.3.1",
|
"deepmerge": "4.3.1",
|
||||||
"del": "6.1.1",
|
"del": "9.0.1",
|
||||||
"flatted": "3.2.7",
|
"flatted": "3.4.4",
|
||||||
"fs-extra": "10.1.0",
|
"fs-extra": "10.1.0",
|
||||||
"glob": "10.5.0",
|
"glob": "10.5.0",
|
||||||
"got": "12.6.0",
|
"got": "12.6.0",
|
||||||
@@ -62,9 +62,9 @@
|
|||||||
"mustache": "4.2.0",
|
"mustache": "4.2.0",
|
||||||
"openapi-types": "12.1.0",
|
"openapi-types": "12.1.0",
|
||||||
"plantuml-encoder": "1.4.0",
|
"plantuml-encoder": "1.4.0",
|
||||||
"re2": "1.21.0",
|
"re2": "1.27.0",
|
||||||
"toposort": "2.0.2",
|
"toposort": "2.0.2",
|
||||||
"ts-json-schema-generator": "1.2.0"
|
"ts-json-schema-generator": "1.5.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@openstapps/eslint-config": "workspace:*",
|
"@openstapps/eslint-config": "workspace:*",
|
||||||
|
|||||||
@@ -29,7 +29,7 @@
|
|||||||
"@elastic/elasticsearch": "8.14.1",
|
"@elastic/elasticsearch": "8.14.1",
|
||||||
"commander": "10.0.0",
|
"commander": "10.0.0",
|
||||||
"deepmerge": "4.3.1",
|
"deepmerge": "4.3.1",
|
||||||
"flatted": "3.2.7",
|
"flatted": "3.4.4",
|
||||||
"typedoc": "0.18.0",
|
"typedoc": "0.18.0",
|
||||||
"typescript": "3.8.3"
|
"typescript": "3.8.3"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -28,10 +28,9 @@
|
|||||||
"test": "c8 mocha"
|
"test": "c8 mocha"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@types/nodemailer": "8.0.2",
|
|
||||||
"chalk": "5.2.0",
|
"chalk": "5.2.0",
|
||||||
"flatted": "3.2.7",
|
"flatted": "3.4.4",
|
||||||
"nodemailer": "8.0.11"
|
"nodemailer": "10.1.7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@openstapps/eslint-config": "workspace:*",
|
"@openstapps/eslint-config": "workspace:*",
|
||||||
|
|||||||
@@ -312,19 +312,19 @@ export class SMTP extends VerifiableTransport {
|
|||||||
*/
|
*/
|
||||||
public async sendMail(mail: SendMailOptions): Promise<string> {
|
public async sendMail(mail: SendMailOptions): Promise<string> {
|
||||||
// info is the response of the smtp server
|
// info is the response of the smtp server
|
||||||
let info = await this.transportAgent.sendMail(mail);
|
const info = await this.transportAgent.sendMail(mail);
|
||||||
|
|
||||||
// it can be undefined (empty response)
|
// it can be undefined (empty response)
|
||||||
if (info === undefined) {
|
if (info === undefined) {
|
||||||
info = 'Successfully sent mail';
|
(info['message'] as string) = 'Successfully sent mail';
|
||||||
}
|
}
|
||||||
|
|
||||||
// or not of type string
|
// or not of type string
|
||||||
if (typeof info !== 'string') {
|
if (typeof info !== 'string') {
|
||||||
info = JSON.stringify(info);
|
(info.message as string) = JSON.stringify(info.message);
|
||||||
}
|
}
|
||||||
|
|
||||||
return info;
|
return info.message;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Generated
+358
-452
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user