@vuepress-plume/plugin-search 1.0.0-rc.190 → 1.0.0-rc.192

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/lib/node/index.js CHANGED
@@ -341,13 +341,12 @@ function searchPlugin({ locales = {}, isSearchable, ...searchOptions } = {}) {
341
341
  searchOptions
342
342
  });
343
343
  else {
344
- const placeholder = prepareSearchIndexPlaceholder(app);
345
- await placeholder;
346
- placeholder.then(() => prepareSearchIndex({
344
+ await prepareSearchIndexPlaceholder(app);
345
+ prepareSearchIndex({
347
346
  app,
348
347
  isSearchable,
349
348
  searchOptions
350
- }));
349
+ });
351
350
  }
352
351
  },
353
352
  onWatched: (app, watchers) => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vuepress-plume/plugin-search",
3
3
  "type": "module",
4
- "version": "1.0.0-rc.190",
4
+ "version": "1.0.0-rc.192",
5
5
  "description": "The Plugin for VuePress 2 - local search",
6
6
  "author": "pengzhanbo <volodymyr@foxmail.com>",
7
7
  "license": "MIT",
@@ -42,7 +42,7 @@
42
42
  "mark.js": "^8.11.1",
43
43
  "minisearch": "^7.2.0",
44
44
  "p-map": "^7.0.4",
45
- "vue": "^3.5.28"
45
+ "vue": "^3.5.29"
46
46
  },
47
47
  "publishConfig": {
48
48
  "access": "public",