@tinacms/search 1.0.36 → 1.0.37

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.
Files changed (2) hide show
  1. package/dist/index.js +5 -0
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -17,6 +17,10 @@ var __copyProps = (to, from, except, desc) => {
17
17
  return to;
18
18
  };
19
19
  var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
+ // If the importer is in node compatibility mode or this is not an ESM
21
+ // file that has been converted to a CommonJS file using a Babel-
22
+ // compatible transform (i.e. "__esModule" has not been set), then set
23
+ // "default" to the CommonJS "module.exports" for node compatibility.
20
24
  isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
21
25
  mod
22
26
  ));
@@ -275,6 +279,7 @@ var LocalSearchIndexClient = class {
275
279
  }
276
280
  async onStartIndexing() {
277
281
  this.searchIndex = await (0, import_search_index.default)({
282
+ // @ts-ignore
278
283
  db: this.memoryLevel,
279
284
  stopwords: this.stopwords,
280
285
  tokenSplitRegex: this.tokenSplitRegex
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tinacms/search",
3
- "version": "1.0.36",
3
+ "version": "1.0.37",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index-client.mjs",
6
6
  "typings": "dist/index.d.ts",
@@ -33,8 +33,8 @@
33
33
  "search-index": "4.0.0",
34
34
  "sqlite-level": "^1.2.0",
35
35
  "stopword": "^3.1.1",
36
- "@tinacms/schema-tools": "1.6.9",
37
- "@tinacms/graphql": "1.5.9"
36
+ "@tinacms/graphql": "1.5.10",
37
+ "@tinacms/schema-tools": "1.7.0"
38
38
  },
39
39
  "publishConfig": {
40
40
  "registry": "https://registry.npmjs.org"