Update modules

This commit is contained in:
Girish Ramakrishnan
2026-02-14 19:45:15 +01:00
parent 361d80da17
commit eae86d15ef
3 changed files with 589 additions and 576 deletions

1135
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -13,19 +13,19 @@
"url": "https://git.cloudron.io/platform/box.git"
},
"dependencies": {
"@simplewebauthn/server": "^13.1.1",
"@aws-sdk/client-route-53": "^3.984.0",
"@aws-sdk/client-s3": "^3.984.0",
"@aws-sdk/lib-storage": "^3.984.0",
"@simplewebauthn/server": "^13.2.2",
"@aws-sdk/client-route-53": "^3.990.0",
"@aws-sdk/client-s3": "^3.990.0",
"@aws-sdk/lib-storage": "^3.990.0",
"@cloudron/connect-lastmile": "^2.3.0",
"@cloudron/manifest-format": "^5.35.0",
"@cloudron/pipework": "^1.2.0",
"@cloudron/superagent": "^1.0.1",
"@google-cloud/dns": "^5.3.1",
"@google-cloud/storage": "^7.19.0",
"@smithy/node-http-handler": "^4.4.9",
"@smithy/node-http-handler": "^4.4.10",
"@smithy/util-retry": "^4.2.8",
"@types/node": "^25.2.1",
"@types/node": "^25.2.3",
"async": "^3.2.6",
"connect": "^3.7.0",
"connect-timeout": "^1.9.1",
@@ -40,15 +40,15 @@
"ejs": "^4.0.1",
"express": "^5.2.1",
"jose": "^6.1.3",
"jsdom": "^27.4.0",
"jsdom": "^28.0.0",
"jsonwebtoken": "^9.0.3",
"ldapjs": "^2.3.3",
"marked": "^17.0.1",
"marked": "^17.0.2",
"moment": "^2.30.1",
"moment-timezone": "^0.6.0",
"multiparty": "^4.2.3",
"mysql2": "^3.16.3",
"nodemailer": "^7.0.13",
"mysql2": "^3.17.1",
"nodemailer": "^8.0.1",
"oidc-provider": "^9.6.0",
"ovh": "^2.0.3",
"qrcode": "^1.5.4",
@@ -62,14 +62,14 @@
"xml2js": "^0.6.2"
},
"devDependencies": {
"@eslint/js": "^9.39.2",
"@eslint/js": "^10.0.1",
"commander": "^14.0.3",
"easy-table": "^1.2.0",
"eslint": "^9.39.2",
"eslint": "^10.0.0",
"eventsource": "^4.1.0",
"expect.js": "*",
"mocha": "^11.7.5",
"nock": "^14.0.10",
"nock": "^14.0.11",
"ssh2": "^1.17.0"
},
"scripts": {

View File

@@ -12,7 +12,7 @@ import routes from './routes/index.js';
import safe from 'safetydance';
import users from './users.js';
import util from 'node:util';
import ws from 'ws';
import { WebSocketServer } from 'ws';
const debug = debugModule('box:server');
@@ -30,7 +30,7 @@ async function initializeExpressSync() {
// disable slowloris prevention: https://github.com/nodejs/node/issues/47421 . duplicate headers are discarded for the standard headers (https://nodejs.org/api/http.html#messageheaders)
const httpServer = http.createServer({ headersTimeout: 0, requestTimeout: 0, joinDuplicateHeaders: false }, app); // see also nginx client_header_timeout (30s)
const wsServer = new ws.Server({ noServer: true }); // in noServer mode, we have to handle 'upgrade' and call handleUpgrade
const wsServer = new WebSocketServer({ noServer: true }); // in noServer mode, we have to handle 'upgrade' and call handleUpgrade
const REQUEST_TIMEOUT = 60000; // timeout for all requests (see also setTimeout on the httpServer)