Update dependencies

This commit is contained in:
Erik 2023-07-13 19:26:57 +03:00
parent 4f8e8df1cc
commit 1423dbf133
Signed by: Navy.gif
GPG Key ID: 2532FBBB61C65A68
4 changed files with 10 additions and 8 deletions

View File

@ -15,7 +15,7 @@
"@navy.gif/commandparser": "^1.5.2",
"@navy.gif/logger": "^2.4.0",
"@navy.gif/passport-discord": "^0.2.2-b",
"@navy.gif/wrappers": "^1.3.21",
"@navy.gif/wrappers": "^1.5.2",
"@types/cors": "^2.8.13",
"@types/express-fileupload": "^1.4.1",
"@types/express-session": "^1.17.7",

View File

@ -16,7 +16,7 @@ import DiscordStrategy from '@navy.gif/passport-discord';
import { MariaDB, MessageBroker, MongoDB } from '@navy.gif/wrappers';
// Local
import { Util } from '../util/index.js';
import { PermissionManager, Util } from '../util/index.js';
import { Registry, UserDatabase } from './components/index.js';
import { Authenticator, RateLimiter } from './middleware/index.js';
import { UserDatabaseInterface } from './interfaces/index.js';
@ -261,6 +261,9 @@ class Server extends EventEmitter
this.#_server = http.createServer(this.#_options.http, this.app).listen(this.port);
this.#_ready = true;
this.#logger.debug('Registered permissions:');
this.#logger.debug(PermissionManager.DefaultPermissions);
this.#logger.status(`Server created, took ${Date.now() - start} ms, listening on port ${this.port}`);
if (process.send)
process.send({ _ready: true });

View File

@ -2,7 +2,6 @@
// const path = require('node:path');
// const { scryptSync, createCipheriv, randomFillSync, createDecipheriv, randomUUID } = require('node:crypto');
import fs from 'node:fs';
import path from 'node:path';
import { scryptSync, createCipheriv, randomFillSync, createDecipheriv, randomUUID } from 'node:crypto';

View File

@ -1773,15 +1773,15 @@ __metadata:
languageName: node
linkType: hard
"@navy.gif/wrappers@npm:^1.3.21":
version: 1.3.21
resolution: "@navy.gif/wrappers@npm:1.3.21"
"@navy.gif/wrappers@npm:^1.5.2":
version: 1.5.2
resolution: "@navy.gif/wrappers@npm:1.5.2"
dependencies:
amqp-connection-manager: ^4.1.12
amqplib: ^0.10.3
mongodb: ^5.2.0
mysql: ^2.18.1
checksum: 69eb5285cb12aa55baa04e315d8ce0f987bb51a68ef3ebbb928dee84ccc347974c56aa6ad154b2995bc655652bf3267160784e8ec56cb225503b3ff47e442be5
checksum: a20c8b970622ee9e720fd588d5ed35939a67f0be286333f1e4c9c7fdaa5769b606138cd35935e2b886266beef0219a514b79c1ab6b269cfdaccd7275bdfd3882
languageName: node
linkType: hard
@ -7038,7 +7038,7 @@ __metadata:
"@navy.gif/commandparser": ^1.5.2
"@navy.gif/logger": ^2.4.0
"@navy.gif/passport-discord": ^0.2.2-b
"@navy.gif/wrappers": ^1.3.21
"@navy.gif/wrappers": ^1.5.2
"@types/cors": ^2.8.13
"@types/express-fileupload": ^1.4.1
"@types/express-session": ^1.17.7