From 7d93449be4bf1098d03bfe82ae08eb363db3ac4e Mon Sep 17 00:00:00 2001 From: rolljee Date: Tue, 19 Sep 2023 17:15:09 +0200 Subject: [PATCH] Update uWebsocket to his latest version available --- lib/core/network/protocols/httpMessage.js | 2 +- package-lock.json | 8 ++++---- package.json | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/core/network/protocols/httpMessage.js b/lib/core/network/protocols/httpMessage.js index 474a96d85a..9e2dda5618 100644 --- a/lib/core/network/protocols/httpMessage.js +++ b/lib/core/network/protocols/httpMessage.js @@ -33,7 +33,7 @@ class HttpMessage { this.connection = connection; this._content = null; this.ips = connection.ips; - this.query = request.getQuery(); + this.query = request.getQuery() || ""; this.path = request.getUrl(); if (this.query.length > 0) { diff --git a/package-lock.json b/package-lock.json index d0b94b938f..eb5788a183 100644 --- a/package-lock.json +++ b/package-lock.json @@ -43,7 +43,7 @@ "semver": "^7.3.8", "sorted-array": "^2.0.4", "uuid": "9.0.1", - "uWebSockets.js": "https://github.com/uNetworking/uWebSockets.js/archive/refs/tags/v20.23.0.tar.gz", + "uWebSockets.js": "https://github.com/uNetworking/uWebSockets.js/archive/refs/tags/v20.31.0.tar.gz", "validator": "13.11.0", "winston": "3.10.0", "winston-elasticsearch": "0.17.4", @@ -12729,9 +12729,9 @@ "integrity": "sha512-OdmXxA8rDsQ7YpNVbKSJkNzTw2I+S5WsbMDnCtIWSQaosNAcWtFuI/YK1TjzUI6nbkgiqEyh8gWngfcv8Asd9A==" }, "node_modules/uWebSockets.js": { - "version": "20.23.0", - "resolved": "https://github.com/uNetworking/uWebSockets.js/archive/refs/tags/v20.23.0.tar.gz", - "integrity": "sha512-8jyrk0YF8P5LtfWcP1cdmbaL0tlPk4i24Y9+J9stOie+nrP6XCjZUb5knJoi0JgDZqWZDewx3EEuyttagSRDuQ==" + "version": "20.31.0", + "resolved": "https://github.com/uNetworking/uWebSockets.js/archive/refs/tags/v20.31.0.tar.gz", + "integrity": "sha512-GMOdHCHYahydO5pUJ6z0VzV9SnuJnmR1qCHjjqv1kDnqi9rOW1OBXa8HBlhd7N35/yuerHM/xd8d2te8FuLNhA==" }, "node_modules/v8-compile-cache": { "version": "2.4.0", diff --git a/package.json b/package.json index 369f4b354d..90b579f7b6 100644 --- a/package.json +++ b/package.json @@ -78,7 +78,7 @@ "semver": "^7.3.8", "sorted-array": "^2.0.4", "uuid": "9.0.1", - "uWebSockets.js": "https://github.com/uNetworking/uWebSockets.js/archive/refs/tags/v20.23.0.tar.gz", + "uWebSockets.js": "https://github.com/uNetworking/uWebSockets.js/archive/refs/tags/v20.31.0.tar.gz", "validator": "13.11.0", "winston": "3.10.0", "winston-elasticsearch": "0.17.4",