@kohost/api-client 3.1.7 → 3.1.9

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/defs.js CHANGED
@@ -1181,6 +1181,8 @@ var require_axios = __commonJS({
1181
1181
  function formDataToJSON(formData) {
1182
1182
  function buildPath(path, value, target, index) {
1183
1183
  let name = path[index++];
1184
+ if (name === "__proto__")
1185
+ return true;
1184
1186
  const isNumericKey = Number.isFinite(+name);
1185
1187
  const isLast = index >= path.length;
1186
1188
  name = !name && utils$1.isArray(target) ? target.length : name;
@@ -1666,7 +1668,7 @@ var require_axios = __commonJS({
1666
1668
  }
1667
1669
  __name(isAbsoluteURL, "isAbsoluteURL");
1668
1670
  function combineURLs(baseURL, relativeURL) {
1669
- return relativeURL ? baseURL.replace(/\/+$/, "") + "/" + relativeURL.replace(/^\/+/, "") : baseURL;
1671
+ return relativeURL ? baseURL.replace(/\/?\/$/, "") + "/" + relativeURL.replace(/^\/+/, "") : baseURL;
1670
1672
  }
1671
1673
  __name(combineURLs, "combineURLs");
1672
1674
  function buildFullPath(baseURL, requestedURL) {
@@ -2106,7 +2108,7 @@ var require_axios = __commonJS({
2106
2108
  return config;
2107
2109
  }
2108
2110
  __name(mergeConfig, "mergeConfig");
2109
- var VERSION = "1.6.2";
2111
+ var VERSION = "1.6.5";
2110
2112
  var validators$1 = {};
2111
2113
  ["object", "boolean", "number", "function", "string", "symbol"].forEach((type, i) => {
2112
2114
  validators$1[type] = /* @__PURE__ */ __name(function validator2(thing) {