@libsql/core
Advanced tools
Comparing version 0.4.2 to 0.4.3
@@ -54,6 +54,3 @@ "use strict"; | ||
const AUTHORITY_RE = (() => { | ||
const USERINFO = '(?<username>[^:]*)(:(?<password>.*))?'; | ||
const HOST = '((?<host>[^:\\[\\]]*)|(\\[(?<host_br>[^\\[\\]]*)\\]))'; | ||
const PORT = '(?<port>[0-9]*)'; | ||
return new RegExp(`^(${USERINFO}@)?${HOST}(:${PORT})?$`, "su"); | ||
return new RegExp(`^((?<username>[^:]*)(:(?<password>.*))?@)?((?<host>[^:\\[\\]]*)|(\\[(?<host_br>[^\\[\\]]*)\\]))(:(?<port>[0-9]*))?$`, "su"); | ||
})(); | ||
@@ -60,0 +57,0 @@ // Query string is parsed as application/x-www-form-urlencoded according to the Web URL standard: |
@@ -50,6 +50,3 @@ // URI parser based on RFC 3986 | ||
const AUTHORITY_RE = (() => { | ||
const USERINFO = '(?<username>[^:]*)(:(?<password>.*))?'; | ||
const HOST = '((?<host>[^:\\[\\]]*)|(\\[(?<host_br>[^\\[\\]]*)\\]))'; | ||
const PORT = '(?<port>[0-9]*)'; | ||
return new RegExp(`^(${USERINFO}@)?${HOST}(:${PORT})?$`, "su"); | ||
return new RegExp(`^((?<username>[^:]*)(:(?<password>.*))?@)?((?<host>[^:\\[\\]]*)|(\\[(?<host_br>[^\\[\\]]*)\\]))(:(?<port>[0-9]*))?$`, "su"); | ||
})(); | ||
@@ -56,0 +53,0 @@ // Query string is parsed as application/x-www-form-urlencoded according to the Web URL standard: |
{ | ||
"name": "@libsql/core", | ||
"version": "0.4.2", | ||
"version": "0.4.3", | ||
"keywords": [ | ||
@@ -5,0 +5,0 @@ "libsql", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
42046
1025