From 3b25b335832c705c75aab19c8a75de45d773cf88 Mon Sep 17 00:00:00 2001 From: Dorian Niemiec Date: Fri, 29 Mar 2024 11:08:18 +0100 Subject: [PATCH] Update to SVR.JS 3.14.8 --- index.html | 6 +++--- licenses/index.html | 8 ++++---- svr.js | 3 ++- tests.html | 4 ++-- 4 files changed, 11 insertions(+), 10 deletions(-) diff --git a/index.html b/index.html index 024ef29..3b1336b 100644 --- a/index.html +++ b/index.html @@ -1,7 +1,7 @@ - SVR.JS 3.14.7 + SVR.JS 3.14.8 -

Welcome to SVR.JS 3.14.7

+

Welcome to SVR.JS 3.14.8



@@ -85,7 +85,7 @@

Changes:

Tests
diff --git a/licenses/index.html b/licenses/index.html index 66762f6..c3be420 100644 --- a/licenses/index.html +++ b/licenses/index.html @@ -1,7 +1,7 @@ - SVR.JS 3.14.7 Licenses + SVR.JS 3.14.8 Licenses -

SVR.JS 3.14.7 Licenses

-

SVR.JS 3.14.7

+

SVR.JS 3.14.8 Licenses

+

SVR.JS 3.14.8

MIT License

@@ -37,7 +37,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
-

Packages used by SVR.JS 3.14.7

+

Packages used by SVR.JS 3.14.8

License: MIT
diff --git a/svr.js b/svr.js index e165548..7053cd6 100644 --- a/svr.js +++ b/svr.js @@ -69,7 +69,7 @@ function deleteFolderRecursive(path) { } var os = require("os"); -var version = "3.14.7"; +var version = "3.14.8"; var singlethreaded = false; if (process.versions) process.versions.svrjs = version; // Inject SVR.JS into process.versions @@ -2925,6 +2925,7 @@ if (!cluster.isPrimary) { var table = c; if (typeof (b) == "object") table = b; if (table == undefined) table = this.tHeaders; + if (table == undefined) table = {}; table = JSON.parse(JSON.stringify(table)); Object.keys(table).forEach(function (key) { var al = key.toLowerCase(); diff --git a/tests.html b/tests.html index bf012a5..995d5f1 100644 --- a/tests.html +++ b/tests.html @@ -1,7 +1,7 @@ - SVR.JS 3.14.7 Tests + SVR.JS 3.14.8 Tests -

SVR.JS 3.14.7 Tests

+

SVR.JS 3.14.8 Tests

Directory (without trailing slash)

Directory (with query)