From 5849cec7e685330c251a870a9416e69ca4477206 Mon Sep 17 00:00:00 2001 From: Dorian Niemiec Date: Sun, 17 Sep 2023 23:42:03 +0200 Subject: [PATCH] Update to SVR.JS 3.4.37 --- index.html | 7 +++---- licenses/index.html | 8 ++++---- svr.js | 4 ++-- tests.html | 4 ++-- 4 files changed, 11 insertions(+), 12 deletions(-) diff --git a/index.html b/index.html index 387a800..8549130 100644 --- a/index.html +++ b/index.html @@ -1,7 +1,7 @@ - SVR.JS 3.4.36 + SVR.JS 3.4.37 -

Welcome to SVR.JS 3.4.36

+

Welcome to SVR.JS 3.4.37



@@ -119,8 +119,7 @@

Changes:


Tests
diff --git a/licenses/index.html b/licenses/index.html index 951e3a1..9df26a1 100644 --- a/licenses/index.html +++ b/licenses/index.html @@ -1,7 +1,7 @@ - SVR.JS 3.4.36 Licenses + SVR.JS 3.4.37 Licenses -

SVR.JS 3.4.36 Licenses

-

SVR.JS 3.4.36

+

SVR.JS 3.4.37 Licenses

+

SVR.JS 3.4.37

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.4.36 and utilities

+

Packages used by SVR.JS 3.4.37 and utilities

License: MIT
diff --git a/svr.js b/svr.js index c02951e..c7a510f 100644 --- a/svr.js +++ b/svr.js @@ -71,7 +71,7 @@ function deleteFolderRecursive(path) { } var os = require("os"); -var version = "3.4.36"; +var version = "3.4.37"; var singlethreaded = false; if (process.versions) process.versions.svrjs = version; //Inject SVR.JS into process.versions @@ -4021,7 +4021,7 @@ if (!cluster.isPrimary) { var searchString = regexObj.join("/"); var rx = RegExp(searchString, modifiers); mth = req.url.match(rx) || href.match(rx); - regexI.push(rx); + regexI[i] = rx; } else { mth = nonStandardCodes[i].url == href || (os.platform() == "win32" && nonStandardCodes[i].url.toLowerCase() == href.toLowerCase()); } diff --git a/tests.html b/tests.html index f669f86..b90b71d 100644 --- a/tests.html +++ b/tests.html @@ -1,7 +1,7 @@ - SVR.JS 3.4.36 Tests + SVR.JS 3.4.37 Tests -

SVR.JS 3.4.36 Tests

+

SVR.JS 3.4.37 Tests

Directory

Directory (with query)