@sugarat/theme 0.5.2 → 0.5.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sugarat/theme",
3
- "version": "0.5.2",
3
+ "version": "0.5.3",
4
4
  "description": "简约风的 Vitepress 博客主题,sugarat vitepress blog theme",
5
5
  "author": "sugar",
6
6
  "license": "MIT",
@@ -53,10 +53,10 @@
53
53
  "vitepress-plugin-group-icons": "^1.2.4",
54
54
  "vitepress-plugin-mermaid": "2.0.13",
55
55
  "vitepress-plugin-tabs": "0.2.0",
56
- "@sugarat/theme-shared": "0.0.3",
57
56
  "vitepress-plugin-announcement": "0.1.3",
58
57
  "vitepress-plugin-rss": "0.3.0",
59
- "vitepress-plugin-pagefind": "0.4.10"
58
+ "@sugarat/theme-shared": "0.0.3",
59
+ "vitepress-plugin-pagefind": "0.4.12"
60
60
  },
61
61
  "devDependencies": {
62
62
  "@element-plus/icons-vue": "^2.3.1",
@@ -94,13 +94,6 @@ export default function countWord(data: string) {
94
94
  return count
95
95
  }
96
96
 
97
- export function chineseSearchOptimize(input: string) {
98
- return input
99
- .replace(/[\u4E00-\u9FA5]/g, ' $& ')
100
- .replace(/\s+/g, ' ')
101
- .trim()
102
- }
103
-
104
97
  /**
105
98
  * 根据Github地址跨域获取最后更新时间
106
99
  * @param url