Upgrade logger package

This commit is contained in:
Erik 2023-07-05 16:43:47 +03:00
parent 137d77acaa
commit d20b5d65d8
Signed by: Navy.gif
GPG Key ID: 2532FBBB61C65A68
3 changed files with 9 additions and 8 deletions

View File

@ -13,7 +13,7 @@
"dependencies": {
"@discordjs/collection": "^1.2.0",
"@navy.gif/commandparser": "^1.5.2",
"@navy.gif/logger": "^2.3.3",
"@navy.gif/logger": "^2.4.0",
"@navy.gif/passport-discord": "^0.2.2-b",
"@navy.gif/wrappers": "^1.3.21",
"@types/cors": "^2.8.13",
@ -52,7 +52,7 @@
},
"scripts": {
"start": "yarn build && node build/index.js",
"build": "tsc",
"build": "tsc --build",
"lint": "eslint src/ --fix",
"test": "jest"
},

View File

@ -323,6 +323,7 @@ class Controller extends EventEmitter
if (promises.length)
await Promise.all(promises);
this.#_logger.status('Shutdown completed, goodbye');
this.#_logger.close();
// eslint-disable-next-line no-process-exit
process.exit();

View File

@ -1753,14 +1753,14 @@ __metadata:
languageName: node
linkType: hard
"@navy.gif/logger@npm:^2.3.3":
version: 2.3.3
resolution: "@navy.gif/logger@npm:2.3.3"
"@navy.gif/logger@npm:^2.4.0":
version: 2.4.0
resolution: "@navy.gif/logger@npm:2.4.0"
dependencies:
"@navy.gif/discord-webhook": ^1.0.0
chalk: ^4.1.2
moment: ^2.29.4
checksum: 996e31881aadc786162281353dbb76540d8257ce3f870a7da66ce738adaeb2dfd26fd06a172fe60ee8848eab57a3af8882be1d51535c513081110a30e394217e
checksum: 19d93ec5f74e8fe9fcee321e3a5105575c335c6150e73d53c68ca9b77cea5dd95dbf424bc66a3eb224b25bac0f4b757c8f76deb25dfb6c57e16ce68d7285f656
languageName: node
linkType: hard
@ -7036,7 +7036,7 @@ __metadata:
"@babel/preset-env": ^7.20.2
"@discordjs/collection": ^1.2.0
"@navy.gif/commandparser": ^1.5.2
"@navy.gif/logger": ^2.3.3
"@navy.gif/logger": ^2.4.0
"@navy.gif/passport-discord": ^0.2.2-b
"@navy.gif/wrappers": ^1.3.21
"@types/cors": ^2.8.13