@riboseinc/anafero-cli 0.0.53 → 0.0.54

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/bootstrap.js CHANGED
@@ -109606,7 +109606,9 @@ schema (${ast._tag}): ${ast}`;
109606
109606
  const [showMore, setShowMore] = (0, import_react204.useState)(false);
109607
109607
  const [matches2, error] = (0, import_react204.useMemo)(() => {
109608
109608
  if (index && debouncedQuery.trim() !== "") {
109609
- const tokens = import_lunr.default.tokenizer(debouncedQuery.replace(/:/g, " "));
109609
+ const tokens = import_lunr.default.tokenizer(
109610
+ debouncedQuery.replace(/:/g, " ").normalize("NFKD").replace(/\p{Diacritic}/gu, "")
109611
+ );
109610
109612
  console.debug("Search: tokens", tokens);
109611
109613
  try {
109612
109614
  let exact;