@kohost/api-client 3.7.4 → 3.7.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/esm/utils.js CHANGED
@@ -3952,8 +3952,7 @@ var require_fast_uri = __commonJS({
3952
3952
  }
3953
3953
  }
3954
3954
  if (options.reference !== "suffix" && components.scheme) {
3955
- uriTokens.push(components.scheme);
3956
- uriTokens.push(":");
3955
+ uriTokens.push(components.scheme, ":");
3957
3956
  }
3958
3957
  const authority = recomposeAuthority(components, options);
3959
3958
  if (authority !== void 0) {
@@ -3976,12 +3975,10 @@ var require_fast_uri = __commonJS({
3976
3975
  uriTokens.push(s);
3977
3976
  }
3978
3977
  if (components.query !== void 0) {
3979
- uriTokens.push("?");
3980
- uriTokens.push(components.query);
3978
+ uriTokens.push("?", components.query);
3981
3979
  }
3982
3980
  if (components.fragment !== void 0) {
3983
- uriTokens.push("#");
3984
- uriTokens.push(components.fragment);
3981
+ uriTokens.push("#", components.fragment);
3985
3982
  }
3986
3983
  return uriTokens.join("");
3987
3984
  }
@@ -4062,9 +4059,6 @@ var require_fast_uri = __commonJS({
4062
4059
  if (gotEncoding && parsed.scheme !== void 0) {
4063
4060
  parsed.scheme = unescape(parsed.scheme);
4064
4061
  }
4065
- if (gotEncoding && parsed.userinfo !== void 0) {
4066
- parsed.userinfo = unescape(parsed.userinfo);
4067
- }
4068
4062
  if (gotEncoding && parsed.host !== void 0) {
4069
4063
  parsed.host = unescape(parsed.host);
4070
4064
  }