@kohost/api-client 3.1.7 → 3.1.8

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.
@@ -8180,6 +8180,8 @@ var require_axios = __commonJS({
8180
8180
  function formDataToJSON(formData) {
8181
8181
  function buildPath(path, value, target, index) {
8182
8182
  let name = path[index++];
8183
+ if (name === "__proto__")
8184
+ return true;
8183
8185
  const isNumericKey = Number.isFinite(+name);
8184
8186
  const isLast = index >= path.length;
8185
8187
  name = !name && utils$1.isArray(target) ? target.length : name;
@@ -8665,7 +8667,7 @@ var require_axios = __commonJS({
8665
8667
  }
8666
8668
  __name(isAbsoluteURL, "isAbsoluteURL");
8667
8669
  function combineURLs(baseURL, relativeURL) {
8668
- return relativeURL ? baseURL.replace(/\/+$/, "") + "/" + relativeURL.replace(/^\/+/, "") : baseURL;
8670
+ return relativeURL ? baseURL.replace(/\/?\/$/, "") + "/" + relativeURL.replace(/^\/+/, "") : baseURL;
8669
8671
  }
8670
8672
  __name(combineURLs, "combineURLs");
8671
8673
  function buildFullPath(baseURL, requestedURL) {
@@ -9105,7 +9107,7 @@ var require_axios = __commonJS({
9105
9107
  return config;
9106
9108
  }
9107
9109
  __name(mergeConfig, "mergeConfig");
9108
- var VERSION = "1.6.2";
9110
+ var VERSION = "1.6.5";
9109
9111
  var validators$1 = {};
9110
9112
  ["object", "boolean", "number", "function", "string", "symbol"].forEach((type, i) => {
9111
9113
  validators$1[type] = /* @__PURE__ */ __name(function validator2(thing) {