From 45d8b9bcd3cd935198e80853ed1612422aa9134b Mon Sep 17 00:00:00 2001 From: Dorian Niemiec Date: Tue, 21 May 2024 17:28:47 +0200 Subject: [PATCH] Update to SVR.JS 3.15.3 --- index.html | 6 +++--- licenses/index.html | 8 ++++---- svr.js | 4 ++-- tests.html | 4 ++-- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/index.html b/index.html index bc50396..b991e20 100644 --- a/index.html +++ b/index.html @@ -1,7 +1,7 @@ - SVR.JS 3.15.2 + SVR.JS 3.15.3 -

Welcome to SVR.JS 3.15.2

+

Welcome to SVR.JS 3.15.3



@@ -148,7 +148,7 @@

Changes:

Tests
diff --git a/licenses/index.html b/licenses/index.html index 9141521..59292e8 100644 --- a/licenses/index.html +++ b/licenses/index.html @@ -1,7 +1,7 @@ - SVR.JS 3.15.2 Licenses + SVR.JS 3.15.3 Licenses -

SVR.JS 3.15.2 Licenses

-

SVR.JS 3.15.2

+

SVR.JS 3.15.3 Licenses

+

SVR.JS 3.15.3

MIT License

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

Packages used by SVR.JS 3.15.2

+

Packages used by SVR.JS 3.15.3

License: MIT
diff --git a/svr.js b/svr.js index c1192e8..f9d98d8 100644 --- a/svr.js +++ b/svr.js @@ -69,7 +69,7 @@ function deleteFolderRecursive(path) { } var os = require("os"); -var version = "3.15.2"; +var version = "3.15.3"; var singlethreaded = false; if (process.versions) process.versions.svrjs = version; // Inject SVR.JS into process.versions @@ -1359,7 +1359,7 @@ function parseURL(uri, prepend) { var hasSlashes = (uri.indexOf("/") != -1); // Parse the URL using regular expression - var parsedURI = uri.match(/^(?:([^:]+:)(\/\/)?)?(?:([^@]+)@)?([^:\/?#\*]+|\[[^\*]\/]\])?(?::([0-9]+))?(\*|\/[^?#]*)?(\?[^#]*)?(#[\S\s]*)?/); + var parsedURI = uri.match(/^(?:([^:]+:)(\/\/)?)?(?:([^@\/?#\*]+)@)?([^:\/?#\*]+|\[[^\*]\/]\])?(?::([0-9]+))?(\*|\/[^?#]*)?(\?[^#]*)?(#[\S\s]*)?/); // Match 1: protocol // Match 2: slashes after protocol // Match 3: authentication credentials diff --git a/tests.html b/tests.html index 5aa0ce9..00c2261 100644 --- a/tests.html +++ b/tests.html @@ -1,7 +1,7 @@ - SVR.JS 3.15.2 Tests + SVR.JS 3.15.3 Tests -

SVR.JS 3.15.2 Tests

+

SVR.JS 3.15.3 Tests

Directory (without trailing slash)

Directory (with query)