fix(deps): switch back to non-ESM packages

Node 18 has not the ability yet to run the more modern
packages. Since we want to keep Node 18 compatability
around for some time, these packages can't be upgraded.

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
This commit is contained in:
Erik Michelson
2025-11-23 23:46:07 +01:00
committed by Philip Molares
parent 389302e6bb
commit ffc1e5f87d
3 changed files with 173 additions and 207 deletions

2
app.js
View File

@@ -356,7 +356,7 @@ function handleTermSignals () {
alreadyHandlingTermSignals = true
realtime.maintenance = true
// disconnect all socket.io clients
io.sockets.sockets.keys().forEach(function (key) {
Array.from(io.sockets.sockets.keys()).forEach(function (key) {
const socket = io.sockets.sockets.get(key)
if (!socket) return
// notify client server going into maintenance status