@vuepress-plume/plugin-search 1.0.0-rc.77 → 1.0.0-rc.79

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.
@@ -163,7 +163,9 @@ const disableReset = computed(() => {
163
163
  })
164
164
  function focusSearchInput(select = true) {
165
165
  searchInput.value?.focus()
166
- select && searchInput.value?.select()
166
+ if (select) {
167
+ searchInput.value?.select()
168
+ }
167
169
  }
168
170
 
169
171
  onMounted(() => {
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.77",
4
+ "version": "1.0.0-rc.79",
5
5
  "description": "The Plugin for VuePress 2 - local search",
6
6
  "author": "pengzhanbo <volodymyr@foxmail.com>",
7
7
  "license": "MIT",
@@ -34,7 +34,7 @@
34
34
  "vuepress": "2.0.0-rc.14"
35
35
  },
36
36
  "dependencies": {
37
- "@vuepress/helper": "2.0.0-rc.37",
37
+ "@vuepress/helper": "2.0.0-rc.38",
38
38
  "@vueuse/core": "^10.11.0",
39
39
  "@vueuse/integrations": "^10.11.0",
40
40
  "chokidar": "^3.6.0",