mnemosyne-core 2.1.4 → 2.1.5

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.
@@ -323,7 +323,7 @@ function getVersion() {
323
323
  const pkg = JSON.parse(readFileSync4(resolve4(process.cwd(), "package.json"), "utf-8"));
324
324
  return pkg.version;
325
325
  } catch {
326
- return "2.1.4";
326
+ return "2.1.5";
327
327
  }
328
328
  }
329
329
  }
@@ -1245,8 +1245,7 @@ async function handleSearch(store, pathname, method, res, searchParams) {
1245
1245
  } else {
1246
1246
  results = store.search(projectId, q, limit);
1247
1247
  }
1248
- const filtered = results.filter((r) => r.title !== "__INDEX__");
1249
- json(res, 200, { query: q, semantic, count: filtered.length, results: filtered });
1248
+ json(res, 200, { query: q, semantic, count: results.length, results });
1250
1249
  return true;
1251
1250
  }
1252
1251
  return false;
@@ -1348,7 +1347,7 @@ function getVersion2() {
1348
1347
  const pkg = JSON.parse(readFileSync4(resolve4(process.cwd(), "package.json"), "utf-8"));
1349
1348
  return pkg.version;
1350
1349
  } catch {
1351
- return "2.1.4";
1350
+ return "2.1.5";
1352
1351
  }
1353
1352
  }
1354
1353
  }
@@ -1621,7 +1620,7 @@ var PKG_VERSION = (() => {
1621
1620
  const pkg = JSON.parse(__require("fs").readFileSync(__require("path").resolve(__dirname, "../../package.json"), "utf-8"));
1622
1621
  return pkg.version;
1623
1622
  } catch {
1624
- return "2.1.4";
1623
+ return "2.1.5";
1625
1624
  }
1626
1625
  })();
1627
1626
  function handleHealth(store, pathname, method, res) {