@getlupa/client 1.11.8 → 1.11.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.
@@ -6899,11 +6899,12 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
6899
6899
  }
6900
6900
  };
6901
6901
  const getNormalizedString = (str) => {
6902
+ var _a, _b;
6902
6903
  if (!str) {
6903
6904
  return "";
6904
6905
  }
6905
6906
  const transformedStr = typeof str === "string" ? str : str.toString();
6906
- return transformedStr.normalize === void 0 ? transformedStr.toLocaleLowerCase() : transformedStr.toLocaleLowerCase().normalize("NFKD").replace(/[^\w\s.-_/]/g, "");
6907
+ return transformedStr.normalize === void 0 ? (_a = transformedStr.toLocaleLowerCase()) == null ? void 0 : _a.trim() : (_b = transformedStr.toLocaleLowerCase().normalize("NFKD").replace(/[^\w\s.-_/]/g, "")) == null ? void 0 : _b.trim();
6907
6908
  };
6908
6909
  const capitalize$1 = (str) => {
6909
6910
  if (!str) {
@@ -6899,11 +6899,12 @@ const LupaSearchSdk = {
6899
6899
  }
6900
6900
  };
6901
6901
  const getNormalizedString = (str) => {
6902
+ var _a, _b;
6902
6903
  if (!str) {
6903
6904
  return "";
6904
6905
  }
6905
6906
  const transformedStr = typeof str === "string" ? str : str.toString();
6906
- return transformedStr.normalize === void 0 ? transformedStr.toLocaleLowerCase() : transformedStr.toLocaleLowerCase().normalize("NFKD").replace(/[^\w\s.-_/]/g, "");
6907
+ return transformedStr.normalize === void 0 ? (_a = transformedStr.toLocaleLowerCase()) == null ? void 0 : _a.trim() : (_b = transformedStr.toLocaleLowerCase().normalize("NFKD").replace(/[^\w\s.-_/]/g, "")) == null ? void 0 : _b.trim();
6907
6908
  };
6908
6909
  const capitalize$1 = (str) => {
6909
6910
  if (!str) {
@@ -6897,11 +6897,12 @@ const LupaSearchSdk = {
6897
6897
  }
6898
6898
  };
6899
6899
  const getNormalizedString = (str) => {
6900
+ var _a, _b;
6900
6901
  if (!str) {
6901
6902
  return "";
6902
6903
  }
6903
6904
  const transformedStr = typeof str === "string" ? str : str.toString();
6904
- return transformedStr.normalize === void 0 ? transformedStr.toLocaleLowerCase() : transformedStr.toLocaleLowerCase().normalize("NFKD").replace(/[^\w\s.-_/]/g, "");
6905
+ return transformedStr.normalize === void 0 ? (_a = transformedStr.toLocaleLowerCase()) == null ? void 0 : _a.trim() : (_b = transformedStr.toLocaleLowerCase().normalize("NFKD").replace(/[^\w\s.-_/]/g, "")) == null ? void 0 : _b.trim();
6905
6906
  };
6906
6907
  const capitalize$1 = (str) => {
6907
6908
  if (!str) {
@@ -6901,11 +6901,12 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
6901
6901
  }
6902
6902
  };
6903
6903
  const getNormalizedString = (str) => {
6904
+ var _a, _b;
6904
6905
  if (!str) {
6905
6906
  return "";
6906
6907
  }
6907
6908
  const transformedStr = typeof str === "string" ? str : str.toString();
6908
- return transformedStr.normalize === void 0 ? transformedStr.toLocaleLowerCase() : transformedStr.toLocaleLowerCase().normalize("NFKD").replace(/[^\w\s.-_/]/g, "");
6909
+ return transformedStr.normalize === void 0 ? (_a = transformedStr.toLocaleLowerCase()) == null ? void 0 : _a.trim() : (_b = transformedStr.toLocaleLowerCase().normalize("NFKD").replace(/[^\w\s.-_/]/g, "")) == null ? void 0 : _b.trim();
6909
6910
  };
6910
6911
  const capitalize$1 = (str) => {
6911
6912
  if (!str) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getlupa/client",
3
- "version": "1.11.8",
3
+ "version": "1.11.9",
4
4
  "main": "dist/lupaSearch.js",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/src/index.d.ts",
@@ -20,7 +20,7 @@
20
20
  },
21
21
  "devDependencies": {
22
22
  "@getlupa/client-sdk": "^1.3.4",
23
- "@getlupa/vue": "0.11.8",
23
+ "@getlupa/vue": "0.11.9",
24
24
  "@rushstack/eslint-patch": "^1.3.2",
25
25
  "@tsconfig/node18": "^2.0.1",
26
26
  "@types/jsdom": "^21.1.1",